I have a project that has a set of common files (the 'base' project), then an extra set of data specific to a license number. The data files are built for each license number, and an installer applies the files. I am trying to automate the process of generating msis that update the common 'base' install with the license-specific data. The reason for this is the data files are often being updated and I need to send updates to all licensed users with a support agreement. Doing this manually is of course not feasible.
When all is said and done, all it really needs to do is locate the install folder of the base project, and copy the data files into the right folder there. It'd be great if this could be done using AI / msis (Plan A), instead of hacking up a custom built batch file or launcher app (which is about plan B or C).
So here are some specific areas I need help with please:
1. I need to be sure I'm on the right track when building the 'data files' installer template. It needs to install files in the install path of the base project. What's the best way to go about this: is it to start with the base project AI file, make a copy, strip out all the common files, and add in the data files?
2. Once the data files install template is right, is there a command-line way of updating the data files in the msi, and rebuilding the project with a new name? i.e., with the license number in the name? I can auto-build ini or xml files and use that for configuration if that helps.
Many thanks in advance.
Rhys Drummond.
FOLLOW US
Get the latest news in Application Packaging