diff --git a/packages/openbugs.xml b/packages/openbugs.xml index 2e2498e858303ab45a5eb40513342fed4250aedd..8642e19669b3788747e7da6021dbd8c20097e38f 100755 --- a/packages/openbugs.xml +++ b/packages/openbugs.xml @@ -13,8 +13,25 @@ <upgrade include="remove" /> <upgrade include="install" /> + <downgrade include="remove" /> + <downgrade include="install" /> + + <remove cmd='cmd /c %WPKGSOFTWARE%\wpkg\tools\waitforprocess.cmd _ui' /> + <remove cmd='"%PROGRAMFILES(x86)%\OpenBUGS\OpenBUGS%version%\unins000.exe" /VERYSILENT /SUPPRESSMSGBOXES /LOG' > + <condition> + <check type="file" condition="exists" path="%PROGRAMFILES(x86)%\OpenBUGS\OpenBUGS%version%\unins000.exe" /> + </condition> + <exit code="any" /> + </remove> + <remove cmd='cmd /c %WPKGSOFTWARE%\wpkg\tools\waitforprocess.cmd _ui' /> + <!-- Section to remove old Maths install --> <remove cmd='cmd /c %WPKGSOFTWARE%\wpkg\tools\waitforprocess.cmd _ui' /> - <remove cmd='"%PROGRAMFILES(x86)%\OpenBUGS\OpenBUGS%version%\unins000.exe" /VERYSILENT /SUPPRESSMSGBOXES /LOG' ><exit code="any" /></remove> + <remove cmd='"%PROGRAMFILES(x86)%\OpenBUGS\OpenBUGS321\unins000.exe" /VERYSILENT /SUPPRESSMSGBOXES /LOG' > + <condition> + <check type="file" condition="exists" path="%PROGRAMFILES(x86)%\OpenBUGS\OpenBUGS321\unins000.exe" /> + </condition> + <exit code="any" /> + </remove> <remove cmd='cmd /c %WPKGSOFTWARE%\wpkg\tools\waitforprocess.cmd _ui' /> </package>