cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
andyguest13
Level 3

New GUID not reflected in Uninstall Shortcut

Hi,
I made myself an MSI, shipped it - all OK. So then i come to ship the next iteration of it, and i generated a new Product code on the General Info screen. BUT - this new GUID was NOT reflected in the Shortcuts/Folders page, so my iteration 2 installer 'pointed' at my iteration #1 package still. To get around it i just manually copied and pasted the new GUID across. But, is this a bug or a feature or what?

thanks
andy
Labels (1)
0 Kudos
(1) Reply
joshstechnij
Level 10 Flexeran
Level 10 Flexeran

This behavior is a limitation of the uninstall shortcut functionality. When the Product Code for the project is changed, the shortcut does not get updated.

Instead of using a hard-coded GUID, you should be able to use:
[ProductCode]

Which will resolve at runtime to the current Product Code for your installation and write that into the shortcut.
0 Kudos