Hi,

I don't get it. It appears that the properties do indeed meet the conditions
and that the IISVersion is being set before the condition is called. What am
I missing? Is there a way to see how WIX evaluates things? Something along
the lines of Debug.WriteLine(1=1);?

                <Package Compressed="yes" Languages="1033"
Manufacturer="MyCompany InstallerVersion="200" />
                
                <EnsureTable Id="ComboBox"/>

                <Condition Message="IIS must be installed prior to launching
the installation on Windows Server 2003">
                  <![CDATA[VersionNT > 502 OR (VersionNT = 502 AND
IISVersion  > 0)]]>
                </Condition>

                <Package Compressed="yes" Languages="1033"
Manufacturer="MyCompany" InstallerVersion="200" />
                
                <EnsureTable Id="ComboBox"/>

                <Condition Message="IIS must be installed prior to launching
the installation on Windows Server 2003">
                  <![CDATA[VersionNT > 502 OR (VersionNT = 502 AND
IISVersion  > 0)]]>
                </Condition>

Action start 20:07:21: CA_GETIISVersion.
MSI (c) (CC:C0) [20:07:21:466]: Invoking remote custom action. DLL:
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\MSI41B.tmp, Entrypoint: GetIISVersion
MSI (c) (CC:90) [20:07:21:466]: Cloaking enabled.
MSI (c) (CC:90) [20:07:21:466]: Attempting to enable all disabled priveleges
before calling Install on Server
MSI (c) (CC:90) [20:07:21:466]: Connected to service for CA interface.
SFXCA: Extracting custom action to temporary directory:
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\MSI41B.tmp-\
SFXCA: Binding to CLR version v2.0.50727
Calling custom action
tsiActionIISUtilities!tsiActionIISUtilities.tsiActionIISUtilities.IISUtiliti
es.GetIISVersion
Call to IISExists(). Beginning Search...
MSI (c) (CC!CC) [20:07:21:763]: PROPERTY CHANGE: Modifying IISVERSION
property. Its current value is '0'. Its new value: '6'.

MSI (c) (CC:40) [20:07:23:419]: Product: Portal -- IIS must be installed
prior to launching the installation on Windows Server 2003

Action ended 20:07:23: LaunchConditions. Return value 3.

Property(C): VersionNT = 502
Property(C): ProductLanguage = 1033
Property(C): ProductName = Portal
Property(C): ProductVersion = 1.0.0.0
Property(C): WELCOMEDLG_TITLETEXT = Welcome to the Portal.
Property(C): WELCOMEDLG_DESCRIPTIONTEXT = The following dialogs will guide
you through the portal installation process
Property(C): DefaultUIFont = Arial_Regular
Property(C): IISVERSION = 6

Thanks
Steve


------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to