Post-Build script to fix MSI issues in Vista for VS 2005 Setup and Deployment Projects

Problem: The setup project (MSI) output generated out of the VS 2005 IDE fails to run properly on Vista. Specifically it has two glaring, known issues: The Deferred Custom Action is NOT marked with the NO_IMPERSONATE bit which results in the custom actions being run under the Stardard User mode. If InstallException class is used in…

1

Using Manifests to Elevate an application in Vista

Problem and the Solution  Problem: An application we are developing needs to always ask for Admin elevation (even for standard users) to run properly. If the users are standard users, then we need to have the UAC popup with the standard edits to ask for Admin Username and Password. If the user is already an admin and…

1