winapps-org / winapps

The winapps main project, forked from https://github.com/Fmstrat/winapps/
Other
998 stars 45 forks source link

Use without local vm #203

Closed io-mneese closed 1 month ago

io-mneese commented 1 month ago

At $company we can use a pre-existing virtual machine for different apps.

Is it possible to use the installer script without a local Windows installation and instead use the remote rdp server?

oskardotglobal commented 1 month ago

It should be, just skip the VM installation guide and set the config parameters like the IP, user and password to your actual login for the other machine.

io-mneese commented 1 month ago

That does not work because the installer requires that the variable WAFLAVOR is either docker, podman or libvirt.

Beginning with the following line:

https://github.com/winapps-org/winapps/blob/ed88ae911148ac7129e01f6eaad488928e3b2a14/installer.sh#L1487

fbartels commented 1 month ago

The code already has libvirt as a possible third option, seems the installer also needs a "manual" option to allow users to specify a remote ip in RDP_IP

https://github.com/winapps-org/winapps/blob/ed88ae911148ac7129e01f6eaad488928e3b2a14/installer.sh#L1487-L1510

Its been a while since I last ran this project on my system and must say that the progress looks really nice.

oskardotglobal commented 1 month ago

Its been a while since I last ran this project on my system and must say that the progress looks really nice.

Yeah, courtesy of @KernelGhost, he cleaned up the codebase a lot

KernelGhost commented 1 month ago

This can certainly be achieved, however we would need to implement a new WAFLAVOR named 'remote' (or something to that effect) to allow WinApps to attempt a connection to a user-specified IP address without conducting additional dependency checks, user group membership checks or virtual machine status checks. The automatic pause feature should also be disabled when this 'remote' backend is selected. This isn't implemented yet, but could be with relatively little effort.

oskardotglobal commented 1 month ago

@KernelGhost See #204

LDprg commented 1 month ago

closing in favour of #204

KernelGhost commented 1 month ago

Oops I missed that. Awesome work!