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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T11:25:54+00:00 2026-06-12T11:25:54+00:00

I have a Delphi 6 program that for most users installs fine while running

  • 0

I have a Delphi 6 program that for most users installs fine while running under a user account without admin privileges. However, on some systems it triggers a request for admin rights. Unfortunately mine isn’t one of them so it’s hard for me to diagnose this problem. I use InnoSetup 5.1.9 to build my install programs.

How can I figure out what I need to change about my installation program’s configuration to neutralize the need for admin rights on some people’s systems? It’s causing trouble for my system because during installation, certain program data files are being copied into the admin account’s application data folder. Then when my program is launched under a user account, those files can not be found since they are not in the user account application folder, where they are expected to be.

  • 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-06-12T11:25:55+00:00Added an answer on June 12, 2026 at 11:25 am

    This happens due to default PrivilegesRequired directive value, which is, by default configured to require administrator elevation. If you don’t need this, simply change in your InnoSetup script, value of this directive explicitly to something like this:

    [Script]
    PrivilegesRequired=lowest
    

    From the reference:

    When PrivilegesRequired is set to lowest, Setup will not request to be
    run administrative privileges even if it was started by a member of
    the Administrators group. Additionally, the uninstall info root key
    will always be HKEY_CURRENT_USER, and the “common” forms of the Shell
    Folder constants are mapped to the “user” forms, even if
    administrative privileges are available.

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

Sidebar

Related Questions

I have a Delphi program that creates HTML files. Later when a button is
I have a simple Delphi program that I'm working on, in which I am
I have a Delphi 2010 ADO program that has a DBGrid. Its dataset selects
I have a Delphi 2009 program that handles a lot of data and needs
I have a Delphi (5) application that uses a log-in screen (standard user name/password)
I have a program written in the Delphi Programming Language that I have to
I have a simple program that makes a request to a remote server running
I have a .NET application that is launched via a Delphi program using ShellExecute.
I have a Delphi 6 program that receives audio from an external program via
I have several Delphi programs that maintain connections to a database (some Oracle, some

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.