/build/static/layout/Breadcrumb_cap_w.png

Installation in C as well as in D drive

Hi,
I found that adding an custom action gets the package installed in D drive.It works perfectly.Now i have another issue,Is it possible to install the same package in C as well as in D drive by specifying in the command prompt.If its possible please help me with that procedure.Thanks in advance

0 Comments   [ + ] Show comments

Answers (10)

Posted by: aogilmor 16 years ago
9th Degree Black Belt
0
In the property table ROOTDRIVE=C:\
Posted by: Ren 16 years ago
Senior Yellow Belt
0
I tried that..It again takes the application to C:\ drive alone.I
s it not possible to decide the drive at the time of installing the msi?
Posted by: WayneB 16 years ago
Blue Belt
0
Ren,
Are you worried about drive space issues? Otherwise you can't install an app to both drives unless they are just data files which don't affect sys state.

In essence; my question is - why?
Regards
Wayne
Posted by: Ren 16 years ago
Senior Yellow Belt
0
WayneB,
My question is,If INSTALLDIR=D:\ does not work in command prompt, Is there ay other option to do that.Because my requirement is that,the same package has to install in D:\ when desired and in C:\ when needed.
Posted by: aogilmor 16 years ago
9th Degree Black Belt
0
create 2 different transforms
In transform 1, the property table ROOTDRIVE=C:\
In transform 2, the property table ROOTDRIVE=D:\

you will not be able to install the same product on BOTH C: and D: drives CONCURRENTLY on the same system, if that's what you're asking
Posted by: Ren 16 years ago
Senior Yellow Belt
0
Hi,
The package gets installed in D drive with the help of custom action.This takes the entire package to D.Is there any option by which we can install the system related files in C and the rest in D.Because installing the entire application in D does not allow certain shortcuts to launch.Can anyone help me on this please.Thanks in advance
Posted by: anonymous_9363 16 years ago
Red Belt
0
Is there any option by which we can install the system related files in C and the rest in D.
No. Your only option for that would be to split the package into two separate ones. If it's a vendor-supplied MSI, then that's pretty much a non-starter.

Because installing the entire application in D does not allow certain shortcuts to launch.Why? What happens? If the app errors because it's unable to find its files, just add INSTALLDIR to the PATH environment variable.
Posted by: raviray 15 years ago
Orange Belt
0
Hi,
Adding property ROOTDRIVE willnot be hardcoding the path? is this right practise to do...Is there no other way to do this.


Please suggest
Posted by: aogilmor 15 years ago
9th Degree Black Belt
0
Yes there's another way, let Windows Installer handle it.
http://msdn.microsoft.com/en-us/library/aa371372(VS.85).aspx

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.
Posted by: India_Repackaging 15 years ago
Blue Belt
0
In essence; my question is - why?
Regards
Wayne

I agree with Wayne's question of why would one want to do this? I dont see any reason why one would want to this unless its to try something out. I feel installing the same application simulataneously in two drives would sabotage the working of the application as the registry references would be associated with one of the drives, in turn making the files and folders instead in the other drive to be simply useless. Please correct me if I am wrong and also if Ren or someone else might come up with a specific reason why one would one will have to do such a thing.

Cheers,
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