cnkinsd
10-11-2013, 02:42 PM
Hi,
I was wondering how to create custom command line switches?
EXAMPLE:
I have a package that installs the same software, but different configurations based on the command line switch CONFIG1 or CONFIG2 in WiseScript.
Is it possible to do the following in SetupBuilder...
If %CMDLINE% Contains "CONFIG1" Then
Change machine settings for config 1
ElseIf %CMDLINE% Contains "CONFIG2" Then
Change machine settings for config 2
End
If it is possible, how do I do that and what is the command line variable to capture, and if not, May I suggest that this functionality be added to a future update?
Thanks
Kel
I was wondering how to create custom command line switches?
EXAMPLE:
I have a package that installs the same software, but different configurations based on the command line switch CONFIG1 or CONFIG2 in WiseScript.
Is it possible to do the following in SetupBuilder...
If %CMDLINE% Contains "CONFIG1" Then
Change machine settings for config 1
ElseIf %CMDLINE% Contains "CONFIG2" Then
Change machine settings for config 2
End
If it is possible, how do I do that and what is the command line variable to capture, and if not, May I suggest that this functionality be added to a future update?
Thanks
Kel