View Full Version : Package Code

06-02-2004, 11:28 AM
How come when I install my basic MSI project the Package Code from the project is different then the package code in the registry? Shouldn't they be the same for when I do upgrades?

06-02-2004, 12:03 PM
No, absolutely definitely not. A package code identifies individual installations, so two installations with the same package code will be exactly the same. This is why, by default, a new package code is generated every time you build. This can be turned off, but I wouldn't recommend it.

Your UpgradeCode will probably want to be the same (though it can be different if you tell the latest MSI about the other UpgradeCode), and your ProductCode can be the same (this will in effect create a minor upgrade).