Dear Team,
I am pre-installing the drivers for the device using DPInst.exe. Since I want to install unsigned drivers, I am using element in the xml file.
I did the same when pre-installing the unsigned drivers on Vista and everything worked fine.
But on XP machine, I get the following error:
INFO: ENTER: DriverPackagePreinstallW
ERROR: Catalog file ‘c:\test.cat’ not found.
Integrity check of driver package ‘test.inf’ failed.
INFO: RETURN: DriverPackagePreinstallW (0xE0000304)
Do I need to specify any other option in order to pre-install the drivers in XP.
Also WINUSB architecture is applicable only from Vista or on XP also. I found winusb.inf in Vista machine but in XP even though I located winusb.sys and winusb.dll, I did not find any winusb.inf file.
Regards.
xxxxx@gmail.com wrote:
I am pre-installing the drivers for the device using DPInst.exe. Since I want to install unsigned drivers, I am using element in the xml file.
I did the same when pre-installing the unsigned drivers on Vista and everything worked fine.
But on XP machine, I get the following error:
INFO: ENTER: DriverPackagePreinstallW
ERROR: Catalog file ‘c:\test.cat’ not found.
Integrity check of driver package ‘test.inf’ failed.
INFO: RETURN: DriverPackagePreinstallW (0xE0000304)
Do I need to specify any other option in order to pre-install the drivers in XP.
Did you actually supply a catalog file?
Also WINUSB architecture is applicable only from Vista or on XP also. I found winusb.inf in Vista machine but in XP even though I located winusb.sys and winusb.dll, I did not find any winusb.inf file.
WinUSB is supported in XP as well, but it is not built-in. You have to
use the co-installer to get it installed. It will create whatever files
are necessary.
http://download.microsoft.com/download/9/c/5/9c5b2167-8017-4bae-9fde-d599bac8184a/WinUsb_HowTo.docx
–
Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.
Thanks for the pointer. Yes I found that WinUSB is supported in XP as well. I managed to load winusb.sys both in Vista and XP.
But in XP I loaded using New Hardware Found wizard instead of pre-installing.
In the case of Vista I am not supplying any catalog file. Because of this warning dialog gets popped up during driver installation and I selected “continue anyway” option.
I need to do more homework on XP DPInstallation.
Regards.
Does the [Version] section of your INF file have a CatalogFile directive? If
so, delete or comment out that line and try again.
wrote in message news:xxxxx@ntdev…
>
> Dear Team,
>
> I am pre-installing the drivers for the device using DPInst.exe. Since I
> want to install unsigned drivers, I am using element in the
> xml file.
>
> I did the same when pre-installing the unsigned drivers on Vista and
> everything worked fine.
>
> But on XP machine, I get the following error:
>
> INFO: ENTER: DriverPackagePreinstallW
>
> ERROR: Catalog file ‘c:\test.cat’ not found.
>
> Integrity check of driver package ‘test.inf’ failed.
>
> INFO: RETURN: DriverPackagePreinstallW (0xE0000304)
>
> Do I need to specify any other option in order to pre-install the drivers
> in XP.
>
> Also WINUSB architecture is applicable only from Vista or on XP also. I
> found winusb.inf in Vista machine but in XP even though I located
> winusb.sys and winusb.dll, I did not find any winusb.inf file.
>
> Regards.
>
If I comment Catalog Directive, it gives the error that no catalog directive
is present.
I pre installed custom HID driver in XP couple of months ago and I need to
compare the package contents in both the cases.
I will update the status as soon as I complete my verification.
Regards.
On Jan 3, 2008 2:24 PM, Abhishek R wrote:
> Does the [Version] section of your INF file have a CatalogFile directive?
> If
> so, delete or comment out that line and try again.
>
> wrote in message news:xxxxx@ntdev…
> >
> > Dear Team,
> >
> > I am pre-installing the drivers for the device using DPInst.exe. Since
> I
> > want to install unsigned drivers, I am using element in
> the
> > xml file.
> >
> > I did the same when pre-installing the unsigned drivers on Vista and
> > everything worked fine.
> >
> > But on XP machine, I get the following error:
> >
> > INFO: ENTER: DriverPackagePreinstallW
> >
> > ERROR: Catalog file ‘c:\test.cat’ not found.
> >
> > Integrity check of driver package ‘test.inf’ failed.
> >
> > INFO: RETURN: DriverPackagePreinstallW (0xE0000304)
> >
> > Do I need to specify any other option in order to pre-install the
> drivers
> > in XP.
> >
> > Also WINUSB architecture is applicable only from Vista or on XP also. I
> > found winusb.inf in Vista machine but in XP even though I located
> > winusb.sys and winusb.dll, I did not find any winusb.inf file.
> >
> > Regards.
> >
>
>
>
> —
> NTDEV is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer
>