Hello,

Thanks for the responses...

I am guessing that MsiNTProductType and NTProductType are the same ... :-)

Thanks NTProductType is what I was missing.

In case anyone In the future is looking for documentation:
http://msdn.microsoft.com/en-us/library/aa370329(v=vs.85).aspx

Marc

-----Original Message-----
From: Steven Ogilvie [mailto:steven.ogil...@titus.com] 
Sent: July-15-2014 9:25 AM
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] How to Show/Hide a Text Control on Server
Installation [P]

Classification: Public
This is what I use to check for Server 2008 R2, Server 2012, Server 2012 R2:

<![CDATA[Installed OR ((VersionNT = v6.1 AND ServicePackLevel >= 1 AND
NTProductType <= 3) OR (VersionNT = v6.2 AND NTProductType <= 3) OR
(VersionNT = v6.3 AND NTProductType <= 3))]]>

Ste ve

-----Original Message-----
From: Marc Beaudry [mailto:mbeau...@matrox.com]
Sent: July-15-14 9:09 AM
To: 'General discussion about the WiX toolset.'
Subject: Re: [WiX-users] How to Show/Hide a Text Control on Server
Installation

Hello,

Thanks for the response.

I use CDDATA in both conditions,  I should have pasted that in the sample I
pasted... I apologize for being unclear. As for the compiler returning the
error, it was a type-o on my part.

<Condition Action="show"><![CDATA[VersionNT = 601]]></Condition> <Condition
Action="hide"><![CDATA[VersionNT <> 601]]></Condition>

My issue is that I can't find the correct condition to Identify Server 2008
and 20012 as the VersionNT and VersionNT64 properties are the same.

The question is what is the condition to show the control only on server
OSes and not show the text control in all other cases.

In this case both Server 2008 R2 and Windows 7 have a version of 601, how
are the 2 OSes differentiated?

Again sorry for the unclear question,

Thanks
Marc

-----Original Message-----
From: neslekkim [mailto:asbj...@neslekkim.net]
Sent: July-15-2014 8:53 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] How to Show/Hide a Text Control on Server
Installation

the wxs file is an xml file,  is yours valid xml?

why not use CDATA on the second condition also?



--
View this message in context:
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-Show-Hi
de-a-Text-Control-on-Server-Installation-tp7595834p7595835.html
Sent from the wix-users mailing list archive at Nabble.com.

----------------------------------------------------------------------------
--
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck Code Sight
- the same software that powers the world's largest code search on Ohloh,
the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


----------------------------------------------------------------------------
--
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck Code Sight
- the same software that powers the world's largest code search on Ohloh,
the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

 
This message has been marked as Public by Steven Ogilvie on July-15-14
9:24:49 AM.

The above classification labels were added to the message by TITUS Message
Classification. For more information visit www.titus.com.

----------------------------------------------------------------------------
--
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck Code Sight
- the same software that powers the world's largest code search on Ohloh,
the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to