Detection rule required for Application uninstallation

Question

HI,

I haveĀ  a requirement to uninstall 7 applications through a single VB script. The script is ready and I need the best possible detection rule to push it via Intune.

At the end of uninstall the script will delete all the copied folders/files.

Thanks,

Dileepan A

Answers ( 5 )

    0
    2020-05-19T06:02:20+05:30

    You can unde the same method for uninstallation as well… no problem with this IMHO

    Best answer
    1
    2020-05-18T01:10:56+05:30

    As Anoop mentioned, File and Folder would work well. I’m not sure what the 7 applications are since you didn’t mention, but some may need Registry as detection and some may require the MSI guid. If you end up using File and Folder, then make sure you can target a specific file in a folder path and then use the file version or something that makes sense as a value.

      0
      2020-05-19T00:27:12+05:30

      HI Harjit,

      Thanks for the details,

      Yes, if it is for a single application installation I can choose registry, file / folder as detection method. But in my case I am uninstalling 7 applications (Few might be installed and few may not). So my VB script was made such to trigger the Uninstall.

      Those 7 applications include (Oracle_12G client, SQl developer, JDA Apps etc.,), so each application has separate dependency and as I am calling everything in a single VB script, I am confused to use what could be the detection logic

    0
    2020-05-17T23:19:01+05:30

    Use File or Folder as detection rule as I explained in the following blog

    Try this method for your vb script

    https://www.anoopcnair.com/deploy-windows-app-win32-using-intune-language/

      0
      2020-05-19T00:00:47+05:30

      Hi Anoop,

      Thanks for sharing.

      But in my scenario, I am uninstalling 7 applications (through a single VB script). Once pushed through Intune it should copy the .vbs file under intunecache and at the end of uninstall it will delete the .vbs from the copied folder.

      So my concern is as it is not specific to one single application Uninstallation, I am not able to choose the correct detection logic. can we achieve this through PS script. Any help would be much appreciated!

Leave an answer

Sorry, you do not have permission to answer to this question .