1 out of 5 rated this helpful - Rate this topic

ROOTDRIVE property

Applies to: desktop apps only

The ROOTDRIVE property specifies the default drive for the destination directory of the installation. If the Directory column of the Directory table indicates the root destination directory by a property name that is undefined, the installer uses the value of the ROOTDRIVE property to resolve the path to the destination directory.

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.

The value for this property must end with '\'.

Requirements

Version

Windows Installer 5.0 on Windows Server 2008 R2 or Windows 7. Windows Installer 4.0 or Windows Installer 4.5 on Windows Server 2008 or Windows Vista. Windows Installer on Windows Server 2003, Windows XP, and Windows 2000. See the Windows Installer Run-Time Requirements for information about the minimum Windows service pack that is required by a Windows Installer version.

See also

Properties

 

 

Send comments about this topic to Microsoft

Build date: 2/3/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ
Enter title here.emparetar con paretologia el desbloqueo de claver de vlk
agradeciendo a windows updates
If not set, program installed to D:\ drive.
i have deployed a few applications using AD that would install to the D:\ drive instead of C:\ because the RootDrive property is not set. I believe it should default to %SystemDrive% or better yet, the same drive set via %ProgramFiles%.