Question

How can I create a shortcut using Wix with a target of "%UserProfile%\Local Settings\Application Data\Foo\Logs"?

<Shortcut Id="LogsStartMenuShortcut"
  Name="Logs"
  Target="%UserProfile%\Local Settings\Application Data\FalconMobileServer\"
  Icon="icon.ico"/>

It doesn't like the % signs in the target.

Was it helpful?

Solution

Check out this site listing all the MSI-predefined directories - I would think you should find the one you're looking for in there somewhere :-)

This one here possibly?

LocalAppDataFolder Full path to the directory that serves as a data repository for local (non-roaming) applications.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top