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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T17:41:03+00:00 2026-05-16T17:41:03+00:00

My setupper gives the ERROR access denied dialog when overwriting one DLL fails, its

  • 0

My setupper gives the ERROR access denied dialog when overwriting one DLL fails,
its locked&in use sometimes.

what is recommended procedure for doing this..

Can I somehow make INNO to compare if its even necessary to overwrite this DLL (size match?)

  • 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-16T17:41:04+00:00Added an answer on May 16, 2026 at 5:41 pm

    InnoSetup automatically compares the files to see if it needs to be replaced by looking at the version resource in the file.

    You should add the RestartReplace flag to the [Files] entry for your DLL (and any other file that might be in memory / locked). From the InnoSetup documentation:

    restartreplace

    When an existing file needs to be
    replaced, and it is in use (locked) by
    another running process, Setup will by
    default display an error message. This
    flag tells Setup to instead register
    the file to be replaced the next time
    the system is restarted (by calling
    MoveFileEx or by creating an entry in
    WININIT.INI). When this happens, the
    user will be prompted to restart their
    computer at the end of the
    installation process.

    To maintain compatibility with Windows
    95/98/Me, long filenames should not be
    used on entries with this flag. Only
    “8.3” filenames are supported.
    (Windows NT platforms do not have this
    limitation.)

    NOTE: This flag has no effect on
    Windows NT platforms if the user does
    not have administrative privileges.
    Therefore, when using this flag, it is
    recommended that you leave the
    PrivilegesRequired [Setup] section
    directive at the default setting of
    admin.

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

Sidebar

Related Questions

I should use JSF 1.1 Mojarra implemetnation in job project. But I need a
I am a php programmer trying to understand python's for in syntax I get
Suppose: class Parser { public: void parser1(int a, int b, int c); void parser2(int
We're currently using MBUnit for both unit testing and UI testing. For UI testing
I wrote the following code, it works fine, but it takes like 3 sec
I have a UIButton of the custom button type, where I just set a
so, here is the situation here. I have 2 asp.net websites + some winform
Let's say for example I have this code: <input type=file id=file name=> <input class=uploadarea>

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.