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!

nicolas
Posts: 10
Joined: Wed Sep 27, 2006 2:41 am

Files in Use is incorrect

I am installing msvcr71.dll and msvcp71.dll to the local application folder, NOT the system32 folder to avoid that other applications lock these dlls.

When I try to uninstall, AI pops up the "Files in Use" dialog, incorrectly showing processes that are using msvcr71.dll and msvcp71.dll from the system32 folder.

The log file shows the following:

Code: Select all

Info 1603. The file C:\Program Files\MyApp\msvcr71.dll is being held in use by the following process: Name: AdvancedInstaller, Id: 4152, Window Title: '(not determined yet)'.  Close that application and retry.
When I use Process Explorer, I can see that the process (AdvancedInstaller) is using its own copy of the dlls, not mine.
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

I cannot reproduce this. So please try to reproduce this behavior on other computers, and let me know if the problem persist.

However you can add those DLL in the system32 folder and use the "Shared DLL Reference Count" flag in the "Organization" page. With this option set windows knows that these Dll are shared Dll so with each install/uninstall it increase/decrease the DLL reference count.

Hope this helps.

Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com

Return to “Common Problems”