Detection rule keeps failing

Draconna 486 Reputation points
2022-11-09T20:35:51.993+00:00

Hello I have an application (Avaya One X) which installs ok, but the detection keeps failing so in software center it will say "failed". If I point it to the installation path, that does not work and there does not appear to be a registry entry for Avaya. The install only works as a application, I already tried a package. I have also tried to lookup documentation online but haven't found anything as of yet to help me with it. Thank you.

258902-image.png

Microsoft Security | Intune | Configuration Manager | Other
0 comments No comments
{count} votes

Answer accepted by question author
  1. Nathan Giannini 161 Reputation points
    2022-11-09T21:44:56.373+00:00

    @Draconna Have you tried using a custom script as the detection method? I find PowerShell pretty reliable and something simple like this should do the trick

    $path =  "${env:ProgramFiles(x86)}\Avaya\Avaya one-X Communicator\onexcui"  
    If (Test-Path $path) {  
        Write-Host  "INSTALLED"  
    }   
    
    1 person found this answer helpful.

2 additional answers

Sort by: Most helpful
  1. Rahul Jindal 11,511 Reputation points
    2022-11-09T22:40:34.033+00:00

    If it is onexcui is a folder then adding a \ after Avaya x communicator folder should fix things. If onexcui is a file then add the extension after it.

    2 people found this answer helpful.
    0 comments No comments

  2. Pavel yannara Mirochnitchenko 13,426 Reputation points MVP
    2022-11-09T21:57:10.923+00:00

    Use %ProgramFiles% instead and tick that option to 32bit assiosiation.

    1 person found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.