3

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.

1 Answer 1

6

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.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.