bzr.exe will only use the system msvcrt90.dll from system32, never the bundled one

Bug #632465 reported by Alexander Belchenko
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Bazaar
Fix Released
High
Martin Packman
Bazaar Windows Installers
Fix Released
Critical
Martin Packman

Bug Description

If user has no msvcr90.dll installed on his system (which is true for vanilla Windows XP systems) bzr.exe won't work, furthermore our bzr_postinstall.exe application can't work either. Which is really bad.

WORKAROUND: user should install Microsoft Visual C++ 2008 Redistributable Package BEFORE installing bzr 2.2.x (or later).
User can download this package from
http://www.microsoft.com/downloads/details.aspx?FamilyID=9b2da534-3e03-4391-8a4d-074b9f2bc1bf

Related branches

Revision history for this message
Martin Packman (gz) wrote :

Can confirm that it uses the SxS dll not the one that comes with the installer. Don't know if this means it wouldn't run at all on a machine without that.

Changed in bzr-windows-installers:
status: New → Confirmed
Revision history for this message
Alexander Belchenko (bialix) wrote :

As Eli Zaretsky pointed in the ML even our post_install script fails without this dll.

Changed in bzr-windows-installers:
importance: Undecided → High
summary: - [manifest?] bzr.exe using system msvcrt90.dll from sxs, not the bundled
- one
+ bzr.exe using system msvcrt90.dll from sxs, not the bundled one
summary: - bzr.exe using system msvcrt90.dll from sxs, not the bundled one
+ bzr.exe tried to use the system msvcrt90.dll from system32, not the
+ bundled one
description: updated
Changed in bzr-windows-installers:
importance: High → Critical
description: updated
Revision history for this message
Martin Packman (gz) wrote : Re: bzr.exe tried to use the system msvcrt90.dll from system32, not the bundled one

I've got a fix here. Copying the manifest is all that's actually needed, but we may as well put it and the C runtime in a subdir as suggested in the py2exe tutorial:
<http://www.py2exe.org/index.cgi/Tutorial#Step521>

Changed in bzr-windows-installers:
assignee: nobody → Martin [gz] (gz)
status: Confirmed → In Progress
Revision history for this message
Martin Packman (gz) wrote :

See attachment for which libraries are affected. My first pass fix resolved the issue for everything that links against MSVCRT90.dll and doesn't reference it in a manifest. Those with manifests that do, and QtCore4.dll which also links MSVCP90.dll still fail to load.

Martin Packman (gz)
summary: - bzr.exe tried to use the system msvcrt90.dll from system32, not the
+ bzr.exe will only use the system msvcrt90.dll from system32, never the
bundled one
Revision history for this message
Gary van der Merwe (garyvdm) wrote :

bzr-2.2.1-2-setup.exe has been uploaded, which fixes this.

Changed in bzr-windows-installers:
status: In Progress → Fix Released
Revision history for this message
Alexander Belchenko (bialix) wrote : Re: [Bug 632465] Re: bzr.exe will only use the system msvcrt90.dll from system32, never the bundled one

Gary van der Merwe пишет:
> bzr-2.2.1-2-setup.exe has been uploaded, which fixes this.

Gary, I hope you bundled Explorer 1.1.1 into that installer?

Vincent Ladeuil (vila)
Changed in bzr:
status: New → Fix Released
milestone: none → 2.3b3
assignee: nobody → Martin [gz] (gz)
Vincent Ladeuil (vila)
Changed in bzr:
importance: Undecided → High
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.