Part of my application needs to read a config file, which I keep in the same directory as my application's exe. My issue is that the shortcuts created by WiX don't find this file.
I can create my shortcuts post install, and they work, but I would rather fix this issue instead of doing that.
This is what my component looks like:
<Component Id="MyApp.exe" Guid="G-U-I-D">
<File Id="MyApp.exe" Name="MyApp.exe" Source="$(var.MyApp_TargetDir)MyApp.exe">
<Shortcut Id="DesktopShortcut" Directory="DesktopFolder" Name="My Application" Icon="Icon.ico" Advertise="yes" />
<Shortcut Id="StartMenuShortcut" Directory="ProgramMenuFolder" Name="My App" Icon="Icon.ico" Advertise="yes" />
</File>
</Component>