[wix-users] Installing IIS and .Net 4.5 on Different OS Versions
Phill Hogland
phill.hogland at rimage.com
Wed Sep 30 10:30:04 PDT 2015
I had to write custom action to manage my DISM.exe (or fondue.exe) CBS configuration issues. I did not find the DISMAPI helpful (but I also had to support Win7). There is no built-in support for CBS (DISM.exe) in WiX to my knowledge. I have seen posts where it is judged to be very complex to implement and a volunteer has not stepped forward to work on it yet. For .Net4.5, since I also have a managed mba which requires .Net4.5, I let the default WiX prereq installer handle that, which is very nice! Thanks guys. To do this I had to implement supportedRuntime and supportedFramework in my bootstrapper config file, and include the .Net package that I want as the first item in my chain.
http://wixtoolset.org/documentation/manual/v3/howtos/redistributables_and_install_checks/install_dotnet.html
-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of George Legge
Sent: Wednesday, September 30, 2015 11:20 AM
To: wix-users at lists.wixtoolset.org
Subject: [wix-users] Installing IIS and .Net 4.5 on Different OS Versions
Hi,
I have an application that can be installed on Windows server 2008 R2 and above.
It also requires IIS 7.5 and above, with the Application Initialization module installed.
It also requires .Net 4.5 or above too.
This seems quite straight forward but the different OS versions mean installing and configuring IIS and .Net are different for each.
So how do I go about catering for the different scenarios ?
For example, if there is no IIS installed on Windows server 2008 R2, I will have to use DISM.exe (is there any better way ?) to activate it and then install the Application Initialization (Warmup) Module.
But if there is no IIS installed on Windows server 2012 or 2012 R2, then I can use DISM.exe to activate everything including the Application Initialization module.
How do I do this without writing a custom BA ?
There is a similar issued with .Net 4.5 where I only need to install it if it is missing from Windows server 2008 R2 as it is standard in 2012 and 2012
R2 (4.5.1).
I really am not sure how to even start with this at all.
Many thanks, George.
____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/
More information about the wix-users
mailing list