add missing set reboot

This commit is contained in:
Mario Fetka
2019-10-17 11:27:36 +02:00
parent 5b6daff6c0
commit 015472abcf
2 changed files with 12 additions and 0 deletions

View File

@@ -28,6 +28,7 @@ if FileExists($IniFile$)
;Sub "%ScriptPath%\check_nullsoft-exitcode.opsiscript"
;Sub "%ScriptPath%\check_msi-exitcode.opsiscript"
sub_check_exitcode
;set $Reboot$="1"
endif
endif
if FileExists($UninstallProgram$)
@@ -38,6 +39,7 @@ if FileExists($UninstallProgram$)
;Sub "%ScriptPath%\check_nullsoft-exitcode.opsiscript"
;Sub "%ScriptPath%\check_msi-exitcode.opsiscript"
sub_check_exitcode
;set $Reboot$="1"
endif
if FileExists($IniFile$)
@@ -50,6 +52,7 @@ if FileExists($IniFile$)
;Sub "%ScriptPath%\check_nullsoft-exitcode.opsiscript"
;Sub "%ScriptPath%\check_msi-exitcode.opsiscript"
sub_check_exitcode
;set $Reboot$="1"
endif
endif
if not (GetRegistryStringValue64("[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\" + $MsiId$ + "] DisplayName") = "")
@@ -60,6 +63,7 @@ if not (GetRegistryStringValue64("[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows
;Sub "%ScriptPath%\check_nullsoft-exitcode.opsiscript"
;Sub "%ScriptPath%\check_msi-exitcode.opsiscript"
sub_check_exitcode
;set $Reboot$="1"
endif
;comment "Kill Web Browser"