Article ID: 939397 - Last Review: July 31, 2007 - Revision: 1.1

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

Expand all | Collapse all

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.

REFERENCES

For more information about Windows Installer 4.0, visit the following Microsoft Web site:
http://msdn2.microsoft.com/en-us/library/aa372808.aspx (http://msdn2.microsoft.com/en-us/library/aa372808.aspx)
For more information about the Windows Installer native UI, visit the following Microsoft Web site:
http://msdn2.microsoft.com/en-us/library/aa372390.aspx (http://msdn2.microsoft.com/en-us/library/aa372390.aspx)
For more information about the PushButton control, visit the following Microsoft Web site:
http://msdn2.microsoft.com/en-us/library/aa370937.aspx (http://msdn2.microsoft.com/en-us/library/aa370937.aspx)
For more information about the ElevationShield attribute, visit the following Microsoft Web site:
http://msdn2.microsoft.com/en-us/library/aa368344.aspx (http://msdn2.microsoft.com/en-us/library/aa368344.aspx)
For more information about the MsiRunningElevated property, visit the following Microsoft Web site:
http://msdn2.microsoft.com/en-us/library/aa370381.aspx (http://msdn2.microsoft.com/en-us/library/aa370381.aspx)
For more information about per-machine installations, visit the following Microsoft Web site:
http://msdn2.microsoft.com/en-us/library/aa370810.aspx (http://msdn2.microsoft.com/en-us/library/aa370810.aspx)

APPLIES TO
  • Windows Vista Ultimate
  • Windows Vista Enterprise
  • Windows Vista Business
  • Windows Vista Home Premium
  • Windows Vista Home Basic
  • Windows Vista Starter
Keywords: 
kbexpertiseadvanced kbtshoot KB939397
 

Article Translations