only reboot if uninstall was done
This commit is contained in:
@@ -25,12 +25,18 @@ if (($INST_SystemType$ = "x86 System") and ($INST_architecture$ = "system specif
|
|||||||
comment "Uninstall program found, starting uninstall"
|
comment "Uninstall program found, starting uninstall"
|
||||||
Winbatch_uninstall_old_32 /WaitforProcessending "Au_.exe" /Timeoutseconds 100
|
Winbatch_uninstall_old_32 /WaitforProcessending "Au_.exe" /Timeoutseconds 100
|
||||||
sub_check_exitcode
|
sub_check_exitcode
|
||||||
|
|
||||||
|
comment "uninstall done now force Reboot"
|
||||||
|
ExitWindows /ImmediateReboot
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
if FileExists($UninstallProgram32$)
|
if FileExists($UninstallProgram32$)
|
||||||
comment "Uninstall program found, starting uninstall"
|
comment "Uninstall program found, starting uninstall"
|
||||||
Winbatch_uninstall_32 /WaitforProcessending "Au_.exe" /Timeoutseconds 100
|
Winbatch_uninstall_32 /WaitforProcessending "Au_.exe" /Timeoutseconds 100
|
||||||
sub_check_exitcode
|
sub_check_exitcode
|
||||||
|
|
||||||
|
comment "uninstall done now force Reboot"
|
||||||
|
ExitWindows /ImmediateReboot
|
||||||
endif
|
endif
|
||||||
|
|
||||||
comment "Delete files"
|
comment "Delete files"
|
||||||
@@ -38,8 +44,6 @@ if (($INST_SystemType$ = "x86 System") and ($INST_architecture$ = "system specif
|
|||||||
comment "Cleanup registry"
|
comment "Cleanup registry"
|
||||||
Registry_uninstall /32Bit
|
Registry_uninstall /32Bit
|
||||||
|
|
||||||
comment "uninstall done now force Reboot"
|
|
||||||
ExitWindows /ImmediateReboot
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if ($INST_SystemType$ = "64 Bit System") and (($INST_architecture$ = "system specific") or ($INST_architecture$ = "both") or ($INST_architecture$ = "64 only"))
|
if ($INST_SystemType$ = "64 Bit System") and (($INST_architecture$ = "system specific") or ($INST_architecture$ = "both") or ($INST_architecture$ = "64 only"))
|
||||||
|
|||||||
Reference in New Issue
Block a user