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
|
sub_check_exitcode
|
||||||
Winbatch_please_wait_32
|
Winbatch_please_wait_32
|
||||||
sub_check_exitcode
|
sub_check_exitcode
|
||||||
|
ExitWindows /ImmediateReboot
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if not (GetRegistryStringValue32("[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\" + $MsiId32$ + "] DisplayName") = "")
|
if not (GetRegistryStringValue32("[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\" + $MsiId32$ + "] DisplayName") = "")
|
||||||
comment "MSI id " + $MsiId32$ + " found in registry, starting msiexec to uninstall"
|
comment "MSI id " + $MsiId32$ + " found in registry, starting msiexec to uninstall"
|
||||||
Winbatch_uninstall_msi_32
|
Winbatch_uninstall_msi_32
|
||||||
sub_check_exitcode
|
sub_check_exitcode
|
||||||
|
ExitWindows /ImmediateReboot
|
||||||
endif
|
endif
|
||||||
|
|
||||||
comment "Delete files"
|
comment "Delete files"
|
||||||
|
Loading…
Reference in New Issue
Block a user