Forum posts for desktopicon.exe

WiX missing 'Start In' property in desktop shortcut

I am working with WiX from last 5 month with no issues. Recently, i am in need to have 'StartIn' property in App Desktop shortcut. By default, its empty.

Here is my full Installer code.

I am working with below code:

<Component Id='myapplication.EXE' DiskId='1' Guid='*'>
<File Id='myapplication.EXE' Name='My Application.exe'
Source='D:My ApplicationMy Application.exe'>
<Shortcut Id='desktopShortcut' Directory='DesktopFolder'
Name='My Application' WorkingDirectory='INSTALLDIR'
Icon='DesktopIcon.exe' IconIndex='0'
Description='My Application Description' />
<Shortcut Id='ExeShortcut' Directory='ProgramMenuDir'
Name='My Application' Icon='StartMenuIcon.exe' IconIndex='0' />
</File>
</Component>


But didn't work.

I have also tried adding 'Target' property:

<Shortcut Target= 'INSTALLDIR' Id='desktopShortcut' Directory='DesktopFolder'
Name='Virtual Sim Center Beta' WorkingDirectory='INSTALLDIR'
Icon='DesktopIcon.exe' IconIndex='0'
Description='My Application Description' />


but getting error message:

The Shortcut/@Target attribute cannot be specified when the Shortcut
element is nested underneath a File element.

View complete forum thread with replies

Other posts related to desktopicon.exe

See Related Forum Messages: Follow the Links Below to View Complete Thread

WiX missing &#39;Start In&#39; property in desktop shortcut
wix, how to add a string to custom path

What is the carbon footprint of your coffee?

Is it low? Is it high? Can this things really kill the planet Earth? Maybe the answer will surprise you. Maybe not.