I am using following but its not working (at-least OS check should work but its not):
<InstallExecuteSequence> <Custom Action='CA_IsPrivileged' Before='LaunchConditions'> Not Privileged </Custom> <Custom Action='CA_OSCHECK' After='CA_IsPrivileged'> Installed OR (VersionNT=600 AND ServicePackLevel>=2) OR (VersionNT=601 AND ServicePackLevel>=1) </Custom> <Custom Action='CA_DOTNETFRAMEWORK' After='CA_OSCHECK'> Installed OR NETFRAMEWORK40CLIENT OR NETFRAMEWORK40FULL </Custom> <Custom Action='CA_SCOM2012CHECK' After='CA_DOTNETFRAMEWORK' /> </InstallExecuteSequence> And in CustomAction.wxs file I defined it as: <?xml version="1.0" encoding="UTF-8"?> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> <Fragment> <CustomAction Id='CA_IsPrivileged' Error='!(loc.ValidationAdministrator)' /> <CustomAction Id='CA_OSCHECK' Error='!(loc.ValidationOperatingSystem)' /> <CustomAction Id='CA_DOTNETFRAMEWORK' Error='!(loc.ValidationDotNetFramework)' /> <CustomAction Id='CA_R2CHECK' Error='[R2CHECK]' /> </Fragment> </Wix> The last custom action is a component search (highly important to have) is defined as: <Property Id="R2CHECK" Value="!(loc.ValidationR2)"> <ComponentSearch Id="CMPSRCH_R2CHECK" Guid="{XXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}" /> </Property> When I am running the setup, its going on executing on my Windows XP machine. OS Validation not working as is only for Win 7 SP1 or Win Server 2008 R2 SP1 also the component which I have a check is not present on this machine. -- Thanks and Regards, Ravi Raj ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users