I'm running 8.7 SP4 and I'm trying to get scripting to work in WinPE.
I used the buildoptionalcomponents.vbs script to get all the files, added the appropriate files to the system32 and inf directories in the ldvpe.img file and added oc.bat to the startnet.cmd
When I boot to provisioning and open a console, I can run java script files with no problem, but when I try to run a vbs I get "can't find script engine "VBScript" for script...". I have also tried running this using "cscript script.vbs" and "wscript script.vbs", both with same results.
I went back and manually ran oc.bat and still could not get it resolved. Since oc.bat really just calls oc2.bat I manually went through executing each line of oc2.bat and I fail registering the following files: scrrun.ddl, vbscript.dll, wshext.dll, wshom.ocx. They all fail to register saying "LoadLibrary ("file") failed - The specified module could not be found"
Has anyone run in to this before?