summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuben Pollan <meskio@sindominio.net>2018-07-13 18:56:07 +0200
committerRuben Pollan <meskio@sindominio.net>2018-07-13 18:57:36 +0200
commitf7534ccb6c11231d5b2c04b2e4197cf30f5da12a (patch)
tree5c706783eb6778e1f24a58eff3f6ea4166069b72
parent8608fb1135950f8d28d6779ae11f2405442c24c8 (diff)
[pkg] make the tap installer silent
- Resolves: #4
-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!"