Summary: | Unattended Installation not documented | ||
---|---|---|---|
Product: | Ghostscript | Reporter: | dspannbauer |
Component: | Config/Install | Assignee: | Hin-Tak Leung <htl10> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P4 | ||
Version: | 8.71 | ||
Hardware: | PC | ||
OS: | Windows Vista | ||
Customer: | Word Size: | --- |
Description
dspannbauer
2010-04-27 16:59:56 UTC
setupgs with arguments is use to generate a filelist, not to install gs. Ok, but what are the arguments for? And how can I setup Ghostscript unattended? Regards Daniel (In reply to comment #2) > Ok, but what are the arguments for? If I read the code (psi/dwsetup.cpp) correctly, the winzipse-based installer binary setupgs.exe works in 3 ways: - no argument: interactive set up - 1 argument: batch non-interactive setup (for the destination directory) - >1 arguments: run as "make_filelist.exe" during the installer packaging process to generate a list of files to copy and for uninstall. > And how can I setup Ghostscript unattended? So for silent installation, you probably want to do something like (after unzip'ping): setupgs.exe "C:\Program Files\gs" Also, the new NSIS-based installer supports the "/S" switch for silent installation. See http://bugs.ghostscript.com/show_bug.cgi?id=691363#c3 if you feel like trying it out. I just tried the 1-arg invocation myself, and it works as I thought it would. Re-assign to myself for updating documentation to mention 1-arg invocation. Change bug report subject from 'not work' to 'not documented' - Unattended installation works... It is just not obvious how one is to do it without looking at the code itself. Ok, Thanks a lot for the hint. It works, but is not configurable (Use Windows-Truetype-Fonts etc.). But NSIS is a great step in the right direction. (In reply to comment #5) > Ok, Thanks a lot for the hint. It works, but is not configurable (Use > Windows-Truetype-Fonts etc.). How would you like it to be configurable (for either installers)? The "Use Windows CJK fonts" is simply running this on post-install: gswin32c -q -dBATCH -sFONTDIR=c:/windows/fonts -sCIDFMAP=lib/cidfmap \ lib/mkcidfm.ps which defaults to YES for the NSIS installer (not sure about the winzipse installer). The other options (whether to create start-menu? what else) isn't configurable, but it could be relatively easily with NSIS. Added documentation about unattended install for the winzipse-based isntaller in r11387. Suggestions to improving either the winzipse-based installer or the NSIS-based installer please add to bug 691363 or file new bugs. Sorry, meant to close this with the last comment. |