none
Offline App via Software Center

    Question

  • Hi all,

    crazy problem. We want to install Offline apps from the Windows store via Software Center. We distributed the content on our DPs, made a deployment, the software appears in Software Center.

    When you click on install it downloads the files, for one hour nothing happens and suddenly installation is finished.

    In appenforce.log it looks like this:

    No reconnect data was found.    AppEnforce    15.03.2018 10:44:09    7908 (0x1EE4)
    DeleteInstance( vValue.getBstr(), pContext ), HRESULT=80041002 (..\WmiNamespace.cpp,855)    AppEnforce    15.03.2018 10:44:09    7908 (0x1EE4)
    m_spNamespace.DeleteInstance(m_spEnforceStatus), HRESULT=80041002 (appenforcestatus.cpp,209)    AppEnforce    15.03.2018 10:44:09    7908 (0x1EE4)
    Status is switching to Success    AppEnforce    15.03.2018 10:44:09    7908 (0x1EE4)
    DeleteInstance( vValue.getBstr(), pContext ), HRESULT=80041002 (..\WmiNamespace.cpp,855)    AppEnforce    15.03.2018 10:44:09    7908 (0x1EE4)
    m_spNamespace.DeleteInstance(m_spEnforceStatus), HRESULT=80041002 (appenforcestatus.cpp,209)    AppEnforce    15.03.2018 10:44:09    7908 (0x1EE4)
    Status is switching to Success    AppEnforce    15.03.2018 10:44:09    7908 (0x1EE4)
    Trying to get user token for user SID S-1-5-21-369364328-3828066161-3780897590-39914    AppEnforce    15.03.2018 10:44:09    7908 (0x1EE4)
    WTSQueryUserToken[2](SessionID=2) retried 0 times!    AppEnforce    15.03.2018 10:44:09    7908 (0x1EE4)
    +++ Starting Install enforcement for App DT "Microsoft Procotol - Windows app package (*.appx, *.appxbundle)" ApplicationDeliveryType - ScopeId_BD1C6FCE-7549-4D0F-AB8C-AF0D39F7335C/DeploymentType_5a023a50-60f7-48e0-b30d-8fb942545751, Revision - 1, ContentPath - C:\Windows\ccmcache\12, Execution Context - User    AppEnforce    15.03.2018 10:44:09    7908 (0x1EE4)
    Cached CCM (user, session) is: (S-1-5-21-369364328-3828066161-3780897590-39914,2).    AppEnforce    15.03.2018 10:44:09    7908 (0x1EE4)
    ::GetSMSConsoleSessionId - SMS Console Session ID is: 2    AppEnforce    15.03.2018 10:44:09    7908 (0x1EE4)
    WTSQueryUserToken[2](SessionID=2) retried 0 times!    AppEnforce    15.03.2018 10:44:09    7908 (0x1EE4)
        A user is logged on to the system.    AppEnforce    15.03.2018 10:44:09    7908 (0x1EE4)
        App is targeted to User, Execution context: User, RequiresLogOn: Either. Continuing enforcement.    AppEnforce    15.03.2018 10:44:09    7908 (0x1EE4)
    Skipping pre enforcement app detection for this installation technology.    AppEnforce    15.03.2018 10:44:09    7908 (0x1EE4)
    getPointer()->Get( BString(pszName), 0, pvValue, &ctPropType, 0 ), HRESULT=80041002 (..\WmiObject.cpp,110)    AppEnforce    15.03.2018 10:44:09    7908 (0x1EE4)
    Get(pszName, vValue, VT_BOOL), HRESULT=80041002 (..\WmiObject.cpp,514)    AppEnforce    15.03.2018 10:44:09    7908 (0x1EE4)
    Working with Package: Microsoft.SurfaceWirelessDisplayAdapter_3.0.124.0_neutral_~_8wekyb3d8bbwe IsBundle: false IsDeeplink: false    AppEnforce    15.03.2018 10:44:09    7908 (0x1EE4)
    +++ Enforce called for ScopeId_BD1C6FCE-7549-4D0F-AB8C-AF0D39F7335C/DeploymentType_5a023a50-60f7-48e0-b30d-8fb942545751, 1l using Package: Microsoft.SurfaceWirelessDisplayAdapter_3.0.124.0_neutral_~_8wekyb3d8bbwe    AppEnforce    15.03.2018 10:44:09    7908 (0x1EE4)
    Unlocking the device now...    AppEnforce    15.03.2018 10:45:38    7908 (0x1EE4)
    Detected MDM StoreLicense WMI provider is present.    AppEnforce    15.03.2018 10:50:01    7908 (0x1EE4)
    framework file name: C:\\Windows\\ccmcache\\12\\Microsoft.NET.Native.Runtime.1.1_x64.appx    AppEnforce    15.03.2018 11:41:19    7908 (0x1EE4)
    framework file name: C:\\Windows\\ccmcache\\12\\Microsoft.VCLibs.140.00_x64.appx    AppEnforce    15.03.2018 11:41:21    7908 (0x1EE4)
    Install package uri: C:\\Windows\\ccmcache\\12\\Microsoft.SurfaceWirelessDisplayAdapter.appxBundle    AppEnforce    15.03.2018 11:41:22    7908 (0x1EE4)
    EnforceApp (Microsoft.SurfaceWirelessDisplayAdapter) ScopeId_BD1C6FCE-7549-4D0F-AB8C-AF0D39F7335C/DeploymentType_5a023a50-60f7-48e0-b30d-8fb942545751,1 completed. Returning 0x0    AppEnforce    15.03.2018 11:41:27    7908 (0x1EE4)
    +++ Enforce completed for ScopeId_BD1C6FCE-7549-4D0F-AB8C-AF0D39F7335C/DeploymentType_5a023a50-60f7-48e0-b30d-8fb942545751, 1 using Package: Microsoft.SurfaceWirelessDisplayAdapter_3.0.124.0_neutral_~_8wekyb3d8bbwe. Returning: 0    AppEnforce    15.03.2018 11:41:27    7908 (0x1EE4)
    +++ AppX Install Info added. [AppDT Id: ScopeId_BD1C6FCE-7549-4D0F-AB8C-AF0D39F7335C/DeploymentType_5a023a50-60f7-48e0-b30d-8fb942545751]    AppEnforce    15.03.2018 11:41:27    7908 (0x1EE4)
    Status is switching to Success    AppEnforce    15.03.2018 11:41:27    7908 (0x1EE4)
    Reading status 'Success' from current status object.    AppEnforce    15.03.2018 11:41:27    7908 (0x1EE4)
    Skipping post enforcement app detection for this installation technology.    AppEnforce    15.03.2018 11:41:27    7908 (0x1EE4)
    ++++++ App enforcement completed (3437 seconds) for App DT "Microsoft Procotol - Windows app package (*.appx, *.appxbundle)" [ScopeId_BD1C6FCE-7549-4D0F-AB8C-AF0D39F7335C/DeploymentType_5a023a50-60f7-48e0-b30d-8fb942545751], Revision: 1, User SID: S-1-5-21-369364328-3828066161-3780897590-39914] ++++++    AppEnforce    15.03.2018 11:41:27    7908 (0x1EE4)

    You can see that at 10:45:38 it says Unlocking the device now...

    At 10:50:01 it says Detected MDM StoreLicense WMI provider is present.

    Next entry is at 11:41:19. At 11:41:27 installation is finished.

    Anybody has an idea what happens within 50 minutes where nothing happens?

    We have Windows 10 1709, SCCM 1710, no special GPOs, no Antivirus on this test machine. Every App takes 50 minutes to install.

    Thanks for your hints

    Christian

    Thursday, March 15, 2018 11:18 AM

All replies

  • Im dt. System Center Forum darfst gerne auf deutsch schreiben ^^

    Schau doch mal ins Eventlog (unter Appx*). Ist die App dann auch installiert und startbar?


    Torsten Meringer | http://www.mssccmfaq.de


    Thursday, March 15, 2018 12:10 PM
    Answerer
  • Hallo Torsten,

    mach ich gerne.

    Ja die App ist installiert und funktioniert.

    Gruß

    Christian

    Thursday, March 15, 2018 1:38 PM
  • Und was steht im genannten Eventlog? Ist da was brauchbares dabei, was die lange Dauer erklären könnte?

    Torsten Meringer | http://www.mssccmfaq.de

    Thursday, March 15, 2018 3:33 PM
    Answerer
  • Hallo, ich habe das selbe Problem.Haben Sie eine Lösung gefunden?

    +++ Starting Install enforcement for App DT "Remote Desktop Protocol - Package d'application Windows (*.appx, *.appxbundle)" ApplicationDeliveryType - ScopeId_3CC1952C-1D17-487A-8E1A-8CD1E476DA9C/DeploymentType_0234d6d5-0707-4a54-ba49-923d71f10a6c, Revision - 1, ContentPath - C:\WINDOWS\ccmcache\1d, Execution Context - User	AppEnforce	30-03-18 09:23:14	5828 (0x16C4)
        A user is logged on to the system.	AppEnforce	30-03-18 09:23:14	5828 (0x16C4)
    Unlocking the device now...	AppEnforce	30-03-18 09:24:42	5828 (0x16C4)
    


    Friday, March 30, 2018 7:30 AM