Did you try the dependency walker (available via google) to see if there may be any dll&#39;s you need to have in the same directory as the binary?  <br><br>Regards,<br><br>Juan<br><br><div class="gmail_quote">On Thu, Aug 20, 2009 at 5:03 PM, Mike Jackson <span dir="ltr">&lt;<a href="mailto:mike.jackson@bluequartz.net">mike.jackson@bluequartz.net</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">So I &quot;created&quot; the proper paths within the VCExpress installation and<br>
placed the downloaded vcredist_x86.exe file in there. CMake found it.<br>
NSIS found it and included it. I ran my new installer on a &quot;clean&quot; XP<br>
SP3 machine. Verified the vcredist.exe actually ran also. Tried to<br>
launch an application and I still get an error that says the<br>
application is not configured correctly.<br>
<br>
Still lost and Confused.<br>
<font color="#888888"><br>
Mike<br>
</font><div class="im"><br>
On Thu, Aug 20, 2009 at 5:40 PM, j s&lt;<a href="mailto:j.s4403@gmail.com">j.s4403@gmail.com</a>&gt; wrote:<br>
</div><div><div></div><div class="h5">&gt; I don&#39;t believe that to be the case with Visual Express 2008.  I don&#39;t know<br>
&gt; how previous editions work.<br>
&gt;<br>
&gt; Can I use Express Editions for commercial use?<br>
&gt;<br>
&gt; Yes, there are no licensing restrictions for applications built using Visual<br>
&gt; Studio Express Editions.<br>
&gt;<br>
&gt; <a href="http://www.microsoft.com/express/support/faq/" target="_blank">http://www.microsoft.com/express/support/faq/</a><br>
&gt;<br>
&gt; Juan<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Thu, Aug 20, 2009 at 4:33 PM, David Cole &lt;<a href="mailto:david.cole@kitware.com">david.cole@kitware.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Hold on there...<br>
&gt;&gt; The Express editions are not meant to build redistributable binaries.<br>
&gt;&gt; They&#39;re meant for personal use: i.e. -- each user compiles his own code. I&#39;m<br>
&gt;&gt; pretty sure it&#39;s a violation of the Express edition license agreement to<br>
&gt;&gt; build binaries for other people. You need at least the &quot;Standard&quot; edition of<br>
&gt;&gt; VS to get that capability.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; HTH,<br>
&gt;&gt; David<br>
&gt;&gt;<br>
&gt;&gt; On Thu, Aug 20, 2009 at 5:11 PM, Mike Jackson<br>
&gt;&gt; &lt;<a href="mailto:mike.jackson@bluequartz.net">mike.jackson@bluequartz.net</a>&gt; wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; On Thu, Aug 20, 2009 at 4:06 PM, James Bigler&lt;<a href="mailto:jamesbigler@gmail.com">jamesbigler@gmail.com</a>&gt;<br>
&gt;&gt;&gt; wrote:<br>
&gt;&gt;&gt; &gt; On Thu, Aug 20, 2009 at 1:51 PM, Mike Jackson<br>
&gt;&gt;&gt; &gt; &lt;<a href="mailto:mike.jackson@bluequartz.net">mike.jackson@bluequartz.net</a>&gt;<br>
&gt;&gt;&gt; &gt; wrote:<br>
&gt;&gt;&gt; &gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt; On Thu, Aug 6, 2009 at 3:12 PM, Marcus D. Hanwell&lt;<a href="mailto:marcus@cryos.org">marcus@cryos.org</a>&gt;<br>
&gt;&gt;&gt; &gt;&gt; wrote:<br>
&gt;&gt;&gt; &gt;&gt; &gt; James Bigler wrote:<br>
&gt;&gt;&gt; &gt;&gt; &gt;&gt; On Thu, Aug 6, 2009 at 12:10 PM, Bill Hoffman<br>
&gt;&gt;&gt; &gt;&gt; &gt;&gt; &lt;<a href="mailto:bill.hoffman@kitware.com">bill.hoffman@kitware.com</a> &lt;mailto:<a href="mailto:bill.hoffman@kitware.com">bill.hoffman@kitware.com</a>&gt;&gt; wrote:<br>
&gt;&gt;&gt; &gt;&gt; &gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt; &gt;&gt;     James Bigler wrote:<br>
&gt;&gt;&gt; &gt;&gt; &gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt; &gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt; &gt;&gt;         Well, I was using VS 2005 64 bit with SP 1.  I wonder if<br>
&gt;&gt;&gt; &gt;&gt; &gt;&gt; there<br>
&gt;&gt;&gt; &gt;&gt; &gt;&gt;         is a similar bug or if there is something else going wrong<br>
&gt;&gt;&gt; &gt;&gt; &gt;&gt;         such as what Marcus Hanwall described.<br>
&gt;&gt;&gt; &gt;&gt; &gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt; &gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt; &gt;&gt;     I am not sure what your issue is, but I know I have done this<br>
&gt;&gt;&gt; &gt;&gt; &gt;&gt; many<br>
&gt;&gt;&gt; &gt;&gt; &gt;&gt;     times...<br>
&gt;&gt;&gt; &gt;&gt; &gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt; &gt;&gt;     -Bill<br>
&gt;&gt;&gt; &gt;&gt; &gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt; &gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt; &gt;&gt; I checked the version numbers of the DLLs, and even checked the<br>
&gt;&gt;&gt; &gt;&gt; &gt;&gt; md5sum<br>
&gt;&gt;&gt; &gt;&gt; &gt;&gt; and everything was the same between the dlls in the WinSxS folder<br>
&gt;&gt;&gt; &gt;&gt; &gt;&gt; and<br>
&gt;&gt;&gt; &gt;&gt; &gt;&gt; the ones I&#39;m distributing.  It failed on two clean systems without<br>
&gt;&gt;&gt; &gt;&gt; &gt;&gt; the<br>
&gt;&gt;&gt; &gt;&gt; &gt;&gt; vcredist install.  I guess I&#39;ll run vcredist as Microsoft suggests<br>
&gt;&gt;&gt; &gt;&gt; &gt;&gt; and<br>
&gt;&gt;&gt; &gt;&gt; &gt;&gt; see if I can trouble shoot later.<br>
&gt;&gt;&gt; &gt;&gt; &gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt; &gt;&gt; It is a rather perplexing problem.<br>
&gt;&gt;&gt; &gt;&gt; &gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt; &gt; The link Bill supplied has all of the relevant information. In the<br>
&gt;&gt;&gt; &gt;&gt; &gt; &quot;Community Discussion&quot; section the second comment provides three<br>
&gt;&gt;&gt; &gt;&gt; &gt; possible workarounds. We are using the third of those when<br>
&gt;&gt;&gt; &gt;&gt; &gt; distributing<br>
&gt;&gt;&gt; &gt;&gt; &gt; Avogadro packages for Windows. The version mismatch in the manifests<br>
&gt;&gt;&gt; &gt;&gt; &gt; of<br>
&gt;&gt;&gt; &gt;&gt; &gt; the compiled executables and the manifest with the redistributable<br>
&gt;&gt;&gt; &gt;&gt; &gt; DLLs<br>
&gt;&gt;&gt; &gt;&gt; &gt; is what causes the issue.<br>
&gt;&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt;&gt; &gt; It seems that MS has no intention of fixing this issue. We have a<br>
&gt;&gt;&gt; &gt;&gt; &gt; clean<br>
&gt;&gt;&gt; &gt;&gt; &gt; VM where we test new installers, as occasionally this change was<br>
&gt;&gt;&gt; &gt;&gt; &gt; lost<br>
&gt;&gt;&gt; &gt;&gt; &gt; and the DLLs failed to load.<br>
&gt;&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt;&gt; &gt; Marcus<br>
&gt;&gt;&gt; &gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt; Ok, so I too have run into this problem. What is anyone doing to get<br>
&gt;&gt;&gt; &gt;&gt; around this issue?<br>
&gt;&gt;&gt; &gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt; I would really like a solution that did NOT involve editing anything<br>
&gt;&gt;&gt; &gt;&gt; from VC++ install as I would have to pass those instructions on to the<br>
&gt;&gt;&gt; &gt;&gt; next Developer. Clinton&#39;s posting about including the VCRedist.exe in<br>
&gt;&gt;&gt; &gt;&gt; the NSIS installer is OK by me. Is that what everyone else is doing?<br>
&gt;&gt;&gt; &gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt; Thanks<br>
&gt;&gt;&gt; &gt;&gt; --<br>
&gt;&gt;&gt; &gt;&gt; Mike Jackson<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt; I ended up linking against the static CRT library (/MT), but that&#39;s not<br>
&gt;&gt;&gt; &gt; for<br>
&gt;&gt;&gt; &gt; everyone.<br>
&gt;&gt;&gt; &gt; <a href="http://msdn.microsoft.com/en-us/library/ms235460.aspx" target="_blank">http://msdn.microsoft.com/en-us/library/ms235460.aspx</a><br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt; My next choice was going to be including the VCRedist.exe in the<br>
&gt;&gt;&gt; &gt; installer.<br>
&gt;&gt;&gt; &gt; For some of the other projects at my company, this is what they do.<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt; Here are some links I&#39;ve been consulting on the subject of CRT library<br>
&gt;&gt;&gt; &gt; (conflicts with multiple CRTs).<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt; <a href="http://stackoverflow.com/questions/1075050/howto-multiple-versions-of-msvcrt9-as-private-sxs-assemblies" target="_blank">http://stackoverflow.com/questions/1075050/howto-multiple-versions-of-msvcrt9-as-private-sxs-assemblies</a><br>

&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt; <a href="http://tedwvc.wordpress.com/2009/08/10/avoiding-problems-with-vc2005-sp1-security-update-kb971090/" target="_blank">http://tedwvc.wordpress.com/2009/08/10/avoiding-problems-with-vc2005-sp1-security-update-kb971090/</a><br>

&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt; <a href="http://stackoverflow.com/questions/1265792/visual-studio-2005-security-updates-and-crt-dll-versions-in-manifest" target="_blank">http://stackoverflow.com/questions/1265792/visual-studio-2005-security-updates-and-crt-dll-versions-in-manifest</a><br>

&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt; James<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; thanks for the links. Now my head is really spinning. I have VC2008<br>
&gt;&gt;&gt; Express installed on WinXP SP3 and evidently the vcredist.exe is NOT<br>
&gt;&gt;&gt; included with that version? At least I can not find it.  So I guess I<br>
&gt;&gt;&gt; have to download it from MSDN (duh) and then manually set all the<br>
&gt;&gt;&gt; paths and all that in oder to have cmake/NSIS find and include it in<br>
&gt;&gt;&gt; the installer. And I thought deploying on OS X was a bit obtuse...<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Mike<br>
&gt;&gt;&gt; _______________________________________________<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
</div></div></blockquote></div><br>