Hi, 

I'm writing a bundle with a custom BA compiled with .NET 3.5. I have added
the right supported frameworks in the config file (v2.0.50727) and I'm using
WixNetFxExtension to install 4.0 if 3.5 is not installed. 

I run the following test: 

1) On a Win7 machine with 3.5.1 installed, I disabled this framework
(through the "Turn Windows Features On/Of" options). 
2) Run the bundle.

I expected that, since 3.5 is disabled, it would attempt to download and
install 4.0. However, the behavior is that burn tries to load the BA, but it
fails, thus failing the installation, without attempting to download 4.0
framework. 

I looked a bit at host.cpp in burn, and I found the problem: GetAppDomain()
checks for the presence of "NET Framework Setup\NDP\<version string>" key in
the registry to detect if a framework is installed or not. The thing is
that, if I disable 3.5 in Windows, the v2.0.50727 key is still present, so
burn thinks that 3.5 is active. 

I know it's a weird scenario, but I think this is a bug... Am I missing
something? 

Thanks,
-Javier






--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/BURN-Prerequisites-Detection-Issue-tp7581286.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to