Hi i use wix 3.5 with this code to create a shortcut

<Directory Id="ProgramMenuDir" Name="XXX">
<Component Id="CompProgramMenu" Guid="e89955e2-daae-4b83-b3a4-644ee504c6ee">
<Shortcut Id="SQLManualStartMenuShortcut"
Name="!(loc.MANUALDESCRIPTION)"
Description="!(loc.MANUALDESCRIPTION)"
Target="[INSTALLLOCATION]documents\!(loc.ManualFile)"
WorkingDirectory="INSTALLLOCATION" />

<RemoveFile Id="SQLManualStartMenuShortcut" Directory="ProgramMenuDir"
Name="!(loc.MANUALDESCRIPTION)" On="uninstall"/>
<RemoveFolder Id="ProgramMenuDir" On="uninstall" />

<RegistryValue Root="HKCU"
Key="SOFTWARE\XXX"
Type="string"
KeyPath="yes"
Name="OracleManualLink"
Value="yes" />

<RemoveRegistryKey Root="HKCU" Key="SOFTWARE\XXX\OracleManualLink"
Action="removeOnUninstall" />

</Component>
</Directory>

But after uninstallation the shortcut always exists.
The Setup installs an AddIn so the shortcut directory is not empty after
remove the "SQLManualStartMenuShortcut"

 

Mit freundlichen GrĂ¼ssen 

 

Peter Glatzer

___________________________________________
GFB EDV Consulting und Services Gesellschaft mbH 
E-Mail  <mailto:angelika.j...@gfb-consulting.de>
peter.glat...@gfb-consulting.de
Web  <http://www.gfb-consulting.de/> www.gfb-consulting.de 

 

 

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to