HELP - setupcomplete.cmd + installing drivers with SAD2

Discussion in 'Windows 7' started by rapideye, Jan 26, 2013.

  1. rapideye

    rapideye MDL Novice

    Mar 30, 2009
    24
    1
    0
    #1 rapideye, Jan 26, 2013
    Last edited by a moderator: Apr 20, 2017
    Hi All,

    I want to install drivers using SAD2 which is run from setupcomplete.cmd after install.

    Code:
    @echo off
    START C:\DPINST\DP_Install_Tool.cmd
    The above command works fine but my problem is I don't want to transfer the 3GB+ in drivers to the C: drive using the $OEM$ method, In my case it is $OEM$/$1/DPINST.
    My SAD2 is set up with all the drivers extracted and transfering these takes a lot of time on some older hard disks.
    Is there a way to add DVD drive location of the drivers to the setupcomplete.cmd?

    ie:
    Code:
    @echo off
    START >WINDOWS INSTALL DVD LETTER<:\DPINST\DP_Install_Tool.cmd
    That way the SAD2 script only has to read the DVD and transfer what it needs.

    Many thanks


    EDIT: Found an old runonceex.cmd file from windows xp days:

    Code:
    FOR %%i IN (D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST %%i:\CD.txt SET CDROM=%%i:
    I think I put a CD.txt file on the root of the install DVD, would this work with Windows 7 setupcomplete.cmd?

    Code:
    @echo off
    FOR %%i IN (D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST %%i:\CD.txt SET CDROM=%%i:
    START %CDROM%\DPINST\DP_Install_Tool.cmd
    - CD.txt would be placed on the DVD


    Still need assitance
     
  2. DesertJerry

    DesertJerry MDL Novice

    Apr 11, 2010
    49
    2
    0
    Did you ask the folks at DriverPacks? They did create things, including SAD2.