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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T04:01:56+00:00 2026-06-08T04:01:56+00:00

I have a program product which additionally installs Shell Extension to Windows Explorer. It

  • 0

I have a program product which additionally installs Shell Extension to Windows Explorer. It made in C# and uses .NET Framework v4.0. Shell extension are installing by Inno Setup during installation by using regasm.exe. Everything works fine until I want to install updated version of application. The problem is I can’t update shell extension dll because it loaded into explorer’s memory. Before installing Inno Setup shows me following message

enter image description here

It says installer needs to terminate Windows Explorer because it uses files which should be updated by installer.
It terminates explorer process but doesn’t launch him again. That’s my first issue.

Actually I don’t want to force user shutdown explorer. But I don’t know how to unload managed shell dll from explorer’s memory. If uninstall it by regasm.exe dll still remains in memory. In fact I can’t even find place where this checking occurs because I received already made installation sources.

Files-In-Use (IssProc.dll) add-in for Inno Setup doesn’t help because as soon I terminate windows explorer by this add-in, explorer immediately restarts.

How could I solve this issue? How could I update shell extension dll with better user experience?
And maybe someone could give me a hint where’s that code which checks for files in use is placed?

O and BTW I’m using Windows 7 x64.

  • 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-08T04:01:57+00:00Added an answer on June 8, 2026 at 4:01 am

    Use the restartreplace flag at your file entry. From the reference:

    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.

    So using this flag won’t cause the wizard to ask to terminate applications using the file but schedule the file update to the next reboot and prompt user to restart the computer at the installation end, what is in my opinion quite user friendly and commonly used.

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

Sidebar

Related Questions

I have program that requires Python 3, but I develop Django and it uses
I have a program which creates JButtons which are then added to a JPanel
I have a msi created for a project which uses C# & Jscript. version-1.0
We have our custom setup.exe program which launches a series of individial MSIs in
We have a program consisting of three parts. There's the backend which is the
I have the following code: DirectoryInfo directory = new DirectoryInfo(@"C:\Program Files\Company\Product"); if (!directory.Exists) {
I have been getting a stackoverflow exception in my program which may be originating
I am writing a program for class in which I analyze different product codes
So, in my program i have a TabActivity which contains two tabs, one tab
I have this method which generates a license by running an exe program on

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.