Hi,

I used a command line tool embedded in my burn package like a prerequisite, 
this tool calls pkgmgr.exe in order to enable Windows features.

<ExePackage Id="IISRoleOcsSetupServer"
                        DisplayName="Web Server (IIS) and Print roles"
                        Cache="no"
                        Compressed="no"
                        PerMachine="yes"
                        Permanent="yes"
                        Vital="yes"
                        Name="redist\WRFI45.exe"
                        SourceFile="\\server\GIT\Redist\WRFI45.exe"
                        
InstallCommand="IIS-WebServerRole;WAS-WindowsActivationService;WAS-ProcessModel;WAS-ConfigurationAPI;IIS-ISAPIExtensions;IIS-ASP;IIS-Security;IIS-BasicAuthentication;IIS-WindowsAuthentication;IIS-WebServerManagementTools;IIS-Metabase;IIS-IIS6ManagementCompatibility;IIS-HttpRedirect;IIS-ManagementConsole;Printing-Server-Role"
                        InstallCondition="(VersionNT &gt;= v6.0 AND 
MsiNTProductType &gt; 1)"
                        DetectCondition="iis7www AND iis7asp AND iis7static AND 
iis7winauth AND iis7console AND iis7metabase">
                                <ExitCode Value ="3010" Behavior="forceReboot" 
/>
                        </ExePackage>

Regards,
Loïc Delambre

-----Message d'origine-----
De : Stephen I. Woolhead [mailto:s...@gtl.biz] 
Envoyé : vendredi 17 janvier 2014 19:11
À : General discussion about the WiX toolset.
Objet : [WiX-users] Enabling platform features during install

Hi, following up on an issue that came up in another thread, we have the need 
to enable platform features such as MSMQ during our install.  At the moment we 
do this during install with dism.exe in a custom action.  This so far has 
worked well for us but it was hinted this was not ideal.

Does anyone have any guidance about enabling platform features during install 
that they could share?

Cheers,

Stephen.
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical 
Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&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