This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: How to put files in a users %appdata% directory
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 21, 2008
10:28 PM
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
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
(4) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 22, 2008
07:26 AM
Use the [AppDataFolder] instead of [LocalAppDataFolder]. If you don't see it in your "Files and Folders" view, do this:
1. right-click Destination Computer
2. select Show Predefined Folder
3. select AppDataFolder on the list.
1. right-click Destination Computer
2. select Show Predefined Folder
3. select AppDataFolder on the list.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 22, 2008
01:42 PM
OK. But the problem is that I cannot see the [AppDataFolder] in the "Show Predefined Folder" list. How do I make AppDataFolder appear?
BTW: I have created a Basic MSI Project project. Could that be the problem?
BTW: I have created a Basic MSI Project project. Could that be the problem?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 23, 2008
08:28 AM
[AppDataFolder] is one of the built-in folders. Not sure why you can't see it.
Perhaps you can try entering the value "[AppDataFolder]" directly. I am sure MSI will recognize it.
Perhaps you can try entering the value "[AppDataFolder]" directly. I am sure MSI will recognize it.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 23, 2008
09:47 PM
That's a mystery to me too. I think the problem is specific to my project because I opened up some other Basic MSI projects and I could see it.
Anyway, I have fixed the problem by adding the [AppDataFolder] directory and all is well.
Thanks for your help
- Robert
Anyway, I have fixed the problem by adding the [AppDataFolder] directory and all is well.
Thanks for your help
- Robert
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)