Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Win7 PE - driver incection
#19
(01-26-2022, 10:32 AM)Nierewa Wrote: I test it with an Win7PE iso file, here it works.
X:\ contains all files from windows_injection.7z.

My VentoyAutoRun.bat:

Code:
@echo off

REM ###########################################################################
REM  This is an example of Ventoy windows injection auto run batch script
REM
REM  The 1st parameter is the ISO file full path.
REM     For example: C:\ISO\Windows11.iso
REM 
REM  The 2nd parameter is drive letter of the ISO file mountpoint.
REM     For example: F
REM
REM  The output of this script will be saved to X:\VentoyAutoRun.log
REM
REM ###########################################################################

set ISOFILE=%1
set MNTPOINT=%2

set Inject=pnputil64.exe
if "%PROCESSOR_ARCHITECTURE%"=="AMD64" goto Main
set Inject=pnputil32.exe


REM ###########################################################################
REM  Do your main process from here
REM ###########################################################################

echo ISOFILE=%ISOFILE%
echo MNTPOINT=%MNTPOINT%

%Inject% -i -a x86/iusb3hub.inf
%Inject% -i -a x86/iusb3xhc.inf
goto Ende

:Main
%Inject% -i -a x64/iusb3hub.inf
%Inject% -i -a x64/iusb3xhc.inf

:Ende


and the VentoyAutoRun.log

Code:
ISOFILE="C:\\Livesysteme\Win7PE.ISO"
MNTPOINT=Y

00

00
What does the 00 mean?
Give me your win7pe download link, Nierewa
Reply


Messages In This Thread
Win7 PE - driver incection - by Nierewa - 01-24-2022, 12:42 PM
RE: Win7 PE - driver incection - by longpanda - 01-24-2022, 01:33 PM
RE: Win7 PE - driver incection - by Nierewa - 01-24-2022, 05:34 PM
RE: Win7 PE - driver incection - by hyun9358 - 02-04-2022, 04:27 PM
RE: Win7 PE - driver incection - by Nierewa - 02-09-2022, 10:26 AM
RE: Win7 PE - driver incection - by longpanda - 01-25-2022, 12:12 PM
RE: Win7 PE - driver incection - by Nierewa - 01-26-2022, 09:27 AM
RE: Win7 PE - driver incection - by Steve2926 - 01-26-2022, 09:39 AM
RE: Win7 PE - driver incection - by Nierewa - 01-26-2022, 09:56 AM
RE: Win7 PE - driver incection - by Steve2926 - 01-26-2022, 10:18 AM
RE: Win7 PE - driver incection - by Nierewa - 01-26-2022, 10:32 AM
RE: Win7 PE - driver incection - by nguyen ha thai trong - 03-28-2022, 11:37 AM
RE: Win7 PE - driver incection - by Steve2926 - 01-26-2022, 10:40 AM
RE: Win7 PE - driver incection - by Nierewa - 01-26-2022, 11:02 AM
RE: Win7 PE - driver incection - by Nierewa - 01-26-2022, 12:45 PM
RE: Win7 PE - driver incection - by hyun9358 - 02-20-2022, 10:38 PM
RE: Win7 PE - driver incection - by asheroto - 03-04-2022, 01:54 PM
RE: Win7 PE - driver incection - by Steve2926 - 03-05-2022, 07:14 PM

Forum Jump:


Users browsing this thread: 5 Guest(s)