MSINODISABLEMEDIA Property

Windows Installer

MSINODISABLEMEDIA Property

Set the MSINODISABLEMEDIA property to prevent the installer from setting the DISABLEMEDIA property. Setting the DISABLEMEDIA property prevents the installer from registering any media source, such as a CD-ROM, as a valid source for the product.

When MSINODISABLEMEDIA is not set, the installer might add DISABLEMEDIA to the administrative property stream when performing an administrative installation. This prevents users who install from the administrative image from ever installing from media, such as a CD-ROM.

  • When performing an administrative installation, the installer only adds DISABLEMEDIA to the administrative property stream if the Page Count Summary Property is less than 150.

If DISABLEMEDIA is listed in the AdminProperties property, setting MSINODISABLEMEDIA prevents DISABLEMEDIA from being set during an administrative installation. In this case, the installer may register a media source and a user could then have the option to reinstall from the media source if the original administrative installation image became unavailable later.

Requirements

VersionWindows 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: 8/13/2009

© 2009 Microsoft Corporation. All rights reserved.