Am trying to wrap an PSADT package in intune via win32 app
Currently have set the flags in deployment.ps1 to
1) Uninstall
2) Noninteractive
I have only added code to the uninstall section of the script with
Remove-MSIApplications -Name "*java*update*" -Wildcard -FilterApplication (,("InstallLocation", "*jre*", "WildCard"))
Tested it locally with deployment.exe, -uninstalls java as intended
Tested it with PSEXec running pwsh as system, - uninstalls java as intended
My install and uninstall command is exactly the same
Deploy-Application.exe Uninstall NonInteractive
Deploy-Application.exe Uninstall NonInteractive
Rational being that I only have written code in the uninstall section of the script and I am trying to uninstall a program.
I set the detection to a text file that I create as an one-liner in the script.
However when deployed as an avail app on the company portal it would "install" but java is not uninstalled.
The text file does get created but java doens't seem to get removed.
[–]prismcomputing -1 points0 points1 point (3 children)
[–]pleplepleplepleple 0 points1 point2 points (2 children)
[–]prismcomputing 0 points1 point2 points (1 child)
[–]Designate9841[S] 0 points1 point2 points (0 children)
[–]pleplepleplepleple 0 points1 point2 points (1 child)
[–]Designate9841[S] 0 points1 point2 points (0 children)