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=开发者_JS百科"DesktopFolder" Advertise="no" />
</File>
<RegistryValue Root="HKCU" Key="Software\Scanner\Company\Device" 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.
精彩评论