check if still running
This commit is contained in:
parent
4274d244d8
commit
4ba41dcc3f
@ -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 "$UninstallProgramOld$" /Timeoutseconds 10
|
||||||
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 "$UninstallProgram$" /Timeoutseconds 10
|
||||||
sub_check_exitcode
|
sub_check_exitcode
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user