We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

RhysDrummond
Posts: 4
Joined: Fri Jan 22, 2010 4:01 am

Auto-generating License-Specific Install Updates

Hi AI gurus. :)

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.
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Auto-generating License-Specific Install Updates

Hello,

Since the contents of your project file are often modified, you might want to look into folder synchronization. If this is not an option, you can add and remove files using the command line. Although you mentioned you want to avoid using batch files, our command line is fairly simple to use and it provides more versatility, it would not be difficult to implement your batch file.

Regarding setting the name of the output msi, this can be done using the /SetPackageName command line parameter.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
RhysDrummond
Posts: 4
Joined: Fri Jan 22, 2010 4:01 am

Re: Auto-generating License-Specific Install Updates

Many thanks Gabriel, I'll give that a go. I may be back with more specific questions, but it sounds like, at least, it is possible to what I'm proposing.

Cheers.

Return to “Feature Requests”