Topic: Integrate DP in already installed Windows

It's possible integrate Driver packs drivers in a windows already installed.
I seem that this function is called KTD in DP Base, I'd like to integrate DP not in unattended mode, but after normal installation.

Re: Integrate DP in already installed Windows

Hi.
do you want to read how great tools missed a final ingredient?
to read what you no longer have to do, but learn something about how it is done: read on.
------------

KTD AFTER installing..
Like for a hardware testbed..
That's been asked before.
The batchfile was rewritten, and the topic that was in is discussing other stuff as well, so..

Here is the batchfile

It takes little work.
Just make the batch, put it in the folder you integrated with method 2, et viola.

NOTE.. THE BATCH ONLY REQUIRES THE OEM FOLDER AND WHAT'S IN IT..

The batch that does what KTD does is called doPNF because that's what KTD did.

doPNF.cmd

SET TAGFILE=\OEM\BIN\un7zip.exe
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 CDDRIVE=%%i:
 
%CDDRIVE%\OEM\BIN\un7zip.exe %CDDRIVE%\OEM\BIN\DP*.7z "%SystemDrive%\dump"
%CDDRIVE%\OEM\BIN\un7zip.exe %CDDRIVE%\OEM\DP*.7z "%SystemRoot%\DriverPacks"
start %SystemDrive%\dump\Mute.exe on
start %SystemDrive%\dump\DSPdsblr.exe
%SystemDrive%\dump\makePNF.exe "%SystemRoot%\DriverPacks"
%CDDRIVE%\OEM\BIN\DevPath.exe "%SystemRoot%\DriverPacks"
taskkill /f /im DSPdsblr.exe
%SystemDrive%\dump\Mute.exe off
RD /Q /S %SystemDrive%\dump
exit

Now, on a vanilla install, one of the problems you could come across is that no exceptions are used, and some control panels will not be installed.
------------------------

The following one was written to run Finisher, and it does KTD too.

I called it FINI.cmd

SET TAGFILE=\OEM\BIN\un7zip.exe
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 CDDRIVE=%%i:
 
%CDDRIVE%\OEM\BIN\un7zip.exe %CDDRIVE%\OEM\BIN\DP*.7z "%SystemDrive%\"
%CDDRIVE%\OEM\BIN\un7zip.exe %CDDRIVE%\OEM\DP*.7z "%SystemRoot%\DriverPacks"
start %SystemDrive%\Mute.exe on
start %SystemDrive%\DSPdsblr.exe
COPY /Y %CDDRIVE%\OEM\bin\DPsFnshr.ini %SystemDrive%\
xcopy %SystemRoot%\Driverpacks\*.* %SystemDrive%\ /y /i /e /h
start %SystemDrive%\DPsFnshr.exe
%SystemDrive%\makePNF.exe %SystemRoot%\DriverPacks
%CDDRIVE%\OEM\BIN\DevPath.exe %SystemRoot%\DriverPacks
taskkill /f /im DSPdsblr.exe
%SystemDrive%\Mute.exe off

exit

you will see an xcopy is made that gets deleted when finisher cleans up.
This copy is made so that the finisher can work, and the drivers will still be on the drive for later use.

-----------------------------
Now, not everybody needs KTD (makePNF and devpath, etc.) along with a POST-INSTALL-FINISHER session.

When I wrote FINI.CMD, I assumed that the source was not slipstreamed with KTD selected.

A POST install Finisher without KTD looks like this.

NoKTD.cmd

SET TAGFILE=\OEM\BIN\un7zip.exe
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 CDDRIVE=%%i:
 
%CDDRIVE%\OEM\BIN\un7zip.exe %CDDRIVE%\OEM\BIN\DP*.7z "%SystemDrive%\"
%CDDRIVE%\OEM\BIN\un7zip.exe %CDDRIVE%\OEM\DP*.7z "%SystemDrive%\"
COPY /Y %CDDRIVE%\OEM\bin\DPsFnshr.ini %SystemDrive%\
start %SystemDrive%\Mute.exe on
start %SystemDrive%\DSPdsblr.exe
start %SystemDrive%\DPsFnshr.exe
taskkill /f /im DSPdsblr.exe
%SystemDrive%\Mute.exe off

exit

NOTE; this could be used with a source that has KTD, and that would then do KTD for you.

------------------

Save the batchfile you wish like this.
Copy, and paste into notepad >> then "save as".
Select ALL FILE TYPES (so that it does not automagically adds TXT as extention..)
Save as fini.cmd (or whatever name you wish, as long as you stick to the 8.3 format.)
Voila, you have the batchfile, ready to use.

You can put this on a new burn, along with the slipstreamed source (you have to use method two), or, you burn only the OEM folder and all that's in it plus the batchfile(s) to a CDR.

(some folks do not have a DVDrom reader in their machine, and even when one collects all packs, this will still fit on a CDR...)

This will still not do all the work for you, tho.
I hope that one of these days a method will be found to make Windows run a minisetup style hardware detection after installing windows has already finished.
I already read articles and am sure sysprep users know these articles as well.


--------------------

And LAST, I must at least mention this.
I read Quite a few guys slipstream a source with all packs and some third party packs, and use method 1.
They do not use it to run setup.
They use the content of $OEM$ folder as their collection of drivers.

Last edited by Jaak (2008-04-21 16:44:55)

The answer was 42?
Kind regards, Jaak.

Re: Integrate DP in already installed Windows

Because I see this being asked over and over again, I figure it's a good idea to sticky this.

Maybe it could also be added to the Tutorial, even if it's just a link pointing to this thread.

Re: Integrate DP in already installed Windows

Dumping a KTD on an already installed Windows wouldn't be much use to me. I'd much rather have an executable like DP_BASE scan my hardware and perform all upgrades.

KTD would be a poor testbed because it would be rarely used. The way I want it would be an excellent testbed since it would get used all the time.

For example, say a DP install crashes. The solution is to install from a non DP enhanced media and install all the drivers after Windows gets up and running. The end result would be exactly the same and hopefully the malfunctioning driver would be easy to identify.

Driverpacks is too good to limit it to new installs from custom media.

Last edited by severach (2007-08-20 10:50:04)

Re: Integrate DP in already installed Windows

hmmm

fini.cmd proved to be a no good useless bit of experimental work.

The answer was 42?
Kind regards, Jaak.

Re: Integrate DP in already installed Windows

Here's what I have done so far by following your posts:

SET TAGFILE=\\RISSERVER\MSI\Driverpacks.net
SET LOCATION=\\RISSERVER\REMINST\SETUP\ENGLISH\IMAGES\WINDOWSXP\$OEM$\$1

%TAGFILE%\BIN\un7zip.exe %TAGFILE%\Driverpacks\DP*.7z "%SystemDrive%\"

COPY /Y %LOCATION%\DPsFnshr.ini %SystemDrive%\
start %LOCATION%\Mute.exe on
start %LOCATION%\DSPdsblr.exe
start %LOCATION%\DPsFnshr.exe
taskkill /f /im DSPdsblr.exe
%LOCATION%\Mute.exe off

exit

I'm using DP with my RIS installs, however I'm trying to make a driver pack finisher that will install updated drivers on computers that will not install through PXE (I have to use a CD for these). My variables point to the location of the needed apps, and %LOCATION% points to the OEM directory of one of my images that I have slipstreamed with DP_Base. I have ran this script, and from what I can tell it extracted all the drivers to the hard drive of the computer I ran the script on (good) but once it ran the finisher it deleted them all without updating the drivers on the actual machine. Is there a setting that I'm missing or a line that isn't in my script?

DPs_BASE.ini

[General]
; preferred language
prefLang    = "English"
; yes/no, enable or disable the wizard-style buttons, if not specified: yes
wizardButtons    = "yes"
; yes/no, enable or disable the GUI, if not specified: yes
GUI        = "yes"


[Settings]
; disc/bartpe/multibootDisc
instPlatform    = "disc"
; trailing backslash is allowed, but not necessary
location    = "E:\RemoteInstall\Setup\English\Images\WINDOWSXP"
; none/all/select, if select, specify them below, if not specified: all
DriverPacks    = "select"
; 1/2, method to install the DriverPacks, if not specified: 2
DPsMethod    = "1"
; GUIRunOnce/RunOnceEx/custom, if not specified: GUIRunOnce
finisherMethod    = "GUIRunOnce"


; this section is optional!
[OptionalSettings]
; none/all/select/paths/patterns, enable or disable Keep The Drivers (KTD) , if not specified: none
KTD        = "false"
; <path>, to specify a custom KTD cache location, if not specified: default (%SystemRoot%\DriverPacks)
KTDlocation    = "%SystemRoot%\DriverPacks"
; yes/no, enable or disable QuickStream Cache (QSC), if not specified: yes
QSC        = "yes"


; you should only add this section if you've set [Settings]\DriverPacks to "select"
[SelectDriverPacks]
DP_Chipset    = "yes"
DP_Graphics_A    = "yes"
DP_Graphics_B    = "yes"
DP_LAN        = "yes"
DP_Sound_A    = "yes"
DP_Sound_B    = "yes"
DP_MassStorage_textmode = "no"


; this section is optional!
[OptionalSettingsOther]
; CCC/CCP, use ATI Catalyst Control Center or ATI Catalyst Control Panel (only relevant when slipstreaming DriverPack Graphics A)
ATI_cpl        = "CCP"

Re: Integrate DP in already installed Windows

I never thought this could be done!

I tried this and got an error saying "Fehler" and "Couldn't open mixer"

Not really sure which CMD file to use from the first post.

1 - I slipped all driverpacks using method 2.

2 - I didn't use KTD.

3 - I want to extract the driverpacks, install drivers and then cleanup the driverpacks.

Should I use the first file "doPNF.cmd" and just add this line to the end:

start %SystemDrive%\DPsFnshr.exe

Just because I don't want to keep anything on the drive, I just want to do:

1 - Extract drivers.
2 - Install drivers.
3 - Delete drivers.

Re: Integrate DP in already installed Windows

/aol on

me too!

/aol off

Seriously, has anyone done any recent work on these batch files?

Re: Integrate DP in already installed Windows

O.K. I've been reading through the forum to try and figure this thing out on my own, since I am still having this problem after following all suggestions... so I noticed the sticky thread at the top of this forum and noticed the FINI.cmd file and tried using that... I modified it a little to see if I could get the results I was looking for and I am still getting the error which is telling me that it is something wrong with either DPsFnshr.exe or DP_BASE_7.05.2 and the way it is originally integrating everything...

Here's how I did this:

1. Get my windows source disk ready to have DriverPacks slipstreamed.
2. Slipstream ALL Latest Packs except for Graphics B & C and Sound A. Using method 2 with QSC enabled and KTD disabled (but I want to KTD so I modified the FINI.cmd will post it below).
3. Use WPI to install all programs/utilities which then calls my cleanup.bat at the end which has fini.cmd integrated into it.

Here is my modified version of fini.cmd:

TITLE Drive Packs Manual Finisher
SET TAGFILE=\OEM\bin\un7zip.exe
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: Z:) do if exist %%i\WPI\wpi.hta set CDROM=%%i
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 Z) do if exist "%%i:%TAGFILE%" SET CDDRIVE=%%i:

%CDDRIVE%\OEM\bin\un7zip.exe %CDDRIVE%\OEM\bin\DP*.7z "%SystemDrive%\"
%CDDRIVE%\OEM\bin\un7zip.exe %CDDRIVE%\OEM\DP*.7z "%SystemRoot%\DriverPacks"
start %SystemDrive%\Mute.exe on
start %SystemDrive%\DSPdsblr.exe
%SystemDrive%\makePNF.exe %SystemRoot%\DriverPacks
%CDDRIVE%\OEM\bin\DevPath.exe %SystemRoot%\DriverPacks
COPY /Y "%CDDRIVE%\OEM\bin\DPsFnshr.ini" "%SystemDrive%\"

if exist "%systemdrive%\D\CPU\Amdk8.inf" (
	GOTO :CONTINUE
	) ELSE (
		GOTO :NEXTCHECK
)

:NEXTCHECK
if not exist "%systemdrive%\D\D\CPU\Amdk8.inf" (
	xcopy /y /i /e /h "%SystemRoot%\Driverpacks\*.*" "%SystemDrive%\"
	) ELSE (
		GOTO :CONTINUE
)

:CONTINUE
taskkill /f /im DSPdsblr.exe
%SystemDrive%\Mute.exe off

;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
; THIS SECTION IS WHERE I PUT THE CONTENTS OF MY CLEANUP.CMD 
;  WHICH HAS SOME REGTWEAKS, COPY, MOVE AND DELETE CMD's
;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

if exist "%CDROM%\OEM\bin\un7zip.exe" (
	GOTO :DPFINISHER
	) ELSE (
		GOTO :TASKKILL
)

:DPFINISHER
start %SystemDrive%\Mute.exe on
start %SystemDrive%\DSPdsblr.exe
start /wait %SystemDrive%\DPsFnshr.exe
taskkill /f /im DSPdsblr.exe
%SystemDrive%\Mute.exe off

PAUSE

:TASKKILL
START taskkill.exe /IM cmd.exe
START taskkill.exe /IM cmd.exe
START taskkill.exe /IM cmd.exe
START taskkill.exe /IM cmd.exe
START taskkill.exe /IM cmd.exe

:EXIT
EXIT

Please if you have any suggestions let me know!

Re: Integrate DP in already installed Windows

This forum is for adding driverpacks after the installation
IE it was installed without driverpacks KTD and we wish to upgrade it.

Slipstream ALL Latest Packs except for Graphics B & C and Sound A. Using method 2 with QSC enabled and KTD disabled (but I want to KTD so I modified the FINI.cmd will post it below).

WHY? what a silly thing to do...  " i want KTD so i disabled it " [and now it doesnt work - DUH!]

Did you read Jaaks post???

Jaak wrote:

hmmm

fini.cmd proved to be a no good useless bit of experimental work.

you are trying to manually duplicate this process needlessly since the DP base already provides teh functionality you want and why should we help you when we have provided a simple way to get the result you desire.

If you are able to get something useful working by all means let us know. If it doesnt work it's not much help is it?

since you are installing clean you can just enable KTD from base and your done. 

it's that simple.  please post in the appropriate threads.

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: Integrate DP in already installed Windows

@all adding drivers to an existing system is not tough at all.
KTD is designed for what i call an air system its a MB, hdd and powersupply on a workbench. If i think i have a bad sound card i pull it out of the client machine and drop it on my "air system" since i have never had this device in my sytem before pnp searches and finds the driver.

perfect...

KTD is not practical for a regular install say i add a device 6 months from now do i really want to auto install a 6 month old driver? No.
KTD is only useful for a test machine that gets reloaded often. that being the case why add it afterwards just reload it . Done.

KTD will not enable you to magicaly make all those devices with yellow exclamation points disappear.
this is because windows setup has already enumerated all the devices in your system. and added them to device manager as unsupported devices  and its not going to check again setup is overwith...

now you can add a folder to the pnp search path and manually remove the devices from device manger and then search for new hardware.

but there is now way from base to clean up the mess made by not making the drivers available to setup.

That is the key they have to be there to begin with or there is not much point

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: Integrate DP in already installed Windows

ristech wrote:

Here's what I have done so far by following your posts:
[OptionalSettings]
; none/all/select/paths/patterns, enable or disable Keep The Drivers (KTD) , if not specified: none
KTD        = "false"
; <path>, to specify a custom KTD cache location, if not specified: default (%SystemRoot%\DriverPacks)
KTDlocation    = "%SystemRoot%\DriverPacks"
; yes/no, enable or disable QuickStream Cache (QSC), if not specified: yes
QSC        = "yes"

KTD=false will remove your drivers when finisher runs. Since you did not rerun windows setup it wont update existing devices in your machine you have to do that by hand.

i dont' know how many times i have to say this the DriverPacks Finisher DOES NOT INSTALL DRIVERS. - - - PERIOD!

it adds SOFTWARE to PREVIOUSLY INSTALLED drivers (like control panel files or raid management GUI, ect... things that are normaly installed by running an executable installer program)


example i run an install without the driverpacks on a machine that has an ATI card
it gets added to device manager as a standard VGA card
i run a KTD script like above and run the finisher since the ati card is not installed the finisher will not install the ATI control panel and why should it since there is not ATI card in the system per device manager???

Do you see why this cannot work???

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: Integrate DP in already installed Windows

I can confirm this too .
I tried write cmd like fini.cmd and had to tell all it was bull when I really tested it.

The answer was 42?
Kind regards, Jaak.

Re: Integrate DP in already installed Windows

jaak checkout benjamminzIS other thread i found the problem its in sound b can we get that in the nightly...

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: Integrate DP in already installed Windows

This can now be done easily

http://forum.driverpacks.net/viewtopic.php?id=2264

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: Integrate DP in already installed Windows

old topics are like old hardware.
support dies and the machine survives.

DriverPacks BASE includes a tool now, and Jeff likes warm snow.

The answer was 42?
Kind regards, Jaak.