From 015472abcf32f22264039b2450a4068622155b98 Mon Sep 17 00:00:00 2001 From: Mario Fetka Date: Thu, 17 Oct 2019 11:27:36 +0200 Subject: [PATCH] add missing set reboot --- sample/All/CLIENT_DATA/delsub3264.opsiscript | 8 ++++++++ sample/All/CLIENT_DATA/delsub64.opsiscript | 4 ++++ 2 files changed, 12 insertions(+) diff --git a/sample/All/CLIENT_DATA/delsub3264.opsiscript b/sample/All/CLIENT_DATA/delsub3264.opsiscript index aa0cdb0..c90e26c 100644 --- a/sample/All/CLIENT_DATA/delsub3264.opsiscript +++ b/sample/All/CLIENT_DATA/delsub3264.opsiscript @@ -32,6 +32,7 @@ if (($INST_SystemType$ = "x86 System") and ($INST_architecture$ = "system specif ;Sub "%ScriptPath%\check_nullsoft-exitcode.opsiscript" ;Sub "%ScriptPath%\check_msi-exitcode.opsiscript" sub_check_exitcode + ;set $Reboot$="1" endif endif if FileExists($UninstallProgram32$) @@ -42,6 +43,7 @@ if (($INST_SystemType$ = "x86 System") and ($INST_architecture$ = "system specif ;Sub "%ScriptPath%\check_nullsoft-exitcode.opsiscript" ;Sub "%ScriptPath%\check_msi-exitcode.opsiscript" sub_check_exitcode + ;set $Reboot$="1" endif if FileExists($IniFile32$) @@ -54,6 +56,7 @@ if (($INST_SystemType$ = "x86 System") and ($INST_architecture$ = "system specif ;Sub "%ScriptPath%\check_nullsoft-exitcode.opsiscript" ;Sub "%ScriptPath%\check_msi-exitcode.opsiscript" sub_check_exitcode + ;set $Reboot$="1" endif endif if not (GetRegistryStringValue32("[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\" + $MsiId32$ + "] DisplayName") = "") @@ -64,6 +67,7 @@ if (($INST_SystemType$ = "x86 System") and ($INST_architecture$ = "system specif ;Sub "%ScriptPath%\check_nullsoft-exitcode.opsiscript" ;Sub "%ScriptPath%\check_msi-exitcode.opsiscript" sub_check_exitcode + ;set $Reboot$="1" endif ;comment "Kill Web Browser" @@ -97,6 +101,7 @@ if ($INST_SystemType$ = "64 Bit System") and (($INST_architecture$ = "system spe ;Sub "%ScriptPath%\check_nullsoft-exitcode.opsiscript" ;Sub "%ScriptPath%\check_msi-exitcode.opsiscript" sub_check_exitcode + ;set $Reboot$="1" endif endif if FileExists($UninstallProgram64$) @@ -107,6 +112,7 @@ if ($INST_SystemType$ = "64 Bit System") and (($INST_architecture$ = "system spe ;Sub "%ScriptPath%\check_nullsoft-exitcode.opsiscript" ;Sub "%ScriptPath%\check_msi-exitcode.opsiscript" sub_check_exitcode + ;set $Reboot$="1" endif if FileExists($IniFile64$) @@ -119,6 +125,7 @@ if ($INST_SystemType$ = "64 Bit System") and (($INST_architecture$ = "system spe ;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\" + $MsiId64$ + "] DisplayName") = "") @@ -129,6 +136,7 @@ if ($INST_SystemType$ = "64 Bit System") and (($INST_architecture$ = "system spe ;Sub "%ScriptPath%\check_nullsoft-exitcode.opsiscript" ;Sub "%ScriptPath%\check_msi-exitcode.opsiscript" sub_check_exitcode + ;set $Reboot$="1" endif ;comment "Kill Web Browser" diff --git a/sample/All/CLIENT_DATA/delsub64.opsiscript b/sample/All/CLIENT_DATA/delsub64.opsiscript index c103f3d..661159a 100644 --- a/sample/All/CLIENT_DATA/delsub64.opsiscript +++ b/sample/All/CLIENT_DATA/delsub64.opsiscript @@ -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"