From: Bruce on 24 May 2005 06:35 Hi, I am trying to use the legacyMode element within the dpinst xml schema, so that we can install non signed drivers using the Device Package Installer. However i do not seem to be bale to get it to work as it will not install the drive as it is not signed. Is there anything else that one should do to get this to work? Many Thanks, Bruce <?xml version="1.0"?> <dpinst> <language code="0x0409"> </language> <icon>App.ico</icon> <watermarkPath>AClogo.bmp</watermarkPath> <legacyMode/> </dpinst> -- Bruce Philp Software Engineer Astron Clinica Ltd
From: Pavel A. on 24 May 2005 09:54 "Bruce" wrote: > I am trying to use the legacyMode element within the dpinst xml schema, so > that we can install non signed drivers using the Device Package Installer. > However i do not seem to be bale to get it to work as it will not install the > drive as it is not signed. Is there anything else that one should do to get > this to work? Are you using dpinst from DifX v .2? Note that it still does not remove the need to sign the driver for device classes that require a signed driver when you install it manually. --PA > Many Thanks, > Bruce > > <?xml version="1.0"?> > <dpinst> > <language code="0x0409"> > </language> > <icon>App.ico</icon> > <watermarkPath>AClogo.bmp</watermarkPath> > <legacyMode/> > </dpinst> > > > > -- > Bruce Philp > Software Engineer > Astron Clinica Ltd
From: Bruce on 24 May 2005 10:16 Yes, i am using DifX V2, which supplies a Device Package Installer. From the documentation, it indicates that you can set the legacyMode in the xml schema and you can install unsigned drivers. What can i do to get this to work with unsigned drivers? I am fairly new to this. Many Thanks, Bruce -- Bruce Philp Software Engineer Astron Clinica Ltd "Pavel A." wrote: > "Bruce" wrote: > > I am trying to use the legacyMode element within the dpinst xml schema, so > > that we can install non signed drivers using the Device Package Installer. > > However i do not seem to be bale to get it to work as it will not install the > > drive as it is not signed. Is there anything else that one should do to get > > this to work? > > Are you using dpinst from DifX v .2? Note that it still does not remove > the need to sign the driver for device classes that require a signed driver > when you install it manually. > --PA > > > Many Thanks, > > Bruce > > > > <?xml version="1.0"?> > > <dpinst> > > <language code="0x0409"> > > </language> > > <icon>App.ico</icon> > > <watermarkPath>AClogo.bmp</watermarkPath> > > <legacyMode/> > > </dpinst> > > > > > > > > -- > > Bruce Philp > > Software Engineer > > Astron Clinica Ltd
From: Pavel A. on 24 May 2005 17:37 "Bruce" wrote: > Yes, i am using DifX V2, which supplies a Device Package Installer. From the > documentation, it indicates that you can set the legacyMode in the xml schema > and you can install unsigned drivers. > > What can i do to get this to work with unsigned drivers? I am fairly new to > this. Bruce, what is the class of your driver? Your driver package contains some file of type .inf. In this file find a section [Version]. In this section find a line that begins with word "Class" or "ClasGUID". What is the rest of this line? If you install the driver wihout DifX, does Windows display the signing popup? --PA > Many Thanks, > Bruce > -- > Bruce Philp > Software Engineer > Astron Clinica Ltd > > > "Pavel A." wrote: > > > "Bruce" wrote: > > > I am trying to use the legacyMode element within the dpinst xml schema, so > > > that we can install non signed drivers using the Device Package Installer. > > > However i do not seem to be bale to get it to work as it will not install the > > > drive as it is not signed. Is there anything else that one should do to get > > > this to work? > > > > Are you using dpinst from DifX v .2? Note that it still does not remove > > the need to sign the driver for device classes that require a signed driver > > when you install it manually. > > --PA > > > > > Many Thanks, > > > Bruce > > > > > > <?xml version="1.0"?> > > > <dpinst> > > > <language code="0x0409"> > > > </language> > > > <icon>App.ico</icon> > > > <watermarkPath>AClogo.bmp</watermarkPath> > > > <legacyMode/> > > > </dpinst> > > > > > > > > > > > > -- > > > Bruce Philp > > > Software Engineer > > > Astron Clinica Ltd
From: Benjamin on 31 May 2005 19:15
Was there a resolution to this problem? I seem to be encountering the exact same problem while installing a miniport driver using version 2.0 of dpinst.exe. I have tried everything I can think of but nothing seems to work. I tried commenting out the "CatalogFIle" entry in the .inf file but that didn't work. I also tried creating an empty catalog file (slic.cat) with the same result. I can install fine using the "found new hardware" wizard or Device Manager. I get the digital signature warning and the installation completes successfully. My dpinst.xml file is: <?xml version="1.0"?> <dpInst> <search> <subDirectory>miniport</subDirectory> </search> <language code="0x0409"> </language> <legacyMode/> <deleteBinaries/> <forceIfDriverIsNotBetter/> </dpInst> The dpinst.log file contains: INFO: **************************************** INFO: 05/31/2005 13:09:49 INFO: Windows Server 2003 INFO: Product Version 2.0.0.0. INFO: Architecture: X86. INFO: Command Line: '"C:\Install\DPInst.exe" ' INFO: **************************************** INFO: Current working directory: 'C:\Install' INFO: Running on path 'C:\Install' INFO: User UI Language is 0x409. INFO: Install option set: Force install if driver is not better. INFO: Install option set: uninstall will be set to delete driver binaries. INFO: Found driver package: 'C:\Install\miniport\netaccel.inf'. INFO: ENTER: DriverPackagePreinstallW ERROR: Failed to calculate strong name from 'c:\install\miniport\slic.cat'. Check if catalog is valid and if file is in the same directory as the INF. (Error code 0x80070002: The system cannot find the file specified.) INFO: RETURN: DriverPackagePreinstallW (0xE0000304) INFO: Returning with code 0x80010000 INFO: 05/31/2005 13:09:53 The [version] section of the inf file contains: [version] Signature = "$Windows NT$" Class = Net ClassGUID = {4d36e972-e325-11ce-bfc1-08002be10318} Provider = %PROVIDER% DriverPackageType = PlugAndPlay CatalogFile = slic.cat DriverVer = 5/11/2005,9.0.0.0 Any help and/or suggestions would be greatly appreciated. Thanks. Benjamin Dagana Software Engineer "Pavel A." wrote: > "Bruce" wrote: > > Yes, i am using DifX V2, which supplies a Device Package Installer. From the > > documentation, it indicates that you can set the legacyMode in the xml schema > > and you can install unsigned drivers. > > > > What can i do to get this to work with unsigned drivers? I am fairly new to > > this. > > Bruce, > what is the class of your driver? Your driver package contains some > file of type .inf. In this file find a section [Version]. > In this section find a line that begins with word "Class" or "ClasGUID". > What is the rest of this line? > > If you install the driver wihout DifX, does Windows > display the signing popup? > > --PA > > > Many Thanks, > > Bruce > > -- > > Bruce Philp > > Software Engineer > > Astron Clinica Ltd > > > > > > "Pavel A." wrote: > > > > > "Bruce" wrote: > > > > I am trying to use the legacyMode element within the dpinst xml schema, so > > > > that we can install non signed drivers using the Device Package Installer. > > > > However i do not seem to be bale to get it to work as it will not install the > > > > drive as it is not signed. Is there anything else that one should do to get > > > > this to work? > > > > > > Are you using dpinst from DifX v .2? Note that it still does not remove > > > the need to sign the driver for device classes that require a signed driver > > > when you install it manually. > > > --PA > > > > > > > Many Thanks, > > > > Bruce > > > > > > > > <?xml version="1.0"?> > > > > <dpinst> > > > > <language code="0x0409"> > > > > </language> > > > > <icon>App.ico</icon> > > > > <watermarkPath>AClogo.bmp</watermarkPath> > > > > <legacyMode/> > > > > </dpinst> > > > > > > > > > > > > > > > > -- > > > > Bruce Philp > > > > Software Engineer > > > > Astron Clinica Ltd |