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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T22:47:35+00:00 2026-05-13T22:47:35+00:00

In a Delphi app intended to build an internet software update service for my

  • 0

In a Delphi app intended to build an internet software update service for my software, the Windows 7 UAC system requests authorization from the user to run the exe.The following possible contentious/risk areas exist in the code:

  • A named pipe server is created for communications
  • TCP is used for FTP and HTTP
  • SHGetSpecialFolderPath api call is used

Before these items where added UAC did not activate, removing each in turn including all unit reference and then ending with the bare bones exe still causes the UAC event – so its not possible say what is causing it. On top of this Delphi 2007 now requires being launced as an administrator to launcg a debugging process for the app.

Question 1 : How can I see what is causing this besides starting from scratch in a new exe – IOW is there a log somewhere I can check

Question 2 : Will using a signed exe using authenticode still cause the UAC alert to show

  • 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-13T22:47:36+00:00Added an answer on May 13, 2026 at 10:47 pm

    UAC does not launch because your app does something administrative. Many people believe that when an app that is not elevated tries to do [something that will fail non elevated and succeed elevated], UAC asks about elevating. But that is not so. Your app starts out elevated or not, and stays that way. If it tries to do something that fails without elevation, then the thing fails. That is why adding and removing code “still causes the UAC event.”

    What genuinely “causes the UAC event” is a property of your exe other than the code it contains. These include its name, the compatibility stuff you applied to it deliberately (by right clicking and checking some options) and the compatibility stuff the system applied to it for you (often after one of those “this application may not have run correctly” dialogs. People often find it very frustrating to determine which of these is causing it.

    Start by renaming the exe, avoiding words like setup and update. You don’t need to run it, btw – just look for a shield overlay on the icon in Windows explorer. (see http://www.gregcons.com/KateBlog/NamingMattersAnotherCauseOfTheOverlayIcon.aspx) Also right click it and choose Properties, then look at the Compatibility tab. You may be asking for it to elevate there.

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

Sidebar

Related Questions

I have a DevExpress VCL ribbon in my Delphi app From time to time
A desktop app (made in Delphi) is started by User A. Let's call it
How could I protect my delphi app from being decompiled? I know there are
I am modifying a delphi app.In it I'm getting a text from a combo
I want to prevent Windows XP from powering down as long as my Delphi
I have a Delphi XE app that consumes a web service written in Cold
I have a delphi app that logs data from various places and writes the
I'm using a TWebBrowser in my Delphi app. When an Internet Explorer Script Error
I have old Delphi application. This app takes session key from server, do some
In a Delphi app we have assigned a dataset provider with a TADOQuery, passing

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.