Microsoft KB Archive/170669: Difference between revisions
(importing KB archive) |
m (Text replacement - """ to """) |
||
Line 48: | Line 48: | ||
<div class="errormessage"> | <div class="errormessage"> | ||
An error occurred while trying to remove | An error occurred while trying to remove "program_name"<br /> | ||
Uninstallation has been cancelled | Uninstallation has been cancelled | ||
Line 70: | Line 70: | ||
</pre> | </pre> | ||
<br /> | <br /> | ||
any programs whose uninstall string value starts with C:\Progra~1 or | any programs whose uninstall string value starts with C:\Progra~1 or "C:\Program Files\..." will fail to be removed if a C:\Program folder exists.<br /> | ||
<br /> | <br /> | ||
These examples will fail:<br /> | These examples will fail:<br /> | ||
Line 76: | Line 76: | ||
<pre class="fixed_text"> UninstallString:reg_sz:c:\Program Files\My_program\setup setup | <pre class="fixed_text"> UninstallString:reg_sz:c:\Program Files\My_program\setup setup | ||
UninstallString:reg_sz: | UninstallString:reg_sz:"c:\Program Files\My_program\setup" setup | ||
UninstallString:reg_sz:c:\Progra~1\My_program\setup setup | UninstallString:reg_sz:c:\Progra~1\My_program\setup setup |
Latest revision as of 11:04, 21 July 2020
Article ID: 170669
Article Last Modified on 10/31/2006
APPLIES TO
- Microsoft Windows NT Workstation 4.0 Developer Edition
- Microsoft Windows NT Server 4.0 Standard Edition
This article was previously published under Q170669
SYMPTOMS
After you create a folder called C:\Program, if you then go to Control Panel, double-click Add/Remove Programs, and select an installed program to remove or update, you get the following error message:
If you rename the folder called Program to, for example, Program2, you see the following message:
CAUSE
In the registry under
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall \...
any programs whose uninstall string value starts with C:\Progra~1 or "C:\Program Files\..." will fail to be removed if a C:\Program folder exists.
These examples will fail:
UninstallString:reg_sz:c:\Program Files\My_program\setup setup UninstallString:reg_sz:"c:\Program Files\My_program\setup" setup UninstallString:reg_sz:c:\Progra~1\My_program\setup setup
RESOLUTION
Perform the following steps to remove the desired application:
- Rename the C:\Program folder.
- Click the Start button, point to Settings, click Control Panel, and then double-click Add/Remove Programs.
- Click the application you want to remove, and then click Remove.
- Click OK.
- Rename the folder in step 1 back to its original name.
STATUS
Microsoft has confirmed this to be a problem in Windows NT version 4.0. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
Keywords: kbsetup KB170669