[This is preliminary documentation and subject to change.]
The MsiConfigureFeature function configures the installed state for a product feature.
UINT MsiConfigureFeature(
LPCTSTR szProduct, // product code
LPCTSTR szFeature, // feature ID
INSTALLSTATE eInstallState // install state
);
Value | Meaning |
---|---|
INSTALLSTATE_ADVERTISE | The feature is advertised |
INSTALLSTATE_LOCAL | The feature is installed locally. |
INSTALLSTATE_ABSENT | The feature is uninstalled. |
INSTALLSTATE_SOURCE | The feature is installed to run from source. |
INSTALLSTATE_DEFAULT | The feature is installed to its default location. |
Windows NT: Requires version 4.0 or later. Available as a redistributable for Windows NT 4.0.
Windows: Requires Windows 95 or later. Available as a redistributable for Windows 95.
Windows CE: Unsupported.
Header: Declared in msi.h.
Import Library: Use msi.lib.
Unicode: Implemented as Unicode and ANSI versions on Windows NT.
Installation and Configuration Functions