Uninstallation doesn't delete shortcuts

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
Report Content as Inappropriate

Uninstallation doesn't delete shortcuts

This post has NOT been accepted by the mailing list yet.
This post was updated on .
If I create two installers with different versions and upgrade and installs both of them and then Uninstall the one version then the shortcut is not getting deleted. For the second un-installation the shortcut and registries are also deleted properly for those version.
I am using '*'  to generate the Component GUID. If I use hard coded GUID both version then things work fine. But each time I can't change the GUID for each release.
Some questions:
1. Is the auto generate "*" is not working correctly?
      <Component Id="DesktopShortcut" Directory="INSTALLLOCATION" Guid="*"  Win64="$(var.Is64)">
        <Shortcut Id="myAppDesktopShortcut"
                  Description="myApp software" >

        <RemoveFolder Id="myAppDesktopShortcut" Directory="DesktopFolder" On="uninstall"/>
        <RegistryValue Root="HKCU" Key="Software\[Manufacturer]\[ProductName]" Name="myAppDesktopShortcut" Type="integer" Value="1" KeyPath="yes"/>

NOTE: My product name has version as well.

2. Am I missing something?