sbmrodrigo
Posts: 13
Joined: Fri Sep 13, 2024 4:25 pm

How MISX uninstall old software setup.exe

Hello,

i create a project MSIX that need unistall a old software before install my misx file.
my old instalation is a setup.exe file maked in clickonce.

Is there a way to uninstall this in the advanced installer?
Catalin
Posts: 7513
Joined: Wed Jun 13, 2018 7:49 am

Re: How MISX uninstall old software setup.exe

Hello Rodrigo,

I'm afraid what you are trying to achieve might not be possible, due to some limitations of MSIX.

For instance, through the Package Support Framework, you can add PowerShell scripts before and after the execution of your MSIX package app. However, in order to uninstall an app, you need admin privileges (unless the app was installed per-user).

That being said, the script can not remove the app due to the fact that MSIX is not installed through an elevated process.
Screenshot_192.png
Screenshot_192.png (182.98 KiB) Viewed 6493 times
Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”