Henrique Mesquita
Posts: 7
Joined: Thu Apr 27, 2023 12:22 pm

Failed to uninstall more than one exe

Hello,

My application installs another three applications (later there may be more) as prerequisites. At the time of uninstalling the "parent" application we want to remove all prerequisites together.

We follow the user guide instructions: https://www.advancedinstaller.com/user- ... l-msi.html. Where we got the following scenario: removing the "parent" application it only removes one or two of the three applications we have, never all three. If we leave in the project, the custom action to remove only the prerequisite that was not previously removed, it removes it, proving that it is not a fault of the custom action. The three custom actions are exactly the same, changing only the respective GUID of each "child" application. The command used is "/x {GUID} /qn .

We tried to perform this procedure using "Uninstall using this command line:" on the "Prerequisites" page, link: https://www.advancedinstaller.com/user- ... files.html, in order to work around the incident cited earlier. However, we did not find a valid command.

Could you support us by informing us how the command should be or understanding why it is not working the other way?
Liviu
Posts: 1042
Joined: Tue Jul 13, 2021 11:29 am
Contact: Website

Re: Failed to uninstall more than one exe

Hello and welcome to our forums,

I'm not sure why this happens.

Can you please send us the .AIP (setup project) file, your prerequisite packages (if not added using URL) and an uninstallation log by email to support at advancedinstaller dot com so we can further test and investigate this?

Best regards,
Liviu
________________________________________
Liviu Sandu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Henrique Mesquita
Posts: 7
Joined: Thu Apr 27, 2023 12:22 pm

Re: Failed to uninstall more than one exe

Hello!

Before sending you our project, could you let us know the correct command we need to pass in the path "Uninstall using this command line:" in the "Prerequisites" according to the attached image? Perhaps this procedure works around the error we are having when uninstalling via custom actions, all our prerequisite packages were also generated by the advcanced installer and they are all .exe packages.
Attachments
AdvInstaller.PNG
AdvInstaller.PNG (6.1 KiB) Viewed 6071 times
Liviu
Posts: 1042
Joined: Tue Jul 13, 2021 11:29 am
Contact: Website

Re: Failed to uninstall more than one exe

Hello,

Everything should work as expected with the default command line:
maintenance cmd.png
maintenance cmd.png (6.8 KiB) Viewed 6065 times

Best regards,
Liviu
________________________________________
Liviu Sandu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Henrique Mesquita
Posts: 7
Joined: Thu Apr 27, 2023 12:22 pm

Re: Failed to uninstall more than one exe

Hi,

Using the informed command line it worked as expected, thank you!
Liviu
Posts: 1042
Joined: Tue Jul 13, 2021 11:29 am
Contact: Website

Re: Failed to uninstall more than one exe

You're always welcome!

It's great to hear that everything is now working as expected.

Best regards,
Liviu
________________________________________
Liviu Sandu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”