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