From 355e1cec3b51691413b96555c8bb0757f2431eb9 Mon Sep 17 00:00:00 2001 From: Alessio Date: Sun, 12 Jan 2025 20:07:51 -0800 Subject: [PATCH] BUGFIX: fix several issues with the Windows installer - fix Start Menu shortcut putting `--default-profile` flag in the wrong position, causing it to print the help message and exit instead of starting - fix "current user only" installation trying to install a desktop shortcut on the Public desktop instead of the user's --- build/windows/setup.iss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/windows/setup.iss b/build/windows/setup.iss index b0ccbe1..a0014b9 100644 --- a/build/windows/setup.iss +++ b/build/windows/setup.iss @@ -28,9 +28,9 @@ Source: "{#EXE_PATH}"; DestDir: "{app}"; Flags: recursesubdirs [Icons] -Name: "{group}\{#NAME}"; Filename: "{app}\{#EXE_NAME}"; WorkingDir: "{commondocs}"; Tasks: createstartmenushortcut; Parameters: "webserver --auto-open --default-profile" +Name: "{group}\{#NAME}"; Filename: "{app}\{#EXE_NAME}"; WorkingDir: "{autodocs}"; Tasks: createstartmenushortcut; Parameters: "--default-profile webserver --auto-open" Name: "{group}\Uninstall {#NAME}"; Filename: "{uninstallexe}"; Tasks: createstartmenushortcut -Name: "{commondesktop}\{#NAME}"; Filename: "{app}\{#EXE_NAME}"; WorkingDir: "{commondocs}"; Tasks: createdesktopshortcut; Parameters: "webserver --auto-open --default-profile" +Name: "{autodesktop}\{#NAME}"; Filename: "{app}\{#EXE_NAME}"; WorkingDir: "{autodocs}"; Tasks: createdesktopshortcut; Parameters: "--default-profile webserver --auto-open" ; [Registry] ; Root: HKCU; Subkey: "Environment"; ValueType: string; ValueName: "Path"; ValueData: "{olddata};{app}";