Topic: question regarding DPInst.exe

Hello experts,

I am a new to this topic and also I don't where to post about this so I am posting my question here. If I posted it in wrong forum Please  guide me where to post it .

I am using DPInst.exe to install my Driver I am using this command line argument fot this:

DPInst.exe /sa /lm /PATH "C:\DSFS\Binaries\brd3k8flt\brd3k8flt"

I am using  /sa to supress the entry in the add and remove Programs , but using this command my driver is installed properly and also there is a entry in the add and Remove Programs.

I am attaching the log of DPINST.log file


INFO:   ****************************************
INFO:   11/30/2009 11:36:44
INFO:   Product Version 2.0.1.0.
INFO:   Version: 5.1.2600 Service Pack 3
INFO:   Platform ID: 2 (NT)
INFO:   Service Pack: 3.0
INFO:   Suite: 0x0100, Product Type: 1
INFO:   Architecture: X86.
INFO:   Interactive Windows Station
INFO:   Command Line: 'DPInst.exe /sa /lm /PATH "C:\DSFS\Binaries\brd3k8flt\brd3k8flt"'
INFO:   ****************************************
INFO:   Current working directory: 'C:\DSFS\Binaries\brd3k8flt'
INFO:   Running on path 'C:\DSFS\Binaries\brd3k8flt\brd3k8flt'
INFO:   No valid 'dpinst.xml' file provided.
INFO:   Install option set: legacy mode on.
INFO:   Install option set: Suppress Add or Remove Programs entries.
INFO:   Found driver package: 'C:\DSFS\Binaries\brd3k8flt\brd3k8flt\brd3k8flt.inf'.
INFO:   Preinstalling 'c:\dsfs\binaries\brd3k8flt\brd3k8flt\brd3k8flt.inf' ...
INFO:   ENTER:  DriverPackagePreinstallW
ERROR:  Preinstall is not a supported operation for driver type 5
INFO:   RETURN: DriverPackagePreinstallW  (0x1)
INFO:   ENTER:  DriverPackageGetPathW
INFO:   No driver store entry for c:\dsfs\binaries\brd3k8flt\brd3k8flt\brd3k8flt.inf found. (Error code 0xE0000302.)
INFO:   RETURN: DriverPackageGetPathW  (0xE0000302)
INFO:   ENTER:  DriverPackageInstallW
INFO:   Copied 'brd3k8flt.inf' to driver store...
INFO:   Commiting queue...
INFO:   Copied file: 'c:\dsfs\binaries\brd3k8flt\brd3k8flt\x86\brd3k8flt.sys' -> 'C:\WINDOWS\system32\DRVSTORE\brd3k8flt_383D8936F14A344CBAAAD326E472FEFD0ECCABD6\x86\brd3k8flt.sys'.
INFO:   Installing INF file "C:\WINDOWS\system32\DRVSTORE\brd3k8flt_383D8936F14A344CBAAAD326E472FEFD0ECCABD6\brd3k8flt.inf" of Type 5.
INFO:   installing class filter 'C:\WINDOWS\system32\DRVSTORE\brd3k8flt_383D8936F14A344CBAAAD326E472FEFD0ECCABD6\brd3k8flt.inf'
INFO:   'C:\WINDOWS\system32\DRVSTORE\brd3k8flt_383D8936F14A344CBAAAD326E472FEFD0ECCABD6\brd3k8flt.inf' requires a reboot.
SUCCESS:Installation completed with code 0x0.
INFO:   RETURN: DriverPackageInstallW  (0x0)
INFO:   ENTER:  DriverPackageGetPathW
SUCCESS:Found driver store entry.
INFO:   RETURN: DriverPackageGetPathW  (0x0)
INFO:   Successfull installation of 'c:\dsfs\binaries\brd3k8flt\brd3k8flt\brd3k8flt.inf'.
INFO:   Created entry in Add or Remove Programs for 'C:\WINDOWS\system32\DRVSTORE\brd3k8flt_383D8936F14A344CBAAAD326E472FEFD0ECCABD6\brd3k8flt.inf'.
INFO:   Machine will have to be rebooted to complete installation.
INFO:   Returning with code 0x40000001
INFO:   11/30/2009 11:36:48


Can anyone guide me on this topic.

Thanks in advance

ragards,
rajeev

Re: question regarding DPInst.exe

questions:

what version of dpinst.exe?
did you try the dpinst.xml entry for suppressAddRemovePrograms? http://msdn.microsoft.com/en-us/library/ms794270.aspx

suggestion:
I have had issues with certain command line switches and found specifing both the command switch and the xml entry too helped.

Welcome:
Welcome to DriverPacks, the "Other forum" is good for just about anything... 

Have a great day and god luck!

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: question regarding DPInst.exe

hello OverFlow,

thanks for your quick reply, As you suggested I used both the command line argument and DPInst.xml. But It didn't worked for me

I used the following command line argument

DPInst.exe /sa /lm /PATH "C:\DSFS\Binaries\brd3k8flt\brd3k8flt"

and the following XML file :

<?xml version="1.0"?>
<dpInst>
    <lagencyMode/>
    <watermarkPath>ToasterRed.bmp</watermarkPath>   
    <suppressAddRemovePrograms/>
</dpInst>

but the log is same as in previous case i.e

INFO:   ****************************************
INFO:   11/30/2009 16:17:46
INFO:   Product Version 2.1.0.0.
INFO:   Version: 5.1.2600 Service Pack 3
INFO:   Platform ID: 2 (NT)
INFO:   Service Pack: 3.0
INFO:   Suite: 0x0100, Product Type: 1
INFO:   Architecture: X86.
INFO:   Interactive Windows Station
INFO:   Command Line: 'DPInst.exe /sa /lm /PATH "C:\DSFS\Binaries\brd3k8flt\brd3k8flt"'
INFO:   DPInst is a multi-lingual binary.
INFO:   ****************************************
INFO:   Current working directory: 'C:\DSFS\Binaries\brd3k8flt\brd3k8flt'
INFO:   Running on path 'C:\DSFS\Binaries\brd3k8flt\brd3k8flt'
INFO:   DPInst.xml does not list the current UI language.
INFO:   User UI Language is 0x409.
INFO:   Install option set: legacy mode on.
INFO:   Install option set: Suppress Add or Remove Programs entries.
INFO:   Found driver package: 'C:\DSFS\Binaries\brd3k8flt\brd3k8flt\brd3k8flt.inf'.
INFO:   Preinstalling 'c:\dsfs\binaries\brd3k8flt\brd3k8flt\brd3k8flt.inf' ...
INFO:   ENTER:  DriverPackagePreinstallW
ERROR:  Preinstall is not a supported operation for driver type 5
INFO:   RETURN: DriverPackagePreinstallW  (0x1)
INFO:   ENTER:  DriverPackageGetPathW
INFO:   No driver store entry for c:\dsfs\binaries\brd3k8flt\brd3k8flt\brd3k8flt.inf found. (Error code 0xE0000302.)
INFO:   RETURN: DriverPackageGetPathW  (0xE0000302)
INFO:   ENTER:  DriverPackageInstallW
INFO:   Copied 'brd3k8flt.inf' to driver store...
INFO:   Commiting queue...
INFO:   Copied file: 'c:\dsfs\binaries\brd3k8flt\brd3k8flt\x86\brd3k8flt.sys' -> 'C:\WINDOWS\system32\DRVSTORE\brd3k8flt_383D8936F14A344CBAAAD326E472FEFD0ECCABD6\x86\brd3k8flt.sys'.
INFO:   Installing INF file "C:\WINDOWS\system32\DRVSTORE\brd3k8flt_383D8936F14A344CBAAAD326E472FEFD0ECCABD6\brd3k8flt.inf" of Type 5.
INFO:   installing class filter 'C:\WINDOWS\system32\DRVSTORE\brd3k8flt_383D8936F14A344CBAAAD326E472FEFD0ECCABD6\brd3k8flt.inf'
INFO:   'C:\WINDOWS\system32\DRVSTORE\brd3k8flt_383D8936F14A344CBAAAD326E472FEFD0ECCABD6\brd3k8flt.inf' requires a reboot.
SUCCESS:Installation completed with code 0x0.
INFO:   RETURN: DriverPackageInstallW  (0x0)
INFO:   ENTER:  DriverPackageGetPathW
SUCCESS:Found driver store entry.
INFO:   RETURN: DriverPackageGetPathW  (0x0)
INFO:   Successfull installation of 'c:\dsfs\binaries\brd3k8flt\brd3k8flt\brd3k8flt.inf'.
INFO:   Created entry in Add or Remove Programs for 'C:\WINDOWS\system32\DRVSTORE\brd3k8flt_383D8936F14A344CBAAAD326E472FEFD0ECCABD6\brd3k8flt.inf'.
INFO:   Machine will have to be rebooted to complete installation.
INFO:   Returning with code 0x40000001
INFO:   11/30/2009 16:17:49

can you please help me. I am not able to figure out where I am doing wrong.

Regards,
rajeev

Re: question regarding DPInst.exe

what version of dpinst?

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: question regarding DPInst.exe

I am using 2.1 version of DPInst

Re: question regarding DPInst.exe

ERROR:  Preinstall is not a supported operation for driver type 5
No driver store entry for c:\dsfs\binaries\brd3k8flt\brd3k8flt\brd3k8flt.inf found. (Error code 0xE0000302.)

start by addressing the shown errors... they may yeild the answer.

It looks to me as if it should work...
your best bet is to follow this up at MS. they have a forum for this wink.

I am curious why it failed though...
Did you verify that the add remove entry was actually created?

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!.