Change default drive
Updated: 31 Jul 2010 | 8 comments
Hello! I want to create an installation package (MSI) which will be install the files on the another drive, not the system directory... Please, write how to change default dir (drive) during creation MSI!!!
discussion Filed Under:
Comments
Wise for Windows Installer
Wise for Windows Installer (6.20.0.281)
ROOTDRIVE
Set the public property ROOTDRIVE=D:\ (or whatever local drive you want to use)
If your issue has been solved, please use the "Mark as Solution" link on the most relevant thread.
Hello Vovan
Hello Vovan,
Please let me know if you have tried this.
http://www.symantec.com/connect/forums/changing-path-within-file-1
Please don't forget to mark your thread solved with whatever answer helped you : ) Rafeeq
Where i can to set the public
Where i can to set the public property???
Oddly enough, you set
Oddly enough, you set properties in the Property table.
ROOTDRIVE is a public property, so must be entirely in capital letters.
If your issue has been solved, please use the "Mark as Solution" link on the most relevant thread.
ROOTDRIVE
If you have difficulty to modify the property table, you can install your application via command Prompt.
1.Open the command Prompt (start-> Run-> then type in "cmd"
2.One you get the command prompt window type in
msiexec /i <Path of your MSI package> ROOTDRIVE= D:\ /qb
The ROOTDRIVE property specifies the default drive for the destination directory of the installation.The value for this property must end with '\'.
Please note that all letters in ROOTDRIVE should be in caps.
if you want to install your application on any other drive (Eg: E or F drive) you can modify the ROOTDRIVE value accordingly.
Regards,
Balsaraj
http://balzqazone.wordpress.com
I am e newby in this field
I am e newby in this field and tried to fidle around with the ROOTDRIVE property.
Can anyone put here a screeny as example.
I guess I am doing something wrong Because i get the error "Root directory property undefined"
The "Root directory property
The "Root directory property undefined" error is mostly caused by the lack of the SOURCEDIR Directory table entry.
(An ICE validation should provide you with the details of incorrect entries)
Would you like to reply?
Login or Register to post your comment.