Unable to close rundll32 - 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!

alco
Posts: 80
Joined: Thu Nov 18, 2010 5:02 pm

Unable to close rundll32

One dll in our installation can end up in the rundll32 process launched by Chrome. During un/install, install detects and prompts (prompt 1) that rundll32 need to be closed and that the install will attempt to close it. Upon clicking OK however, the installer says it can't close rundll32 (perhaps due to some permission issue) and tells user (prompt 2) that process should be terminated before continuing. When user clicks OK and proceeds with the install, the dll get unloaded from rundll32 process and gets replaced anyway.

This is fine, but would be confusing to most users since they would think that the installation did not complete properly. So my question is, is there a way that we can detect if the process that's unable to close is rundll32 and if so, upon failure to close (which is usually the case when our dll is involved) we customize the prompt 2 above to append hint that Chrome/rundll32 has our dll in use and it may be okay to proceed or if the user wants, he can manually terminate rundll2 or close Chrome before proceeding?
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Unable to close rundll32

Hello,

This is the Windows Installer behavior and the only way to modify it is via your own custom behavior. Unfortunately, we don't have any predefined functionality to detect the failure to close a certain service.

If you need to dynamically customize the prompt dialog according to a public property, you can find it among the special dialogs from the Dialogs page and edit it.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”