Video Screencast Help
Search Video Help Close Back
to help
Not able to make it to Vision this year? Get a sampling in the Best of Vision on Demand group.

Modifying Installation Directory

Updated: 26 May 2010 | 2 comments
Vinoth Sundaramahalingam's picture
+1 1 Vote
Login to vote

Hi,

I need to modify the installation directory based on Per Machine/Per User. (AllUsers/OnlyCurrentUser)

What are the properties i need to change to do the above. Also please help me in the procedure to achive this.

Thanks in advance.

Comments

Aniket Amdekar's picture
09
Jun
2009
1 Vote +1
Login to vote

You can choose a different

You can choose a different installation directory apart from the default one using the client install setting. But you  can not change the installation directory for every user using the same package.

imagebrowser image

imagebrowser image

Cheers,
Aniket

EdT's picture
10
Jun
2009
2 Votes +2
Login to vote

ALLUSERS property

The installation mode for per-user or per-machine installation is set by the ALLUSERS property.

Assuming your installation folders are linked to the INSTALLDIR directory property, you can use two Set Directory custom actions to set INSTALLDIR to the desired paths for each of these install modes.
You would then use the ALLUSERS property as a condition on each custom action, to control which one runs. So for a per-machine install, the set directory custom action condition would be ALLUSERS=1 for the custom action that sets the per-machine install path, and for a per-user install, you might choose the condition ALLUSERS<>1 or alternatively, ALLUSERS<>1 AND ALLUSERS<>2, depending on how you intend to determine the ALLUSERS settings in your environment.

If your issue has been solved, please use the "Mark as Solution" link on the most relevant thread.