add reboot
This commit is contained in:
parent
fc0fb2d796
commit
440b6cec20
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user