Support Forum
Where is driver's base?? - Printable Version

+- Support Forum (https://www.vitaligraf.de/mybb)
+-- Forum: Windows Unattended CD Creator (https://www.vitaligraf.de/mybb/forumdisplay.php?fid=9)
+--- Forum: English (https://www.vitaligraf.de/mybb/forumdisplay.php?fid=7)
+--- Thread: Where is driver's base?? (/showthread.php?tid=247)



Where is driver's base?? - diamondxp - 2006-11-14

WinXp SP2 + with many drivers integrated for most hardware ~ about 1GB. I made ISO image. After that I installed WindowsXP, all drivers were installed correctly.
The question is: Where is drivers base on HDD afted installation?Confused:Shocked

I made same operation in april 2006 with version 0.98. After install OS WinXP there were folder named "Drivers" in root of the disk C:
where all drivers were placed. Exclamation

I want to know how to force copy of all integrated drivers again, because it is very usefull when recovering WinXP from the image on the other PC with other combination of hardware.

WIUCD 1.01


RE: Where is driver's base?? - Vitali - 2006-11-14

diamondxp Wrote:WinXp SP2 + with many drivers integrated for most hardware ~ about 1GB. I made ISO image. After that I installed WindowsXP, all drivers were installed correctly.
The question is: Where is drivers base on HDD afted installation?Confused:Shocked
C:\Drivers but temporery !!! After the installation are removed.

diamondxp Wrote:I made same operation in april 2006 with version 0.98. After install OS WinXP there were folder named "Drivers" in root of the disk C:
where all drivers were placed. Exclamation
That was a bug !

diamondxp Wrote:I want to know how to force copy of all integrated drivers again, because it is very usefull when recovering WinXP from the image on the other PC with other combination of hardware.
No problem!
Drivers are on CD in $OEM$\$1\Drivers folder.

or
  • Open C:\Programme\Windows Unattended CD Creator\runonceex.tmp with Notepad
  • Find follow lines:
    Quote:function main()
    {
    //var namedArgs = WScript.Arguments.Named;
    //var nextaction = WshShell.RegRead( runonceex_js + "\\" );
    var startAt = 0;
    //var wait_sek = 0;
    var WshSysEnv = WshShell.Environment( "SYSTEM" );
    var driversDir = WshSysEnv( "systemdrive" );
    driversDir += "\\Drivers";

    try
    {
    startAt = WshShell.RegRead( runonceex_js + "\\runat" );
    WshShell.RegDelete( runonceex_js + "\\runat" );
    }
    catch(e){}

    if( RunOnceEx( startAt ) == soft.length )
    {
    if( fso.FolderExists( driversDir ) )
    {
    fso.DeleteFolder( driversDir, true );
    }
    try
    {
    WshShell.RegDelete( runonceex_js );
    }
    catch(e){}
    }
    }
  • Change it:
    Quote:function main()
    {
    //var namedArgs = WScript.Arguments.Named;
    //var nextaction = WshShell.RegRead( runonceex_js + "\\" );
    var startAt = 0;
    //var wait_sek = 0;
    var WshSysEnv = WshShell.Environment( "SYSTEM" );
    var driversDir = WshSysEnv( "systemdrive" );
    driversDir += "\\Drivers";

    try
    {
    startAt = WshShell.RegRead( runonceex_js + "\\runat" );
    WshShell.RegDelete( runonceex_js + "\\runat" );
    }
    catch(e){}

    if( RunOnceEx( startAt ) == soft.length )
    {
    if( fso.FolderExists( driversDir ) )
    {
    //fso.DeleteFolder( driversDir, true );
    }
    try
    {
    WshShell.RegDelete( runonceex_js );
    }
    catch(e){}
    }
    }
  • Save file
  • Create new ISO
Changed line DONT removed C:\Drivers from HDD now!


RE: Where is driver's base?? - diamondxp - 2006-11-14

diamondxp Wrote:I made same operation in april 2006 with version 0.98. After install OS WinXP there were folder named "Drivers" in root of the disk C:
where all drivers were placed. Exclamation
That was a bug !

I liked this bug!Smile

diamondxp Wrote:I want to know how to force copy of all integrated drivers again, because it is very usefull when recovering WinXP from the image on the other PC with other combination of hardware.No problem!
Drivers are on CD in $OEM$\$1\Drivers folder......

If i change runonceex.tmp as you told me. Will windows find suitable driver for new hardware in the "Driver" folder on HDD as it used to find before? without any "insert CD" promt or "select driver"?

Thank you very much for advice!Smile