Hans Leidekker : msi: Use the state parameter passed to MsiSetMode.