Re: [WiX-users] obain the name of components using msi/wix functions

2013-04-01 Thread Phil Wilson
-Original Message- From: Marco Tognacci [mailto:mark...@live.it] Sent: Sunday, March 31, 2013 2:24 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] obain the name of components using msi/wix functions Thanks for your support, applying

Re: [WiX-users] obain the name of components using msi/wix functions

2013-04-01 Thread Rob Mensching
/desktop/aa372021(v=vs.85).as px Phil -Original Message- From: Marco Tognacci [mailto:mark...@live.it] Sent: Sunday, March 31, 2013 2:24 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] obain the name of components using msi/wix functions Thanks

Re: [WiX-users] obain the name of components using msi/wix functions

2013-03-31 Thread Phil Wilson
been applied when the product was installed. Phil -Original Message- From: mark222 [mailto:mark...@live.it] Sent: Saturday, March 30, 2013 4:32 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] obain the name of components using msi/wix functions I have tried to open

Re: [WiX-users] obain the name of components using msi/wix functions

2013-03-31 Thread Marco Tognacci
@lists.sourceforge.net Date: Sun, 31 Mar 2013 11:34:16 -0700 Subject: Re: [WiX-users] obain the name of components using msi/wix functions You could try the Win32 MsiDatabaseApplyTransform(), that's Database.ApplyTransform in the scripting world. The problem is that the scripting object model doesn't appear

Re: [WiX-users] obain the name of components using msi/wix functions

2013-03-30 Thread mark222
I have tried to open the msi file using this code: string msiFile = MyInstallation.msi; var session = Installer.OpenPackage(msiFile, false); var language = session.Language; var features = session.Features; foreach (var feature in features) { var name = feature.Name; var description =

[WiX-users] obain the name of components using msi/wix functions

2013-03-29 Thread Sean Farrow
Hi all, I need to access the name of the components installed for a specific product. I've already got the products enumerated. What I need now is to enumerate the components and obtain the name of each component. Any help appreciated. Regards Sean.

Re: [WiX-users] obain the name of components using msi/wix functions

2013-03-29 Thread Rob Mensching
Name? You mean like the Component/@Id? That is basically an internal implementation detail. You'd have to open the MSI and query the table to get it. All the MSI APIs for talking about installed products use the Component/@Guid. On Fri, Mar 29, 2013 at 7:54 AM, Sean Farrow

Re: [WiX-users] obain the name of components using msi/wix functions

2013-03-29 Thread Phil Wilson
...@robmensching.com] Sent: Friday, March 29, 2013 8:09 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] obain the name of components using msi/wix functions Name? You mean like the Component/@Id? That is basically an internal implementation detail. You'd have

Re: [WiX-users] obain the name of components using msi/wix functions

2013-03-29 Thread Marco Tognacci
] obain the name of components using msi/wix functions Hi all, I need to access the name of the components installed for a specific product. I've already got the products enumerated. What I need now is to enumerate the components and obtain the name of each component. Any help appreciated