SCCM-Installing a Updated version of the Console

SCCM-Installing a Updated version of the Console
Rate this post

Hi All,

when you install SCCM for the 1st time, it will automatically install (if selected) the SCCM Console on the client, and this is great as there are many people out there that use the server instead of a remote console.

Anyway, when you install an update, let’s say, CU1 for 2012 R2 SP1, it will again, automatically update the server and will allow you to create a package that you can deploy to a collection and update the remote consoles, same happen for the KB that Microsoft releases outside the CU style.

So, let’s say that you have a collection, that is based on Hardware Inventory-> Installed Applications, so you know all machines that have the SCCM Console installed. When installing a new console, you need to wait the machine to submit a hardware inventory and after that, it will appear on the collection and get updated..

Now let’s imagine the scenario where you have:
2012 R2 SP1 installed
KB3074857 (CU1) is released and there is a console update
KB3084586 is released and there is a console update
KB3081699 is released and there is a console update
KB3082531 is released and there is a console update

In this scenario, it may take a while for the new console get all updates, this is not a good solution, and as workaround this problem, you create a script that does this for you. It is great, however, it is not the best solution (in my opinion). Reason is simple, what if something goes wrong? Does your script have some kind of error reporting? Or does it just try and hope it will be installed?

With 2012, Microsoft released a new way to install software, that is called Application model. So with his new way to install software, SCCM will validate if the software is actually installed, based on parameters defined by you.

So, how exactly would you install and check if they are installed property?
You would create one application for each “version” of the console with dependency of the previous one and deploy the latest version

Name: Microsoft System Center 2012 R2 Configuration Manager Console 5.0.8239.1000
Install Command Line: consolesetup.exe /q TargetDir=”%ProgramFiles%\ConfigMgr Console” EnableSQM=0 DefaultSiteServerName=SDKOFYOURSCCMSERVER
Detection Method: Windows Installer = {7952AC6D-315A-4791-BDE3-0976D6E0AD72}

Name: Microsoft System Center 2012 R2 Configuration Manager Console Update KB3074857
Dependency: Microsoft System Center 2012 R2 Configuration Manager Console 5.0.8239.1000
Install Command line: msiexec /update configmgr2012adminui-sp2r2sp1-kb3074857-i386.msp /q
Detection Method: File System – %ProgramFiles%\ConfigMgr Console\bin\Microsoft.ConfigurationManagement.exe – version greater than or equal to 5.0.8239.1203 – select the option “This folder is associated with a 32-bit application on 64-bit systems.”

Name: Microsoft System Center 2012 R2 Configuration Manager Console Update KB3084586
Dependency: Microsoft System Center 2012 R2 Configuration Manager Console Update KB3074857
Install command line: msiexec /update configmgr2012adminui-sp2r2sp1-kb3084586-i386.msp /q
Detection Method: File System – %ProgramFiles%\ConfigMgr Console\bin\Microsoft.ConfigurationManagement.exe – version greater than or equal to 5.0.8239.1206 – select the option “This folder is associated with a 32-bit application on 64-bit systems.”

Name: Microsoft System Center 2012 R2 Configuration Manager Console Update KB3081699
Dependency: Microsoft System Center 2012 R2 Configuration Manager Console Update KB3084586
Install command line: msiexec /update configmgr2012adminui-sp2r2sp1-kb3081699-i386.msp /q
Detection Method: File System – %ProgramFiles%\ConfigMgr Console\bin\Microsoft.ConfigurationManagement.exe – version greater than or equal to 5.0.8239.1208 – select the option “This folder is associated with a 32-bit application on 64-bit systems.”

Name: Microsoft System Center 2012 R2 Configuration Manager Console Update KB3082531
Dependency: Microsoft System Center 2012 R2 Configuration Manager Console Update KB3081699
Install command line: msiexec /update configmgr2012adminui-sp2r2sp1-kb3082531-i386.msp /q
Detection Method: File System – %ProgramFiles%\ConfigMgr Console\bin\Microsoft.ConfigurationManagement.exe – version greater than or equal to 5.0.8239.1211 – select the option “This folder is associated with a 32-bit application on 64-bit systems.”

At the end, we would have 5 applications and we would deploy only the “Microsoft System Center 2012 R2 Configuration Manager Console Update KB3082531” application as it will install the other if required.

Tags:

Recent Posts

Comments are closed.
%d bloggers like this: