OverFlow wrote:No. Just got distracted.
DO NOT DO THIS ON OPTICAL MEDIA...
for thumb drive or better. All drivers extracted (M1 or M3)create folder on the root of your thumb drive called "OEM"
SET TAGFILE=\OEM FOR %%i IN (C D E F G H I J K L M N O P Q R S T U V W X Y) DO IF EXIST "%%i:%TAGFILE%" SET THUMBDRIVE=%%i:& GOTO DPsFound :DPsFound Start /wait /high /separate "" %THUMBDRIVE%\OEM\dp_install_tool.CMD EXIT
that should solve your issue.
= Since M1 (or M3) source is not deleted or extracted or copied it runs much faster (except on ODD devices) this solves two issues for you. The file copy / extraction and the removal of the D drive.
Hi OverFlow,
Thanks for your time, hope you'll have patience with me... I'm not sure to have clearly understood: I have to make a folder in my pen drive root directory, and put inside a new file called dp_install_tool.cmd containing instruction you wrote above. Is it correct? And what about the dp_install_tool.cmd existing in the sources\$OEM$\$1\D\SAD3 directory? Have I to delete it? And about setupcomplete.cmd file, in the sources\%OEM%\$$\Setup\scripts folder? What have I to do with these 2 files? I ask you that because I tried to keep everything original, just joining new dp_install_tool.cmd file in the root OEM folder, and install it from a pen drive on a virtual machine. But nothing happened...Hope you'll understand me, I know my english is very bad...
Thank you again for you kindness
I like quote pyramids...
Move the dp_install tool folder FROM the sources\$OEM$\$1\ TO the root OEM folder. Like
ThumbDrive:\OEM\DriverPacks.here.please\D
Leave setupcomplete.cmd where it is and add the code above to it so...
{Win7-Disc source folder}\sources\$oem$\$$\Setup\scripts\setupcomplete.cmd
contains
REM echo off
SET TAGFILE=\OEM
FOR %%i IN (C D E F G H I J K L M N O P Q R S T U V W X Y) DO IF EXIST "%%i:%TAGFILE%" SET THUMBDRIVE=%%i:& GOTO DPsFound
:DPsFound
Start /wait /high /separate "" %THUMBDRIVE%\OEM\dp_install_tool.CMD /s
REM START %systemdrive%\D\SAD2\DP_Install_Tool.cmd /s
EXIT
See how that goes...