Our pre-Burn chainer uses Office 2003: Chainer.ProductInfo.IsComponentInstalled(new Guid("{3EC1EAE0-A256-411D-B00B-016CA8376078}")) Office 2007: Chainer.ProductInfo.IsComponentInstalled(new Guid("{0638C49D-BB8B-4CD1-B191-050E8F325736}") Those are the component codes of mso.dll
I don't have codes for other versions -----Original Message----- From: Karl Werner [mailto:karl.wer...@gmail.com] Sent: 15 January 2013 16:16 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Burn: Search GAC Ah, good idea, thanks! Karl ----Original Message---- A util:ComponentSearch might be easier to work with. You could get the component code from the interop MSI. All the MSIs that install that particular dll ought to use the same component ID. Even developers should be using the interop msi to install them the first place. -----Original Message----- From: Karl Werner [mailto:karl.wer...@gmail.com <karl.wer...@gmail.com>] Sent: 15 January 2013 14:41 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Burn: Search GAC >From my Bundle, I need to determine if the Microsoft Office Interop assemblies are installed on the machine. I think the only way to do this is to search the gac for the assemblies. This is because the assemblies can be installed by various different packages and there may not be a product install for them on the machine, even if they are there. Ideally, I'd like to be able to search a directory tree from a root location, e.g. "[WindowsFolder]Assembly", with a wildcard "Microsoft.Office.Interop.*.dll" and have it tell me if files were found. -- I do understand that his may not be quite possible right now. Under the Product element when authoring Wix installers, the DirectorySeach element as a "Depth" attribute. Under Bundle, BAUtil's DirectorySearch does not have this attribute, so I'm at a loss on how to search the tree under a directory. How can this be accomplished under Bundle? Thanks! Karl ----------------------------------------------------------------------------- - Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS and more. Get SQL Server skills now (including 2012) with LearnDevNow - 200+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only - learn more at: http://p.sf.net/sfu/learnmore_122512 _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users SDL PLC confidential, all rights reserved. If you are not the intended recipient of this mail SDL requests and requires that you delete it without acting upon or copying any of its contents, and we further request that you advise us. SDL PLC is a public limited company registered in England and Wales. Registered number: 02675207. Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, UK. ----------------------------------------------------------------------------- - Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS and more. Get SQL Server skills now (including 2012) with LearnDevNow - 200+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only - learn more at: http://p.sf.net/sfu/learnmore_122512 _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users SDL PLC confidential, all rights reserved. If you are not the intended recipient of this mail SDL requests and requires that you delete it without acting upon or copying any of its contents, and we further request that you advise us. SDL PLC is a public limited company registered in England and Wales. Registered number: 02675207. Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, UK. ------------------------------------------------------------------------------ Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS and more. Get SQL Server skills now (including 2012) with LearnDevNow - 200+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only - learn more at: http://p.sf.net/sfu/learnmore_122512 _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users