none
.NET Framework 4.0 Unexpected return code: 1 RRS feed

  • Question

  • I'm using MDT 2012U1, and I'm having trouble getting .NET Framework 4.0 to install silently. I began by adding a new application with source files in MDT and am using the command line: dotNetFx40_Client_x86_x64.exe /q /norestart. When I try to install it on a client computer, the Installation Progress window says "Installing Applications / Installing Microsoft .NET Framework 4.0", but it just sits there and does nothing. I can see the dotNetFx40_Client_x86_x64.exe process in the Task Manager and that it has extracted the installation files to a temp folder in C:\ , but nothing is happening. When I end the process, the Installation Progress continues, and the Deployment Summary says Application Microsoft.NET Framework 4.0 returned an unexpected return code: 1.

    What's weird is if I go to the \\DeploymentShare\Applications\Microsoft .NET Framework 4.0 folder and run the same exact command on the same .exe package, it installs just fine. It's only when I'm going through MDT that it doesn't work.

    Here are two screenshots of my settings for .NET Framework in MDT as well as the dd_dotNetFx40_Client_x86_x64_decompression_log.txt found in the %temp% folder on the client computer. Any tips or help would be greatly appreciated.

    [12/17/2014, 10:57:48] === Logging started: 2014/12/17 10:57:48 ===
    [12/17/2014, 10:57:48] Executable: \\172.16.52.101\Windows7Pro$\Applications\Microsoft .NET Framework 4.0\dotNetFx40_Client_x86_x64.exe v4.0.30319.1
    [12/17/2014, 10:57:48] --- logging level: standard ---
    [12/17/2014, 10:57:48] Successfully bound to the ClusApi.dll
    [12/17/2014, 10:57:48] Error 0x80070424: Failed to open the current cluster
    [12/17/2014, 10:57:48] Cluster drive map: ''
    [12/17/2014, 10:57:48] Considering drive: 'A:\'...
    [12/17/2014, 10:57:49] Drive 'A:\' is rejected because of the unknown or unsuitable drive type
    [12/17/2014, 10:57:49] Considering drive: 'C:\'...
    [12/17/2014, 10:57:49] Considering drive: 'D:\'...
    [12/17/2014, 10:57:49] Drive 'D:\' is rejected because of the unknown or unsuitable drive type
    [12/17/2014, 10:57:49] Considering drive: 'Z:\'...
    [12/17/2014, 10:57:49] Drive 'Z:\' is rejected because of the unknown or unsuitable drive type
    [12/17/2014, 10:57:49] Drive 'C:\' has been selected as the largest fixed drive
    [12/17/2014, 10:57:49] Directory 'C:\7755535043955aa61928cb74269c30d7\' has been selected for file extraction
    [12/17/2014, 10:57:49] Extracting files to: C:\7755535043955aa61928cb74269c30d7\


    Wednesday, December 17, 2014 4:13 PM

Answers

  • Try change the switches to /passive /norestart, I have seen the /q /norestart failing for .NET Framework when deployed via a task sequence.

    / Johan


    Regards / Johan Arwidmark Twitter: @jarwidmark Blog: http://www.deploymentresearch.com FB: www.facebook.com/deploymentresearch

    Wednesday, December 17, 2014 11:13 PM
    Moderator

All replies