Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

InstallShield LE "Another version of this product is already registered"

I'm running into a roadblock using InstallShield LE in VS2010. The second time running the resulting setup.exe (with incremented version numbers), I get the error

Another version of this product is already registered

By "incremented version numbers", I mean I changed the Minor Version, Build Number and Revision to larger numbers in AssemblyVersion and AssemblyFileVersion of my .exe (the DLL's are set to "1.0.*")

[assembly: AssemblyVersion("0.2.103.005")]
[assembly: AssemblyFileVersion("0.2.103.005")]
[assembly: AssemblyInformationalVersion("Alpha 0.1 - 2/8/2011")]

and also updated the Product Version in the General Information tab of the Installshield LE setup project from 0.10.0000 to 0.11.0000.

I did come across instances of this error message in other SO postings and on the manufacturer's community support forum, but did not find a solution that applies to me.

like image 657
Eric J. Avatar asked Feb 09 '11 02:02

Eric J.


1 Answers

It turns out the answer is to create an entry on the Upgrade Paths tab. When you do that, InstallShield LE will present a file selection dialog. If you have the old installer, presumably you can browse to it to get information about what version you wish to be able to upgrade from. In my case I didn't have the old installer handy, so I pressed cancel and the new Upgrade Paths entry was created anyway. I then adjusted the properties of that entry to specify a minimum and maximum version for the upgrade, and everything worked as expected.

EDIT

(from @lookatmike's comment)

You also have to change the Product Version and (somewhat counterintuitively) the Product Code in the general information tab. The Upgrade Code must stay the same.

like image 138
Eric J. Avatar answered Oct 14 '22 03:10

Eric J.