SCCM 2012 – Install .Net 4.5.2 on Windows 7 while on OSD

Hi,

I recently faced the issue, that the .Net 4.5.2 Application, which is working very well if deployed to a installed Windows 7 Client, but when I tried to use the same application within the OSD Task Sequence with System Center 2012 Configuration Manager, the Installation constantly fails with the Error:
Process 4000 terminated with exitcode: 16389

You will find some explanations to create a own archive, which will be extracted to allow the installation. Because the main problem is the extraction process while on Operating system deployment, what I could read about.
In anther Blog post (which I can’t find anymore) was mentioned to set the option “Run installation and uninstall program as 32-bit process on 64-bit clients.”. And that’s it!

Here you will find my working .Net 4.5.2 SCCM 2012 R2 SP1 Application usable for 32 and 64 bit client installations (also OSD).
First, copy the original Source to your SCCM package source directory and add it as Deployment Type source:
.Net 4.5.2 Source directory
You can find the source file here (Offline Installer): http://www.microsoft.com/en-us/download/details.aspx?id=42642

Configure the programs section for the Deployment Type as follows:
Net 4.5.2 program settings

My Installation command:
"NDP452-KB2901907-x86-x64-AllOS-ENU.exe" /norestart /q
The uninstall command:
"NDP452-KB2901907-x86-x64-AllOS-ENU.exe" /norestart /uninstall /q
And very important, activate “Run installation and uninstall program as 32-bit process on 64-bit clients.”

That last part is to define the Detection Method:
.Net 4.5.2 Detection method
I check the Registry Key HKLM\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Client\Release for the value 379893.

Hope this helps.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s