Thank you Steven, I like the logging option and am running with that for now.
On Thu, Mar 14, 2013 at 3:00 PM, Steven Ogilvie <steven.ogil...@titus.com>wrote: > Classification: Public > Oops > > String tempString = session["MyProperty"]; > > -----Original Message----- > From: StevenOgilvie [mailto:sogil...@msn.com] > Sent: March-14-13 5:54 PM > To: wix-users@lists.sourceforge.net > Subject: Re: [WiX-users] Using Property's values in Messages > > You can do it various ways, the easiest way is to let QA see the value in > the MSI log file, in your product WXS file add: > <Property Id="MsiLogging" Value="voicewarmupx"/> after the install is done > in your %temp% folder will be a MSI log file, look for the property name > and its value will be recorded... > > or display the properties via custom actions that will display a > messagebox: > i.e. > [CustomAction] > public static ActionResult DisplayProperties(Session session) { > try > { > if (session == null) > { > throw new ArgumentNullException("session"); > } > > string tempString = GetSessionProperty(session, "MyProperty", > false); > session.Message( > InstallMessage.User + (int)MessageBoxIcon.Info + > (int)MessageBoxButtons.OK, > new Record { FormatString = "Display the property: " + > tempString }); > > } > catch (Exception ex) > { > if (session != null) > { > session.Message( > InstallMessage.User + (int)MessageBoxIcon.Error + > (int)MessageBoxButtons.OK, > new Record { FormatString = "DisplayProperties failed: " + > ex.Message }); > } > } > > return ActionResult.Success; > } > > > > > -- > View this message in context: > http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Using-Property-s-values-in-Messages-tp7584364p7584365.html > Sent from the wix-users mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics Download AppDynamics Lite for > free today: > http://p.sf.net/sfu/appdyn_d2d_mar > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > This message has been marked as Public by Steven Ogilvie. > > The above classification labels were added to the message by TITUS Message > Classification. > Visit www.titus.com for more information. > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_mar > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > -- [image: Share and enjoy]<http://wikimediafoundation.org/wiki/Support_Wikipedia/en> ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_mar _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users