Forum Discussion
Kiril
Mar 09, 2022Iron 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 t...
- Mar 14, 2022Two 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.
Mar 10, 2022
You could create a win32app with the old version and a correct uninstall command, use that in the supersedence part of your new package with the option to uninstall the old version.
Kiril
Mar 10, 2022Iron Contributor
That's basically the initial problem I had: I don't have the original MSI file as the previous version is very old, so I cannot create an win32app. Or is it irrelevant what MSI file I use?
- KirilMar 14, 2022Iron ContributorTwo 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. - Mar 12, 2022Did it work out for you now?
- Mar 10, 2022test it on a workstation and deploy it like that, if that works you can configure Supercedence with your newer version specifying to use the uninstall of the old version
- KirilMar 10, 2022Iron ContributorOk, understood. Then, I could also create a PowerShell script containing "msiexec /x "{XXXX-XXXXX-XXXXX-XXXX}" /q" and push it to the device for an uninstall. Will try it out.
- Mar 10, 2022You can create a Win32 app with a empty install.cmd and a uninstall.cmd containing a "msiexec /x "{XXXX-XXXXX-XXXXX-XXXX}" /q" line with a detection on the current file in c:\program files.