Copy cfg file into folder - Basic question - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

DanV
Posts: 1
Joined: Wed Dec 26, 2007 10:02 am
Location: Australia

Copy cfg file into folder - Basic question

Hi
Im a total newbie trying to do something which Im hoping is very simple.
All I want the installer to do is copy a cfg file into a specific folder.
If the folder does not exist it must create it along with the directory structure.
The only complication is that it has to target a folder inside the Current Users folder. ie. C:\Documents and Settings\CurrentUser\Application Data\Macromedia\Flash Player\#Security\FlashPlayerTrust
and I dont know how to make it find the name of the current user.

This installer is designed to set a permission file so that flashplayer can access the web from swf files on cd rom or the users harddrive.

Please help - and remember Im starting from scratch but hoping this is a beginners project :-)

Thanks
Dan V
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Hi,

You can install files and folders in the "C:\Documents and Settings\CurrentUser\Application Data\" folder by adding them in the "Application Data" folder in the "Files and Folders" page.

Note that in this folder you can create the directory structure you need.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”