And the problem is?
> From: Robert Hermann [mailto:rob.herm...@nicewareintl.com] > > I've got an install for a backend service that needs to > consider a couple of OS and then scenarios within that os. > > For the time being I need my project to first detect the os > and if its not at least Windows 2003, to throw an error. > > If its Windows 2008 R2, then the install needs to detect if > its being run from a Administrator command prompt or not. If > its not, say something. > > I can the logic to work if its either or but not together ... > > Right now I've got > > <!-- first make sure the platform is at least win 2003 --> > <Condition Message='Your operating system must be Windows > 2003 or greater'><![CDATA[VersionNT >= 502]]></Condition> > > <!-- if the platform is win 2008 R2 then check for an > administrator level --> > <Condition Message='You must be an administrator to > execute to this'><![CDATA[VersionNT >= 601 and > AdminUser]]></Condition> > > Rob ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users