diff --git a/CLIENT_DATA/delsub.ins b/CLIENT_DATA/delsub.ins index 0a0f461..231fdca 100644 --- a/CLIENT_DATA/delsub.ins +++ b/CLIENT_DATA/delsub.ins @@ -22,12 +22,14 @@ if (($INST_SystemType$ = "x86 System") and ($INST_architecture$ = "system specif sub_check_exitcode Winbatch_please_wait_32 sub_check_exitcode + ExitWindows /ImmediateReboot endif if not (GetRegistryStringValue32("[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\" + $MsiId32$ + "] DisplayName") = "") comment "MSI id " + $MsiId32$ + " found in registry, starting msiexec to uninstall" Winbatch_uninstall_msi_32 sub_check_exitcode + ExitWindows /ImmediateReboot endif comment "Delete files"