*
Microsoft.com Home|Site Map
MSDN*
Search Microsoft.com for:
Sign out of the Microsoft Passport Network   Welcome back Sandiway Fong!
Home Search My Threads Edit Profile Member List Top Answerers Faq  
Visual C++ General
VC++ 2005 Express deployment problem

Thread Starter: Sandiway Fong   Started: 13 Jan 2007 12:35 AM UTC   Replies: 2
 MSDN Forums » Visual C++ » Visual C++ General » VC++ 2005 Express deployment problem
New Post
      « Previous Thread   Next Thread »
  Yesterday, 12:35 AM UTC
Sandiway Fong


Posts 2
VC++ 2005 Express deployment problem
Answered Question
Reply Quote Edit
I've struggled with this unsuccessfully for 3 solid days.

I've got a tbv.exe and a tbv.exe.manifest file produced by VC++ 2005 Express.

Works fine on the computer I compiled on.

Unfortunately, I'm unable to get it to work on anyone else's computer because it can't find the runtime system msvcr80.dll on their machine despite me having them download and run vcredist_x86.exe

Sounds familiar?

So I studied the thread "Running a very simple Win32 app on a comp without VC++ 2005" and I've been unsuccessful with the Answer described there. I come from a Unix/MacOSX background, so there must be something obvious I'm missing.

I followed the Answer suggested there.
My application directory is called treebankviewer
contains tbv.exe and tbv.exe.manifest
Created a subdirectory Microsoft.VC80.CRT
and placed in their the 3 DLLs and the Microsoft.VC80.CRT.manifest suggested in the Answer. But that doesn't help.

I have the remote user put the treebankviewer directory in c:\program files

1. If tbv.exe.manifest is not present, it can't find the msvcr80.dll

2. If tbv.exe.manifest is present, according to depends.exe it still can't find it.

tbv.exe.manifest contains

?xml version='1.0' encoding='UTF-8' standalone='yes'?>
<assembly xmlns='urn:schemas-microsoft-com:asm.v1' manifestVersion='1.0'>
  <dependency>
    <dependentAssembly>
      <assemblyIdentity type='win32' name='Microsoft.VC80.CRT' version='8.0.50727.762' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b' />
    </dependentAssembly>
  </dependency>
</assembly>

This is untouched by me and produced by C++ 2005 Express.

depends.exe says:

Error: The Side-by-Side configuration information in "c:\program files\treebankviewer\TBV.EXE.manifest" contains errors. This application has failed to start because the application configuration is incorrect.
Same error msg for TBV.EXE

I am so stymied and kinda depressed with this whole thing. (My application is also compiled for MacOSX without a hitch.) I can't compile with passing the flag /MT either because spld from Sicstus Prolog doesn't like everything static.

Feel free to download the files from http://dingo.sbs.arizona.edu/~sandiway/treebankviewer/

Obviously, the Windows XP instructions I have there don't work....

Please help!

Sandiway


   Report Abuse 
  Yesterday, 12:41 AM UTC
Sheng Jiang
MVP


Posts 145
Answer Re: VC++ 2005 Express deployment problem
Answer Was this post helpful ?
Reply Quote
Have you installed SP1? if so, check out this post.


MSMVP VC++

   Report Abuse 
  Yesterday, 2:58 AM UTC
Sandiway Fong


Posts 2
Re: VC++ 2005 Express deployment problem
Comment
Reply Quote Edit
I removed SP1. And recompiled.

The new tbv.exe binary is exactly the same size.
The two tbv.exe.manifest files differ by two bytes in just one line:

  <assemblyIdentity type='win32' name='Microsoft.VC80.CRT' version='8.0.50608.0' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b' />

<assemblyIdentity type='win32' name='Microsoft.VC80.CRT' version='8.0.50727.762' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b' />

and that's the version number.

But lo and behold, it seems to work now!
Or at least, on my tester's platform, it runs.
Actually, I can't quite believe it - after 3 solid days!
To be sure, I should find another person to test it.

Sheng, thank you for the pointer. SP1 blues.

Sandiway

   Report Abuse 
New Post
 Page 1 of 1 (3 items)
MSDN Forums » Visual C++ » Visual C++ General » VC++ 2005 Express deployment problem


© 2007 Microsoft Corporation. All rights reserved. Terms of Use |Trademarks |Privacy Statement
Microsoft