Niens101
Niens101

Reputation: 1

Remove elevated rights required in Delphi 5 application

I took over a company that had a application already built and deployed and I am stuck.

My Delphi 5 application requires elevated privileges to run and I have no idea why.

How could I see why my application requires elevated privileges and potentially have the application run without elevated privileges since my client cannot have the users run the application as admin.

Project options -> Application

Upvotes: 0

Views: 119

Answers (1)

David Cornelius
David Cornelius

Reputation: 447

Windows looks at the title and version info to see if the words "Setup", "Install", and a couple others I forget are in there and if so, automatically requires elevated privileges.

I had this happen recently in a Delphi XE application where there was a module that allowed configuration of company-wide information. I added the word "Setup" to one of the version info lines and immediately users complained of the same problem. As soon as I took that out, and without doing anything else, the problem went away.

Your screenshot shows the application Title has the word "Setup" in it and I'll bet that's causing the problem.

Upvotes: 0

Related Questions