Forum Discussion

Kiril's avatar
Kiril
Iron Contributor
Mar 09, 2022
Solved

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.

22 Replies

  • Thumper300zx's avatar
    Thumper300zx
    Copper 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_Kinani's avatar
    Moe_Kinani
    Bronze 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

    • Kiril's avatar
      Kiril
      Iron 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.
    • 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
        Iron 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
      Iron 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.

Resources