PDA

View Full Version : path variables from the command line


busytoby
03-14-2007, 06:45 AM
I see that support for specifying the product version from the command line has been added -- this is awesome! Are there any plans to add support for command line switches to modify other attributes? For example, we have an msi project that is built in several automated loops drawing from different source files (per-revision, nightly, release, and manual builds).

It is a little kludgey in my opinion to use automation to more or less open the project, update the paths, resave the project, and then rebuild based on the new source location considering that we might do this 20-30 times in a day when we're trying to push a release out the door.

right now it's accomplished this way by a vbscript wrapper that accepts command line arguments like -IPATHVARIABLE=X:\source\location .. it works, but it seems silly to me that this sort of script is needed at all.

Mike Marino
03-14-2007, 07:47 AM
-l Can be used to set path variables. Is that what you are looking for? Or are you looking to be able to set any MSI property?

Thanks,
Mike

busytoby
03-14-2007, 08:13 AM
in general, i'm looking to set any MSI property, paths are just where i've run into the most trouble. Also, i'm not aware of any -l option to issabld or iscmdbld. We're on 11.5 Premier right now. Was this option added in v12 or is it new to the 2008 beta?

Mike Marino
03-14-2007, 11:25 AM
-l has been in for a while...however it did not work until IS 2008

See:

http://community.installshield.com/showthread.php?t=167640

for details on how it works.

Thanks,
Mike