Hello,
I am trying to install a scanner driver with AI 5.1.1.
I created one folder on the disk for driver related files. Files are..
scanner.inf
scanner.cat
scanner_x64.cat
libusb0.dll
libusbJava.dll
libusb0.sys
in "File and Folders" I added this folder and add the scanner.inf in Drivers page.
Currently, only "Install unsigned driver packages... " is checked.
But installation keep rolling back and the log is as followed.
Can you help me with this?
================================================================================
DIFXAPP: InstallDriverPackages
DIFXAPP: 'CustomActionData' property 'DIFxApp Version' is 2.01.
DIFXAPP: 'CustomActionData' property 'UI Level' is 5.
DIFXAPP: 'CustomActionData' property 'componentId' is {571AC69C-AFAA-49EC-A9C9-BEEF37F74B08}.
DIFXAPP: 'CustomActionData' property 'componentPath' is C:\Program Files\Innovez One\Test\Scanner Drivers\.
DIFXAPP: 'CustomActionData' property 'flags' is 0x8.
DIFXAPP: 'CustomActionData' property 'installState' is 2.
DIFXAPP: 'CustomActionData' property 'ProductName' is Test.
DIFXAPP: 'CustomActionData' property 'ManufacturerName' is Innovez One.
DIFXAPP: INFO: ENTER: DriverPackageInstallW
DIFXAPP: ERROR: Failed to calculate strong name from 'C:\Program Files\Innovez One\Test\Scanner Drivers\scanner.cat'. Check if catalog is valid and if file is in the same directory as the INF. (Error code 0x80092009: Cannot find the requested object.)
DIFXAPP: INFO: Successfully removed {571AC69C-AFAA-49EC-A9C9-BEEF37F74B08} from reference list of driver store entry
DIFXAPP: INFO: RETURN: DriverPackageInstallW (0xE0000304)
DIFXAPP: ERROR encountered while installing driver package C:\Program Files\Innovez One\Test\Scanner Drivers\scanner.inf
DIFXAPP: InstallDriverPackages failed with error 0xE0000304
Action ended 16:28:27: InstallFinalize. Return value 3.
MSI (s) (B4:34) [16:28:27:390]: User policy value 'DisableRollback' is 0
MSI (s) (B4:34) [16:28:27:421]: Machine policy value 'DisableRollback' is 0
MSI (s) (B4:34) [16:28:27:453]: Executing op: Header(Signature=1397708873,Version=301,Timestamp=921928562,LangId=1033,Platform=0,ScriptType=2,ScriptMajorVersion=21,ScriptMinorVersion=4,ScriptAttributes=1)
MSI (s) (B4:34) [16:28:27:500]: Executing op: DialogInfo(Type=0,Argument=1033)
MSI (s) (B4:34) [16:28:27:531]: Executing op: DialogInfo(Type=1,Argument=Test)
MSI (s) (B4:34) [16:28:27:968]: Executing op: RollbackInfo(,RollbackAction=Rollback,RollbackDescription=Rolling back action:,,CleanupAction=RollbackCleanup,CleanupDescription=Removing backup files,CleanupTemplate=File: [1])
Action 16:28:28: Rollback. Rolling back action:
1: MsiInstallDrivers
MSI (s) (B4:34) [16:28:28:062]: Executing op: ActionStart(Name=MsiInstallDrivers,,)
MSI (s) (B4:34) [16:28:28:093]: Executing op: ProductInfo(ProductKey={10EE4410-AD48-4458-AF05-3F46DF0E3BE3},ProductName=Test,PackageName=Testbk.msi,Language=1033,Version=16777216,Assignment=1,ObsoleteArg=0,ProductIcon=controlPanelIcon.exe,,PackageCode={AABC2D03-6A36-4F90-9238-82DBECD1C010},,,InstanceType=0,LUASetting=0,RemoteURTInstalls=0)
1: MsiRollbackInstall
MSI (s) (B4:34) [16:28:28:140]: Executing op: ActionStart(Name=MsiRollbackInstall,,)
MSI (s) (B4:34) [16:28:28:171]: Executing op: CustomActionRollback(Action=MsiRollbackInstall,ActionType=3329,Source=BinaryData,Target=RollbackInstall,CustomActionData=2.015{571AC69C-AFAA-49EC-A9C9-BEEF37F74B08}82TestInnovez One)
MSI (s) (B4:60) [16:28:28:218]: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSI2DC.tmp, Entrypoint: RollbackInstall
DIFXAPP: RollbackInstall
DIFXAPP: 'CustomActionData' property 'DIFxApp Version' is 2.01.
DIFXAPP: 'CustomActionData' property 'componentId' is {571AC69C-AFAA-49EC-A9C9-BEEF37F74B08}.
DIFXAPP: 'CustomActionData' property 'flags' is 0x8.
DIFXAPP: 'CustomActionData' property 'installState' is 2.
DIFXAPP: 'CustomActionData' property 'ProductName' is Test.
DIFXAPP: 'CustomActionData' property 'ManufacturerName' is Innovez One.
DIFXAPP: This was the component where the install failure occurred. The rollback for this component must have already occurred at the time of failure. No need to rollback again
DIFXAPP: Rollback failed with error 0x2
================================================================================
**ps
libusb0.dll and lubusbJava.dll are to copy to system32 and libusb0.sys is to go to system32\drivers.
Would it be done automatically by AI?
I found that although I import the folder which includes all the files, scanner features doesn't have scanner.cat file instead it is in seperated component by itself on organization page.
Can anyone help me solve this problem?
Best Regards,
Swe Han
FOLLOW US
Get the latest news in Application Packaging