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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T10:02:38+00:00 2026-05-13T10:02:38+00:00

I have a .NET setup project that installs and uninstalls my application fine but

  • 0

I have a .NET setup project that installs and uninstalls my application fine but on uninstall it leaves the installation directory behind.

How can I delete this folder during/after the uninstall?

UPDATE: My application creates a cahce file in this directory when it runs which looks like the reason the folder is not removed during the uninstall.

Is there a way to remove this file so that the folder gets removed?

  • 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-13T10:02:38+00:00Added an answer on May 13, 2026 at 10:02 am

    Normally the folder created during installation will be removed on uninstall.

    This does not happen however, if that folder is not empty or another process has an open handle to that folder or a subfolder within. Therefore you should make sure that the folder is not opened somewhere in Explorer or a console window, you application is not running and you didn’t place any additional files to that folder.

    You can check with Process Explorer for open handles using the Find -> Find Handle or Dll command and entering the name of your installation folder.

    You can get extended information and possible error messages by creating a log of your uninstallation:

    msiexec /x myProgram.msi /l*vx log.txt
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a .NET 3.5 Setup Package Project which installs my application successfully. The
I have a fairly simple desktop application that uses a .NET setup project (.msi
I have built a web setup project in VS2008 which installs my ASP.NET/Silverlight app
The situation is this: I have a Setup project created for my .NET application,
I have created a setup project with VS2008 for a .NET Windows Forms application
I have an ASP.NET 2.0 Application (ReadyDesk) setup as an Application in IIS. The
I have a .NET 4 application that is going to be deployed on a
We have an ASP.NET 2.0 application that is available as a trial download. As
I have set up cruisecontrol.net cs for my project that has a number of
We have a WinForms project that requires SQL Server 2008 R2 Express. The application

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.