Installation Location for setup project

V

Vishnu

Hi,

I have created one setup project. When I tried to install
that, it was showing a default location (C:\program
files\..). Is it possible to give different default
location? Is it possible to read some environment
variable's value and set that as default location? Help
me out if anyone knows the solution.

Thanks in advance.

Regards,
R.Vishnu Varadhan.
 
S

Suresh Muthuswamy

Hi,

Certainly this will help you:

Custom folders are special folders that represent folders
on a target computer. A number of special folders are
available within the File System Editor; however, Windows
Installer supports additional predefined Windows folders
that are not represented. You can create custom folders
that target those additional predefined Windows folders.
For a list of folders supported by Windows Installer, see
System Folder Properties.

To add a custom folder that targets a predefined Windows
folder

In the Folder List of the File System Editor, select the
File System on Target Machine node.
On the Action menu, point to Add Special Folder, and then
click Custom Folder.
The new folder is highlighted in the Folder List.

Type a name for the custom folder.
For example, to target the Temp folder, type "Temp
Folder".

In the properties window, select the DefaultLocation
property and enter the Windows Installer system folder
property for the folder you wish to target.


Regards
M.Suresh
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top