summaryrefslogtreecommitdiff
path: root/win/template.nsi
diff options
context:
space:
mode:
Diffstat (limited to 'win/template.nsi')
-rwxr-xr-xwin/template.nsi9
1 files changed, 2 insertions, 7 deletions
diff --git a/win/template.nsi b/win/template.nsi
index df36b44..fefbdf2 100755
--- a/win/template.nsi
+++ b/win/template.nsi
@@ -68,18 +68,13 @@ Section "InstallService"
ExecWait '"$INSTDIR\nssm.exe" install $app_name_lower-helper "$INSTDIR\bitmask_helper.exe"'
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 /o "TAP Virtual Ethernet Adapter" SecTAP
; Adapted from the windows nsis installer from OpenVPN (openvpn-build repo).
DetailPrint "Installing TAP (may need confirmation)..."
- ExecWait '"$INSTDIR\tap-windows.exe" /SELECT_UTILITIES=1'
- ;Making it explicit for now. It looks like the /S flag is "silent", isn't it?
- ;ExecWait '"$INSTDIR\tap-windows.exe" /S /SELECT_UTILITIES=1'
+ ; The /S flag make it "silent", remove it if you want it explicit
+ ExecWait '"$INSTDIR\tap-windows.exe" /S /SELECT_UTILITIES=1'
Pop $R0 # return value/error/timeout
WriteRegStr HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\$app_name" "tap" "installed"
DetailPrint "TAP installed!"