Need help when repackaging PNP Driver
Hello everybody,
I need some help, because I've got some trouble when install my msi package.
I've follow some tutorials but result is always the same. Actually I used Device Driver template (in Wise for Windows Installer 6.10) with merge module DiffxApp
First I've created a folder (in Program Files) to store drivers files (.inf, cat, dll, exe, sys)
Then I've added file (the first was .inf file, in order to become component keypath)
When all file was in the folder, I've edited 'Details' about .inf file. Select 'Driver' tab, and then check 'Use DiffxApp to install this driver file'. I've also checked the three other box.
Compile works fine.
When I try to install my package install failed. with /l*v option, I've got log file, where I can read (in step DIFXAPP: InstallDriverPackages) :
Do you have some idea about this problem ?
Regards
I need some help, because I've got some trouble when install my msi package.
I've follow some tutorials but result is always the same. Actually I used Device Driver template (in Wise for Windows Installer 6.10) with merge module DiffxApp
First I've created a folder (in Program Files) to store drivers files (.inf, cat, dll, exe, sys)
Then I've added file (the first was .inf file, in order to become component keypath)
When all file was in the folder, I've edited 'Details' about .inf file. Select 'Driver' tab, and then check 'Use DiffxApp to install this driver file'. I've also checked the three other box.
Compile works fine.
When I try to install my package install failed. with /l*v option, I've got log file, where I can read (in step DIFXAPP: InstallDriverPackages) :
DIFXAPP: INFO: Installing INF file "C:\WINNT\system32\DRVSTORE\kit12928_7A98A40EC8A4E16D6B66C417F29520B781AADAB4\kit12928.inf" of Type 6.
DIFXAPP: INFO: Looking for Model Section ...
DIFXAPP: INFO: Installing devices with Id "PCI\VEN_8086&DEV_2A02&SUBSYS_01F91028&REV_0C" using INF "C:\WINNT\system32\DRVSTORE\kit12928_7A98A40EC8A4E16D6B66C417F29520B781AADAB4\kit12928.inf".
DIFXAPP: ERROR: Installation failed. (Error code 0x57: The parameter is incorrect.) DIFXAPP: ERROR: UpdateDriverForPlugAndPlayDevices returned error. (Error code 0x57: The parameter is incorrect.)
DIFXAPP: ERROR: PnP Install failed. (Error code 0x57: The parameter is incorrect.)
DIFXAPP: INFO: Attempting to rollback ...
DIFXAPP: ERROR: Rollback failed. (Error code 0x643: Fatal error during installation.)
DIFXAPP: INFO: Successfully removed {2204B93A-DE19-478B-A581-3304C78D789F} from reference list of driver store entry C:\WINNT\system32\DRVSTORE\kit12928_7A98A40EC8A4E16D6B66C417F29520B781AADAB4\kit12928.inf
DIFXAPP: INFO: Driver Store entry C:\WINNT\system32\DRVSTORE\kit12928_7A98A40EC8A4E16D6B66C417F29520B781AADAB4\kit12928.inf removed.
DIFXAPP: INFO: RETURN: DriverPackageInstallW (0x57)
DIFXAPP: ERROR encountered while installing driver package C:\Program Files\DriverVideo\kit12928.inf
DIFXAPP: InstallDriverPackages failed with error 0x57
Do you have some idea about this problem ?
Regards
0 Comments
[ + ] Show comments
Answers (7)
Please log in to answer
Posted by:
anonymous_9363
16 years ago
Posted by:
JeanLedot
16 years ago
Thanks for the idea, VBScab. Will try asap. ==> .inf is correctly installed.
Anyway I have try with this http://itninja.com/question/gnu,-freeware-and-shareware-programs-to-cloning596 but it doesn't seems to work with W2K... Did you know why ? - I've change some folder like Window folder (W2K is install in WINNT, not in windows...) but still don't work
Anyway I have try with this http://itninja.com/question/gnu,-freeware-and-shareware-programs-to-cloning596 but it doesn't seems to work with W2K... Did you know why ? - I've change some folder like Window folder (W2K is install in WINNT, not in windows...) but still don't work
Posted by:
JeanLedot
16 years ago
Hi all,
Sorry but I was wrong in my last post. In fact, when I try to install with the method given by VBScab, install failed.
If someone has an idea to identify which parameter is incorrect, it would be nice.
Here is some log that I got when trying to install this driver with the DPInst.exe
Thanks in advance for help
Sorry but I was wrong in my last post. In fact, when I try to install with the method given by VBScab, install failed.
If someone has an idea to identify which parameter is incorrect, it would be nice.
Here is some log that I got when trying to install this driver with the DPInst.exe
INFO: Copied file: 'c:\program files\delld630video\igxpmp32.sys' -> 'C:\WINNT\system32\DRVSTORE\kit12928_7A98A40EC8A4E16D6B66C417F29520B781AADAB4\igxpmp32.sys'.
INFO: Copied file: 'c:\program files\delld630video\igfxzoom.exe' -> 'C:\WINNT\system32\DRVSTORE\kit12928_7A98A40EC8A4E16D6B66C417F29520B781AADAB4\igfxzoom.exe'.
INFO: Copied file: 'c:\program files\delld630video\igfxcpl.cpl' -> 'C:\WINNT\system32\DRVSTORE\kit12928_7A98A40EC8A4E16D6B66C417F29520B781AADAB4\igfxcpl.cpl'.
SUCCESS:c:\program files\delld630video\kit12928.inf is preinstalled.
INFO: RETURN: DriverPackagePreinstallW (0x0)
INFO: ENTER: DriverPackageGetPathW
SUCCESS:Found driver store entry.
INFO: RETURN: DriverPackageGetPathW (0x0)
INFO: ENTER: DriverPackageInstallW
INFO: Installing INF file "C:\WINNT\system32\DRVSTORE\kit12928_7A98A40EC8A4E16D6B66C417F29520B781AADAB4\kit12928.inf" of Type 6.
INFO: Looking for Model Section [Intel.Mfg]...
INFO: Installing devices with Id "PCI\VEN_8086&DEV_2A02&SUBSYS_01F91028&REV_0C" using INF "C:\WINNT\system32\DRVSTORE\kit12928_7A98A40EC8A4E16D6B66C417F29520B781AADAB4\kit12928.inf".
INFO: ENTER UpdateDriverForPlugAndPlayDevices...
ERROR: RETURN UpdateDriverForPlugAndPlayDevices. (Error code 0x57: The parameter is incorrect.)
ERROR: Installation failed. (Error code 0x57: The parameter is incorrect.)
ERROR: PnP Install failed. (Error code 0x57: The parameter is incorrect.)
INFO: Attempting to rollback ...
INFO: No devices to rollback
INFO: RETURN: DriverPackageInstallW (0x57)
Thanks in advance for help
Posted by:
anonymous_9363
16 years ago
Posted by:
JeanLedot
16 years ago
Here is the part of .inf file which seems to be incorrect.
I've found a way to avoid error. I have to launch two times the DPInst.exe with the msi and then driver is correctly installed. But if someone has another idea, or solution...
Thanks in advance
;
; Driver information
;
[Manufacturer]
%Intel% = Intel.Mfg
[Intel.Mfg]
;Dell Specific
;GM965
%iCRGD0% = iCRG0, PCI\VEN_8086&DEV_2A02&SUBSYS_01F91028
%iCRGD1% = iCRG1, PCI\VEN_8086&DEV_2A03&SUBSYS_01F91028
%iCRGD0% = iCRG0, PCI\VEN_8086&DEV_2A02&SUBSYS_01FE1028
%iCRGD1% = iCRG1, PCI\VEN_8086&DEV_2A03&SUBSYS_01FE1028
%iCRGD0% = iCRG0, PCI\VEN_8086&DEV_2A02&SUBSYS_02121028
%iCRGD1% = iCRG1, PCI\VEN_8086&DEV_2A03&SUBSYS_02121028
%iCRGD0% = iCRG0, PCI\VEN_8086&DEV_2A02&SUBSYS_02131028
%iCRGD1% = iCRG1, PCI\VEN_8086&DEV_2A03&SUBSYS_02131028
%iCRGD0% = iCRG0, PCI\VEN_8086&DEV_2A02&SUBSYS_01F11028
%iCRGD1% = iCRG1, PCI\VEN_8086&DEV_2A03&SUBSYS_01F11028
%iCRGD0% = iCRG0, PCI\VEN_8086&DEV_2A02&SUBSYS_01F21028
%iCRGD1% = iCRG1, PCI\VEN_8086&DEV_2A03&SUBSYS_01F21028
%iCRGD0% = iCRG0, PCI\VEN_8086&DEV_2A02&SUBSYS_01F31028
%iCRGD1% = iCRG1, PCI\VEN_8086&DEV_2A03&SUBSYS_01F31028
%iCRGD0% = iCRG0, PCI\VEN_8086&DEV_2A02&SUBSYS_02001028
%iCRGD1% = iCRG1, PCI\VEN_8086&DEV_2A03&SUBSYS_02001028
%iCRGD0% = iCRG0, PCI\VEN_8086&DEV_2A02&SUBSYS_02091028
%iCRGD1% = iCRG1, PCI\VEN_8086&DEV_2A03&SUBSYS_02091028
%iCRGD0% = iCRG0, PCI\VEN_8086&DEV_2A02&SUBSYS_02271028
%iCRGD1% = iCRG1, PCI\VEN_8086&DEV_2A03&SUBSYS_02271028
%iCRGD0% = iCRG0, PCI\VEN_8086&DEV_2A02&SUBSYS_02281028
%iCRGD1% = iCRG1, PCI\VEN_8086&DEV_2A03&SUBSYS_02281028
%iCRGD0% = iCRG0, PCI\VEN_8086&DEV_2A02&SUBSYS_02291028
%iCRGD1% = iCRG1, PCI\VEN_8086&DEV_2A03&SUBSYS_02291028
%iCRGD0% = iCRG0, PCI\VEN_8086&DEV_2A02&SUBSYS_02411028
%iCRGD1% = iCRG1, PCI\VEN_8086&DEV_2A03&SUBSYS_02411028
I've found a way to avoid error. I have to launch two times the DPInst.exe with the msi and then driver is correctly installed. But if someone has another idea, or solution...
Thanks in advance
Posted by:
JeanLedot
16 years ago
One more time I need your help because I have some troubles during repackaging drivers.
I have to uninstall previous version of the driver (6.14.XX.48.31) and then install new (6.14.XX.49.26). Uninstall is ok but ask for reboot. As I have set my custom action to ignore exit code, package continues his installation and try to install the new driver. Here is the problem : in fact, DPInst.exe cannot install the new driver. I have found in DPInst.log these lines :
As you can see, it says that drivers cannot be installed because new driver is not better than old. Did you know how is performing the comparison ?
Another way is to schedule reboot between uninstall old driver and reinstall new. is it possible ?
Many thanks for your answers
I have to uninstall previous version of the driver (6.14.XX.48.31) and then install new (6.14.XX.49.26). Uninstall is ok but ask for reboot. As I have set my custom action to ignore exit code, package continues his installation and try to install the new driver. Here is the problem : in fact, DPInst.exe cannot install the new driver. I have found in DPInst.log these lines :
INFO: Installing INF file "C:\WINNT\system32\DRVSTORE\kit12928_7A98A40EC8A4E16D6B66C417F29520B781AADAB4\kit12928.inf" of Type 6.
INFO: Looking for Model Section [Intel.Mfg]...
INFO: Installing devices with Id "PCI\VEN_8086&DEV_2A02&SUBSYS_01F91028&REV_0C" using INF "C:\WINNT\system32\DRVSTORE\kit12928_7A98A40EC8A4E16D6B66C417F29520B781AADAB4\kit12928.inf".
INFO: Installation did not occur because the current driver on the device is the same or better.
INFO: Installing devices with Id "PCI\VEN_8086&DEV_2A03&SUBSYS_01F91028&REV_0C" using INF "C:\WINNT\system32\DRVSTORE\kit12928_7A98A40EC8A4E16D6B66C417F29520B781AADAB4\kit12928.inf".
INFO: Installation did not occur because the current driver on the device is the same or better.
INFO: No drivers installed. Drivers contained in 'C:\WINNT\system32\DRVSTORE\kit12928_7A98A40EC8A4E16D6B66C417F29520B781AADAB4\kit12928.inf' are not better than current one's.
SUCCESS:Installation completed with code 0x103.
INFO: RETURN: DriverPackageInstallW (0x103)
INFO: Did not install 'c:\program files\delld630video\kit12928.inf' because it is not better than the current drivers.
As you can see, it says that drivers cannot be installed because new driver is not better than old. Did you know how is performing the comparison ?
Another way is to schedule reboot between uninstall old driver and reinstall new. is it possible ?
Many thanks for your answers
Posted by:
tron2ole
13 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.