Forum Discussion

Kiril's avatar
Kiril
Steel Contributor
Mar 09, 2022

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?

  • Kiril's avatar
    Kiril
    Mar 14, 2022
    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.
    • Kiril's avatar
      Kiril
      Steel Contributor
      Thanks. 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.
    • Harm_Veenstra's avatar
      Harm_Veenstra
      MVP
      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
      • Kiril's avatar
        Kiril
        Steel Contributor
        Yes, 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...
    • Kiril's avatar
      Kiril
      Steel Contributor
      This 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.

Resources