Difference between revisions of "Ghostscript"
From WPKG | Open Source Software Deployment and Distribution
(Modified remove commands to use the same format as the install cmd.) |
(Added separate config for GPL version) |
||
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. Note that the uninstall proces is not silent, the user is prompted to verify removing the software. The installation files can be obtained by unzipping the .exe installer. |
<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 11: | Line 11: | ||
If gsview is installed, use the uninstaller from gsview with an additional "-q": | 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' /> | <remove cmd='%ProgramFiles%\ghostgum\gsview\uninstgs.exe "%ProgramFiles%\fonts\uninstal.txt" -q' /> | ||
+ | |||
+ | This is the silent installer for GPL Ghostscript. | ||
+ | |||
+ | <package id="gplghostscript" name="GPL GhostScript 8.54" revision="1" reboot="false" priority="0"> | ||
+ | <check type="logical" condition="and"> | ||
+ | <check type="uninstall" condition="exists" path="GPL Ghostscript 8.54" /> | ||
+ | <check type="uninstall" condition="exists" path="GPL Ghostscript Fonts" /> | ||
+ | </check> | ||
+ | <install cmd='%WINDIR%\system32\cmd /c start /wait /d %SOFTWARE%\gs8.54\ %SOFTWARE%\gs8.54\setupgs.exe "%ProgramFiles%\gs"' /> | ||
+ | <remove cmd='%WINDIR%\system32\cmd /c start /wait /d %SOFTWARE%\gs8.54 %SOFTWARE%\gs8.54\uninstgs.exe "%ProgramFiles%\gs\gs8.54\uninstal.txt"' /> | ||
+ | <remove cmd='%WINDIR%\system32\cmd /c start /wait /d %SOFTWARE%\gs8.54 %SOFTWARE%\gs8.54\uninstgs.exe "%ProgramFiles%\gs\fonts\uninstal.txt"' /> | ||
+ | </package> | ||
[[category:Silent Installers|Ghostscript]] | [[category:Silent Installers|Ghostscript]] |
Revision as of 12:26, 20 October 2006
This is a silent installer and uninstaller for AFPL Ghostscript and the accompanying AFPL Ghostscript Fonts. Note that the uninstall proces is not silent, the user is prompted to verify removing the software. The installation files can be obtained by unzipping the .exe installer.
<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' />
This is the silent installer for GPL Ghostscript.
<package id="gplghostscript" name="GPL GhostScript 8.54" revision="1" reboot="false" priority="0"> <check type="logical" condition="and"> <check type="uninstall" condition="exists" path="GPL Ghostscript 8.54" /> <check type="uninstall" condition="exists" path="GPL Ghostscript Fonts" /> </check> <install cmd='%WINDIR%\system32\cmd /c start /wait /d %SOFTWARE%\gs8.54\ %SOFTWARE%\gs8.54\setupgs.exe "%ProgramFiles%\gs"' /> <remove cmd='%WINDIR%\system32\cmd /c start /wait /d %SOFTWARE%\gs8.54 %SOFTWARE%\gs8.54\uninstgs.exe "%ProgramFiles%\gs\gs8.54\uninstal.txt"' /> <remove cmd='%WINDIR%\system32\cmd /c start /wait /d %SOFTWARE%\gs8.54 %SOFTWARE%\gs8.54\uninstgs.exe "%ProgramFiles%\gs\fonts\uninstal.txt"' /> </package>