Category: Windows Installer and Updates

Windows Update problems busters
article #727, updated 746 days ago

Yet something newer than the below, the Windows Update Automated Troubleshooter:

https://support.microsoft.com/en-us/gp/windows-update-issues/en-us

Microsoft is now providing an interesting toolset for Windows Update issues on current operating systems:

http://support.microsoft.com/common/survey.aspx?scid=sw;en;3779&showpage=1

And another Fix-It:

http://support.microsoft.com/kb/968002

And something to install, the SDK, which contains Windows Installer 4.5 and possibly 5.0 too:

http://www.microsoft.com/downloads/en/details.aspx?FamilyID=c17ba869-9671-4330-a63e-1fd44e0e2505&displaylang=en

The below are our previous methods, from the indefatigable Mike Hunsinger. It is best to try level 1, see if that fixes, go to level 2. Both of these are done in administrative command prompts.

Level 1.

  1. Stop services:
    net stop bits
    net stop wuauserv
    net stop appidsvc
    net stop cryptsvc
  2. Rename folders:
    ren %systemroot%\SoftwareDistribution SoftwareDistribution.bak
    ren %systemroot%\system32\catroot2 catroot2.bak
  3. Start services:
    net start bits
    net start wuauserv
    net start appidsvc
    net start cryptsvc
  4. If in Windows Vista or Server 2008 R1: bitsadmin /reset /allusers

Level 2.

  1. Stop services:
    net stop bits
    net stop wuauserv
    net stop appidsvc
    net stop cryptsvc
  2. Deletions:
    Del "%ALLUSERSPROFILE%\Application Data\Microsoft\Network\Downloader\qmgr*.dat"
  3. Registrations:
    cd /d %windir%\system32
    regsvr32.exe atl.dll
    regsvr32.exe urlmon.dll
    regsvr32.exe mshtml.dll
    regsvr32.exe shdocvw.dll
    regsvr32.exe browseui.dll
    regsvr32.exe jscript.dll
    regsvr32.exe vbscript.dll
    regsvr32.exe scrrun.dll
    regsvr32.exe msxml.dll
    regsvr32.exe msxml3.dll
    regsvr32.exe msxml6.dll
    regsvr32.exe actxprxy.dll
    regsvr32.exe softpub.dll
    regsvr32.exe wintrust.dll
    regsvr32.exe dssenh.dll
    regsvr32.exe rsaenh.dll
    regsvr32.exe gpkcsp.dll
    regsvr32.exe sccbase.dll
    regsvr32.exe slbcsp.dll
    regsvr32.exe cryptdlg.dll
    regsvr32.exe oleaut32.dll
    regsvr32.exe ole32.dll
    regsvr32.exe shell32.dll
    regsvr32.exe initpki.dll
    regsvr32.exe wuapi.dll
    regsvr32.exe wuaueng.dll
    regsvr32.exe wuaueng1.dll
    regsvr32.exe wucltui.dll
    regsvr32.exe wups.dll
    regsvr32.exe wups2.dll
    regsvr32.exe wuweb.dll
    regsvr32.exe qmgr.dll
    regsvr32.exe qmgrprxy.dll
    regsvr32.exe wucltux.dll
    regsvr32.exe muweb.dll
    regsvr32.exe wuwebv.dll
  4. Reset networking:
    netsh winsock reset
  5. Reconfigure proxy settings:
    • If on XP: proxycfg.exe -d
    • If not on XP: netsh winhttp reset proxy
  1. Start services:
    net start bits
    net start wuauserv
    net start appidsvc
    net start cryptsvc
  2. If in Windows Vista: bitsadmin /reset /allusers
  3. Install the latest Windows Update Agent.
  4. Reboot.

Categories:   Windows OS-Level Issues   Windows Installer and Updates

==============

Common registry item missing causing Windows Installer and SFC errors
article #826, updated 852 days ago

This is often missing:

HKLM\Software\Microsoft\Windows\CurrentVersion\Component Based Servicing\Version

To fix it:

1. Navigate to C:\Windows\Servicing\Version and read the name of a subfolder. It will be named something like 6.1.7600.16385. That is your {TrustedInstaller ID}. Copy the name of that folder to the clipboard (and paste it in Notepad for safe keeping).
2. Find a subfolder in C:\Windows\WinSxS whose name starts with:

x86_microsoft-windows-servicingstack_31bf3856ad364e35_{TrustedInstaller ID} (32bit Windows)

amd64_microsoft-windows-servicingstack_31bf3856ad364e35_{TrustedInstaller ID} (64bit Windows)

Copy the name of that folder to the clipboard (and paste it in Notepad for safe keeping).

3. Create subkey “HKLM\Software\Microsoft\Windows\CurrentVersion\Component Based Servicing\Version”. You will need to take ownership of “Component Based Servicing” then give yourself full access permissions before you can create the key.

4. In the new Version key, create an “expandable value” using the TrustedInstaller ID as its name and the complete path of the folder you identified in WinSxS as its value. Properly you should use %SystemRoot%\WinSxS\whatever instead of C:\Windows\WinSxS\whatever.

Categories:   Windows Installer and Updates   

==============

When Windows updates fail
article #726, updated 1145 days ago

We have the System Update Readiness tool for workstations and DISM for servers:

http://support.microsoft.com/kb/947821

For Vista/2008 SP1 and up through 8.1/2012R2 so far. One heads-up: according to this article by a Microsoft developer, it will take about 10 minutes to run, it takes the form of “checksur.exe”.

Categories:   Windows Installer and Updates   Windows OS-Level Issues

==============

New Windows Installer Fix-It from Microsoft
article #498, updated 1420 days ago

A new tool from Microsoft, intended to replace msicuu2:

http://support.microsoft.com/mats/Program_Install_and_Uninstall/

There is something different, a procedure, for XP/2003 32/64 here:

http://support.microsoft.com/kb/315346/en-us#method2

Categories:   Windows Installer and Updates   

==============

Pending Installations in Windows
article #575, updated 1533 days ago

Check these two registry locations:

HKLM\Software\Microsoft\Windows\CurrentVersion\Installer\InProgress
HKLM\System\CurrentControlSet\Control\Session Manager\PendingFileRenameOperations

Categories:   Windows Installer and Updates   

==============

How to Fix Windows Installer
article #70, updated 2140 days ago

The below is older. Here is the latest from Microsoft, the “Program Install and Uninstall troubleshooter”:

http://support.microsoft.com/mats/Program_Install_and_Uninstall

——————————

The very best thing to do about Windows Installer problems, might just be this:

http://wiki.lunarsoft.net/wiki/Dial-a-fix

But you should also get the latest version of the Windows Installer.

The current version is 4.5. These are new installers, which appear to contain cleanup routines:

http://www.microsoft.com/downloadS/details.aspx?familyid=5A58B56F-60B6-4412-95B9-54D056D6F9F4&displaylang=en

There is also a separate cleanup tool.  Sometimes you will have to reinstall applications and/or do other cleanup work if you use it.  For this reason Microsoft appears to have taken it down from its sites.  I was able to get it from here:

http://majorgeeks.com/Windows_Installer_CleanUp_Utility_d4459.html

Categories:   Windows Installer and Updates   

==============

Office 2003 installer popups
article #60, updated 3323 days ago

To fix those annoying popups, first try this:

In the registry:
HKEY_LOCAL_MACHINE\Software\Microsoft\Office\11.0\Delivery
see one folder, with a long code name; enter it.
There is an entry named CDCache; change the value to 0 (zero).

If that doesn’t work, try downloading these three files:

http://www.knights-templar.com/FRONTPAGE2003/ZS561401.CAB
http://www.knights-templar.com/FRONTPAGE2003/PA561401.CAB
http://www.knights-templar.com/FRONTPAGE2003/YT561401.CAB

and save them in C:\MSOCache\All Users\90000409-6000-11D3-8CFE-0150048383C9.

Categories:   Windows Installer and Updates   

==============

Uninstallation & registry tools
article #56, updated 3360 days ago

The Revo Uninstaller:

http://www.revouninstaller.com/

makes Windows uninstallation processes much cleaner. There is also RegSeeker:

http://www.hoverdesk.net/freeware.htm

which allows one to do very efficient searching etc. within the registry.

Categories:   Windows Installer and Updates   

==============

"The Windows Installer Service Could Not Be Accessed"
article #26, updated 3597 days ago

Finally found something which appears to unlock this particular issue.

http://support.microsoft.com/kb/315353

Categories:   Windows Installer and Updates