force reboot

This commit is contained in:
Mario Fetka 2012-05-17 06:47:21 +02:00
parent efbe6e3eea
commit c6d24b614e
1 changed files with 4 additions and 0 deletions

View File

@ -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") = "")