Forum Discussion
Kiril
Mar 09, 2022Steel Contributor
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.
I think it automatically updates it (npp.8.1.9.2.Installer.x64.exe /S)
- KirilSteel 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.
- 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- 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
- KirilSteel 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...
- KirilSteel 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.