Installation on D Drive
Hi..
I am trying to install Application on D drive silently changing Default Directory to D Drive in Wise property.However, it installs on it defaul location. ie on C:\PF\..
How do i Divert the installation to D:\ instead of C:\
Any tweaks pls....
I am trying to install Application on D drive silently changing Default Directory to D Drive in Wise property.However, it installs on it defaul location. ie on C:\PF\..
How do i Divert the installation to D:\ instead of C:\
Any tweaks pls....
0 Comments
[ + ] Show comments
Answers (15)
Please log in to answer
Posted by:
Jay Am
16 years ago
Posted by:
zipsantro
16 years ago
Posted by:
mqs
16 years ago
Posted by:
zipsantro
16 years ago
Posted by:
zipsantro
16 years ago
Posts: 4
Score: 0
Joined: 11/24/2008
Status: online I tried both the ways
Changing the Propertly ROOTDRIVE
Passing property at command Line..... but no go
(in reply to zipsantro)
Report | Rate post | Post #: 4
RE: Installation on D Drive - 11/25/2008 7:09:18 AM
zipsantro
Senior Member
Use of Set Directiry Custom Action would the good and reliable solution for this requirement.
Posted by:
anonymous_9363
16 years ago
Posted by:
AngelD
16 years ago
Posted by:
stevematt41
16 years ago
ROOTDRIVE = 'D:\' has always worked for me..
Make sure your application directory folder is not in Program Files as it will always pick C:\Program Files from the Environment(?)... I think your Directory Table is setup so your Application Folder has a parent of "ProgramFilesFolder" property and this will no change..
What you can do is add a custom action (as zipsanto suggests) in the Execure Immediate script "Set Directory", put it in after the CostFinalize action. Browse to your program folder you want to move and type in a path for it in the Directory Value field, ie D:\Program Files\MyApp
This will force it to the folder you want.. We are doing this in my environment for W2K3 Server Packages where the policy is to install the application into D:\Program Files\xxxx leaving the OS only in it's own drive on C:\ for backup and restore simplification..
Make sure your application directory folder is not in Program Files as it will always pick C:\Program Files from the Environment(?)... I think your Directory Table is setup so your Application Folder has a parent of "ProgramFilesFolder" property and this will no change..
What you can do is add a custom action (as zipsanto suggests) in the Execure Immediate script "Set Directory", put it in after the CostFinalize action. Browse to your program folder you want to move and type in a path for it in the Directory Value field, ie D:\Program Files\MyApp
This will force it to the folder you want.. We are doing this in my environment for W2K3 Server Packages where the policy is to install the application into D:\Program Files\xxxx leaving the OS only in it's own drive on C:\ for backup and restore simplification..
Posted by:
anonymous_9363
16 years ago
ORIGINAL: stevematt41No, it won't. The Directory table doesn't care what the environment variable is set to. All it consists of is a linked series of directory names and will cause the WI engine to create the structure defined therein on whatever ROOTDRIVE is set to. If there's no valid ROOTDRIVE property, it will create that structure on the disk with the most free space.
Make sure your application directory folder is not in Program Files as it will always pick C:\Program Files from the Environment(?)...
@MQS, what does a verbose log tell you?
Posted by:
stevematt41
16 years ago
Posted by:
Jamie B
16 years ago
Posted by:
stevematt41
16 years ago
Posted by:
Jamie B
16 years ago
After reading the OP requirement he isnt actually installing to the ProgramFilesFolder anyway (C:\PF) so setting ROOTDRIVE should suffice. Ensure that the value has a trailing backslash. ie D:\
Edit - Unless of course he refers to PF as Program Files. In which case, yes, he could use a set directory custom action.
Edit - Unless of course he refers to PF as Program Files. In which case, yes, he could use a set directory custom action.
Posted by:
mqs
15 years ago
Good reference ......installation in D:\
http://geekswithblogs.net/ajshurts/archive/2005/07/20/47784.aspx
http://geekswithblogs.net/ajshurts/archive/2005/07/20/47784.aspx
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.