Hello Everyone,
I thought this would be a trivial condition, but I can't seem to find a
winning combination.
I have a text control that is located in my WelcomeDlg, I want to display a
message to the user when the installation is being ran on Server 2008 or
Server 2012. In all other
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-Hide-a-Text-Control-on-Server-Installation-tp7595834p7595835.html
Sent from the
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
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
aha, you said it did not work with so..
check this?
http://robmensching.com/blog/posts/2008/11/3/how-to-determine-if-you-are-installing-on-windows-client/
VersionNT64 should be 601 for both server2008r2 and windows 7x64 (but not
set(undefined) on Windows 7, 32bit)
--
View this message in
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
Sorry for the double post.
--
View this message in context:
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-Show-Hide-a-Text-Control-on-Server-Installation-tp7595834p7595841.html
Sent from the wix-users mailing list archive at Nabble.com.
This blog should help:
http://robmensching.com/blog/posts/2008/11/3/how-to-determine-if-you-are-installing-on-windows-client/
--
View this message in context:
8 matches
Mail list logo