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
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)
Please log in to answer
Posted by:
Ren
16 years ago
Posted by:
WayneB
16 years ago
Posted by:
Ren
16 years ago
Posted by:
aogilmor
16 years ago
Posted by:
Ren
16 years ago
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
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
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
Posted by:
aogilmor
15 years ago
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.
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
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.
so that the conversation will remain readable.