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

  • Home
  • SEARCH
  • 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 3397820
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T04:34:28+00:00 2026-05-18T04:34:28+00:00

I noticed the following phenomenon: An executable built with Delphi 7 and part of

  • 0

I noticed the following phenomenon:

An executable built with Delphi 7 and part of the name including “Update” (e.g. “UpdateMyApp.exe”) causes UAC to step in to display a warning like “do you want to allow the program to make changes to your computer”.

This happens with a simple hello world application. Showing the file in explorer shows the shield symbol overlayed to the application icon.

As soon as you rename the exe the shield disappears and the application starts without warnings.

As mentioned this only happens to programs built with Delphi 7 and started on Windows 7 (I assume same on Vista) but not on e.g. WinXP.

A quick check with Delphi 2007 shows that this problem is gone.

Funny… scarying…

Besides renaming the file, what can I do to prevent this?

  • 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-18T04:34:29+00:00Added an answer on May 18, 2026 at 4:34 am

    This behavior is caused because the applications build with Delphi 7 by default does not have a manifest, or have one with no requestedExecutionLevel attribute. Because of that Windows thinks that you need administrator access when your application name contains words like Setup or Update. this process is called Installer Detection Technology and was introduced alongside UAC with Windows Vista.

    From the MSDN site:

    Installer Detection only applies to:

    1. 32 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.

    Moreover Delphi 2007 by default include a manifest in your applications with the requestedExecutionLevel key.

    This is a sample manifiest created by delphi 2007. You can see that this manifest has the requestedExecutionLevel attribute in the content.

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
      <assemblyIdentity
        type="win32"
        name="CodeGear RAD Studio"
        version="11.0.2902.10471" 
        processorArchitecture="*"/>
      <dependency>
        <dependentAssembly>
          <assemblyIdentity
            type="win32"
            name="Microsoft.Windows.Common-Controls"
            version="6.0.0.0"
            publicKeyToken="6595b64144ccf1df"
            language="*"
            processorArchitecture="*"/>
        </dependentAssembly>
      </dependency>
      <trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
        <security>
          <requestedPrivileges>
            <requestedExecutionLevel
              level="asInvoker"
              uiAccess="false"/>
            </requestedPrivileges>
        </security>
      </trustInfo>
    </assembly>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I noticed the following behavior in the following code (using threading.Timer class): import threading
I've noticed the following pattern recently, but I don't entirely grasp the usage of
I've just noticed this following , relatively new thing on Facebook, when you upload
I was writing a pluginable function when I noticed the following behavior (tested in
I've been playing around with Spring Security a bit and noticed the following oddity.
I am using the embedded version of jetty. I have noticed the following: in
I was following a tutorial and i noticed that there was a linearlayout that
Noticed this today when a patch was submitted with the following line: lblCompletionTime.Text =
I have the following sample code and noticed that if I attempt to use
I've noticed that PHPmyAdmin creates the following SQL for table creation: CREATE TABLE something

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.