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?
install file to Application Data folder
Re: install file to Application Data folder
Just use the following variable for destination folder:
Code: Select all
<AppData>\Macromedia\Flash Player\#Security\FlashPlayerTrust
Re: install file to Application Data folder
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.
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.