[WiX-users] Question on DIFxApp.msm, DIFXAppSample.msi ?

2007-10-23 Thread ar

DIFXAppSample.msi is not able to install drivers properly.

I am trying to develop an installer (*.msi) to install drivers  application
using DIFxApp.msm.
(Toaster sample from WIN DDK)

I can merge DIFXApp.msm into the package and can see an empty
MsiDriverPackages custom table, MsiProcessDrivers, etc custom actions.
 
Using Orca.exe, I  add a record to the MsiDriverPackages custom table.


From the log, I can say why it has failed.   
DIFXAPP: ERROR:  One or more files referenced by 'C:\Program
Files\Microsoft\DIFxAppSample\toastpkg.inf' cannot be found in the package. 
DIFXAPP: INFO:   RETURN: DriverPackageInstallW  (0xE303)
DIFXAPP: ERROR encountered while installing driver package C:\Program
Files\Microsoft\DIFxAppSample\toastpkg.inf
 
But I can see the toastpkg.inf in  C:\Program Files\Microsoft\DIFxAppSample\
From the log also, we can confirm that it is copying that file.
 
Action 9:14:23: InstallFiles. Copying new files
InstallFiles: File: toastpkg.inf,  Directory: C:\Program
Files\Microsoft\DIFxAppSample\,  Size: 3228
InstallFiles: File: PlugAndPlay.cat,  Directory: C:\Program
Files\Microsoft\DIFxAppSample\,  Size: 8695 
 

I  am searching for a solution to install the DIFXApp.msm sample from WIN
DDK.
If you are able to install the drivers using DIFXApp.msm, DIFXAppSample.msi
from WIN DDK, Please let me the procedure.

 
As I am trying this for the first time , I might be having a completely
wrong understanding. 
 
I appreciate your help if you can point me in the right direction.
 
Thanks,
Anuradha. 

-- 
View this message in context: 
http://www.nabble.com/Question-on-DIFxApp.msm%2C-DIFXAppSample.msi---tf4681153.html#a13376403
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Question on DIFxApp.msm, DIFXAppSample.msi ?

2007-10-23 Thread Jim Hewes

I've never tried using the toaster example, but I think the error message
you're getting isn't telling you that the INF file is missing. It's telling
you that some other file that the INF refers to is missing. This may be some
file like tostrcls.dll or tostrco2.dll or whatever else is supposed to go
with it. All driver files need to be in the same directory as the INF file.

I currently use DIFxApp.msm with WiX. By the way, to avoid having to use
Orca every time you build, you can add the MsiDriverPackages table in the
WiX script with something like:

CustomTable Id=MsiDriverPackages
Column Id=Component Type=string Width=255
PrimaryKey=yes /
Column Id=Flags Type=int Width=4 /
Column Id=Sequence Nullable=yes Type=int Width=4 /
Row
Data Column=ComponentINFComponent/Data
Data Column=Flags30/Data
Data Column=Sequence /
/Row
/CustomTable

...where INFComponent is the component name of your INF file.


- Jim

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of ar
Sent: Tuesday, October 23, 2007 5:05 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Question on DIFxApp.msm, DIFXAppSample.msi ?


DIFXAppSample.msi is not able to install drivers properly.

I am trying to develop an installer (*.msi) to install drivers  application
using DIFxApp.msm.
(Toaster sample from WIN DDK)

I can merge DIFXApp.msm into the package and can see an empty
MsiDriverPackages custom table, MsiProcessDrivers, etc custom actions.
 
Using Orca.exe, I  add a record to the MsiDriverPackages custom table.


From the log, I can say why it has failed.   
DIFXAPP: ERROR:  One or more files referenced by 'C:\Program
Files\Microsoft\DIFxAppSample\toastpkg.inf' cannot be found in the package. 
DIFXAPP: INFO:   RETURN: DriverPackageInstallW  (0xE303)
DIFXAPP: ERROR encountered while installing driver package C:\Program
Files\Microsoft\DIFxAppSample\toastpkg.inf
 
But I can see the toastpkg.inf in  C:\Program Files\Microsoft\DIFxAppSample\
From the log also, we can confirm that it is copying that file.
 
Action 9:14:23: InstallFiles. Copying new files
InstallFiles: File: toastpkg.inf,  Directory: C:\Program
Files\Microsoft\DIFxAppSample\,  Size: 3228
InstallFiles: File: PlugAndPlay.cat,  Directory: C:\Program
Files\Microsoft\DIFxAppSample\,  Size: 8695 
 

I  am searching for a solution to install the DIFXApp.msm sample from WIN
DDK.
If you are able to install the drivers using DIFXApp.msm, DIFXAppSample.msi
from WIN DDK, Please let me the procedure.

 
As I am trying this for the first time , I might be having a completely
wrong understanding. 
 
I appreciate your help if you can point me in the right direction.
 
Thanks,
Anuradha. 

-- 
View this message in context:
http://www.nabble.com/Question-on-DIFxApp.msm%2C-DIFXAppSample.msi---tf46811
53.html#a13376403
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users