wait for uninstall finish
This commit is contained in:
parent
07c3651e26
commit
05aa7c4ed7
@ -19,13 +19,13 @@ if FileExists($IniFile$)
|
|||||||
Set $UninstallProgramOld$ = $InstallDir$ + "\" + $UninstallProg$
|
Set $UninstallProgramOld$ = $InstallDir$ + "\" + $UninstallProg$
|
||||||
if FileExists($UninstallProgramOld$)
|
if FileExists($UninstallProgramOld$)
|
||||||
comment "Uninstall program found, starting uninstall"
|
comment "Uninstall program found, starting uninstall"
|
||||||
Winbatch_uninstall_old
|
Winbatch_uninstall_old /WaitforProcessending "Au_.exe" /Timeoutseconds 20
|
||||||
sub_check_exitcode
|
sub_check_exitcode
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
if FileExists($UninstallProgram$)
|
if FileExists($UninstallProgram$)
|
||||||
comment "Uninstall program found, starting uninstall"
|
comment "Uninstall program found, starting uninstall"
|
||||||
Winbatch_uninstall
|
Winbatch_uninstall /WaitforProcessending "Au_.exe" /Timeoutseconds 20
|
||||||
sub_check_exitcode
|
sub_check_exitcode
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user