I am trying to get McAfee EETech (prev. wintech) to work in VistaPE using Wintech. I have tried converting BartPE inf files but there are issues with drivers. Someone has got it to work in VistaPE using WAIK and a batch file. Can anyone give me any clues how to make this into a WinPE .script file? I'm lost.
So the functional bit of the batch file goes:
echo %time% SCRIPT - Inject Drivers
rem This section shows how you can inject new drivers into the image as we go. Just put
rem in the Support Files_v6/Drivers directory.
for /d %%l in ("Support Files_v6\includedrivers\*.*") do (for %%q in ("%%l\*.inf") do peimg /inf="%%q" "%wtpath%\mount\Windows")
echo %time% SCRIPT - Get additional Fonts
for Workspace Support
copy "%windir%\Fonts\cour*.*" "%WTPath%\mount\Windows\fonts"
echo %time% SCRIPT - Get additional tools etc
for %%l in (regedt32.exe wdi.dll) do copy "%windir%\System32\%%l" "%WTPath%\mount\Windows\system32"
echo %time% SCRIPT - Overlay for Program files, Windows and System32
xcopy "Support Files_v6\Program Files" "%WTPath%\mount\Program Files" /e /y /i
xcopy "Support Files_v6\Windows" "%WTPath%\mount\Windows" /e /y /i
echo %time% SCRIPT - Adding Registry Settings
reg load hklm\SafeBoot "%WTPath%\mount\windows\system32\config\system"
reg import "Support Files_v6\registry changes.reg"
reg unload hklm\safeboot
echo %time% SCRIPT - Removing Startnet.cmd
del "%WTPath%\mount\Windows\system32\startnet.cmd"
echo.
echo %time% SCRIPT - Commit Changes, unmount and create CD on your ok.
echo You can use this time to make last minute changes to the CD image before
echo it gets finalized.
echo.
echo you can find the image at "%WTPath%\mount"
echo.
pause
imagex /unmount "%WTPath%\mount" /commit
echo %time% SCRIPT - Changing Boot File
copy "%WTPath%\winpe.wim" "%WTPath%\ISO\sources\boot.wim"
echo %time% SCRIPT - Creating an ISO CD Image
oscdimg -n -b"%WTPath%\etfsboot.com" "%WTPath%\iso" "%WTPath%\WinTech.iso"
goto terminate
:terminate
echo %time% SCRIPT - Finished.
---
The reg file is the following:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\safeboot\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}]
"UpperFilters"=hex(7):50,00,61,00,72,00,74,00,4d,00,47,00,52,00,00,00,4d,00,66,00,65,\
00,45,00,70,00,65,00,50,00,63,00,00,00,00,00
[HKEY_LOCAL_MACHINE\safeboot\ControlSet001\Services\MfeEpEPc]
"Type"=dword:00000001
"Start"=dword:00000000
"ErrorControl"=dword:00000003
[HKEY_LOCAL_MACHINe\safeboot\ControlSet001\Enum\Root\LEGACY_TCPIPREG]
"NextInstance"=dword:00000001
[HKEY_LOCAL_MACHINe\safeboot\ControlSet001\Enum\Root\LEGACY_TCPIPREG\0000]
"Service"="tcpipreg"
"Legacy"=dword:00000001
"ConfigFlags"=dword:00000020
"Class"="LegacyDriver"
"ClassGUID"="{8ECC055D-047F-11D1-A537-0000F8753ED1}"
"DeviceDesc"="TCP/IP Registry Compatibility"
"Capabilities"=dword:00000000
[HKEY_LOCAL_MACHINe\safeboot\ControlSet001\Enum\Root\LEGACY_TCPIPREG\0000\Control]
"ActiveService"="tcpipreg"
[HKEY_LOCAL_MACHINe\safeboot\ControlSet001\Services\tcpipreg]
"DisplayName"="TCP/IP Registry Compatibility"
"ImagePath"=hex(2):53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,64,00,\
72,00,69,00,76,00,65,00,72,00,73,00,5c,00,74,00,63,00,70,00,69,00,70,00,72,\
00,65,00,67,00,2e,00,73,00,79,00,73,00,00,00
"Description"="Provides compatibility for legacy applications which interact with TCP/IP through the registry. If this service is stopped, certain applications may have impaired functionality."
"ErrorControl"=dword:00000001
"Start"=dword:00000002
"Type"=dword:00000001
"DependOnService"=hex(7):74,00,63,00,70,00,69,00,70,00,00,00,00,00
[HKEY_LOCAL_MACHINe\safeboot\ControlSet001\Services\tcpipreg\Enum]
"0"="Root\\LEGACY_TCPIPREG\\0000"
"Count"=dword:00000001
"NextInstance"=dword:00000001
The rest is just flat files as far as I can tell, which could be put in a /files folder under the app/eetech dir in winbuilder.
If anyone could help it would be much appreciated, I'll upload it and make it available if it ever works.
Thanks!
Stu.