Search This Blog

Tuesday, July 22, 2014

.Net framework 4.5.2 installation fails

When running a silent installation of Microsoft .Net framework 4.5.2 in a SCCM 2012 R2 task sequence you might see the installation fail when using the application model.

The following is my silent installation command line "NDP452-KB2901907-x86-x64-AllOS-ENU.exe" /q /norestart and in my test scenario this is done on a Windows 2008 R2 server.

smsts.log include this information:

Install Static Applications failed, hr=0x80004005 InstallApplication 12-06-2014 10:14:53 1928 (0x0788)
Process completed with exit code 2147500037 TSManager 12-06-2014 10:14:53 1580 (0x062C)
Failed to run the action: Install .Net 4.5.2.
Unspecified error (Error: 80004005; Source: Windows) TSManager 12-06-2014 10:14:53 1580 (0x062C)

image

The log file "C:\Windows\Temp\dd_NDP452-KB2901907-x86-x64-AllOS-ENU_decompression_log.txt" gave this messages

[6/12/2014, 10:14:53] Error 0x80004005: Failed to extract all files out of box container #0.
[6/12/2014, 10:14:53] Error 0x80004005: Failed to extract
[6/12/2014, 10:14:53] Exiting with result code: 0x80004005

image

In this thread I found a possible solution, edit the properties of the Deployment Type and enabled “Run installation and uninstall program as 32-bit process on 64-bit clients.”

http://social.technet.microsoft.com/Forums/en-US/4808233e-1410-4305-a8d1-0e88f3a6fdc8/net-451-install-only-works-when-running-on-a-ui-session?forum=configmanagerapps

Setting this as shown allowed the installation to complete.

image

2 comments: