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

Reply via email to