Uninstall asking to close unrelated programs - Advanced Installer Community

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!

MatthieuS
Posts: 3
Joined: Thu Jun 18, 2009 10:00 am

Uninstall asking to close unrelated programs

Hi,

I have actually to related questions for this post:

1. When uninstalling our application through the default uninstall link, we get sometimes unrelated applications to close. Is there a good reason for these to appear? Is there a way to avoid that?
(Actually this happened in the context of the question 2)

2. Our application has an independent wizard for configuration. This wizard is not a full featured application and doesn't appear in the Windows Task Manager as an application, it just appears as a Java process.
When trying to uninstall our whole application, the uninstaller doesn't stop us from uninstalling, even if this particular process is using the exe being uninstalled. Is there a way we can tell the uninstaller "do not uninstall this application until this java process is closed?"

Thanks in advance for your answer,

Kind regards,
Matthieu.
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Uninstall asking to close unrelated programs

Hi Matthieu,

Regarding question two, you can detect if a process is running. To do this, simply follow our guide on How do I detect or stop a process. You can then use an Error Message custom action to display the message and stop the installation. Place these under InstallUISequence.
When uninstalling our application through the default uninstall link, we get sometimes unrelated applications to close. Is there a good reason for these to appear? Is there a way to avoid that?
If Windows Installer warns about unrelated opened processes, this happens because of a limitation in the way Windows Installer determines applications in use. There's not much we can do about it.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”