side-by-side is incorrect: ERROR

All,
I have packaged an app using py2exe from my XP machine.
See thread: https://groups.google.com/forum/?fromgroups=#!topic/wxpython-users/TH9xfLPtEAU
(I had to package it with a manifest.)
I have tested the exe on 7 machines, and five of the seven machines perform as desired:
2 - Windows XP
1 - Windows 7 x86
4 - Windows 7 x64
Two of the Windows 7 x64 machines gave an error:
“The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe tool for more detail.”

I used the sxstrace tool and have attached the trace log, but it is not very informative to me.

If there is any more information needed to track down why these two machines error, please let me know.

Thanks in advance,

Jason

P.S. I am getting a 303 error every time I add an attachment. I am trying to post without attachments now.

Replying with attachment 1

sxs_error.png

I can’t get the trace file to attach. Maybe the server thinks it is malicious???

Oh well. Any advice would be appreciated.

Attaching the setup.py I used during the py2exe packaging.

setup.py (5.99 KB)

Hi,

···

On Mon, Apr 29, 2013 at 2:17 PM, Jason Terhune jasondashterhune@gmail.com wrote:

Attaching the setup.py I used during the py2exe packaging.

Manifest looks ok, so likely just the case of a missing DLL.

Would suggest to compare the differences between the “C:\Windows\winsxs” directory on the working x64 machine and the other non working x64 machine(s).

The non working machines are probably either missing a DLL you need or have an incompatible version. Most likely culprits:

mfc90.dll

mfc90u.dll

msvcr90.dll

You may need to either include the restrib package for the needed versions with your installer or bundle the missing DLL(s) in with it.

Cody

Jason Terhune wrote:

  <dependency>
    <dependentAssembly>
      <assemblyIdentity
            type="win32"
            name="Microsoft.VC90.CRT"
            version="9.0.30729.6161"
            processorArchitecture="x86"
            publicKeyToken="1fc8b3b9a1e18e3b">
      </assemblyIdentity>
    </dependentAssembly>
  </dependency>

You are specifying the C runtime library from Visual Studio 2008 SP1.
The target systems that are failing do not have the SP1 runtime library
installed.

Go install this and it will work:
http://www.microsoft.com/en-us/download/details.aspx?id=5582

···

--
Tim Roberts, timr@probo.com
Providenza & Boekelheide, Inc.

Go install this and it will work:
http://www.microsoft.com/en-us/download/details.aspx?id=5582

Close… It looks like this was the correct C runtime library for my specific needs:
http://www.microsoft.com/en-us/download/details.aspx?id=26368

It works like a charm! Thanks guys

You might want to check out:

http://wiki.wxpython.org/Deployment
http://wiki.wxpython.org/py2exe

Werner

···

On 29/04/2013 21:17, Jason Terhune wrote:

Attaching the setup.py I used during the py2exe packaging.