Since WiX effectively "wraps" Microsoft Installer technology in a more
user friendly form, almost any information associated with Windows
Installer is also applicable to WiX.

The main problem is typically working out which part of the XML schema
relates to the Microsoft Installer table (or column) that is being
referenced. Often this is obvious (the outer element name in WiX usually
matches the table name in Microsoft Installer). In other cases you can
usually find the appropriate element by doing a search in the WiX help
file for the Microsoft Installer table name.

Of course, none of these comments help specifically with your question
about DirectX. Assuming the resource you are referring to is the one at
http://www.xmission.com/~legalize/d3d/installer.html, then the WiX
specifics (I haven't check this, they are almost certainly incomplete)
are similar to the following:

* Add a Binary element, referencing the custom action DLL with the
DirectX detection mechanism.
* Add a CustomAction element, specifying the BinaryKey (which should
match the key for the binary specified above), the DllEntry (method
name), and the custom action data which (I believe) goes into the Value.
I'm sure others on this list will correct me if I am wrong.
* Add a CustomAction to set the DIRECTX_REDIST_URL.
* Add appropriate Custom elements at the appropriate place in your
InstallExecuteSequence etc. to trigger the custom actions at an
appropriate point in your installation.

Good luck!

Regards,
Richard

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of AFlood
Sent: Friday, August 03, 2007 12:36 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] DirectX Support Condition


Thanks, but unfortunately I don't actually have any experience with
Windows
Installer. That is I've only ever worked with WiX. I scanned over the
resources you gave me but it seemed to be all in regular Windows
Installers.
Could you give me some pointers on how the information relates to WiX?
-- 

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



* C O N F I D E N T I A L I T Y N O T I C E *
-----------------------------------------------------------
The content of this e-mail is intended solely for the use of the individual or 
entity to whom it is addressed. If you have received this communication in 
error, be aware that forwarding it, copying it, or in any way disclosing its 
content to any other person, is strictly prohibited. Quixote Traffic 
Corporation is neither liable for the contents, nor for the proper, complete 
and timely transmission of (the information contained in) this communication. 
If you have received this communication in error, please notify the author by 
replying to this e-mail immediately and delete the material from any computer.



-------------------------------------------------------------------------
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

Reply via email to