FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects
Commit 55b179c7 authored by Dr Adam Thorn's avatar Dr Adam Thorn
Browse files

autoit: wait for spawned Au_.exe rather than ending with a potentially-unreliable sleep

parent 8f85ef60
No related branches found
No related tags found
1 merge request!30Autoit
......@@ -29,16 +29,22 @@
<exit code='1' />
<exit code='128' />
</remove>
<remove cmd='%wpkgsoftware%\wpkg\tools\waitforprocess.cmd Au_.exe' />
<remove cmd='cmd /c "%PROGRAMFILES(x86)%\autoit3\uninstall.exe" /S' />
<remove cmd='%wpkgsoftware%\wpkg\tools\waitforprocess.cmd Au_.exe' />
<remove cmd='cmd /c rd /s /q "%systemdrive%\ProgramData\Microsoft\Windows\Start Menu\Programs\autoit v3"'>
<exit code='1' />
</remove>
<remove cmd='%wpkgsoftware%\wpkg\tools\waitforprocess.cmd Au_.exe' />
<remove cmd='cmd /c if exist "%PROGRAMFILES(x86)%\autoit3\scite\uninst.exe" "%PROGRAMFILES(x86)%\autoit3\scite\uninst.exe" /S' />-->
<remove cmd='%wpkgsoftware%\wpkg\tools\waitforprocess.cmd Au_.exe' />
<remove cmd='cmd /c rd /s /q "%PROGRAMFILES(x86)%\autoit3\" 2>nul'> <!-- adding 2>nul stopped the need for deldir.exe -->
<exit code='1' />
</remove>
<!-- without this pause the uninstall value still exists, slow to be deleted maybe therefore this package fails to remove -->
<remove cmd='cmd /c "%WPKGSOFTWARE%\wpkg\tools\sleep.cmd" 5' />
</package>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment