diff --git a/windows/web/slimevr_web_installer.nsi b/windows/web/slimevr_web_installer.nsi index 19fd15e..5ec33b9 100644 --- a/windows/web/slimevr_web_installer.nsi +++ b/windows/web/slimevr_web_installer.nsi @@ -230,9 +230,11 @@ FunctionEnd Function endPageLeave - ${NSD_GetState} $CREATE_DESKTOP_SHORTCUT $0 - ${NSD_GetState} $CREATE_STARTMENU_SHORTCUTS $1 - ${NSD_GetState} $OPEN_DOCUMENTATION $2 + SetOutPath $INSTDIR + + ${NSD_GetState} $CREATE_DESKTOP_SHORTCUT $0 + ${NSD_GetState} $CREATE_STARTMENU_SHORTCUTS $1 + ${NSD_GetState} $OPEN_DOCUMENTATION $2 ${If} $0 = 1 CreateDirectory "$SMPROGRAMS\SlimeVR Server"