The unattended Installation of GS 8.71 does not work. When I call gsetup only with one parameter "-dir %ProgramFiles%\gs" I get a Window: Usage: setupgs.exe -title "GPL Ghostscript #.##" -dir "gs#.##" -list "filelist.txt" spec1 spec2 specn So I call it with additional -title "ghostscript 8.71" -dir "%ProgramFiles%\gs" -list c:\gs-unpacked\filelist.txt. With this Options the installation does nothing. The specs listet in the Help-Window are nowhere documented. In this Thread, a User has the same Problem: http://old.nabble.com/unattended-installation-td27866661.html Please fix that an write it down somewhere in the documentation.
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.