
rob.wheadon1.5524909024621128E12 asked a question.
How to put files in a users %appdata% directory
Hello,
I am creating an Installer for our product called PrismWin. I want to store per-user settings in each user's %appdata%\prismwin folder
I tried creating the prismwin folder by using the "Files and Folders" view (in Installation Designer).
1) Show [LocalAppDataFolder]
2) Create a PrismWin folder under that
3) Build the install package
4) Run the install package.
The trouble is that my install package creates this directory:
C:\Documents and Settings\robert.wheadon\Local Settings\Application Data\PrismWin
And NOT
C:\Documents and Settings\robert.wheadon\Application Data\PrismWin
How to I make a directory under the user's %appdata% folder instead?
Thanks for your help.
- Robert
1. right-click Destination Computer
2. select Show Predefined Folder
3. select AppDataFolder on the list.
BTW: I have created a Basic MSI Project project. Could that be the problem?
Perhaps you can try entering the value "[AppDataFolder]" directly. I am sure MSI will recognize it.
Anyway, I have fixed the problem by adding the [AppDataFolder] directory and all is well.
Thanks for your help
- Robert