In my v1.0 release I had shortcut settings in multiple components using start |
programs | "My Service Deliverable" menu folder. In my v1.1 release I
changed the wix sources to use "start | programs | "My Service Deliverable
v1.1". When I run a v1.0 to v1.1 msp patch or msi upgrade I end up with the
old shortcuts menu folder start | programs | "My Service Deliverable" menu
folder and the new start | programs | "My Service Deliverable v1.1" menu
folder. Is there something I'm overlooking that would enable the msp patch
and msi upgrade processing get rid of the old folder?
in v1.0 wix sources
<String Id="ProductMenu">My Service Deliverable</String>
in v1.1 wix sources
<String Id="ProductMenu">My Service Deliverable v1.1</String>
in v1.0 and v1.1 wix sources this stayed the same
<Directory Id="ProgramMenuFolder">
<Directory Id="ProductMenuFolder" Name="!(loc.ProductMenu)" />
</Directory>
<DirectoryRef Id="ProductMenuFolder">
<Component Id="UninstallShortcut"
Guid="BFE964D5-D248-44E7-83C7-D2D43BAF198B" Win64="$(var.Win64)">
<RegistryKey Root="HKCU"
Key="$(var.SoftwareKey)\Microsoft\!(loc.ProductKey)">
<RegistryValue Name="InstalledUninstallShortcut"
Type="integer" Value="1" KeyPath="yes" />
</RegistryKey>
<Shortcut Id="UninstallProduct" Name="Uninstall
!(loc.ProductName)"
Target="[$(var.SystemFolder)]msiexec.exe"
Arguments="/x [ProductCode]"
Directory="ProductMenuFolder"
Description="Uninstalls !(loc.ProductName)" />
<RemoveFolder Id="UninstallShortcutRemoveProductMenuFolder"
On="uninstall" />
</Component>
</DirectoryRef>
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users