Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3785984
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T11:36:45+00:00 2026-05-19T11:36:45+00:00

I have been trying to deal with the Windows UAC ‘ feature ‘ that

  • 0

I have been trying to deal with the Windows UAC ‘feature‘ that looks for the word ‘setup’ or ‘install’ in an application and automatically believes it’s an installer.

I tried adding a embedded manifest, as suggested in this stackoverflow question, and that fixes my problem on Vista and 7, but breaks my application on Server 2003.

I also tried some fixes I have found on a few other sites. One suggestion I found on Microsoft’s site was to use .config, instead of .exe.config. It worked great, but that is not an option as it goes against the convention of all of our other applications.

The other option was to add the assemblyIdentity node to the manfiest. I tryed this and was unable to get this to work.

Below is my manifest as it looks now. Any ideas?

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
  <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> 
  <compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">  
    <application>
      <!--The ID below indicates application support for Windows Vista -->
      <supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}"/>
      <!--The ID below indicates application support for Windows 7 -->
      <supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/>
    </application>
    <dependency>
      <dependentAssembly>
        <assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls" version="6.0.0.0" processorArchitecture="" publicKeyToken="6595b64144ccf1df" language="*"></assemblyIdentity>
      </dependentAssembly>
    </dependency>
  </compatibility>
</assembly>

Note: This is a managed C# application. And the manifest has to be embedded into the executable.

Thanks,
Pete

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-19T11:36:45+00:00Added an answer on May 19, 2026 at 11:36 am

    Refer the MSDN documentation, you are very likely to have crafted the manifest incorrectly if this breaks on Server 2003. Unfortunately I’ve only ever dealt with manifests for native code so I’m not sure where to start for C#

    Installer Detection Technology

    Installation programs are applications
    designed to deploy software, and most
    write to system directories and
    registry keys. These protected system
    locations are typically writeable only
    by an administrator user, which means
    that standard users do not have
    sufficient access to install programs.
    Windows Vista heuristically detects
    installation programs and requests
    administrator credentials or approval
    from the administrator user in order
    to run with access privileges. Windows
    Vista also heuristically detects
    updater and uninstallation programs.
    Note that a design goal of UAC is to
    prevent installations from being
    executed without the user’s knowledge
    and consent since they write to
    protected areas of the file system and
    registry.

    Installer Detection only applies to:

    1. bit executables
    2. Applications without a requestedExecutionLevel
    3. Interactive processes running as a Standard User with LUA enabled

    Before a 32 bit process is created,
    the following attributes are checked
    to determine whether it is an
    installer:

    • Filename includes keywords like “install,” “setup,” “update,” etc.
    • Keywords in the following Versioning Resource fields: Vendor, Company Name, Product Name, File Description, Original Filename, Internal Name, and Export Name.
    • Keywords in the side-by-side manifest embedded in the executable.
    • Keywords in specific StringTable entries linked in the executable.
    • Key attributes in the RC data linked in the executable.
    • Targeted sequences of bytes within the executable.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've been trying to deal with some delimited text files that have non standard
I have been trying to develop an app that will deal with content providers
I've been trying to use Java's ProcessBuilder to launch an application in Linux that
I have been trying to create a decorator that can be used with both
I have a working sql query that I have been trying to convert to
I have a question that I've been trying to answer for some time now
I have been trying to implement Win32's MessageBox using GTK. The app uses SDL/OpenGL,
I have been trying to find a really fast way to parse yyyy-mm-dd [hh:mm:ss]
I have been trying to determine a best case solution for registering a COM
I have been trying to work my way through Project Euler, and have noticed

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.