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

  • Home
  • SEARCH
  • 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 8950411
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T13:26:59+00:00 2026-06-15T13:26:59+00:00

I am using Inno Setup for installing patch updates for my VB.net application where

  • 0

I am using Inno Setup for installing patch updates for my VB.net application where I have to replace a DLL file and a couple of javascript/html files for the update. However, the DLL doesn’t get updated (it is in C:\program files…) – even on XP systems without UAC it doesnt get replaced, but when I manually delete the DLL and rerun the patch, the file gets copied. It is not readonly, and no UAC/admin privilege is involved in the XP case.

What could be the reason that the file doesn’t get copied if a file already exists? It is built in VS2008 and in .NET 2.0 – the new DLL has a more recent date and size difference too.

Is there a way to workaround the UAC write access issue on Vista/Win7/8? I guess the patch would never succeed to replace the file on these systems with UAC on. Telling our user base to turn it off is obviously not an option.

[EDIT] The dll assembly is packaged into the setup.exe within Visual Studio by picking it up from the Release folder on building the solution. The inno setup iss [File] section has this:

[Files]
Source: C:\Visual Studio 2005\Projects\Setup5\Setup5\Debug\setup.exe; DestDir: {app}
Source: C:\Visual Studio 2005\Projects\Setup5\Setup5\Debug\interact.msi; DestDir: {app}
[Run]
Filename: {app}\setup.exe; Flags: runmaximized
  • 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-15T13:27:00+00:00Added an answer on June 15, 2026 at 1:27 pm

    Does the DLL have a version resource? Is the new DLL a higher version than the old one? By default, InnoSetup uses the version resource to determine if a file should be replaced.
    Another option is that you could add the ignoreversion flag in the [Files] section to always replace that file.

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

Sidebar

Related Questions

Made an application which targets .net 4 client. Created an installer using Inno Setup
I have a VB6 application, the installer is compiled using INNO Setup. The installer
I am using inno setup to make a installation package for my application, and
I've been using Inno Setup for deploying and registering a dll, but all the
Merry Christmas, StackOverflowians! I started out distributing my .NET GAC-located program using Inno Setup,
I am using inno setup to install a vb6 application and drivers. Everything works
I've been playing around with Inno Setup for a couple days now, and have
I am installing my software (myprog.exe) using inno setup and i would like to
Is there any way to send HTTP request using (pure) Inno Setup? isxdl.dll isn't
I am making the setup of java swing application by using Inno Setup as

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.