Changes

Ghostscript

1,997 bytes added, 19:43, 2 November 2011
Added Ghostscript + tidyup
''AFPL Ghostscript'' is an interpreter for the PostScript language and ''ESP for PDF, available from http://www.ghostscript.com. Ghostscript'' have been discontinuedis a command-line-tool, if you need a graphical interface install [[GSView]]. Ghostscript can be a requirement of other software, for example Scribus.
Its features have been integrated into ''Ghostscript is available either with a GPL licence, or with a commercial licence. From the Ghostscript''web site: "Which license is right for me? For example, for personal use, use without redistribution, and use with no technical support the GNU Public License (GPL) download is your choice. If you are unwilling/unable to abide by the terms of the GPL (for instance, if you wish to redistribute these software packages or derivations thereof commercially), or if you wish to pay for technical support, you will need to acquire a commercial license from Artifex."
''AFPL Ghostscript is a command-line-tool'' and ''ESP Ghostscript'' have been discontinued, if you need a graphical interface install [[GSView]]their features integrated into ''GPL Ghostscript''.
Links:* [http://pages.cs.wisc.edu/~ghost/ Homepage]* [http://sourceforge.net/projects/ghostscript/ GPL Each Ghostscript on SourceForge]* [http://mirror.cs.wisc.edu/pub/mirrors/ghost/GPL/gs900/gs900w32.exe Setup]* [http://mirror.cs.wisc.edu/pub/mirrors/ghost/GPL/gs900/gs900w64version is installed separately, when you uninstall one version it doesn't uninstall other versions.zip 64bit files]
== AFPL Ghostscript =9=This is a silent installer and uninstaller for AFPL An improvement over Ghostscript and the accompanying AFPL Ghostscript Fonts. Note that the uninstall proces is not silent8, the user is prompted to verify removing the software. The installation files Ghostscript 9 can be obtained silently installed directly by unzipping using the .exe downloaded installer, and can be uninstalled silently. == GPL Ghostscript WPKG Package (32-bit version)== This package includes uninstallation of various previous versions of Ghostscript.
<source lang="xml">
<package id="ghostscript" name="AFPL Ghostscript" revision="12" reboot="false" priority="020" > <check type="uninstallfile" condition="exists" path="AFPL Ghostscript 8%PROGRAMFILES%\gs\gs9.5404\bin\gswin32.exe" /> <check type="uninstall" condition="exists" path="AFPL Ghostscript Fonts" /> <install cmd='%WINDIRSOFTWARE%\system32ghostscript\cmd gs904w32.exe /c start S' /wait >  <!-- Remove the Ghostscript fonts installed separately by versions prior to 8.63 --> <upgrade cmd='cmd /d c "IF EXIST "%SOFTWAREProgramFiles%\ghostscript\gs \fonts\uninstal.txt" "%SOFTWAREPROGRAMFILES%\ghostscript\gs\setupgsuninstgs.exe " "%ProgramFiles%\gs\fonts\uninstal.txt""-q' /> <remove !-- Uninstall Ghostscript 8.54 --> <upgrade cmd='%WINDIR%\system32\cmd /c start /wait /d "IF EXIST "%SOFTWAREPROGRAMFILES%\ghostscript\gs \gs8.54\uninstal.txt" "%SOFTWAREPROGRAMFILES%\ghostscript\gs\uninstgs.exe " "%ProgramFilesPROGRAMFILES%\gs\gs8.54\uninstal.txt"" -q' /> <remove !-- Uninstall Ghostscript 8.61 --> <upgrade cmd='cmd /c "IF EXIST "%WINDIRPROGRAMFILES%\system32gs\gs8.61\uninstal.txt" "%PROGRAMFILES%\gs\uninstgs.exe" "%PROGRAMFILES%\gs\gs8.61\uninstal.txt"" -q' /> <!-- Uninstall Ghostscript 8.63 --> <upgrade cmd='cmd /c start /wait /d "IF EXIST "%SOFTWAREPROGRAMFILES%\ghostscript\gs \gs8.63\uninstal.txt" "%SOFTWAREPROGRAMFILES%\ghostscript\gs\uninstgs.exe " "%ProgramFilesPROGRAMFILES%\gs\fontsgs8.63\uninstal.txt"" -q' />  <!-- Remove redundant directory structure --> <upgrade cmd='cmd /c "IF EXIST "%PROGRAMFILES%\gs\nul.ext" rmdir "%PROGRAMFILES%\gs" /S"' /> <upgrade cmd='%SOFTWARE%\ghostscript\gs904w32.exe /S' />  <remove cmd='%PROGRAMFILES%\gs\gs9.04\uninstgs.exe /S' />
</package>
</source>
If gsview is installed, use the uninstaller from gsview with an additional "-q":<source lang="xml"> <remove cmdGhostscript 8='%ProgramFiles%\ghostgum\gsview\uninstgs.exe "%ProgramFiles%\fonts\uninstal.txt" -q' /></source>
The downloaded installer cannot be installed silently, for a silent installer you need to unzip the .exe installer and then use setupgs.exe to install.
Note that the uninstall proces is not silent, the user is prompted to verify removing the software. Fonts were included with Ghostscript 8.63 onwards rather than being a separate package.  == GPL Ghostscript WPKG Package==
This is the silent installer for GPL Ghostscript.
<source lang="xml">
<package id="gplghostscript" name="GPL GhostScript 8.63" revision="863" reboot="false" priority="0">
  <check type="logical" condition="and"> <check type="uninstall" condition="exists" path="GPL Ghostscript 8.63" /> <check type="uninstall" condition="exists" path="GPL Ghostscript Fonts" /> </check> <install cmd='%WINDIR%\system32\cmd /c start /wait /d %SOFTWARE%\gs8.63\ %SOFTWARE%\gs8.63\setupgs.exe "%ProgramFiles%\gs"' />  <remove cmd='%WINDIR%\system32\cmd /c start /wait /d %SOFTWARE%\gs8.63 %SOFTWARE%\gs8.63\uninstgs.exe "%ProgramFiles%\gs\gs8.63\uninstall.txt"' />  <remove cmd='%WINDIR%\system32\cmd /c start /wait /d %SOFTWARE%\gs8.63 %SOFTWARE%\gs8.63\uninstgs.exe "%ProgramFiles%\gs\fonts\uninstall.txt"' />
</package>
</source>
The uninstall for GPL ghostscript is not silent. It prompts the user to confirm the uninstall.
For version 9.02 == AFPL Ghostscript WPKG Package==This is a silent installer and uninstaller for AFPL Ghostscript and the uninstallation command:accompanying AFPL Ghostscript Fonts. <source lang="xml"><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='cmd /c start /wait /d %ProgramFilesSOFTWARE%\ghostscript\gs%SOFTWARE%\gs9ghostscript\gs\setupgs.02exe "%ProgramFiles%\gs"' />  <remove cmd='cmd /c start /wait /d %SOFTWARE%\ghostscript\gs %SOFTWARE%\ghostscript\gs\uninstgs.exe" %ProgramFiles%\gs\gs8.54\uninstal.txt"' /S >  <remove cmd='cmd /c start /wait /d %SOFTWARE%\ghostscript\gs %SOFTWARE%\ghostscript\gs\uninstgs.exe "_?%ProgramFiles%\gs\gs9fonts\uninstal.02txt" works silently' /></package></source> If gsview is installed, use the uninstaller from gsview with an additional "-q":<source lang="xml"> <remove cmd='%ProgramFiles%\ghostgum\gsview\uninstgs.exe "%ProgramFiles%\fonts\uninstal.txt" -q' /></source> 
== Example Autoit script for "silent" uninstall:==
577
edits