Forum Discussion
Uninstall application
Hi all,
New to Intune. Running into an issue.
I have a new installation (.exe). Installation by Intune works fine when no other installations of that product are installed. But if there are older versions of the same product installed it looks like it doesnt do anything.
Intune just says the installation succeeded. But i guess that is based on a detection rule where i look for a specific file in the installation folder. If that file exists then the installation should be successfull right? The folder structure and files are the same for the old and new version of the software.
So when configuring the installation in Intune you configure a Install command and Uninstall command. Is there a way to force that Uninstall command BEFORE the install command is triggered?
Maybe good to mention, the old versions could be installed before Intune was introduced within the company.
3 Replies
- Maybe looking into Win32 app supersedence :
https://docs.microsoft.com/en-us/mem/intune/apps/apps-win32-supersedence - In your case I would probably wrap the installation in a custom installation script which takes any prerequisites into account, like uninstalling previous unmanaged versions etc.
- Rashmi_ChawlaCopper ContributorIs it possible to uninstall multiple older versions of the application in one Script ?