Reputation: 254
I am using WiX for an installation project. I have a shortcut to my executable file on the desktop. When I go to the properties of shortcut the button Open file location
is disabled. How do I make the button set to enable?
Here is my code:
<File Id="App.exe" Name="App.exe" KeyPath="yes" Source="$(var.SourceDir)\App.exe">
<Shortcut Id="AppDesktop" Directory="DesktopFolder"
Name="App" Icon="Icon.ico"
IconIndex="0" Advertise="yes"
WorkingDirectory="INSTALLLOCATION"/>
</File>
Upvotes: 0
Views: 268
Reputation: 751
Your problem is that you are using an advertised shortcut. If you do not need this functionality, you should remove Advertise="yes"
from the Shortcut tag.
For more information about the difference between the two, there is a fantastic answer to a different question.
Upvotes: 1