Probably the same thing as in this thread
http://www.mail-archive.com/wix-users@lists.sourceforge.net/msg43557.html


-----Original Message-----
From: Jeremy Farrell [mailto:jfarr...@pillardata.com] 
Sent: 15 March 2011 22:12
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] One install for multiple OS

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
SDL PLC confidential, all rights reserved.
If you are not the intended recipient of this mail SDL requests and requires 
that you delete it without acting upon or copying any of its contents, and we 
further request that you advise us.
SDL PLC is a public limited company registered in England and Wales.  
Registered number: 02675207.
Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, 
UK.


------------------------------------------------------------------------------
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

Reply via email to