/build/static/layout/Breadcrumb_cap_w.png

Device drivers with DIFXApp (windows ce)

Can anybody explain/help me with difxapp....

i downloaded from wise the device driver template. I did the following (from the wise site):

1. Download the Device Driver template from here and store it in the Templates directory of your Wise product. (By default, this directory is "C:\Program Files\Wise for Windows Installer\Templates" for Wise for Windows Installer and "C:\Wise Share Point\Templates" for Wise Package Studio.)

2. Create a new project by selecting the Device Driver template from the Custom Templates section of the New Installation File dialog.

3. In Setup Editor, select the Components tab. Right-click on the INF component displayed on the left side of the screen, and select New > File. Then, select the INF file that is associated with your device driver.

4. After adding the INF file, right-click on the "INF" component displayed on the left side of the screen, and select Details. The Components Details dialog will appear. Change the Directory field to match the target location of this INF file, and change the File Key Path field to be the INF file that you just added to the installation.


When i run the msi gives me te following errors:

DIFXAPP: InstallDriverPackages
DIFXAPP: 'CustomActionData' property 'DIFxApp Version' is 2.0.
DIFXAPP: 'CustomActionData' property 'UI Level' is 5.
DIFXAPP: 'CustomActionData' property 'componentId' is {3CC6A155-9CFE-47AE-80E5-7773193360C4}.
DIFXAPP: 'CustomActionData' property 'componentPath' is C:\Program Files\Drivers\WindowsCE\.
DIFXAPP: 'CustomActionData' property 'flags' is 0x0.
DIFXAPP: 'CustomActionData' property 'installState' is 2.
DIFXAPP: 'CustomActionData' property 'ProductName' is <no name>.
DIFXAPP: 'CustomActionData' property 'ManufacturerName' is <no manufacturer>.
DIFXAPP: INFO: ENTER: DriverPackageInstallW
DIFXAPP: ERROR: Failed to calculate strong name from 'C:\Program Files\Drivers\WindowsCE\wceusbsh.cat'. Check if catalog is valid and if file is in the same directory as the INF. (Error code 0x80070002: Het systeem kan het opgegeven bestand niet vinden.)
DIFXAPP: INFO: Successfully removed {3CC6A155-9CFE-47AE-80E5-7773193360C4} from reference list of driver store entry
DIFXAPP: INFO: RETURN: DriverPackageInstallW (0xE0000304)
DIFXAPP: ERROR encountered while installing driver package C:\Program Files\Drivers\WindowsCE\wceusbsh.inf
DIFXAPP: InstallDriverPackages failed with error 0xE0000304
Action ended 16:08:06: InstallFinalize. Return value 3.
Action 16:08:06: Rollback. Rolling back action:
DIFXAPP: RollbackInstall
DIFXAPP: 'CustomActionData' property 'DIFxApp Version' is 2.0.
DIFXAPP: 'CustomActionData' property 'componentId' is {3CC6A155-9CFE-47AE-80E5-7773193360C4}.
DIFXAPP: 'CustomActionData' property 'flags' is 0x0.
DIFXAPP: 'CustomActionData' property 'installState' is 2.
DIFXAPP: 'CustomActionData' property 'ProductName' is <no name>.
DIFXAPP: 'CustomActionData' property 'ManufacturerName' is <no manufacturer>.
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
Action ended 16:08:06: INSTALL. Return value 3.
Action ended 16:08:06: ExecuteAction. Return value 3.
Action start 16:08:06: Fatal_Error.
Action 16:08:06: Fatal_Error. Dialog created
Action ended 16:08:07: Fatal_Error. Return value 2.
Action ended 16:08:07: INSTALL. Return value 3.
=== Logging stopped: 29-7-2005 16:08:07 ===
MSI (c) (4C:04): Product: <no name> -- Installation operation failed.



I just want the windowsCE drivers to install (wceusbsh.inf, wceusbsh.ini, wceusbsh.sys)
can somebody help me on the way.....

thanx in advange

0 Comments   [ + ] Show comments

Answers (7)

Posted by: MSIMaker 19 years ago
2nd Degree Black Belt
0
Hi sejacru,

Your inf and cat file are not being found together.

Deliver these files to a folder within the application folder....ie C:\Program Files\YourApp\INF and make sure you include ALL of the files that the inf needs to copy to the complete the install. you should have a .cat file and most likely some .dll's as well.
Posted by: sejacru 19 years ago
Second Degree Blue Belt
0
Hello msimaker,

you are correct. The cat file was missing in the directory??? I dont know how this happend but the msi is working. But now tells the msi that my device is not plugged in. this is correct but is it possible the skip this message so when i assign it to the computers the msi isn´t hanging on this message.

greetings sejacru
Posted by: sridtech 19 years ago
Senior Yellow Belt
0
sejacru,
Add the following entry into the MSIDriverPackages table to suppress the message.
Component: INF
Flag: 2
Sequence: 0

Cheers,
srid
Posted by: sejacru 19 years ago
Second Degree Blue Belt
0
I found the component table "inf"....no difficulty on that....
but where can i put in the flag and the sequence..

the component table has the following entries: component, componentid, attribute, directory condition, and keypad

thanx in advance
Posted by: Lillude 19 years ago
Senior Purple Belt
0
sejacru,
u need not to enter anything in component table.
instead u have to put one entry in MSIDriverPackages table...


there are three feilds in that table and the values u need to put in those tables is as

Component: <<Name of your component which has the INF file>>
Flag: 2
Sequence: 0
Posted by: sejacru 19 years ago
Second Degree Blue Belt
0
Hello lillude,

Oke thanx for your reply, it works.
Posted by: sejacru 19 years ago
Second Degree Blue Belt
0
Hello lillude,

Oke thanx for your reply, it works.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ