add reboot

This commit is contained in:
Mario Fetka 2012-02-24 17:38:33 +01:00
parent fc0fb2d796
commit 440b6cec20
1 changed files with 2 additions and 0 deletions

View File

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