none
Deployment Application : Detection Method RRS feed

  • Question

  • Hello,

    I have a detection method set like:

    The folder C:\Program Files\Java exist

    The application is installed

    but the AppEnforce.log is still not finding the application installed:

    +++ Starting Install enforcement for App DT "ISS - Oracle Java JRE 8u241 x64" ApplicationDeliveryType - ScopeId_67BB9074-421B-4166-A053-A8090F9523EF/DeploymentType_9bc3be95-58e4-46bb-83c7-d507ede4cd11, Revision - 5, ContentPath - C:\Windows\ccmcache\6, Execution Context - System	AppEnforce	1/21/2020 10:07:15 PM	6284 (0x188C)
        Performing detection of app deployment type ISS - Oracle Java JRE 8u241 x64(ScopeId_67BB9074-421B-4166-A053-A8090F9523EF/DeploymentType_9bc3be95-58e4-46bb-83c7-d507ede4cd11, revision 5) for system.	AppEnforce	1/21/2020 10:07:15 PM	6284 (0x188C)
    +++ Application not discovered. [AppDT Id: ScopeId_67BB9074-421B-4166-A053-A8090F9523EF/DeploymentType_9bc3be95-58e4-46bb-83c7-d507ede4cd11, Revision: 5]	AppEnforce	1/21/2020 10:07:16 PM	6284 (0x188C)
        App enforcement environment: 
    	Context: Machine
    	Command line: "jre-8u241-windows-x64.exe" /s
    	Allow user interaction: No
    	UI mode: 1
    	User token: null
    	Session Id: 2
    	Content path: C:\Windows\ccmcache\6
    	Working directory: 	AppEnforce	1/21/2020 10:07:16 PM	6284 (0x188C)
        Prepared working directory: C:\Windows\ccmcache\6	AppEnforce	1/21/2020 10:07:16 PM	6284 (0x188C)
        Prepared command line: "C:\Windows\ccmcache\6\jre-8u241-windows-x64.exe" /s	AppEnforce	1/21/2020 10:07:16 PM	6284 (0x188C)
        Executing Command line: "C:\Windows\ccmcache\6\jre-8u241-windows-x64.exe" /s with user context	AppEnforce	1/21/2020 10:07:16 PM	6284 (0x188C)
        Working directory C:\Windows\ccmcache\6	AppEnforce	1/21/2020 10:07:16 PM	6284 (0x188C)
        Post install behavior is BasedOnExitCode	AppEnforce	1/21/2020 10:07:16 PM	6284 (0x188C)
        Waiting for process 1100 to finish.  Timeout = 120 minutes.	AppEnforce	1/21/2020 10:07:16 PM	6284 (0x188C)
        Process 1100 terminated with exitcode: 0	AppEnforce	1/21/2020 10:08:16 PM	6284 (0x188C)
        Looking for exit code 0 in exit codes table...	AppEnforce	1/21/2020 10:08:16 PM	6284 (0x188C)
        Matched exit code 0 to a Success entry in exit codes table.	AppEnforce	1/21/2020 10:08:16 PM	6284 (0x188C)
        Performing detection of app deployment type ISS - Oracle Java JRE 8u241 x64(ScopeId_67BB9074-421B-4166-A053-A8090F9523EF/DeploymentType_9bc3be95-58e4-46bb-83c7-d507ede4cd11, revision 5) for system.	AppEnforce	1/21/2020 10:08:16 PM	6284 (0x188C)
    +++ Application not discovered. [AppDT Id: ScopeId_67BB9074-421B-4166-A053-A8090F9523EF/DeploymentType_9bc3be95-58e4-46bb-83c7-d507ede4cd11, Revision: 5]	AppEnforce	1/21/2020 10:08:16 PM	6284 (0x188C)
    ++++++ App enforcement completed (60 seconds) for App DT "ISS - Oracle Java JRE 8u241 x64" [ScopeId_67BB9074-421B-4166-A053-A8090F9523EF/DeploymentType_9bc3be95-58e4-46bb-83c7-d507ede4cd11], Revision: 5, User SID: ] ++++++	AppEnforce	1/21/2020 10:08:16 PM	6284 (0x188C)
    

    Any idea why this application is not found?

    Thanks,

    Dom


    Security / System Center Configuration Manager Current Branch / SQL

    Wednesday, January 22, 2020 6:21 AM

Answers

  • Hi,

    You specified the Jave is a folder, not a file, you need to change the Type to Folder, or specify a file under C:\Program Files\Java


    Regards,
    Allen

    Please remember to mark the replies as answers if they help.

    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    • Proposed as answer by Jason SandysMVP Wednesday, January 22, 2020 1:14 PM
    • Marked as answer by Felyjos Wednesday, January 22, 2020 3:25 PM
    Wednesday, January 22, 2020 6:45 AM
  • Hello,

    it works...

    Thanks,

    Dom


    Security / System Center Configuration Manager Current Branch / SQL

    • Marked as answer by Felyjos Wednesday, January 22, 2020 3:25 PM
    Wednesday, January 22, 2020 3:25 PM

All replies

  • Hi,

    You specified the Jave is a folder, not a file, you need to change the Type to Folder, or specify a file under C:\Program Files\Java


    Regards,
    Allen

    Please remember to mark the replies as answers if they help.

    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    • Proposed as answer by Jason SandysMVP Wednesday, January 22, 2020 1:14 PM
    • Marked as answer by Felyjos Wednesday, January 22, 2020 3:25 PM
    Wednesday, January 22, 2020 6:45 AM
  • Hello,

    it works...

    Thanks,

    Dom


    Security / System Center Configuration Manager Current Branch / SQL

    • Marked as answer by Felyjos Wednesday, January 22, 2020 3:25 PM
    Wednesday, January 22, 2020 3:25 PM
  • Hi,

    You are welcome!

    Regards,
    Allen


    Thursday, January 23, 2020 1:33 AM