We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

Tatyana Mykhnevych
Posts: 40
Joined: Thu Feb 13, 2020 4:47 pm

Application is not uninstalled if feature-based prerequisite was uninstalled

Hello,

I have application A installer. There is feature-based prerequisite application B (as .msi package also created by Advanced Installer) inside application A prerequisites.
On Organization page feature B is marked as "Do not register with Windows installer".

After application A is installed, we can find in 'Control Panel\Programs\Programs and Features' records for applications A and B.
Then go and manually uninstall application B (using 'Control Panel\Programs\Programs and Features' Uninstall).
After that uninstall application A. And application A is not uninstalled. No error occurs. Why does it happen? Application A must be uninstalled completely.

Note:
Application A has powershell script inside it to uninstall application B with msiexec.exe. And when application A is uninstalled, application B is uninstalled too. Everything goes well.


Looking forward to hearing from you.

Best regards,
Tanya
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Application is not uninstalled if feature-based prerequisite was uninstalled

Hi Tanya,

I cannot say why this happens.

Could you please send us the .AIPs (project files) of your A and B installers by email at support at advancedinstaller dot com so we can investigate their settings?

Also, please try to generate an uninstall log of the product A uninstall operation (when the removal fails) and send it too.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”