Hi All,

I have the below directory structure:

<Directory Id="TARGETDIR" Name="SourceDir">
       <Directory Id="ENERGYSOLUTIONS" Name="$(var.rootFolder)">
         <Directory Id='PFWLOCAL' Name="$(var.installFolder)">
         </Directory>
       </Directory>
              <Directory Id="DesktopFolder" Name="Desktop">
              <Component Id="PFWLocalClientShortcutDesktopCmp" 
Guid="{D24360C2-0D40-4CA9-BD9C-874D7DFEB5B1}">
                  <Shortcut Id="PFWLocalClientShortcutDesktop" 
Name="$(var.installFolder)" Target="[PFWLOCAL]PFWLocalClient.exe" 
Description='Launch Pipeline             Framework' 
WorkingDirectory='PFWLOCAL'  Icon='PFWLocalClientIcon.ico'>
                   </Shortcut>
                   <RemoveFolder Id="DesktopFolder" On="uninstall"/>
                   <RegistryValue Root="HKCU" 
Key="Software\PipelineFramework" Name="PFWLocalClientShortcutdesktop" 
Type="integer" Value="1" KeyPath="yes"/>
             </Component>
       </Directory>
     </Directory>


And i am using the built in WIX UI as below:

<Property Id="WIXUI_INSTALLDIR" Value="PFWLOCAL" />

In the desktop shortcut i am creating above, i want that the name 
attribute of the shortcut be picked up same as the name of the directory 
the user wants to install to, for instance he might change the default 
directory, in that case the name of the shortcut should be same as the 
directory user has supplied. Please let me know how we can achieve the same.

Regards,
Suvra Jyoti

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to