PDA

View Full Version : Multiple Installations...



petaluma
06-04-2004, 07:40 PM
Hi:

I'm working with the Basic MSI Project to do installation regardless if a previous install exists or not. I bump up the version number and changed the Product Code; hoping that the install will be a fresh one, which means it should remove the existing one and then install a new one. But the result is that the Install Shield did not remove the existing one, but installed a 2nd copy of the installation.

Anyone can think of something I might have missed?

Thanks for your info.

Michael

RobertDickau
06-04-2004, 08:53 PM
You'll want to look into major upgrades, which do what you're describing. By default, MSI uses the ProductCode value to identify a product; any two products with different product codes are considered unrelated unless you populate the Upgrade table, which is what the major upgrade process uses.

petaluma
06-06-2004, 06:57 PM
After keep the Upgrade Code the same, it works as expected. Thanks for your help.