I’m running a post build vbs script on my installer project that edits one of the installer project msi outputs (there’s two, debug and release) so I can have them both installed on the same machine at the same time.
Here’s what I’m editing so far:
Table: Shortcut, Property:Name
(editing desktop and startmenu shortcuts)
Table: Property, Properties: ProductName, ProductCode, UpgradeCode
Also added REINSTALLMODE=amus to to the ‘property’ table in both versions.
The trouble is, the edited msi deletes the shortcuts and files of the non-edited msi. But the original msi won’t overwrite files of the the non-edited msi.
Any thoughts?
Thanks!
Isaac
It turns out that I have to replace the upgradecode in two different places.
There’s the upgrade code in the Property table, and also the upgradecode in the Upgrade table. Seems a little silly it needs to be in two places…