Keep Windows Installer from using largest drive for temporary files
Posted
by
stefan.at.wpf
on Server Fault
See other posts from Server Fault
or by stefan.at.wpf
Published on 2012-03-23T16:07:23Z
Indexed on
2012/03/23
17:31 UTC
Read the original article
Hit count: 362
Windows
|windows-installer
By default Windows Installer uses the largest drive for temporary storage, no matter if that's needed (meaning there would also be enough space on the system drive).
Taken from http://msdn.microsoft.com/en-us/library/aa371372%28VS.85%29.aspx:
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.
Now my system drive is an SSD, my largest drive is a RAID, that spins down when it's not used. Remember the SSD as system drive? Everything is silent now! Until I install something and Windows Installer wakes up my RAID again just to put a small .tmp file on it... How can I prevent Windows Installer from using the largest drive as temporary storage? Can I maybe set some access rights to disallow the Windows Installer to write on my RAID drive? Any other ideas? Thank you!
© Server Fault or respective owner