http://robmensching.com/blog/posts/2008/11/3/how-to-determine-if-you-are-installing-on-windows-client

should help.

Tom Porterfield
-----Original Message-----
From: dileep s [mailto:dileep.sanamp...@gmail.com] 
Sent: Tuesday, August 27, 2013 6:51 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] [Wix]: Conditional installation for Windows Server 
2008/Windows Server 2012

Hi Blair,

Thank you for the information.

I am checking windows version to install the MSI/EXE file.

Ex: In my code, I have used for Windows XP 32 bit,
    <Condition> <![CDATA[Installed OR (VersionNT = 501)]]> </Condition>

So, installer will installs only Windows XP 32 bit machine.

Same like, I have to create windows Installer for Windows Server 2008 and
Windows Server 2012.

How can I differentiate Windows server 2008 and Windows Vista as they have
same VersionNT values.

Regards,
Dileep



On Tue, Aug 27, 2013 at 3:19 PM, Blair Murri <os...@live.com> wrote:

> I'm not understanding your request. VersionNT is a property indicating the
> platform "version" of windows, expressed (in the case of MSI) as an integer.
> If you tell us what you are trying to do with VersionNT and what you want
> your package to do between different platforms, we could help more. An
> example of your current non-working code would help as well.
>
> > Date: Tue, 27 Aug 2013 12:49:10 +0530
> > From: dileep.sanamp...@gmail.com
> > To: wix-users@lists.sourceforge.net
> > Subject: [WiX-users] [Wix]: Conditional installation for Windows Server
> 2008/Windows Server 2012
> >
> > Hi All,
> >
> > I have created MSI/EXE using Wix based on OS (Operating System).
> >
> > Used VersionNT property values for creating MSI/EXE.
> >
> > Installation is not working for Windows Server 2008/Windows Server 2012.
> >
> > How can I check the conditional installation for Windows Server
> > 2008/Windows Server 2012.
> >
> > Please help me to solve this...
> >
> ------------------------------------------------------------------------------
> > Introducing Performance Central, a new site from SourceForge and
> > AppDynamics. Performance Central is your source for news, insights,
> > analysis and resources for efficient Application Performance Management.
> > Visit us today!
> >
> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
> > _______________________________________________
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
> ------------------------------------------------------------------------------
> Introducing Performance Central, a new site from SourceForge and
> AppDynamics. Performance Central is your source for news, insights,
> analysis and resources for efficient Application Performance Management.
> Visit us today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to