install file to Application Data folder

Common questions about using Actual Installer.
Post Reply
taonut
Posts: 2
Joined: Wed Sep 22, 2010 6:07 pm

install file to Application Data folder

Post by taonut »

I need to install a flash.cfg file to this directory
\Application Data\Macromedia\Flash Player\#Security\FlashPlayerTrust
However, because of security lockdowns, I can't add files or folders to the harddrive C:\.
I'd like to add it to a users Application Data folder which is on a network, but I can't be sure what the drive letter will be. In my case, it is
U:\Application Data\Macromedia\Flash Player\#Security\FlashPlayerTrust
How can I determine someone's Application Data folder, be it local or network, and then install a file to it?
Leo
Site Admin
Posts: 458
Joined: Fri Jan 22, 2010 12:40 pm

Re: install file to Application Data folder

Post by Leo »

Just use the following variable for destination folder:

Code: Select all

<AppData>\Macromedia\Flash Player\#Security\FlashPlayerTrust 
Leo,
Actual Installer Team
https://www.actualinstaller.com
taonut
Posts: 2
Joined: Wed Sep 22, 2010 6:07 pm

Re: install file to Application Data folder

Post by taonut »

Thanks for the response.

For whatever reason, <AppData> was only finding the app data folder on the local harddrive.
My workaround was to create a variable:<MyVar1> Root Key: HKEY_CURRENT_USER Subkey: \Environment Value Name: MyAppData (This is a registry name, not something I made up) Value Type: STRING and for good measure I included <AppData> as a default value.

Then in the Default Installation Path I included my variable: <MyVar1>\Macromedia\Flash Player\#Security\FlashPlayerTrust

So far it seems to be working. :)
Post Reply