/build/static/layout/Breadcrumb_cap_w.png

Destination folder-regd.

Hello,

Is there in any way by which we can assign the destination directory at the runtime....like..the user should be able to input the destination directory C:\ or D:\ before installation of the package.
I want to make this Destination folder like a global variable in the package...could anyone let me know how this could be done..!!??

Prash

0 Comments   [ + ] Show comments

Answers (1)

Posted by: jimmy.alappatt 18 years ago
Senior Yellow Belt
0
Hi

You can pass the value to the property "ROOTDRIVE" in the command line while you install the MSI.
Below given is the details form the msi.chm file.
If the property is not present in the property table, you can create it.

====================================================================================================
ROOTDRIVE Property
The ROOTDRIVE property specifies the default drive for the destination directory of the installation. If the Directory column of the Directory table indicates the root destination directory by a property name that is undefined, the installer uses the value of the ROOTDRIVE property to resolve the path to the destination directory.

If ROOTDRIVE is not set at a command line or authored into the Property table, the installer sets this property. During an administrative installation the installer sets ROOTDRIVE to the first connected network drive it finds that can be written to. If it is not an administrative installation, or if the installer can find no network drives, the installer sets ROOTDRIVE to the local drive that can be written to having the most free space.

The value for this property must end with '\'.
=======================================================================================================


Thanks and regards
Jimmy Antony
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ