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

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.

Answers

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
Answered 08/19/2008 by: bheers
Second Degree Blue Belt

Please log in to comment
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:\
Answered 08/19/2008 by: kiptek
Second Degree Green Belt

Please log in to comment
0
thanks bheers it worked
Answered 08/19/2008 by: trey_999
Senior Yellow Belt

Please log in to comment
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...
Answered 08/19/2008 by: kiptek
Second Degree Green Belt

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