Post a reply to the thread: Command Line Compile Options
Click here to log in
What's the name of our main installation product (in uppercase letters), directly followed by the current year?
You may choose an icon for your message from this list
Will turn www.example.com into [URL]http://www.example.com[/URL].
Re: Command Line Compile Options Doug, Thanks for that. It sometimes helps to get someone elses input, looking at things a different way. I've set it up to copy the file, then delete the original, and that works fine. Thanks, Stuart Jackson QX21 Health
Re: Command Line Compile Options
Re: Command Line Compile Options In my scripts, I simply copy the final EXENAME to a special folder where I rename it to whatever I want using the script #copy command and a source value of [SB5_PROJECT_EXE]\[EXENAME] Using the same script, I pass different command line parameters that basically cause the SB scripts to create slightly different compiles and the resulting EXENAME is then copied into designated folders I have set up on my local drive. I'm sure there are other ways of doing it, but the above has worked very well for me. HTH Doug
Re: Command Line Compile Options Okay, some success, with getting the version to work, from what I can tell. However, I've tried setting the value of [EXENAME] at the time of compiling, and it doesn't like it at all. If this is possible, could somebody provide an example? I tried keeping it simple to begin with: #set compiler value [EXENAME] = "test1.exe" but to no avail. Thanking you in advance, Stuart Jackson QX21 Health
Re: Command Line Compile Options We'd also have to pass in the version number of the file as well, thinking about it. I have looked at the sample of this, and the value is read from the ini file, but I was unable to set the version within SetupBuilder using this? Is there a trick to this? Thanks in advance, Stuart Jackson QX21 Health
Re: Command Line Compile Options You can definitely pass multiple variables to SB and then have your script do whatever you want based on the values you pass. I do this all the time by using the /DS Var "Value" /DS Var2 "Value" added to the command line prompt. Check the docs, I believe its documented. HTH Doug
Command Line Compile Options We would like to be able to call an install script from the command line, passing it two variables, one being the file that we want installed, and the other being the name of the installer to create. Is this possible, or are we trying to alter things that are not possible at compile time? Thanks in advance, Stuart Jackson QX21 Health
Command Line Compile Options
Forum Rules