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 to provide navigation from installer functions that apply to product installation, and database functions that apply to the MSI file. For example Orca can apply a transform to an MSI file, but applying transforms to an installed product isn't something you can do after installation unless you're applying a patch.
However, I'm a bit confused because your original post talked about the installed components for a given product, but that code fragment you posted is opening an MSI file. We've already mentioned the APIs that enumerate all the installed components and how to get the products that use them, so that appears to be the solution anyway because what you get back will include patches and transforms that may have 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 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 = feature.Description; var title = feature.Title; } but I need to open the msi file passing the mst or language to have localized Text and Description, is there any way for doing this? -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/obain-the-name -of-components-using-msi-wix-functions-tp7584759p7584773.html Sent from the wix-users mailing list archive at Nabble.com. ---------------------------------------------------------------------------- -- Own the Future-Intel(R) Level Up Game Demo Contest 2013 Rise to greatness in Intel's independent game demo contest. Compete for recognition, cash, and the chance to get your game on Steam. $5K grand prize plus 10 genre and skill prizes. Submit your demo by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2 _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Own the Future-Intel(R) Level Up Game Demo Contest 2013 Rise to greatness in Intel's independent game demo contest. Compete for recognition, cash, and the chance to get your game on Steam. $5K grand prize plus 10 genre and skill prizes. Submit your demo by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2 _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users