Forum Discussion
Update an app which was manually installed by the user
We onboarded a few devices to Intune. Users have all sort of apps installed on their devices. Now, I want to update those apps. E.g. user installed notepad++ version 7 two years ago, and I now want to update notepad++ to version 8.
I managed to create a new win32 app for notepad++ version 8, but how do I tell the app to update the existing installation on the user device?
- Two things worked out in the end:
1. Manually uninstalling the app on the client, then installing the newer version using a win32 app
2. Deploying a PowerShell script from Devices > Scripts to the machine which uninstalled the app remotely, then waiting for the win32 to be installed on the device.
22 Replies
- Thumper300zxCopper Contributor
As a note (example of notepad++) -- and this may just be the way we have it configured -- but on a version that was manually installed (not part of our Intune installs, nor superceded), an updated Intune app installed and updated the manually installed version without issue. No notice was given about supercedence. But it replaced the app, and updated it (reflected in add/remove programs, and the app itself).
- Moe_KinaniBronze Contributor
I would also use app supersedence to update automatically for the future.
https://docs.microsoft.com/en-us/mem/intune/apps/apps-win32-supersedence- KirilIron ContributorThis was also my first guess, but unfortunately the older version of the app is not in Intune, and in most cases I do not even have an old MSI file in order to add the older version.
- That was my first reaction to this question too, I changed it in to it automatically updates when installing a new version. He doesn't have Notepad++ in Intune for the current version, but yes.. The next update could be done using Supersedence
- KirilIron ContributorYes, exactly. The next update can be done like that. I am thinking about pushing a script through Intune to the device which uninstall the old version and then re-install the new version through an WIn32 app, but using that approach will probably result in data loss...
I think it automatically updates it (npp.8.1.9.2.Installer.x64.exe /S)
- KirilIron ContributorThanks. Notepad++ was just an example. I am looking for a general approach to handle this scenario. There are many apps which do not update automatically.