HiI would like to test out glazier but have been unable to get it running inside WinPE. I can't get Python 2.7 to work within WinPE (Windows 10 version) due to side-by-side errors (missing C++ shared libs?) and I've tried running sxstrace and copying over various dll files - no success. Python 3.6.0 does work inside WinPE but running glazier gives endless "glazier module not found" errors, does anyone know if glazier is only designed for Python 2.7?
Matt,Thanks for your response. Here is the error text: "The application has failed to start because it's side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe tool for mroe detail."I've also attached a screenshot of the WinPE error. I've used the stock winpe.wim I got from Windows 10 ADK and Python 2.7 from the Python.org website, installed to C:\Python27 to my Windows 7 machine (as there is no embedded zip version provided by the site for 2.7) and then copied across to WinPE
-------- Original Message --------Subject: Re: Getting Python to run inside WinPE for glazierLocal Time: February 6, 2017 4:57 PMUTC Time: February 6, 2017 4:57 PMFrom: ma...@google.comTo: Echowinter <echow...@protonmail.com>
Matt,
--
You received this message because you are subscribed to the Google Groups "glazier-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to glazier-discuss+unsubscribe@googlegroups.com.
To post to this group, send email to glazier-discuss@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/glazier-discuss/oMe1LZCb3FFn7pxI7U7LlQaWQhamPi3moqp4SCRmBSZfbYOm7yuNimbCrSKkcfRZ0k4U7cPUDzjxXmVt58w2fisQuBb8EVXlJQdHzNuc2Wk%3D%40protonmail.com.
On Mon, Feb 6, 2017 at 8:56 AM, 'Echowinter' via glazier-discuss <glazier...@googlegroups.com> wrote:HiI would like to test out glazier but have been unable to get it running inside WinPE. I can't get Python 2.7 to work within WinPE (Windows 10 version) due to side-by-side errors (missing C++ shared libs?) and I've tried running sxstrace and copying over various dll files - no success. Python 3.6.0 does work inside WinPE but running glazier gives endless "glazier module not found" errors, does anyone know if glazier is only designed for Python 2.7?The published version is Python2.7, yes. Can you give the specific error message?
--You received this message because you are subscribed to the Google Groups "glazier-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to glazier-discu...@googlegroups.com.To post to this group, send email to glazier...@googlegroups.com.
- install the 64 bit vcredist on your host: https://www.microsoft.com/en-us/download/details.aspx?id=2092
copy c:\Python27\Microsoft.VC90.CRT.manifest c:\Python27\DLLs
- now copy c:\Python27 to your Image
Then as written above,
- HTTP will not work, you must use HTTPS, and use certutil to import your cert.
- Add "flags.FLAGS(sys.argv)" to autobuild.py (as suggested by djjohn)
- Adjust lib/power.py to use 'wpeutil shutdown/reboot' as system32/shutdown.exe is not part of WinPE 10
Performs multiple steps in one:
%WinDir%\System32\reg.exe add "HKCU\Software\Microsoft\Windows NT\CurrentVersion\Winlogon" /v Shell /t REG_SZ /d "cmd.exe /c start /MAX C:\Glazier\autobuild.bat"
%WinDir%\System32\shutdown.exe /r /t 10 /c "Rebooting to resume host configuration."