![]() |
![]() |
| Premier Edition | Professional Edition | Express Edition |
Installing an MSI-based setup on Windows 7 can be tricky, with the User Account Control (UAC) functionality that Microsoft added for Windows 7. Attempting to run as a standard user in a UAC-enabled Windows 7 environment can be a serious challenge. Of note, one has to deal with a number of UAC prompts that seek to verify credentials for a valid administrator account before launching a task that requires a full administrator access.
Although the purpose of these prompts is to ensure that no malicious application can silently install when the end user is attempting to install your application, these prompts can spoil the overall user experience. InstallShield lets you create installations that handle UAC authorization requests in a user-friendly manner, requesting elevated privileges required for all installations just once, and using those privileges throughout the installation.
Use the new Require Administrative Privileges setting in the General Information view to specify at a project-wide basis whether administrative privileges are required for an installation. Also, use the Required Execution Level setting in the Releases view to specify the minimum level required by your installation's Setup.exe file for running the installation (the setup launcher, any setup prerequisites, and the .msi file) on Windows 7 platforms.
In addition, numerous enhancements to Windows 7-related features in InstallShield provide an even better UAC experience. The UAC shield logo added on the "Install" button on ReadyToInstall dialog in Basic MSI projects indicates that that the installation may require elevated privileges.


