Difference between revisions of "CutePDF Writer"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
m (Version update)
Line 6: Line 6:
 
  <package id="cutewriter"  
 
  <package id="cutewriter"  
 
  name="CutePDF Writer"  
 
  name="CutePDF Writer"  
  revision="20090826"  
+
  revision="2802"  
 
  priority="0"  
 
  priority="0"  
 
  reboot="false">
 
  reboot="false">
 
  <depends package-id="gplghostscript" />
 
  <depends package-id="gplghostscript" />
  <check type="uninstall" condition="exists" path="CutePDF Writer 3.5"/>
+
  <check type="uninstall" condition="exists" path="CutePDF Writer 2.8"/>
 
   
 
   
 
  <install cmd='"%SOFTWARE%\cutewriter\CuteWriter.exe" /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-'/>
 
  <install cmd='"%SOFTWARE%\cutewriter\CuteWriter.exe" /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-'/>

Revision as of 13:59, 22 June 2010

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="2802" 
 	priority="0" 
 	reboot="false">
 		<depends package-id="gplghostscript" />
 		<check type="uninstall" condition="exists" path="CutePDF Writer 2.8"/>
 		 
 		<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.