577
edits
Changes
m
Use '%COMSPEC%' not 'cmd'
<!-- remove openoffice directory -->
<upgrade
cmd='cmd %COMSPEC% /C if exist "%PROGRAMFILES%\OpenOffice" rmdir /S /Q "%PROGRAMFILES%\OpenOffice"' />
<!-- if you don't first uninstall the previous version it says "the same version of this product is already installed" -->