Very cool, thanks!  Here's what I think I've settled on (including the
Office 2010 product codes in case anyone stumbles across this conversation
later):

<util:ComponentSearch Guid="0638C49D-BB8B-4CD1-B191-050E8F325736"
Variable="Office12Installed"/>
    <util:ComponentSearch Guid="398E906A-826B-48DD-9791-549C649CACE5"
Variable="Office14Installed"/>
    <util:ComponentSearch Guid="FAB10E66-B22C-4274-8647-7CA1BA5EF30F"
Variable="Office12PIAInstalled"/>
    <util:ComponentSearch Guid="64E2917E-AA13-4CA4-BFFE-EA6EDA3AFCB4"
Variable="Office14PIAInstalled"/>

These will contain the location of the installed components, but I use them
as Install Conditions in the chain like so:

<MsiPackage Name="Prerequisites\o2007pia.msi"
SourceFile="$(var.Prerequisites)Office2007PIARedist\o2007pia.msi"
DisplayInternalUI="yes" Permanent="yes" Visible="yes"
InstallCondition="Office12Installed AND NOT Office12PIAInstalled)" />

Thanks for the pointers guys!

Karl

On Tue, Jan 15, 2013 at 10:21 AM, Peter Shirtcliffe <pshirtcli...@sdl.com>wrote:

> 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
>
------------------------------------------------------------------------------
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery
and much more. Keep your Java skills current with LearnJavaNow -
200+ hours of step-by-step video tutorials by Java experts.
SALE $49.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122612 
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to