3,217
edits
Changes
m
no edit summary
priority="0">
<check type="uninstall" condition="exists" path="PDFCreator" />
<install cmd='msiexec /qb /i "%WPKGPATHSOFTWARE%\PDFCreator\PDFCreator-0_9_1_AFPLGhostscript_32bit.msi"' />
<install cmd='rundll32 printui.dll,PrintUIEntry /q /ga pdfcreator' />
<remove cmd='MsiExec.exe /q /x{0001B4FD-9EA3-4D90-A79E-FD14BA3AB01D}' />
priority="1000">
<check type="uninstall" condition="exists" path="PDFCreator 0.8.0" />
<install cmd='\\server\wpkg\files%SOFTWARE%\pdfcreator\PDFCreator-0_8_0_GNUGhostscript.exe /LOADINF="\\server\wpkg\files%SOFTWARE%\pdfcreator\pdfcreator-0.8.0.inf" /VERYSILENT /NORESTART /SP-' />
<remove cmd='"%ProgramFiles%\PDFCreator\unins000.exe" /VERYSILENT' />
</package>
execute="once"
priority="999">
<install cmd='\\server\wpkg%SOFTWARE%\ ... (nearly same as above) ...' />
<remove cmd='"%ProgramFiles%\PDFCreator\unins000.exe" /VERYSILENT' />
</package>
Now, whenever you want to include pdfcreator, you can just include the "software profile" in any other profiles. Having both versions in a profile and using the priority settings ensures that 0.8.0 is always installed before patch2.
[[category:Silent Installers|PDFCreator]]