summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/Installer/MakeNightly.nsi
diff options
context:
space:
mode:
Diffstat (limited to 'win/CS/HandBrakeWPF/Installer/MakeNightly.nsi')
-rw-r--r--win/CS/HandBrakeWPF/Installer/MakeNightly.nsi9
1 files changed, 9 insertions, 0 deletions
diff --git a/win/CS/HandBrakeWPF/Installer/MakeNightly.nsi b/win/CS/HandBrakeWPF/Installer/MakeNightly.nsi
index 2052588e3..65ac5dc88 100644
--- a/win/CS/HandBrakeWPF/Installer/MakeNightly.nsi
+++ b/win/CS/HandBrakeWPF/Installer/MakeNightly.nsi
@@ -65,6 +65,10 @@ ShowUnInstDetails show
Var InstallDotNET
Function .onInit
+
+ ; For Silent Installs, Assume All Users
+ IfSilent 0 +2
+ SetShellVarContext all
; Begin Only allow one version
System::Call 'kernel32::CreateMutexA(i 0, i 0, t "myMutex") i .r1 ?e'
@@ -170,6 +174,11 @@ Function un.onUninstSuccess
FunctionEnd
Function un.onInit
+
+ ; For Silent Installs, Assume All Users
+ IfSilent 0 +2
+ SetShellVarContext all
+
MessageBox MB_ICONQUESTION|MB_YESNO|MB_DEFBUTTON2 "Are you sure you want to completely remove $(^Name) and all of its components?" /SD IDYES IDYES +2
Abort
FunctionEnd