Product Code is changed during installation - Advanced Installer Community
ChrisGue
Posts: 116
Joined: Tue Feb 03, 2009 7:26 pm

Product Code is changed during installation

Hello,

I use the AI 7.1.3 corporate.
Now a customer told that the Product Code is changed during installation.
From the log:
MSI (s) (AC:C4) [15:18:41:357]: Product Code from property table before transforms: '{4BEEBA03-2560-42DB-9B17-805FB7278E7A}'
MSI (s) (AC:C4) [15:18:41:357]: Product Code from property table after transforms: '{D5BBD553-285D-4356-9AB8-6676636A8910}'

As this is a customer solution I have just saved my standard AI project under a different name.
Is this the cause?
How can I avoid that?
How to remove the transform of the Product Code?

Thanks, Chris
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Product Code is changed during installation

Hi Chris,

The Product Code is automatically changed when the package is localized (every language in the Translation page uses a different Product Code). You can change it in the Product Details page, "Product IDs" tab, but this is not recommended.

The Product Code is also changed when it is used the "Multiple Instances" feature. Every instance in the package has its own Product Code. A package cannot use the same Product Code for multiple instances.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
ChrisGue
Posts: 116
Joined: Tue Feb 03, 2009 7:26 pm

Re: Product Code is changed during installation

Thanks for the answer.

Now my customer complains about that again.

He installs our software via the product code.
But uninstalling with that product code does not work, as the product code was changed. And his installation environment uses the product code.
Any solution for that?

I do not see the "Product IDs" tab. (I use AI 7.1.3)

"Multiple Instances"? Do you mean 'Allow side by side installs of different product versions.' This is not activated.

Regards,
Chris
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Product Code is changed during installation

Hi Chris,

As I said in my previous post, a localized package sets a different Product Code for every language. If, for example, you have a multilingual package which automatically chooses the system language when it is installed, it will be launched with its Product Code (the Product Code of the multilingual package), but it will apply a transform and change the Product Code when the language is chosen.

So, the user must use the Product Code that is applied after transform if he wants to uninstall the application via Product Code.

Indeed, the "Multiple Instances" feature is added later in our application and it allows a product to be installed more times on the same machine even if it has the same version. The "Allow side by side installs of different product versions" allows different versions of the same product to be installed.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”