Difference between revisions of "CutePDF Writer"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
(Improved the command lines for <remove> and also added options for install and upgrade.)
m (Version update)
Line 6: Line 6:
 
  <package id="cutewriter"  
 
  <package id="cutewriter"  
 
  name="CutePDF Writer"  
 
  name="CutePDF Writer"  
  revision="27"  
+
  revision="20090826"  
 
  priority="0"  
 
  priority="0"  
 
  reboot="false">
 
  reboot="false">
 
  <depends package-id="gplghostscript" />
 
  <depends package-id="gplghostscript" />
  <check type="uninstall" condition="exists" path="CutePDF Writer 2.7"/>
+
  <check type="uninstall" condition="exists" path="CutePDF Writer 3.5"/>
 
   
 
   
 
  <install cmd='"%SOFTWARE%\cutewriter\CuteWriter.exe" /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-'/>
 
  <install cmd='"%SOFTWARE%\cutewriter\CuteWriter.exe" /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-'/>
Line 23: Line 23:
 
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.
 
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]].
+
The software depends on Ghostscript in some form being installed on the machine; one possibility is [[Ghostscript|GPL Ghostscript]].
  
 
[[category:Silent Installers]]
 
[[category:Silent Installers]]

Revision as of 11:46, 26 October 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="20090826" 
 	priority="0" 
 	reboot="false">
 		<depends package-id="gplghostscript" />
 		<check type="uninstall" condition="exists" path="CutePDF Writer 3.5"/>
 		 
 		<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; one possibility is GPL Ghostscript.