none
Failure Deploying .NET Framework 4.5.1 (Offline Installer) RRS feed

  • Question

  • From AppEnforce.log:

    +++ Starting Install enforcement for App DT "DotNET 4.5.1" ApplicationDeliveryType - ScopeId_D83684F3-2254-4608-8FAC-E52A046D195A/DeploymentType_a062b61f-6ae7-45f3-af3b-560d524c4f7b, Revision - 3, ContentPath - C:\Windows\ccmcache\12, Execution Context - System    AppEnforce    11/11/2015 9:23:02 AM    3584 (0x0E00)
        A user is logged on to the system.    AppEnforce    11/11/2015 9:23:02 AM    3584 (0x0E00)
        Performing detection of app deployment type DotNET 4.5.1(ScopeId_D83684F3-2254-4608-8FAC-E52A046D195A/DeploymentType_a062b61f-6ae7-45f3-af3b-560d524c4f7b, revision 3) for system.    AppEnforce    11/11/2015 9:23:02 AM    3584 (0x0E00)
    +++ Application not discovered. [AppDT Id: ScopeId_D83684F3-2254-4608-8FAC-E52A046D195A/DeploymentType_a062b61f-6ae7-45f3-af3b-560d524c4f7b, Revision: 3]    AppEnforce    11/11/2015 9:23:02 AM    3584 (0x0E00)
        App enforcement environment:
        Context: Machine
        Command line: NDP451-KB2858728-x86-x64-AIIOS-ENU.exe /q /norestart
        Allow user interaction: No
        UI mode: 1
        User token: null
        Session Id: 1
        Content path: C:\Windows\ccmcache\12
        Working directory:     AppEnforce    11/11/2015 9:23:02 AM    3584 (0x0E00)
        Prepared working directory: C:\Windows\ccmcache\12    AppEnforce    11/11/2015 9:23:02 AM    3584 (0x0E00)
    Invalid executable file NDP451-KB2858728-x86-x64-AIIOS-ENU.exe    AppEnforce    11/11/2015 9:23:02 AM    3584 (0x0E00)
    ScriptHandler::EnforceApp failed (0x87d01106).    AppEnforce    11/11/2015 9:23:02 AM    3584 (0x0E00)
    AppProvider::EnforceApp - Failed to invoke EnforceApp on Application handler(0x87d01106).    AppEnforce    11/11/2015 9:23:02 AM    3584 (0x0E00)
    CommenceEnforcement failed with error 0x87d01106.    AppEnforce    11/11/2015 9:23:02 AM    3584 (0x0E00)
    Method CommenceEnforcement failed with error code 87D01106    AppEnforce    11/11/2015 9:23:02 AM    3584 (0x0E00)
    ++++++ Failed to enforce app. Error 0x87d01106. ++++++    AppEnforce    11/11/2015 9:23:02 AM    3584 (0x0E00)

    Any help or advice would be greatly appreciated, thank you.

    Wednesday, November 11, 2015 2:33 PM

Answers

  • Hey all thank you for taking the time to help me. I decided to uninstall and reinstall the SCCM client and the application installed successfully on the first try. I'm not really sure why this happened but I'm ready to move on.
    • Marked as answer by MarkGiemza Wednesday, November 18, 2015 9:39 PM
    Wednesday, November 11, 2015 5:41 PM

All replies

  • Try enabling the option to run installation as a 32 bit process on 64 bit clients. . . see if that gives better results.

    Jeff

    Wednesday, November 11, 2015 2:41 PM
  • Failed again.

    +++ Starting Install enforcement for App DT "DotNET 4.5.1" ApplicationDeliveryType - ScopeId_D83684F3-2254-4608-8FAC-E52A046D195A/DeploymentType_a062b61f-6ae7-45f3-af3b-560d524c4f7b, Revision - 3, ContentPath - C:\Windows\ccmcache\15, Execution Context - System    AppEnforce    11/11/2015 10:06:57 AM    3308 (0x0CEC)
        A user is logged on to the system.    AppEnforce    11/11/2015 10:06:57 AM    3308 (0x0CEC)
        Performing detection of app deployment type DotNET 4.5.1(ScopeId_D83684F3-2254-4608-8FAC-E52A046D195A/DeploymentType_a062b61f-6ae7-45f3-af3b-560d524c4f7b, revision 3) for system.    AppEnforce    11/11/2015 10:06:57 AM    3308 (0x0CEC)
    +++ Application not discovered. [AppDT Id: ScopeId_D83684F3-2254-4608-8FAC-E52A046D195A/DeploymentType_a062b61f-6ae7-45f3-af3b-560d524c4f7b, Revision: 3]    AppEnforce    11/11/2015 10:06:57 AM    3308 (0x0CEC)
        App enforcement environment:
        Context: Machine
        Command line: NDP451-KB2858728-x86-x64-AIIOS-ENU.exe /q /norestart
        Allow user interaction: No
        UI mode: 1
        User token: null
        Session Id: 1
        Content path: C:\Windows\ccmcache\15
        Working directory:     AppEnforce    11/11/2015 10:06:57 AM    3308 (0x0CEC)
        Prepared working directory: C:\Windows\ccmcache\15    AppEnforce    11/11/2015 10:06:57 AM    3308 (0x0CEC)
    Invalid executable file NDP451-KB2858728-x86-x64-AIIOS-ENU.exe    AppEnforce    11/11/2015 10:06:57 AM    3308 (0x0CEC)
    ScriptHandler::EnforceApp failed (0x87d01106).    AppEnforce    11/11/2015 10:06:57 AM    3308 (0x0CEC)
    AppProvider::EnforceApp - Failed to invoke EnforceApp on Application handler(0x87d01106).    AppEnforce    11/11/2015 10:06:57 AM    3308 (0x0CEC)
    CommenceEnforcement failed with error 0x87d01106.    AppEnforce    11/11/2015 10:06:57 AM    3308 (0x0CEC)
    Method CommenceEnforcement failed with error code 87D01106    AppEnforce    11/11/2015 10:06:57 AM    3308 (0x0CEC)
    ++++++ Failed to enforce app. Error 0x87d01106. ++++++    AppEnforce    11/11/2015 10:06:57 AM    3308 (0x0CEC)

    Wednesday, November 11, 2015 3:08 PM
  • It installs fine when I manually click on the .exe file.
    Wednesday, November 11, 2015 3:14 PM
  • What command line do you have specified in the deployment type?

    Jeff

    Wednesday, November 11, 2015 3:53 PM
  • NDP451-KB2858728-x86-x64-AIIOS-ENU.exe /q /norestart
    Wednesday, November 11, 2015 3:55 PM
  • Yeah, it seems as if it cannot find the exe in the source directory.  If you look in the ccmcache folder do you see that exe in the root?
    Wednesday, November 11, 2015 3:56 PM
  • Yeah, it seems as if it cannot find the exe in the source directory.  If you look in the ccmcache folder do you see that exe in the root?

    Yes I do see it. But it is inside two different folders. One named "15" and one named "16".

    • Edited by MarkGiemza Wednesday, November 11, 2015 4:17 PM
    Wednesday, November 11, 2015 4:16 PM
  • Guessing you recently updated the source on the DP, which is why you see it in 16 as well.  If you double click the exe from the cache folder does it open?
    Wednesday, November 11, 2015 4:30 PM
  • Guessing you recently updated the source on the DP, which is why you see it in 16 as well.  If you double click the exe from the cache folder does it open?

    Yes it does.
    Wednesday, November 11, 2015 4:35 PM
  • There are no sub-directories in that ccmcache folder?
    Wednesday, November 11, 2015 5:02 PM
  • There are no sub-directories in that ccmcache folder?

    ccmcache\15

    ccmcache\16

    Wednesday, November 11, 2015 5:06 PM
  • can you try using psexec to simulate the SYSTEM context to run the command line?

    So, get psexec, and run:

    psexec -s -I cmd.exe

    From the new command prompt, execute your command line.

    What happens? Using this method simulates how ConfigMgr will run the command line.

    Jeff

    Wednesday, November 11, 2015 5:11 PM
  • Hey all thank you for taking the time to help me. I decided to uninstall and reinstall the SCCM client and the application installed successfully on the first try. I'm not really sure why this happened but I'm ready to move on.
    • Marked as answer by MarkGiemza Wednesday, November 18, 2015 9:39 PM
    Wednesday, November 11, 2015 5:41 PM
  • Very odd indeed.  Glad it's working for you now.
    Wednesday, November 11, 2015 7:45 PM