Microsoft KB Archive/939397

= The UAC shield icon does not appear on the Windows Installer native UI PushButton control during maintenance mode when you use Windows Installer 4.0 on a Windows Vista-based computer =

Article ID: 939397

Article Last Modified on 7/31/2007

-

APPLIES TO


 * Windows Vista Ultimate
 * Windows Vista Enterprise
 * Windows Vista Business
 * Windows Vista Home Premium
 * Windows Vista Home Basic
 * Windows Vista Starter

-



SYMPTOMS
Consider the following scenario:
 * You use Microsoft Windows Installer 4.0 on a Windows Vista-based computer.
 * You author the msidbControlAttributesElevationShield control attribute in the Control table to request the User Account Control (UAC) shield icon to appear on the Windows Installer native UI PushButton control.

In this scenario, the UAC shield icon does not appear on the Windows Installer native UI PushButton control during maintenance mode. This problem can cause user disorientation because the UAC shield icon is not present to warn the user that the UAC credential dialog box is about to appear.



CAUSE
This problem occurs because the msidbControlAttributesElevationShield control attribute is gated on the MsiInstallElevated property. The MsiInstallElevated property is set during maintenance mode for managed applications. Per-machine installations are defined as managed applications.

