We currently have built a pretty extensive system using Wise Installer. Long story short, we purchased AI Professional for a project that needed an MSI and needed to install a service and I'm looking into recreating our Wise system with AI.
Basically, our process starts when a group of variables from a web page are read into a script that spawns a package generation. That script then stamps the package with a version, uses different paths based on the version, and modifies shortcuts to include things such as server IP, ports, etc. With Wise we set up variables that are received on the command line when the script launches the package build building a custom tailored package for the end user who is then notified via e-mail it is ready for download on our secure site.
It looks like in AI, these variables would be referred to as "Properties" under Install Parameters and I'm able to reference them in the shortcut Arguments field and some other places, including referencing them in other properties which is all fine and good. But I do hit a snag in a couple places.
The first one is the Product Version on the Product Details page, but this might not be a big deal as it looks like I can supply that via command line.
The second place which is a very big deal is under Files and Folders when selecting the source. Based on the version used in the build, I source the files from different folder. For example, the source path may be something like C:\Release\Gold\ver0.0.0, which would be a combination of two variables (properties); one for the first part of the file source path ("C:\Release\Gold\ver"), and the other being the version("0.0.0").
Is there no way possible to use the properties or some other variable means within the file's Source field?
In addition, it appears that in order to pass in these Properties via command line, I actually need to use the Editing commands in the form of "/SetProperty". Over all, I would need to Load the project, Modify using the /SetProperty, Save it, then I could build it? Or, is there a way to pass these in on a single command to just build the project without modifying the .aip file?
Thanks!
FOLLOW US
Get the latest news in Application Packaging