ccmsetup failed with error code 0x8007064c

While upgrading SCCM clients from 2007 to 2012 I’ve noticed a strange error in the CCMSETUP log file:

[error]Installation failed with error code 1612 ccmsetup
InstallFromManifest failed 0x8007064c ccmsetup[/error]

Searching the web came up with no results, so I’ve decided to investigate the issue my self.

Right before the above error code in the CCMSETUP log file I’ve noticed the following:

[important]Current client version ‘4.00.6221.1000’ doesn’t meet the minimum in-place upgradable version ‘5.00.7705.0000’.
Upgrade code ‘{252DA259-82CA-4177-B8D0-49C78937BA3E}’: product = ‘{CE6A85D8-D6B9-479A-9FE9-A06E56881E61}’, installed = 1, version = 4.00.6221.1000
Upgrade code ‘{252DA259-82CA-4177-B8D0-49C78937BA3E}’: product = ‘{2609EDF1-34C4-4B03-B634-55F3B3BC4931}’, installed = 1, version = 4.00.6487.2000
A SCCM client with version ‘4.00.6487.2000’ is detected. It’s smaller than the minimum upgradable version ‘5.00.7705.0000’ so current client will be uninstalled.
Source location is not under software distrubtion cache folder. No need to back up source.
No current reboot settings to backup.
A newer version client is being installed over an old client and uninstalling old client is necessary. Uninstalling the old client.
Uninstalling product ‘{CE6A85D8-D6B9-479A-9FE9-A06E56881E61}’.
Running installation package Product: {CE6A85D8-D6B9-479A-9FE9-A06E56881E61} Log:C:WINDOWSccmsetupclient.msi_uninstall.log Properties:[/important]

 

Then I took a look at the client.msi_uninstall.log and immidiatly found my problem:

[important]SOURCEMGMT: Looking for sourcelist for product {CE6A85D8-D6B9-479A-9FE9-A06E56881E61}
SOURCEMGMT: Adding {CE6A85D8-D6B9-479A-9FE9-A06E56881E61}; to potential sourcelist list (pcode;disk;relpath).
SOURCEMGMT: Now checking product {CE6A85D8-D6B9-479A-9FE9-A06E56881E61}
SOURCEMGMT: Media is enabled for product.
SOURCEMGMT: Attempting to use LastUsedSource from source list.
SOURCEMGMT: Trying source C:WINDOWSsystem32ccmsetup{35BE0386-E1B9-4F59-8DBD-E5B390AA8A09}.
Note: 1: 2203 2: C:WINDOWSsystem32ccmsetup{35BE0386-E1B9-4F59-8DBD-E5B390AA8A09}client.msi 3: -2147287037
SOURCEMGMT: Source is invalid due to missing/inaccessible package.[/important]

 

You see, The computer on which I was trying to install the SCCM client had 2 products registered (Taken from the ccmsetup.log file):

Upgrade code ‘{252DA259-82CA-4177-B8D0-49C78937BA3E}’: product = ‘{CE6A85D8-D6B9-479A-9FE9-A06E56881E61}’, installed = 1, version = 4.00.6221.1000
Upgrade code ‘{252DA259-82CA-4177-B8D0-49C78937BA3E}’: product = ‘{2609EDF1-34C4-4B03-B634-55F3B3BC4931}’, installed = 1, version = 4.00.6487.2000

Where in fact I only had one client – with the more updated version 4.00.6487.2000.

For every product ID in the registry there is also an Uninstall string – you can see a full list of product ID’s in the following registry key – HKLMSOFTWAREMicrosoftWindowsCurrentVersionUninstall.

That key included the following key:

“InstallSource”=”C:\WINDOWS\system32\ccmsetup\{8B84763C-3981-4047-8219-8C84FD41032C}\”

 

Which in my case was missing since the client was upgraded several years ago.

To cut a long story short, I solved the issue by running the old and very useful CCMClean utility which is part of the SMS 2003 Toolkit.

I than re-initiated the installation request and everything went well!

Incoming search terms:

  • CcmSetup failed with error code 0x80070643
  • 0x64c 1612 sccm
  • CcmSetup failed with error code 0x87d0029d
  • CcmSetup failed with error code 0x80070653
  • CcmSetup failed with error code 0x8007064c
  • ccmsetup failed with error code 0x80070643 in place upgrade
  • CcmSetup failed with error code 0x8007042c
  • CcmSetup failed with error code 0x800704
  • ccmsetup failed with error code 0x80070001
  • SCCM AND Installation failed with error code 1612

One Comment

What do you think about this post?