Hello,
I have a problem when uninstalling a Shortuct, may be someone has experienced
the same problem and knows a solution/reasion for the behaviour?
I Did:
With Wix I create a (non advertised) shortcut the following way:
<Component Id="_someID" Guid="aValidGuid">
<RegistryValue Id="_someRegId" KeyPath="yes"
Root="HKCU"
Key="Software\ProgramPath\NeededKeys" Name="AddOn launcher Key"
Type="string" Value="1"/>
<Shortcut Id="shortcutID" Name="Shortcut to File"
Directory="BASEPRODSTARTMENU" Advertise="no"
Target="[!FileID]" />
</Component>
The MSI Creation Process works fine as expected. When installing the MSI
'BASEPRODSTARTMENU' Directory is set via command line to e.g.
"C:\Users\user\AppData\Roaming\Microsoft\Windows\Start
Menu\Programs\UserSelectedSubPath"
This works all fine and everything gets installed.
But when uninstalling the Product, the shortcut stays in the start menu and
does not get uninstalled.
The log file shows that the "BASEPRODSTARTMENU" Directory is not resolved to
the path set during install and so there is a problem for uninstallation. I
wonder what the reason is why it can not be resolved? For Files I do the same
thing (setting the installation folder via command line) and they get
uninstalled just fine...
Can anyone bring some light into the behaviour and/or has a solution how to
resolve this issue?
Thanks for your help.
Best regards,
Tobias
--
NEU: FreePhone - 0ct/min Handyspartarif mit Geld-zurück-Garantie!
Jetzt informieren: http://www.gmx.net/de/go/freephone
------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users