Topic: First Try : OCMAN SCRIPT FOR DRIVERPACK (Method2) !!!

Hello, I'm using driverpacks for quite some times now and it comes to me an idea just lite a flash : a script for installing driverpacks during the setup!!!

With that script, the bug of fakesetup is resolved as well when repairing is selected!
The script is launched by a modified presetup.cmd, it will ask you if you want to use driverpacks or not, after decompression, it will ask you if you want to use KTD or not.
That's simply but vey useful I think.

Here is the detail for installation :


Scripts For Installing Drivers Packs Directly During Setup for Method 2!
v1.0


Method :
Just integrate driverpacks you want with method 2 and KTD disabled (VERY IMPORTANT!!!) to your XPCD.
You should now have a OEM directory at the root of your driverpacked method2 XPCD.

Now there is only 4 simply steps :
    - copy the attached KTD directory in the OEM directory ( so now the tree looks like \OEM\KTD )
    - copy the three CMD Files in the i386 folder of the XPCD overwriting the existing presetup.cmd
        (the 3 files are DPsFNSHR.cmd , DRVPack.cmd , PRESETUP.CMD )
    - Editing txtsetup.sif  : search for "presetup.cmd" in the txt, add theses two lines :
            DPsFNSHR.cmd= 1,,,,,,,2,0,0
            DRVPack.CMD= 1,,,,,,,2,0,0
    - Editing txtsetup.sif  : replace DPSFNSHER.exe by DPSFNSHR.cmd
   
   
That's all folks!!!!!!

I know this is simply a tweaky bullshit ( my english is bad so maybe that mean nothing )
But may be usefull for all-in-one creations like I do.

NEXT TO COME :  Scripts wich will ask you if you want 3rd party dp or not, because it's loosing time when decompresing them for nothing.

See The attached file containing theses instruction.

here is the link to download the file :

http://dl.free.fr/mqYHPFeZp/OCManDrvPackScript1.zip


Give it a try and let me know!
(There is two version included in the zip : ENG for ENGLISH and FR for French script -- that's why my english is so bad lol)

See you soon.

Last edited by OCMan (2008-01-22 02:42:26)

Re: First Try : OCMAN SCRIPT FOR DRIVERPACK (Method2) !!!

Sounds very nice to me, Overflow will love it. Thanks for sharing.

Re: First Try : OCMAN SCRIPT FOR DRIVERPACK (Method2) !!!

Sounds very cool, I'll have to check it out.
...I've seen something like this before, where the pre-setup had checkmarks of what DP's to use...
I'll have to remember where I seen it @.... yikes

Re: First Try : OCMAN SCRIPT FOR DRIVERPACK (Method2) !!!

it is a great idea. simple and effective. well done!
I am sure some people will like it...
however jake was wrong about me loveing it.
I like unnattended installs and this stops the install twice.
So the UWXPCD is defeated and thus useless to me.

PS i hate KTD and am not shy about saying it and telling people why as most people don't understand what it is.

but i am sure you will have others here who will disagree with me. wink

DP BartPE Tutorial   DP_BASE Tutorial   HWID's Tool     Read BEFORE you post    UserBars!
http://driverpacks.net/userbar/admin-1.png
The DriverPacks, the DP_Base program, and Support Forum are FREE!.

Re: First Try : OCMAN SCRIPT FOR DRIVERPACK (Method2) !!!

You'are right, I think I have to disable the KTD option for end user, but it's very useful (KTD) when you want to set up a Test machine wich will like everything you gave it something to eat :-)


By the way, I have seen the reply of roguespear where he gave me a link to his script ( sorry I really wouldn't to steal the idea, I haven't even search before... shame on me!)

His script seems very advanced compared to my poor one, I need to read more about his work, but at this time, my simple sricpt is enough for my use, I just wanted to share with you my work ,

So if you need a simple scirpt take this one, if will ask you or not for DP then for KTD, i think I shall put a timeout on each, it could be good to have some help about that... a timeout choice in CMD, how make we that???

If we can set up a time choice, maybe overflow will like it though!!! smile:):) ( because a timeout doesn't break automation, so the "pause"  fonction is invalid for us...)

See you soon.

Last edited by OCMan (2008-01-25 04:07:14)

Re: First Try : OCMAN SCRIPT FOR DRIVERPACK (Method2) !!!

Hi OCman

Yesterday OverFlow and I again talked about why we should remove setupold.exe and we hope to implement something simple, and when that does it for you repair will also work.

The answer was 42?
Kind regards, Jaak.

Re: First Try : OCMAN SCRIPT FOR DRIVERPACK (Method2) !!!

time out feature is easy for choice look here (i love this place)
great help and examples for command line stuff

http://www.ss64.com/nt/choice.html

DP BartPE Tutorial   DP_BASE Tutorial   HWID's Tool     Read BEFORE you post    UserBars!
http://driverpacks.net/userbar/admin-1.png
The DriverPacks, the DP_Base program, and Support Forum are FREE!.

Re: First Try : OCMAN SCRIPT FOR DRIVERPACK (Method2) !!!

I already implemented the "fix"
...stolen from another thread here

- shh don't tell

DP BartPE Tutorial   DP_BASE Tutorial   HWID's Tool     Read BEFORE you post    UserBars!
http://driverpacks.net/userbar/admin-1.png
The DriverPacks, the DP_Base program, and Support Forum are FREE!.

Re: First Try : OCMAN SCRIPT FOR DRIVERPACK (Method2) !!!

You can do a choice like menu without the command choice. Here is an example:

:MENU
CLS
ECHO.
ECHO Choose an option above and press ENTER:
ECHO.
ECHO 1. Show IP Configuration
ECHO 2. Release/Renew IP Adress - Flush DNS - Flush ARP Cache
ECHO 3. Set DHCP IP Address
ECHO 4. Reset Winsock (XP SP2 Only)
ECHO 5. Disable Internet Explorer Proxy
ECHO 6. Enable Proxy (proxy:8080)
ECHO 7. Static IP Address
ECHO 8. Quit
ECHO.

:CHOICE
SET /P C=[1,2,3,4,5,6,7,8] ?

IF "%C%"=="8" GOTO :END
IF "%C%"=="7" GOTO :STATIC
IF "%C%"=="6" GOTO :PROXY
IF "%C%"=="5" GOTO :NOPROXY
IF "%C%"=="4" GOTO :WINSOCK
IF "%C%"=="3" GOTO :DHCP
IF "%C%"=="2" GOTO :RENEW
IF "%C%"=="1" GOTO :SHOWIP
GOTO :CHOICE

:STATIC

:PROXY

:NOPROXY

:WINSOCK

:DHCP

:RENEW

:SHOWIP

:END

Re: First Try : OCMAN SCRIPT FOR DRIVERPACK (Method2) !!!

http://www.driverpacks.net/

check it out

DP BartPE Tutorial   DP_BASE Tutorial   HWID's Tool     Read BEFORE you post    UserBars!
http://driverpacks.net/userbar/admin-1.png
The DriverPacks, the DP_Base program, and Support Forum are FREE!.