danc81
Posts: 18
Joined: Tue Oct 09, 2007 8:46 am

Force new product code

Hi,

Is it possible to force the generation of a new product code when the revision number changes? For example, if my version 1.1.1.1 becomes 1.1.1.2, I need to be able to upgrade the 1.1.1.1 in place which I believe requires a new product code but this only seems to be generated when I change the version to 1.1.2.1.

Is there a way round this? (I set the version on the command line)

Thanks.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Force new product code

Hi,

Unfortunately Windows Installer ignores the fourth field of the version. Therefore, for Windows Installer the version "1.1.1.1" is the same as "1.1.1.2". If you set a different Product Code for "1.1.1.2", Windows Installer will install it side by side with "1.1.1.1" (it will not upgrade the old version).

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
danc81
Posts: 18
Joined: Tue Oct 09, 2007 8:46 am

Re: Force new product code

OK, thanks. I'll work around it then.

Return to “Common Problems”