Re: [WiX-users] FilePath manipulation in WIX

2007-10-22 Thread Bob Arnson

Nitin Chaudhari wrote:


Once I have this path I want to split it in directory (D:\Program 
Files\Microsoft Office\OFFICE11\ADDINS) and file (OTKLOADR.DLL) and 
then use it in directorysearch and filesearch to finally see if the 
given dll has the required version.




You need to write a custom action; MSI has nothing built-in to support 
this. The WiX custom-action library includes path-manipulation functions 
for C++.


--
sig://boB
http://joyofsetup.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] FilePath manipulation in WIX

2007-10-22 Thread Richard

In article [EMAIL PROTECTED],
Bob Arnson [EMAIL PROTECTED]  writes:

 Nitin Chaudhari wrote:
 
  Once I have this path I want to split it in directory (D:\Program 
  Files\Microsoft Office\OFFICE11\ADDINS) and file (OTKLOADR.DLL) and 
  then use it in directorysearch and filesearch to finally see if the 
  given dll has the required version.
 
 
 You need to write a custom action; MSI has nothing built-in to support 
 this. The WiX custom-action library includes path-manipulation functions 
 for C++.

Wouldn't it be simpler to use AppSearch and Signature tables to
identify the version of the installed file?
-- 
The Direct3D Graphics Pipeline -- DirectX 9 draft available for download
  http://www.xmission.com/~legalize/book/download/index.html

Legalize Adulthood! http://blogs.xmission.com/legalize/

-
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