Ghostscript
From WPKG | Open Source Software Deployment and Distribution
Revision as of 19:59, 19 October 2006 by 64.128.109.242 (Talk) (Modified remove commands to use the same format as the install cmd.)
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' />