wait for uninstall finish

This commit is contained in:
Mario Fetka 2013-05-06 12:26:53 +02:00
parent 07c3651e26
commit 05aa7c4ed7

View File

@ -19,13 +19,13 @@ if FileExists($IniFile$)
Set $UninstallProgramOld$ = $InstallDir$ + "\" + $UninstallProg$
if FileExists($UninstallProgramOld$)
comment "Uninstall program found, starting uninstall"
Winbatch_uninstall_old
Winbatch_uninstall_old /WaitforProcessending "Au_.exe" /Timeoutseconds 20
sub_check_exitcode
endif
endif
if FileExists($UninstallProgram$)
comment "Uninstall program found, starting uninstall"
Winbatch_uninstall
Winbatch_uninstall /WaitforProcessending "Au_.exe" /Timeoutseconds 20
sub_check_exitcode
endif