/build/static/layout/Breadcrumb_cap_w.png

Install Directory

Hello,

I am working on a package that needs to be installed in D:\ drive. I have changed the ROOTDRIVE to D:\ and i dont see an option/entry for INSTALL directory in User Interface. Could any one point me to the right direction so that the application would install in D. No options when you install the app to change it.

Using Wise.
Thnks

0 Comments   [ + ] Show comments

Answers (4)

Posted by: bheers 15 years ago
Second Degree Blue Belt
0
if you have to install appllications to anyother Physical Drive (not network drive) you can do so in the following way.

default INSTALLDIR : C:\Program Files\Dir1
Change to D:\Program Files\Dir1

1. In the MSI Script create a custom action
In "User Interface" just after "Cost Finalize"
"Set Directory" give it a Name , choose the directory by browsing to
ProgramFilesFolder\Dir1 and in the third Blank Space enter "D:\Program Files\Dir1"

2. Create the same Custom action in "Execute Immediate" just after "Cost Finalize" also
Posted by: kiptek 15 years ago
Second Degree Green Belt
0
The ROOTDRIVE property is evaluated on install & corresponds to the physical drive with the most available space unless u r performing an admin install in which case it becomes the 1st network drive it finds connected.

In your case, I would suggest intializing the ROOTDRIVE property via commandline & not in the MSI. Remember the trailing backwhack.. eg:


msiexec /i MYMSI.MSI ROOTDRIVE=D:\
Posted by: trey_999 15 years ago
Senior Yellow Belt
0
thanks bheers it worked
Posted by: kiptek 15 years ago
Second Degree Green Belt
0
but now, should the needs of your organization change, eg someone gets new computers, you will have to go and recompile and redeploy the MSI, as any properties you pass via commandline will be overwritten by the CA. If you really want to go this way, create a PUBLIC PROPERTY (eg you can call it MYCUSTOMDIR) & put in your value of D:\Program Files\Dir1, then use this in ur CA, so that you can change the value of MYCUSTOMDIR on the fly from the commandline...
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