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 6856305
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T01:52:07+00:00 2026-05-27T01:52:07+00:00

I have made a simple installer application in Delphi, nothing fancy. Basically I include

  • 0

I have made a simple installer application in Delphi, nothing fancy. Basically I include files into the Exe, and then extract them to a user specified path.

I stumbled across a problem however, and I have noticed this works with ANY Windows Executable, it does not matter if it is an installer or not.

If an Exe is named, or contains the following words in the filename, “Setup”, “Build”, “Install” and maybe others, then.. whenever the Application is run and closed, Windows pops up a Product Compatibility Assistant dialog, saying the Application may not have installed correctly.

This is a problem, as even though the Files from my installer have actually extracted, and in my eyes the installer has done its job, Windows is complaining about it.

The only idea I have regarding this, is that Windows must check the filename of the Applications when executed, and in this case has identified it as an Installer. Windows must of then set a flag or something on the System, my Installer must then update this flag to say that the installation was a success?

Windows does not complain about this when debugging from the IDE, so it cannot be code related, it must be the OS – this only happens when launching the Application from Windows, not Delphi.

You can try this easily, either create an Application or rename one as Setup.exe, Run it and then close it – wait a few seconds and the Product Compatibility Assistant Dialog will show.

I don’t know where to start investigating how to stop this dialog, or where a setting may be to tell Windows the Installer was completed correctly.

Appreciate your thoughts and solutions thanks.

  • 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-27T01:52:07+00:00Added an answer on May 27, 2026 at 1:52 am

    If I recall correctly, this happens when your install app does not include an application manifest. When UAC was introduced, MS introduced a heuristic detection for installers and shows the UAC elevation dialog. The heuristic checks for names like setup.exe, install.exe. The simple solution is to include an application manifest. If it is an installer you probably want to use the requireAdministrator setting.

    The feature is known as Installer Detection and is discussed here.

    For what it is worth, I would always build an installer with a dedicated install tool like InnoSetup for example.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Heavy emphasis on simple. I've never made an installer and I'd rather not have
I have made a simple test application for the issue, two winforms each containing
in my application I made a very simple binding. I have a NSMutableArray bound
I have a simple software that is made in Delphi 7, and it crashes
I made a simple application, then submitted for review. After that the app details
I have a Flash application that I made and I want to basically take
I have made my own file type (.ddd) and I made a simple program
I have started using jQuery and rails. I have made a simple form that
I'm just playing around with WPF and MVVM, and I have made a simple
I have made a very simple AppleScript to close tabs in Safari. The problem

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.