In BaseTools/toolsetup.bat there is a series of checks for a python freezer.
When I run from a VS command prompt (tested on 2005 and 2012) I found that when
we fall through to this case:
if not defined PYTHON_FREEZER_PATH (
echo.
echo !!! WARNING !!! Will not be able to compile Python programs to .exe
echo Will setup environment to run Python scripts directly.
echo.
set PYTHONPATH=%BASE_TOOLS_PATH%\Source\Python
set PATH=%PYTHONPATH%\build;%PYTHONPATH%\GenFds;%PYTHONPATH%\Trim;%PATH%
set PATHEXT=%PATHEXT%;.py
)
that the script will fail if anything in your PATH has parenthesis in it
including the standard VS2005 (or higher) path on 64-bit systems like
"C:\Program Files (x86)\Microsoft Visual Studio 8\Common7\IDE" with the error
message:
\Microsoft was unexpected at this time.
Has this script been tested on an x64 Windows host install without a freezer
installed?
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel