werelord
Posts: 16
Joined: Thu Nov 05, 2009 3:47 pm

software with separate content packs

I have a software program that has a number of different "content packs" associated with the software, which installers I'm converting to Advanced Installer. Our current setup has each individual content pack included with the base program as a separate installer; each installer will install the software (if needed, updating as necessary) and the content pack itself; the software always installs to the same location and the content packs as a subdirectory of that location

First question is if this is possible with Advanced Installer? How would one set this up; having a separate productcode for each pack, but then having the install location the same between the two? Or is it possible to use the same productcode for the software, and then would Advanced installer be able to install the packs without having to go thru the Modify/Remove/Reinstall screen?

Second question is related, dealing with uninstall.. the current setup is to have one Uninstall for the software and all packs. We would possibly be open to the idea of having separate uninstall entries for each pack; but then we would have the issue of keeping the software around (unless all packs were removed), which I'm not sure would be possible with separarate productcodes..

Whats the best way to set this up? Any advice would be helpful; I'll try to clarify if any of this seems confusing..
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: software with separate content packs

Hello,

You can organize your product like this.
- each content pack would have the main product added to its installer as a prerequisite.
- then each pack's installer would write a registry entry. For example it could write "msiexec /x [ProductCode]" into a REG_SZ so as to enable an easier uninstall of the pack.
- when a pack is uninstalled it would check for the registry entries of other packs. If none are found, then the pack would uninstall the prerequisite as described in our guide

Similarly, upon uninstall, your main package would check for existence of any content packs and uninstall them along with itself.

Regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
werelord
Posts: 16
Joined: Thu Nov 05, 2009 3:47 pm

Re: software with separate content packs

How would I set up the install project in order to be able to install as one product code?? Right now our setup is using the project file for the software, and adding the content packs via .aic files individually to create separate installers for each content pack; however when trying to install a second content pack on a system where one pack is already installed the installer shows this message: "Another version of the product is already installed. Installation of this version cannot continue..."
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: software with separate content packs

Hello,

I am not sure how you want the project to be viewed in Add/Remove Programs. Do you want each pack to have an entry there? For this to be possible, each pack must have a different product code. My suggestion implies that you should create a different .aip project file for each content pack. Make sure they have different product codes. To generate a Product Code for each .aip project file, in Advanced Installer go to Project->Options->Project IDs, and press the [ Generate All ] and [ Generate ] buttons to make sure they have unique Product and Upgrade Codes.

Regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”