[This is preliminary documentation and subject to change.]
The MsiSetMode function sets an internal engine Boolean state.
UINT MsiSetMode(
MSIHANDLE hInstall, // installer handle
unsigned int iRunMode, // run mode
BOOL fState // state to set
);
Value | Meaning |
---|---|
MSIRUNMODE_REBOOTATEND | A reboot is necessary after a successful installation. |
MSIRUNMODE_REBOOTNOW | A reboot is necessary to continue installation. |
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 msiquery.h.
Import Library: Use msi.lib.
Database Access Reference, Installer State Access Functions