开发者

Wix 3.5 desktop shortcut

开发者 https://www.devze.com 2023-04-09 10:53 出处:网络
In my application, a shortcut to desktop is provided. After it\'s installed, when mouse points to shortcut, it shows location details (installation path).

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号