Hi; I currently have a variable (BuildDir)in my installer script that contains the base directory where all the files that are pulled into the installer are kept. This variable is hard coded in the script to a certain value. I am now starting to launch the installer build process from the command line and set that variable from the command line. It does not seem to accept the value i am passing in. here is the command line i am using:
"C:\\Program Files\\BitRock InstallBuilder Enterprise 8.0.2\\bin\\builder-cli.exe" build "C:\\build\\Setup\\SCS Communicator\\Communicator.xml" --verbose --setvars BuildDir="C:\\build" project.version=0.0.0.0021
When i run this it tells me that it can't find the first item it attempts to pull in. in fact it shows that it is trying to pull it in from the default directory that the installer script has.
here is the prebuildactionlist:
<preBuildActionList> <setInstallerVariable> <name>QtDir</name> <persist>1</persist> <value>C:/Qt/4.8.0</value> </setInstallerVariable> <setInstallerVariable> <name>BuildDir</name> <persist>1</persist> <value>C:\\build2</value> </setInstallerVariable> <setInstallerVariable> <name>SchemaChangeNeeded</name> <persist>1</persist> <value>false</value> </setInstallerVariable> <createTimeStamp> <format>%m%d%Y</format> <variable>TimeStamp</variable> </createTimeStamp> </preBuildActionList>
Please sign in to leave a comment.