I just fired up my old project and it looks like it is working (of course I'm not sure if this is the best way way of doing it). Here's a snippet of how I did it:
Installer.SetInternalUI(InstallUIOptions.Silent); session = Installer.OpenPackage(Path.Combine(Environment.CurrentDirectory, "Hyland Installer Test.msi"), false); externalHandler = new ExternalUIHandler(processMessage); Installer.SetExternalUI(externalHandler, InstallLogModes.ActionData | InstallLogModes.ActionStart | InstallLogModes.CommonData | InstallLogModes.Error | InstallLogModes.ExtraDebug | InstallLogModes.FatalExit | InstallLogModes.FilesInUse | InstallLogModes.Info | InstallLogModes.Initialize | InstallLogModes.LogOnlyOnError | InstallLogModes.OutOfDiskSpace | InstallLogModes.Progress | InstallLogModes.Terminate | InstallLogModes.User | InstallLogModes.Verbose | InstallLogModes.Warning | InstallLogModes.ShowDialog | InstallLogModes.RMFilesInUse); session.DoAction("AppSearch"); session.DoAction("CostInitialize"); session.DoAction("FileCost"); session.DoAction("CostFinalize"); session.DoAction("InstallValidate"); foreach (FeatureInfo fi in session.Features) { long cost = fi.GetCost(false, true, InstallState.Local); lbFeatures.Items.Add(string.Format(@"{0} (Cost: {1})", fi.Title, cost)); } -- View this message in context: http://n2.nabble.com/External-UI-tp4478090p4482416.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users