Repost: problem uninstalling local msvcr71.dll

S

Sebastian Bargmann

Hi,

I'm installing a Windows service that use msvcr71.dll.

Microsoft
recommends that I install the file to my Program Files dir, which I have
done (I have pulled the file from the merge module and verified that the
module doesn't do anything special with the file). The file resides in its
own component.

I have no problem installing and my service runs just fine.

But when I uninstall while running MSDN Lib or Visual Studio 2003, MSI
complains that both of these processes have msvcr71.dll loaded (which they
have, but they're using the one in the System32 dir). I've verified that my
service uses the the one in my Program Files directory.

What's happening and how do I fix this??

Thanks :)
Sebastian Bargmann
 
S

Sebastian Bargmann

Hi Stefan,

No, the component GUID is new. I pulled it from the original merge module to
keep my own setup as simple as possible.

Thanks :)
 
S

Sebastian Bargmann

Hi again,

I just tried using the merge module instead - same problem :(

The thing that really bothers me is that it doesn't happen on all systems. I
have a more or less identical system setup on another computer, which
doesn't have this problem. I don't get it...
 
S

Sebastian Bargmann

Relevant log entries:

Info 1603. The file C:\Program Files\MyApp\msvcr71.dll is being held in use
by the following process: Name: spoolsv, Id: 1316, Window Title: '(not
determined yet)'. Close that application and retry.
Info 1603. The file C:\Program Files\MyApp\msvcr71.dll is being held in use
by the following process: Name: mdm, Id: 1144, Window Title: '(not
determined yet)'. Close that application and retry.
Info 1603. The file C:\Program Files\MyApp\msvcr71.dll is being held in use
by the following process: Name: sqlmangr, Id: 2076, Window Title: '(not
determined yet)'. Close that application and retry.
Info 1603. The file C:\Program Files\MyApp\msvcr71.dll is being held in use
by the following process: Name: devenv, Id: 3636, Window Title: '(not
determined yet)'. Close that application and retry.
Info 1603. The file C:\Program Files\MyApp\msvcr71.dll is being held in use
by the following process: Name: dexplore, Id: 1324, Window Title: '(not
determined yet)'. Close that application and retry.

I have verified with SysIntenals Process Explorer, that none of the above
processes have loaded the DLL in my directory.
 
S

Stefan Krueger [MVP]

So it looks like Windows Installer only sees that "msvcr71.dll" is in use,
but doesn't notice that it's a different copy. I'm not exactly sure if
that's expected behaviour. But I wonder why this doesn't happen on other
machines. What's the difference between those machines? Maybe the MSI
version (version of msi.dll), or the version of VS or MSDN?

--
Stefan Krueger
Microsoft Windows Installer MVP

Please post your questions in the newsgroup or vist one of these web sites:

Windows Installer FAQ
http://www.msifaq.com - http://www.msifaq.de

InstallSite - Resources for Setup Developers
http://www.installsite.org
http://www.installsite.de (GERMAN)
 
S

Sebastian Bargmann

Yes, I'm pretty puzzled too. I'll look into the versioning and get back...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Missing MSVCR71.dll file 2
MSVCR71.dll error 5
Missing MSVCR71.dll 10
faulting module msvcr71.dll 1
MSVCR71.DLL was not found 3
faulting module msvcr71.dll error 4
MSVCR71.dll was not found 4
Missing msvcr71.dll 1

Top