Search code examples
inno-setupappdatauserappdatapath

Write to AppData directory using InnoIDE?


I need to write to the:

C:\Users\user\AppData\Roaming\AppName

folder during the setup process. I'm using the InnoIDE program for setup, and it's awesome. However, it seems to be lacking an 'AppData' special folder for easily accessing that directory.

For example, you can use: DestDir: "{app}" to write the application directory.

But how do you get to AppData? Is there a list of all the preset DestDir options?


Solution

  • Arg, got it.

    {userappdata} → C:\Users\user\AppData\Roaming\AppName

    as found here: http://news.jrsoftware.org/news/innosetup/msg74694.html