From c6d24b614ec169cac36fc57ab213e109728c8e72 Mon Sep 17 00:00:00 2001 From: Mario Fetka Date: Thu, 17 May 2012 06:47:21 +0200 Subject: [PATCH] force reboot --- CLIENT_DATA/delsub3264.ins | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CLIENT_DATA/delsub3264.ins b/CLIENT_DATA/delsub3264.ins index 735c1e6..ca4a3c1 100644 --- a/CLIENT_DATA/delsub3264.ins +++ b/CLIENT_DATA/delsub3264.ins @@ -31,12 +31,14 @@ if (($INST_SystemType$ = "x86 System") and ($INST_architecture$ = "system specif comment "Uninstall program found, starting uninstall" Winbatch_uninstall_old_32 sub_check_exitcode + ExitWindows /ImmediateReboot endif if FileExists($UninstallProgram32$) comment "Uninstall program found, starting uninstall" Winbatch_uninstall_32 sub_check_exitcode + ExitWindows /ImmediateReboot endif if not (GetRegistryStringValue32("[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\" + $MsiId32$ + "] DisplayName") = "") @@ -69,12 +71,14 @@ if ($INST_SystemType$ = "64 Bit System") and (($INST_architecture$ = "system spe comment "Uninstall program found, starting uninstall" Winbatch_uninstall_old_64 sub_check_exitcode + ExitWindows /ImmediateReboot endif if FileExists($UninstallProgram64$) comment "Uninstall program found, starting uninstall" Winbatch_uninstall_64 sub_check_exitcode + ExitWindows /ImmediateReboot endif if not (GetRegistryStringValue64("[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\" + $MsiId64$ + "] DisplayName") = "")