How To create 2 MSI Files with different Product IDs - Advanced Installer Community

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!

debian69
Posts: 9
Joined: Mon May 02, 2011 3:57 pm

How To create 2 MSI Files with different Product IDs

Hi,
here is my problem:
I created an aip-File (Version 9.1.1) to build 2 different MSI-Files with nearly the same content but in different locations on the target computer. I used the feature 'Builds' to solve this problem. Everything is working fine as long as I install only one of the MSI Files on the target machine, but sometimes I have to install both of them. The installation of the second one fails, because both MSI Files use the same product code.
Is there any solution to this problem? How can I get different Product Codes for both builds?

Greetings from Germany,
Thorsten
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: How To create 2 MSI Files with different Product IDs

Hello Thorsten,
How can I get different Product Codes for both builds?

You cannot have different product codes for multiple builds of an application package. Please keep in mind that a product code uniquely identifies a product release. If you have an application package with multiple builds, then those will have the same product code.
Is there any solution to this problem?

You should use three different projects, a merge module and two applications packages, in order to achieve what you want. If you want to have two main application with common resources, then you should create a merge module containing the common resources of the two applications. Then you should include the merge module in both of your applications packages.

If you have any questions let me know.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”