check if still running

This commit is contained in:
Mario Fetka 2013-08-22 12:39:59 +02:00
parent 4274d244d8
commit 4ba41dcc3f

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 "$UninstallProgramOld$" /Timeoutseconds 10
sub_check_exitcode
endif
endif
if FileExists($UninstallProgram$)
comment "Uninstall program found, starting uninstall"
Winbatch_uninstall
Winbatch_uninstall /WaitforProcessending "$UninstallProgram$" /Timeoutseconds 10
sub_check_exitcode
endif