View Full Version : How to install files under ApplicationData folder of Userprofile

06-03-2004, 10:42 AM

I am using InstallScript project and I need to install files in two different folders. My setup program asks the user to select the install location. I want to install some files at the user's selected location and few files under UserProfile\Application Data folder.

Any idea how to do this?

Mark at IS
06-04-2004, 07:25 AM
Use the FOLDER_APPDATA system variable.

06-14-2004, 05:11 AM
Hi Mark

Thanks for the response.
Let me explain in more detail. My application consist of an exe, a dll and an INI file. Currently all these are installed in the folder selected by the user during installation time.

Now my requirement is to installl the exe and dll at the user selected path and install INI under Application Data folder under user profile.

In Application -> Files and Folders view I can copy the exe and dll Thus user selected path gets set to TARGETDIR and exe and dll gets installed at that path.

How do I specify the FOLDER_APPDATA using Files Folder's view?

Manoj Jain

Mark at IS
06-14-2004, 07:46 AM
Open the Help Library (available from the IDE's Help menu) and see the following Index entry:

Components, specifying destination from the script