It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
I was wondering if there are any command line options for the GOG installer? For example I'd like to disable installing FoxIt and maybe some other games (for bundle installers).

Thanks!
No posts in this topic were marked as the solution yet. If you can help, add your reply
There's a button with settings on the installer screen. It lets you untick whatever you don't want to install, including the reader I believe.
avatar
Fenixp: There's a button with settings on the installer screen. It lets you untick whatever you don't want to install, including the reader I believe.
Yeah I got that, however I want to launch the installer with certain options unchecked. I need that for executing the installer in a script.

In addition, if there is any way to run the installer in silent mode, it would be much appreciated.
avatar
Fenixp: There's a button with settings on the installer screen. It lets you untick whatever you don't want to install, including the reader I believe.
avatar
jaingaurav: Yeah I got that, however I want to launch the installer with certain options unchecked. I need that for executing the installer in a script. In addition, if there is any way to run the installer in silent mode, it would be much appreciated.
I'm quite sure there are no command-like options for the GOG installer, and no option to run it silently. It's built with Inno Setup though, so you can rummage through the docs of that and see if you find anything of use.
As Miaghstir says it's using InnoSetup, so you can use options like /SILENT if you want, but since you're required to accept an EULA before installing it's not straight forward. Using the /DIR option works, but when I tried using /SILENT and didn't accept the license which resulted in a seemingly endless supply of error messages (killed it with taskmgr), so you'd have to figure out how to set that checkbox as well.
As this is an old thread, I assume that most people know how to do this.

But for those who don't, here are the steps that work for me:

1 be sure to (re) download the game installer from GOG if you see any EULAs during install
GOG seemed to update the installers to v2.x and I am really thankful for their work in doing so.

2 in the install dir of the game, create a bat file with this code:

[begin code]
@ECHO OFF

REM Use /COMPONENTS if unwanted apps are installed using a default install.
REM /NOICONS does NOT seem to work/apply. startmenu is still created.

PUSHD %~dp0
setup_nwn_diamond_2.0.0.15.exe /verysilent /dir="C:\Games\Neverwinter Nights Diamond Edition" /NORESTART /CLOSEAPPLICATIONS

[end code]

@ECHO OFF
removes screen output during install

REM ...
remarks are simple notes and have only an informational purpose

PUSHD %~dp0
sets the working dir to the dir where the installer is located, otherwise a default location is used (like c:\windows\system32)

change the name of the EXE to the install file
change the DIR parameter to wherever you like the game is installed

then test the batch file from an elevated command prompt
Post edited April 12, 2014 by musqueteer