Wix 3.5 desktop shortcut

In my application, a shortcut to desktop is provided. After it's installed, when mouse points to shortcut, it shows location details (installation path).

What should do in order to hide this information in wix?

My code is:

<Component>
   <File Id ="Scan" Name="Scan.exe" Source="Scan.exe">
      <Shortcut Id ="Shortcut" Name="Scanner" Directory="DesktopFolder" Advertise="no" />      
   </File>
   <RegistryValue Root="HKCU" Key="SoftwareScannerCompanyDevice" Name="Scan" Type="integer" Value="0" KeyPath="yes"/>
</Component>

If I remember correctly, the Description attribute defines what is displayed in the shortcut's tooltip. It seems the installation path is the default value. So, I think you should add Description attribute to the Shortcut element in order to overwrite the text.

链接地址: http://www.djcxy.com/p/61624.html

上一篇: 使用WIX 3.5识别注册表中的不同版本

下一篇: Wix 3.5桌面快捷方式