Our software requires multiple user based input for installation. In unattended mode is it possible to pass the argument through command line. The documentation shows that text based installation is not supported for Windows environment.
10. User Interface (bitrock.com)
Hi @jonmarsh ,
On Windows InstallBuilder is executed as a GUI application when run in unattended mode, even though it's not showing in the GUI. You can just add the arguments to the command:
./installbuilder.exe --mode unattended --some_parameter some_value
Regards,
micheil
If i have a variable name of $ipAddress, should the commandline be as below.
./installbuilder.exe --mode unattended --ipAddress 10.98.98.21
If the variable name is truly $ipAddress then you would pass it as --$ipAddress 10.98.98.21
I am getting error : Unknown option --${ipaddress}. Below is my command line.
tsp-1.0-windows-installer.exe --mode unattended --${ipaddress} 10.98.98.21
I am also providing details on the text box which has ${ipaddress} as variable name.
<parameterGroup>
<name>IPAddress</name>
<explanation>IPAddress</explanation>
<value></value>
<default></default>
<orientation>horizontal</orientation>
<parameterList>
<stringParameter>
<name>ipaddress</name>
<description>ipaddress</description>
<explanation></explanation>
<value></value>
<default></default>
<allowEmptyValue>1</allowEmptyValue>
<width>30</width>
<validationActionList>
<setInstallerVariableFromRegEx>
<name>result</name>
<pattern>^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+$</pattern>
<substitution>valid</substitution>
<text>${ipaddress}</text>
</setInstallerVariableFromRegEx>
<throwError>
<text>Not a valid IP address.</text>
<ruleList>
<compareText>
<logic>does_not_equal</logic>
<text>${result}</text>
<value>valid</value>
</compareText>
</ruleList>
</throwError>
</validationActionList>
</stringParameter>
</parameterList>
</parameterGroup>
Let know how to avoid the error
Hi @jonmarsh,
You need to pass the parameter as follows:
.\tsp-1.0-windows-installer.exe --mode unattended --ipaddress 10.98.98.21
Regards,
Michiel
Can you set installer variables as well through the cli?