I have programmed a bootstrapper application with WiX 3.9 which - among
others - installs IIS Express (if needed) and then activates the IIS
features via a MsiPackage.

In my MsiPackage i have the follwing options for Windows 8:

/
        <Property Id="DismX64"
                  Value="C:\Windows\System32\dism.exe"></Property>
        <Property Id="DismX86"
                  Value="C:\Windows\SysWOW64\dism.exe"></Property>
        <CustomAction Id="ActivateIisWin8x64"
                      Return="check"
                      Property="DismX64"
                      Execute="deferred"
                      HideTarget="no"
                      Impersonate="no"
                      ExeCommand="/Online /Enable-Feature
/featurename:IIS-WebServerRole /featurename:IIS-CommonHttpFeatures
/featurename:IIS-StaticContent /featurename:IIS-ApplicationDevelopment
/featurename:IIS-ISAPIFilter /featurename:IIS-ISAPIExtensions
/featurename:IIS-NetFxExtensibility45 /featurename:IIS-ASPNET45
/featurename:IIS-Security /featurename:IIS-RequestFiltering
/featurename:IIS-WindowsAuthentication /featurename:NetFx4-AdvSrvs
/featurename:NetFx4Extended-ASPNET45 /featurename:WCF-Services45
/featurename:WCF-HTTP-Activation45 /All"></CustomAction>
        <CustomAction Id="ActivateIisWin8x86"
                      Return="check"
                      Property="DismX86"
                      Execute="deferred"
                      HideTarget="no"
                      Impersonate="no"
                      ExeCommand="/Online /Enable-Feature
/featurename:IIS-WebServerRole /featurename:IIS-CommonHttpFeatures
/featurename:IIS-StaticContent /featurename:IIS-ApplicationDevelopment
/featurename:IIS-ISAPIFilter /featurename:IIS-ISAPIExtensions
/featurename:IIS-NetFxExtensibility45 /featurename:IIS-ASPNET45
/featurename:IIS-Security /featurename:IIS-RequestFiltering
/featurename:IIS-WindowsAuthentication /featurename:NetFx4-AdvSrvs
/featurename:NetFx4Extended-ASPNET45 /featurename:WCF-Services45
/featurename:WCF-HTTP-Activation45 /All"></CustomAction>

        <InstallExecuteSequence>
            <Custom Action="ActivateIisWin8x64"
                    After="InstallFiles">(VersionNT=602 OR VersionNT=603)
AND VersionNT64</Custom>
            <Custom Action="ActivateIisWin8x86"
                    After="InstallFiles">(VersionNT=602 OR VersionNT=603)
AND NOT VersionNT64</Custom>
        </InstallExecuteSequence>
/

Now i want to implement new tags for Windows 7 and Windows Server 2012.
The problem is, that Windows 7 and Windows Server 2008 R2 have the same
VersionNT which is "601".
How can i distinct between Windows 7 and Windows Server 2008?
Is there a special burn variable?

Thanks in advance!




--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-distinct-between-Windows-7-and-Windows-Server-2008-tp7598975.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to