diff options
Diffstat (limited to 'win/template.nsi')
-rwxr-xr-x | win/template.nsi | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/win/template.nsi b/win/template.nsi index 009be7b..7870606 100755 --- a/win/template.nsi +++ b/win/template.nsi @@ -1,11 +1,10 @@ !include "MUI.nsh" Name "$app_name" -RequestExecutionLevel admin - Outfile "..\dist\$app_name-installer.exe" ;TODO make the installdir configurable - and set it in the registry. InstallDir "C:\Program Files\$app_name\" +RequestExecutionLevel admin !define BITMAP_FILE riseupvpn.bmp @@ -78,6 +77,9 @@ Section "InstallService" ExecWait '"$INSTDIR\nssm.exe" set $app_name_lower-helper AppDirectory "$INSTDIR"' ExecWait '"$INSTDIR\nssm.exe" start $app_name_lower-helper' + ; why are these here? + Delete "C:\$app_name_lower.ico" + Delete "C:\$app_name_lower.png" SectionEnd Section "Uninstall" |