Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Where is driver's base??
2006-11-14, 06:30 PM, (This post was last modified: 2006-11-14, 06:31 PM by Vitali.)
#2
RE: Where is driver's base??
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!
Vitali

[Image: wucdcreator.png]
[Image: winfuture.png]
[Image: mysoft.gif]
Reply


Messages In This Thread
Where is driver's base?? - by diamondxp - 2006-11-14, 05:47 PM
RE: Where is driver's base?? - by Vitali - 2006-11-14, 06:30 PM
RE: Where is driver's base?? - by diamondxp - 2006-11-14, 11:39 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)