dabo Commit
Revision 6116
Date: 2010-10-18 13:17:29 -0700 (Mon, 18 Oct 2010)
Author: Paul
Trac: http://trac.dabodev.com/changeset/6116

Changed:
U   trunk/ide/wizards/AppWizard/spec-buildwin.bat

Log:
I went to distribute the new version of my app and found that it wouldn't run
on Windows XP. There are now 3 DLL files and 1 manifest to include with your 
app, unless you want to require your users to install the MS Visual C Runtime,
which I don't want to do because I want my users to be able to install my
software without Administrator rights, into their home directory.

This just updates the appwizard 'buildwin.bat' file with commentary to inform
users what they need to do.


Diff:
Modified: trunk/ide/wizards/AppWizard/spec-buildwin.bat
===================================================================
--- trunk/ide/wizards/AppWizard/spec-buildwin.bat       2010-10-18 00:23:01 UTC 
(rev 6115)
+++ trunk/ide/wizards/AppWizard/spec-buildwin.bat       2010-10-18 20:17:29 UTC 
(rev 6116)
@@ -5,7 +5,23 @@
 
 copy c:\python26\lib\site-packages\wx-2.8-msw-unicode\wx\gdiplus.dll dist
 
-rem  THE FOLLOWING LINE WILL FAIL, until you put msvcr90.dll inside a new 
win_todist folder
+
+rem  You either need to have your users install the Microsoft Visual Studio 
9.0 Runtimes,
+rem  which is apparently a free download and install from the Microsoft site, 
*or* you need
+rem  to find and copy 3 DLL's and 1 manifest file into your distribution. The 
following 
+rem  lines will fail if you haven't copied those files into a new win_todist\ 
directory.
+rem  In my testing, running py2exe from Windows Vista, I don't need to 
distribute the 
+rem  runtimes for installation on Vista or Windows7, but I must distribute 
them for
+rem  installation on XP and earlier. In addition, these requirements will 
probably change
+rem  with new versions of Python and wxPython. My current setup is Python 
2.6.5, 
+rem  and wxPython 2.8.11.0.
+
 copy win_todist\msvcr90.dll dist
+copy win_todist\msvcm90.dll dist
+copy win_todist\msvcp90.dll dist
+copy win_todist\Microsoft.VC90.CRT.manifest dist
 
+rem Those 3 DLL's can be found in c:\Windows\WinSxS\x86_Microsoft.VC90.CRT_*\
+rem The Manifest is 
c:\Windows\WinSxS\Manifests\x86_Microsoft.VC90.CRT_*.manifest
+rem (note the *: the files can be named differently on your system here)
 



_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: 
http://leafe.com/archives/byMID/[email protected]

Reply via email to