This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Uninstall while the Programs & Features control panel is open.
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 06, 2010
01:01 AM
Uninstall while the Programs & Features control panel is open.
A InstallScript project.
I'm puzzlling the issue"An error occurred while trying to uninstall... It may have already been uninstalled".
Searching from google, I see" I don't know what to tell you here as Microsoft kb2002473 states - Quote:No additional action is necessary. You can safely ignore this error message. "
And Microsoft says"Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the Applies To section".
I don't see what can be done outside of accepting the "solution" in kb2002473 - Quote:No additional action is necessary. You can safely ignore this error message .
I have repeatedly observed the entire details of the uninstall process, and trying to find what causes. Finally, I find the details the Programs & Features control panel is open.
So, close the control pannel is my key way. However, in win7/vista, the process of the control panel different from xp. I end the process of the explorer at OnEnd(). Successful, that's right. It have proved my inference.
Now, Do you have better ways to solve the issue except Ending the explorer process.
Looking forward to your reply.
I'm puzzlling the issue"An error occurred while trying to uninstall... It may have already been uninstalled".
Searching from google, I see" I don't know what to tell you here as Microsoft kb2002473 states - Quote:No additional action is necessary. You can safely ignore this error message. "
And Microsoft says"Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the Applies To section".
I don't see what can be done outside of accepting the "solution" in kb2002473 - Quote:No additional action is necessary. You can safely ignore this error message .
I have repeatedly observed the entire details of the uninstall process, and trying to find what causes. Finally, I find the details the Programs & Features control panel is open.
So, close the control pannel is my key way. However, in win7/vista, the process of the control panel different from xp. I end the process of the explorer at OnEnd(). Successful, that's right. It have proved my inference.
Now, Do you have better ways to solve the issue except Ending the explorer process.
Looking forward to your reply.
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 11, 2011
01:15 AM
Is there any batch file/vbscript available to close the "Programs & Features" window?
How to end the process of the explorer at OnEnd().
How to end the process of the explorer at OnEnd().
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 11, 2011
01:17 AM
Is there any batch file/vbscript available to close the "Programs & Features" window?
How to end the process of the explorer at OnEnd().
How to end the process of the explorer at OnEnd().
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 12, 2011
11:12 AM
Programs & Features is basically a process called explorer.exe so closing it might cause you to lose other explorer windows. You might want to re-consider.
sample code to terminate a process in vb:
sample code to terminate a process in vb:
strComputer = "."
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
Set colProcessList = objWMIService.ExecQuery _
("Select * from Win32_Process Where Name = 'explorer.exe'")
For Each objProcess in colProcessList
objProcess.Terminate()
Next