marchaesen / vcxsrv

Windows X-server based on the xorg git sources (like xming or cygwin's xwin), but compiled with Visual Studio 2012 Community Edition.
GNU General Public License v3.0
358 stars 14 forks source link

Install without admin rights #8

Closed roti closed 3 months ago

roti commented 5 months ago

It would be nice if the installer would work without admin rights.

It managed to get it running like this:

set __COMPAT_LAYER=RunAsInvoker
start vcxsrv-64.21.1.10.0.installer.exe

But the shortcuts were not created, for obvious reasons:

Error creating shortcut: C:\ProgramData\Microsoft\Windows\Start Menu\Programs\VcXsrv\Uninstall VcXsrv.lnk
Error creating shortcut: C:\ProgramData\Microsoft\Windows\Start Menu\Programs\VcXsrv\XLaunch.lnk
dZ8Lx9OwX commented 3 months ago

I thought this might help you. Making Portable

roti commented 3 months ago

@dZ8Lx9OwX Thanks, but the point of this issue is to have the installer support non-admin installations. I already installed it with the trick above, and it worked (up to the fact that the shortcuts are not created, but that can be fixed by hand).

marchaesen commented 3 months ago

-noadmin.exe installers added in 21.1.13 release