Phil, this is perfect. Thanks.

On Mon, Apr 13, 2009 at 11:40 AM, Wilson, Phil
<phil.wil...@wonderware.com> wrote:
> You could start with this, VBScript. It lists all the components on a system 
> and the client products.
>
> Option Explicit
> Public installer, fullmsg, comp, a, prod, fso, pname, ploc, pid, psorce
>
> Set fso = CreateObject("Scripting.FileSystemObject")
> Set a = fso.CreateTextFile("comps.txt", True)
>
> ' Connect to Windows Installer object
> Set installer = CreateObject("WindowsInstaller.Installer")
> a.writeline ("MSI Components")
> on error resume next
> For Each comp In installer.components
>   a.writeline (comp & " is used by the product:")
>   for each prod in Installer.ComponentClients (comp)
>      pid = installer.componentpath (prod, comp)
>      pname = installer.productinfo (prod, "InstalledProductName")
>      a.Writeline ("     " & pname & " " & prod & "and is installed at " & pid)
>   Next
> Next
>
> Phil Wilson
>
>
> -----Original Message-----
> From: Luke Bakken [mailto:luke.bak...@gmail.com]
> Sent: Monday, April 13, 2009 8:25 AM
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] Which product(s) is(are) referencing a component?
>
> Hello list,
>
> Does anyone know of a tool that, given a component GUID, will list all
> the products that are referencing that component?
>
> Thanks,
> Luke
>
> ------------------------------------------------------------------------------
> 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
>
>
>
> ------------------------------------------------------------------------------
> 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
>

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

Reply via email to