Hi,

I am fairly new to the WiX installer but have been able to create an
install package that creates our website and installs all needed components
some being installed from other installers run from my bootstrapper.

The one element I am having difficulties with is enabling IIS. We need to
have the ASPNET45 features enabled for our web page to operate so even if
the IIS is enabled on the destination PC I need to check the features that
are enabled. I can do this via the registry as each feature has an entry nd
so can build a DISM command line that only enabled the missing features.

The problems I am having seem to come from inconsistencies with how the
DISM command run. Sometimes there are no errors and IIS is up and running,
sometimes I get error 0x800f0906 (this is concerning the source of the
files needed for the features being enabled) and sometimes the IIS is
installed but will only be running once the PC has been re-booted. The PC
in all cases was a clean freshly installed version of Windows 8 (32-Bit)
run as a virtual PC and reset after each attempt but using a snapshot so I
am reasonably confident that the PC in all cases was the same.

Can anyone give me a clue as to where I can go from here as it seems the
only way for me to get round this reliably would be to give detailed
instructions as to how to enable IIS and what settings are required and get
the user to activate manually and only check that the required features are
turned on before installing the web site.


Example of the DISM command line

DISM /online /enable-feature /featurename:NetFx3
/featurename:NetFx4-AdvSrvs /featurename:NetFx4Extended-ASPNET45
/featurename:IIS-NetFxExtensibility45 /featurename:IIS-ASPNET45 /All

-- 

*John Walter*
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&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