Oct 08 2023 05:23 AM
Hoping someone can help me with this issue?
I am having an issue uninstalling a Win32 app deployed from Intune. The installation works fine but whenever I try and un-install from Company portal I get an error saying uninstall failed.
I believe the .msi uninstall command in Intune is correct and it works fine if I run in command prompt as admin. The detection rules are right as its updating the installation install status in Intune.
Looking through the Intune logs, I keep getting this when I try to run uninstall
"GetRegistryValue encountered an exception: System.NullReferenceException: Object reference not set to an instance of an object.at Microsoft.Management.Services.IntuneWindowsAgent.AgentCommon.RegistryHelper.GetRegistryValue(String key, String valueName, String defaultValue, Boolean check32BitOn64)"
The application was a msi and packed up as a intunewin file.
Any help would be great
Oct 08 2023 10:29 AM
Oct 09 2023 03:01 AM
Oct 09 2023 03:18 AM
Oct 09 2023 09:22 AM
So I try removing the extra " in the uninstall command but still failing.
The latest logs show this.
Exception happens when processing existing DO job aed99da0-ab1a-46a1-984c-876c7ef4a362 for app 8ad7229b-29c2-4d5a-a282-e55204d2f32f, ex = System.Runtime.InteropServices.COMException (0x80D02003): Exception from HRESULT: 0x80D02003
at Microsoft.Management.Clients.IntuneManagementExtension.Win32AppPlugIn.ContentManagement.DeliveryOptimization.IBackgroundCopyManager.GetJob(Guid& jobID, IBackgroundCopyJob& ppJob)
at Microsoft.Management.Clients.IntuneManagementExtension.Win32AppPlugIn.ContentManagement.DeliveryOptimization.DOUtilities.GetJobFromId(Guid jobId)
at Microsoft.Management.Clients.IntuneManagementExtension.Win32AppPlugIn.DOUtilitiesWrapper.GetJobFromId(Guid jobId)
at Microsoft.Management.Clients.IntuneManagementExtension.Win32AppPlugIn.ContentDownloaderDeliveryOptimization.DownloadContent(Win32AppResult win32AppResult, SideCarApplicationClientPolicy appPolicy, SideCarContentInfo sidecarContentInfo, SideCarContentMetadata contentMetadata, String encryptedFilePath, String downloadFilePath, Boolean& fallback, Boolean& downloadRunningInBackground, EspPhase espPhase, Boolean isAvailableCheckIn)
Oct 09 2023 10:15 AM - edited Oct 09 2023 10:19 AM
Just another question... Why did you package the .MSI file? Is it just the .MSI file, or are more files in the installation folder? You could alternatively add the .MSI file to Intune as a Line-of-business app. The install/uninstall/detection is based on MSI technology and is done automatically.
-Edit-
Never mind, you want to have users to be able to uninstall it themselves.
Oct 09 2023 10:21 AM
Oct 09 2023 11:57 AM
Yeah it’s just a .msi file with no other files.
i was under impression it was best practise to deploy as a Win32 app rather than using a line or business app. I am fairly new to the packaging game in intune.
Are there any negatives to using a line of business app. I really need to the ability to remove this app both from company portal and from the remove app section in Intune admin
Oct 09 2023 11:59 AM
Oct 16 2023 12:50 AM
Oct 16 2023 12:56 AM
Oct 16 2023 01:12 AM
Oct 23 2023 02:45 AM
SolutionOct 23 2023 02:52 AM
@JoshB531 Ah! Didn't expect that. Good find, and I'm happy that it's resolved!
Please click Mark as Best Response & Like if my post helped you to solve your issue.
This will help others to find the correct solution easily. It also closes the item.
If the post was helpful in other ways, please consider giving it a Like.