30 October 2015

SCCM deployment with Error 1612

I was deploying a package earlier today. It took a few iterations to get everything correct. All of a sudden on the fourth update of the package, it would no longer install. It continuously failed. I thought maybe something was wrong with the installer that got downloaded to the machine, so I cleared out the cache. The issue persisted after SCCM re-downloaded the package. I then ran the install manually from the ccmcache folder where it was stored. Everything installed perfectly. I then deleted the application completely from SCCM and re-deployed it as a Package with the same issue. I was stumped at this point. All of my msi installations include a verbose log written to a specific directory on each machine. When I looked at the file, the first thing that was indicated in red was SOURCEMGMT: Failed to resolve source. I scrolled up and all of a sudden it popped out to me when I saw SOURCEMGMT: Trying source C:\windows\ccmcache\1t\emsProfiler\. That directory no longer existed. I knew this because I had manually run the installed from a different directory in the CCMCACHE. At this point, I thought that had to be stored in the registry and it was. It was located under HKEY_USERS\.DEFAULT\Software\Microsoft\Installer\Products\{GUID}\SourceList.

I deleted HKEY_USERS\.DEFAULT\Software\Microsoft\Installer\Products\{GUID}, which included everything underneath it. I reran the installation and it installed correctly. 

Related Posts:

  • Capture USMT to the Local Machine or a Network Share This script allows for the USMT process to be executed locally on a machine from a remote location with the output to either the local machine or a network location. In order for the script to run correctly, you will need t… Read More
  • Apple QuickTime Installation In order to deploy QuickTime, you will need to extract all of the components to a directory. The installation executable that is downloaded from Apple's site can easily be opened with 7-zip to extract them. In the environmen… Read More
  • Set Pagefile Size to double the Physical Memory The firm I work for uses Autodesk Revit design software that requires the minimum and maximum pagefile sizes to be double the size of the installed physical memory. I wrote this script, which is run after Autodesk is install… Read More
  • Adobe Flash Installation Script This script will install both the x86 and x64 versions of Flash Player 11.x. It uninstalls all previous versions of Flash first. Flash 11.x is then installed, and finally the mms.cfg file is copied over to set Flash to autom… Read More
  • Adobe Reader X Installation Script with Previous Version Uninstaller Scripts This script will uninstall all previous versions of Adobe Reader back to 4.x, thanks to this user's list of GUIDs that I took and expanded into a script. Some of the versions in there encompass all the previous versions befo… Read More

4 comments:

  1. This reminds me of troubleshooting broken java installations lol.

    ReplyDelete
  2. This helped me, thanks. Had similar issue. My problem SourceList reg entry was here:
    HKEY_CLASSES_ROOT\Installer\Products\{GUID}\SourceList

    I deleted the {GUID} folder as you mentioned, after backing up registry, and the application installed successfully in Software Center.

    ReplyDelete
  3. Jenni thank you, that helped me with my app deployment that was getting stuck.

    ReplyDelete
  4. Thanks, this helped me quickly resolve a similar issue.

    ReplyDelete