As an alternative to using command line parameters to customize the unattended install, you can create an option file.
Thus, instead of typing parameters into the command line, you will list the needed parameters in a text file, then add this text file to the command line.
This can be useful if you are using multiple parameters whose character count might exceed the command line limit.
1.Create an option file.
–The file must be a utf8 text file
–In the first line, type: # encoding: utf-8
–The file must contain a list of command line parameters, each followed by an equals sign, followed by the custom value(s).
–Start a new line for each parameter
–Do not use -- in front of the parameters
–Do not use quotation marks in parameters - not even if the specified value contains spaces
Example
Contents of an option file to install the Archicad26.exe file, using unattended install, to a customized folder location on your D drive, and including all components except Archicad Help:
# encoding: utf-8
mode=unattended
installdir=D:\DATA folder\
disable-components=ArchicadHelp
2.Save the file as a utf8 text file, e.g. “OptionFile.txt”
3.Add the resulting option file to the command line preceded by --optionfile
Archicad-26-INT-3000-1.0.exe --optionfile OptionFile.txt
If either the executable or the Option file is not located in the current directory, you must specify its full path:
C:\Users\CurrentUser\Downloads\Archicad-26-INT-3000-1.0.exe --optionfile D:\DATA\OptionFile.txt
Note: If the file path (specified in the command line) contains spaces, enclose the entire path in quotation marks.