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!

HadleyHope
Posts: 16
Joined: Fri Oct 11, 2013 3:22 pm

Building Multiple Products Under One Installer

Hi,

We are creating two products from a common set of source files basically a full version and a limited functionality version, I have created two builds and have selected the features that will be included in each build. There is a requirement that the two products could be installed on the same machine.

I am assuming that I need to use the multiple instances functionality for this, however at the moment our product is defined as mixed 32/64 bit which seems to have disabled the instance functionality.

Our product is a .NET Windows Forms application built with the "Any CPU" option, the product also includes a SQLite Database and the Advanced Installer Trial dll functionality, and we use the install into parent folder files and folder functionality along with the the Disabled if NOT VersionNT64 logic in the features properties.

Please can you advise if it is possible to create the two products from the one installer project under this scenario, or what my other options are, my only other thought would be to save our current installer project, which seems to do everything to create the two products (apart from separate product codes) as a custom template and then generate two new installer projects using the new template.


Thanks Martin
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Building Multiple Products Under One Installer

Hi Martin,

Multiple instances is not what you need for this scenario.The best option is to save the project as a template and create a new project.

However, this is not enough. There some things that you must do:

- the most important thing is that you need a unique install path for each product. So they don't both end up in the same folder and overwrite common files.
You can set the default path from Install Parameters page.

- you must take into account how do you store/load application data, i.e. registry and files. Do you want this to be shared between them or not?
Here we are also talking about the SQLite DB.

- you also said you are using our trial and licensing support. This has a unique key that is critical to the entire support.How do you want to go here, when you install the full version
you user will have a key to enter? (this means the license is also visible for the limited edition, and that the trial message will no longer appear for it) Or do you want to use different DLLs.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
HadleyHope
Posts: 16
Joined: Fri Oct 11, 2013 3:22 pm

Re: Building Multiple Products Under One Installer

Hi Bogdan, thanks for the quick reply.

I have already created a user defined property called ProductNameSuffix which changed depending on the build to set the unique install paths, registry paths etc and I was quite happy to share the trial and licence across the two products.

However I guess if I really do need to create two install projects for this then I can use different key in each product.



Regards Martin
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Building Multiple Products Under One Installer

Hi Martin,

I'm afraid this is required. The only way to build two installs from the same project that can install side by side is to activate the "side by side installs" option from upgrades page, but in this
the packages must always have a different version.

i.e. you cannot have both packager with version 1.2.3 install on the same machine at the same time. It is basically the side by side support we enabled for Advanced Installer.

Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”