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..!!??

0 Comments   [ + ] Show Comments


Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.



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.

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
Answered 09/30/2006 by: jimmy.alappatt
Senior Yellow Belt

Please log in to comment
Answer this question or Comment on this question for clarity