I'm aware of the guide at http://support.microsoft.com/kb/240794 however that only solves half my problem.
Basically, I know that the following registry key contains the directory I want and that it is consistent over Excel 2002/XP, Excel 2003 and Excel 2007 (same GUID for all three versions). HKCR\CLSID\{00024500-0000-0000-C000-000000000046}\LocalServer32 The value of this registry key is something like: C:\PROGRA~1\MICROS~2\OFFICE11\EXCEL.EXE /automation I just want the directory put into another MSI property, so I can copy another file (Excel.exe.config) to that same directory during my WiX/MSI installation. I have tried using ComponentSearch, DirectorySearch and FileSearch but I can't figure out what combinations to use to get this to work since I have no examples (http://www.wixwiki.com/index.php?title=Wix_Schema) and the doc text is very sparse. Here an example of what I have tried: <Property Id="EXCELDIR2002" > <ComponentSearch Id="ExcelDirSearch2002" Guid="{00024500-0000-0000-C000-000000000046}" Type="directory" > <FileSearch Id="ExcelExeFile2002" Name="Excel.exe" /> </ComponentSearch> </Property> I've tried others too. Any working example of these elements, or any pointers, would be helpful. Thx /Mathias ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users