Difference between revisions of "CutePDF Writer"
From WPKG | Open Source Software Deployment and Distribution
(Improved the command lines for <remove> and also added options for install and upgrade.) |
|||
Line 12: | Line 12: | ||
<check type="uninstall" condition="exists" path="CutePDF Writer 2.7"/> | <check type="uninstall" condition="exists" path="CutePDF Writer 2.7"/> | ||
− | <install cmd="%SOFTWARE%\cutewriter\CuteWriter.exe | + | <install cmd='"%SOFTWARE%\cutewriter\CuteWriter.exe" /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-'/> |
− | <upgrade cmd="%SOFTWARE%\cutewriter\CuteWriter.exe | + | <upgrade cmd='"%SOFTWARE%\cutewriter\CuteWriter.exe" /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-'/> |
− | <remove cmd="%PROGRAMFILES%\Acro Software\CutePDF Writer\uninscpw.exe | + | <remove cmd='"%PROGRAMFILES%\Acro Software\CutePDF Writer\uninscpw.exe" -s'/> |
</package> | </package> | ||
</packages> | </packages> | ||
</source> | </source> | ||
− | + | Note that the option for a silent uninstall is completely different (-s) from the option for a silent install. Also don't forget to surround the complete path to the executable with quotes because the path contains spaces. | |
+ | |||
+ | The software depends on Ghostscript in some form being installed on the machine; I used [[Ghostscript|GPL Ghostscript]]. | ||
[[category:Silent Installers]] | [[category:Silent Installers]] |
Revision as of 11:19, 5 September 2009
This is a silent installer/upgrader but a non-silent uninstaller for CutePDF Writer. It can be downloaded from the Cute PDF website. Use the following XML to install it:
<?xml version="1.0" encoding="UTF-8"?>
<packages>
<package id="cutewriter"
name="CutePDF Writer"
revision="27"
priority="0"
reboot="false">
<depends package-id="gplghostscript" />
<check type="uninstall" condition="exists" path="CutePDF Writer 2.7"/>
<install cmd='"%SOFTWARE%\cutewriter\CuteWriter.exe" /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-'/>
<upgrade cmd='"%SOFTWARE%\cutewriter\CuteWriter.exe" /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-'/>
<remove cmd='"%PROGRAMFILES%\Acro Software\CutePDF Writer\uninscpw.exe" -s'/>
</package>
</packages>
Note that the option for a silent uninstall is completely different (-s) from the option for a silent install. Also don't forget to surround the complete path to the executable with quotes because the path contains spaces.
The software depends on Ghostscript in some form being installed on the machine; I used GPL Ghostscript.