Difference between revisions of "Ghostscript"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
m
(Modified remove commands to use the same format as the install cmd.)
Line 1: Line 1:
This is a silent installer and uninstaller for AFPL Ghostscript and the accompanying AFPL Ghostscript Fonts.
+
This is a silent installer and uninstaller for AFPL Ghostscript and the accompanying AFPL Ghostscript Fonts.  This also works for GPL Ghostscript with the appropraite check modifications.
  
 
  <package id="ghostscript" name="AFPL Ghostscript" revision="1" reboot="false" priority="0" >
 
  <package id="ghostscript" name="AFPL Ghostscript" revision="1" reboot="false" priority="0" >
Line 5: Line 5:
 
  <check type="uninstall" condition="exists" path="AFPL Ghostscript Fonts" />
 
  <check type="uninstall" condition="exists" path="AFPL Ghostscript Fonts" />
 
  <install cmd='%WINDIR%\system32\cmd /c start /wait /d %SOFTWARE%\ghostscript\gs %SOFTWARE%\ghostscript\gs\setupgs.exe "%ProgramFiles%\gs"' />
 
  <install cmd='%WINDIR%\system32\cmd /c start /wait /d %SOFTWARE%\ghostscript\gs %SOFTWARE%\ghostscript\gs\setupgs.exe "%ProgramFiles%\gs"' />
  <remove cmd='%ProgramFiles%\uninstgs.exe "%ProgramFiles%\gs\gs8.54\uninstal.txt"' />
+
  <remove cmd='%WINDIR%\system32\cmd /c start /wait /d %SOFTWARE%\ghostscript\gs %SOFTWARE%\ghostscript\gs\uninstgs.exe "%ProgramFiles%\gs\gs8.54\uninstal.txt"' />
  <remove cmd='%ProgramFiles%\uninstgs.exe "%ProgramFiles%\gs\fonts\uninstal.txt"' />
+
  <remove cmd='%WINDIR%\system32\cmd /c start /wait /d %SOFTWARE%\ghostscript\gs %SOFTWARE%\ghostscript\gs\uninstgs.exe "%ProgramFiles%\gs\fonts\uninstal.txt"' />
 
  </package>
 
  </package>
  

Revision as of 19:59, 19 October 2006

This is a silent installer and uninstaller for AFPL Ghostscript and the accompanying AFPL Ghostscript Fonts. This also works for GPL Ghostscript with the appropraite check modifications.

<package id="ghostscript" name="AFPL Ghostscript" revision="1" reboot="false" priority="0" >
<check type="uninstall" condition="exists" path="AFPL Ghostscript 8.54" />
<check type="uninstall" condition="exists" path="AFPL Ghostscript Fonts" />
<install cmd='%WINDIR%\system32\cmd /c start /wait /d %SOFTWARE%\ghostscript\gs %SOFTWARE%\ghostscript\gs\setupgs.exe "%ProgramFiles%\gs"' />
<remove cmd='%WINDIR%\system32\cmd /c start /wait /d %SOFTWARE%\ghostscript\gs %SOFTWARE%\ghostscript\gs\uninstgs.exe "%ProgramFiles%\gs\gs8.54\uninstal.txt"' />
<remove cmd='%WINDIR%\system32\cmd /c start /wait /d %SOFTWARE%\ghostscript\gs %SOFTWARE%\ghostscript\gs\uninstgs.exe "%ProgramFiles%\gs\fonts\uninstal.txt"' />
</package>

If gsview is installed, use the uninstaller from gsview with an additional "-q":

<remove cmd='%ProgramFiles%\ghostgum\gsview\uninstgs.exe "%ProgramFiles%\fonts\uninstal.txt" -q' />