PDA

View Full Version : Sending parameters to Wise.


matth
09-26-2003, 03:59 PM
I am attempting to compile a Wise Installation script and pass in compiler variables. The information entered in the additional parameters section of the Wise dialog (in Visual Build) appears after the path to the wise file in the command that is generated. I need the additional parameters to be entered before the wise install file path. Can this be done within visual build? Any help would be greatly appreciated.

pjaquiery
09-28-2003, 03:51 PM
You can do pretty much anything from a "Run Program" step. We run Wise that way because the built in step doesn't seem to wait for completion.

The command line looks pretty much like this:

"C:\Program Files\Wise InstallMaster 8.0\InstallMaster.exe" /c /s "installSource.wse"

It would be tider if the Wise executable bit were in a macro:

%Wise% /c /s "installSource.wse"

The advantage for us is that with a "Run Program" step we can choose to wait for completion or not and test the outcome if we want.

matth
09-29-2003, 10:25 AM
Thanks, It looks like I have an older version of wise that doesn't allow the parameters after the wise file path. It sounds like the best way to handle it is with the run program option and pass in the parameters however I need to. Thanks again.