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

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
In the property table ROOTDRIVE=C:\
Answered 12/12/2007 by: aogilmor
Ninth Degree Black Belt

Please log in to comment
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?
Answered 12/12/2007 by: Ren
Senior Yellow Belt

Please log in to comment
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
Answered 12/12/2007 by: WayneB
Blue Belt

Please log in to comment
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.
Answered 12/12/2007 by: Ren
Senior Yellow Belt

Please log in to comment
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
Answered 12/13/2007 by: aogilmor
Ninth Degree Black Belt

Please log in to comment
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
Answered 12/17/2007 by: Ren
Senior Yellow Belt

Please log in to comment
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.
Answered 12/18/2007 by: VBScab
Red Belt

Please log in to comment
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
Answered 12/20/2008 by: raviray
Orange Belt

Please log in to comment
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.
Answered 12/20/2008 by: aogilmor
Ninth Degree Black Belt

Please log in to comment
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,
Answered 12/21/2008 by: India_Repackaging
Blue Belt

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