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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T19:17:37+00:00 2026-05-17T19:17:37+00:00

After uninstalling our application (a web server) in Vista or newer Windows, an error

  • 0

After uninstalling our application (a web server) in Vista or newer Windows, an error message box appears that says, ‘An error occurred while trying to uninstall My App. It may have already been uninstalled. Would you like to remove My App from the Programs and Features list?’; and there are ‘Yes’ and ‘No’ buttons. This happens right after my installer closes down and before the system reboots. (After the reboot, the application is no longer in the ARP list, so the error message is unnecessary.)

This may seem to be a duplicate of this, but the message box is different, and it only happens when all of the following conditions are met:

  • the Programs & Features control panel is open
  • the installer uninstalls IIS (not done if our installer did not install IIS in the first place, there are other Web sites using it or the user opts out of uninstalling it when given the option)
  • the user agrees, in our installer, to rebooting right away.

I’ve tried putting a value into the registry under HKLM\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Compatibility Assistant\Persisted with the path to the copy of the installer that the control panel runs (it’s a legacy installer that’s based on InstallShield tech that predates Windows installer). While the registry fix works for preventing the UAC message that used to come up when doing an add/remove components install (or, to use the new vernacular, a Modify install), it doesn’t prevent this one.

I need a way to prevent the error message, as the powers that be are treating it as a release blocker. There are workarounds that prevent the message (including not uninstalling IIS), but the higher ups aren’t interested in the workarounds; they want the actual problem fixed. (The next version’s installer will be using up to date tech, so thankfully, this is a one time headache.)

Edit: After doing some experimentation, I discovered that it’s the uninstallation of IIS that’s doing something to make the control panel bring up the error message when our installer exits and initiates a system reboot. (Our installer uninstalls IIS by way of a pkgmgr.exe command line with the /norestart option — once it’s ready for it, our installer takes care of the reboot in that case.)

  • 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-17T19:17:38+00:00Added an answer on May 17, 2026 at 7:17 pm

    This appears to be bug with Windows: http://support.microsoft.com/kb/2002473/

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

Sidebar

Related Questions

No related questions found

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.