Re: [WiX-users] Install Net Framework 4.5 as prerequisite only if on windows 7-8 and not installed

2013-05-20 Thread John Cooper
Then you'll want to stay with .NET 4.0. Writing (and supporting) diverging product versions is going to be a headache. Microsoft designed .NET 4.5 to force you off .NET 4.0 and support for all those beloved legacy platforms (like XP). The IdentityModel assemblies are just the tip of the

Re: [WiX-users] Install Net Framework 4.5 as prerequisite only if on windows 7-8 and not installed

2013-05-17 Thread Nicholas Pierce
If you want some more logic to the installation of pre-requisites, I think you'll need to make another Burn Bundle to act as your pre-requisite. That's what we had to go to get .net 4 and Windows Imaging Component to install as a prerequisite on Server 2003. This will just be a super simple

Re: [WiX-users] Install Net Framework 4.5 as prerequisite only if on windows 7-8 and not installed

2013-05-17 Thread Markus Wehrle
I also would prefer to make a prerequisite bootstrapper without WPF UI to install .net 4.5. If you install an update of .Net in a managed bootstrapper you propably will ran into a system reboot, cause .Net assemlies are loaded which might be replaced during .Net 4.5 Installation. If you do not

[WiX-users] Install Net Framework 4.5 as prerequisite only if on windows 7-8 and not installed

2013-05-16 Thread Marco Tognacci
I have a Burn setup with managed UI in WPF so I need to install The net framework 4 as prerequisite for the installer and my application, but as in the Net Framework 4.5 there are some usefull fix, I want to install the net framework 4.5 if possible.I'd like to make this: 1 - On WIndows XP - I

Re: [WiX-users] Install Net Framework 4.5 as prerequisite only if on windows 7-8 and not installed

2013-05-16 Thread Nick Miller
Here is what I use: util:RegistrySearch Root=HKLM Key=SOFTWARE\Microsoft\Net Framework Setup\NDP\v4\Full Value=Version Variable=Netfx4FullVersion / util:RegistrySearch Root=HKLM Key=SOFTWARE\Microsoft\Net Framework Setup\NDP\v4\Full Value=Version Variable=Netfx4x64FullVersion Win64=yes /

Re: [WiX-users] Install Net Framework 4.5 as prerequisite only if on windows 7-8 and not installed

2013-05-16 Thread John Cooper
There's an undocumented NETFRAMEWORK45 Property in the NetFX extension in Wix 3.6 that does the business. -- John Merryweather Cooper Build Install Engineer - ESA Jack Henry Associates, Inc.® Shawnee Mission, KS  66227 Office:  913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com

Re: [WiX-users] Install Net Framework 4.5 as prerequisite only if on windows 7-8 and not installed

2013-05-16 Thread Marco Tognacci
The NetFX extension make the trick but it work with a web based installation of the Net Framework, so if you want to install the full version without douwnloading it while running the setup you have to add the net framework by yourself as posted by Nick.I use exactly this fragment of code, but

Re: [WiX-users] Install Net Framework 4.5 as prerequisite only if on windows 7-8 and not installed

2013-05-16 Thread Nick Miller
Ah, set your BootstrapperCore.config like this: startup useLegacyV2RuntimeActivationPolicy=true supportedRuntime version=v4.0 sku=.NETFramework,Version=v4.5 / /startup -Original Message- From: Marco Tognacci [mailto:mark...@live.it] Sent: Thursday, May 16, 2013 5:51 PM To: General

Re: [WiX-users] Install Net Framework 4.5 as prerequisite only if on windows 7-8 and not installed

2013-05-16 Thread John Cooper
It is possible, but there will be a lot of edge cases. It may be better to simplify. What does your application really need? It sounds like it needs .NET Frame 4.0. If that's the case, .NET 4.5 is a superset and will satisfy the need for 4.0 in most cases. In which case, you'd be better

Re: [WiX-users] Install Net Framework 4.5 as prerequisite only if on windows 7-8 and not installed

2013-05-16 Thread Nick Miller
I ran into a similar situation, and in the end, I too just set 4.5 as the prerequisite for my installer. -Original Message- From: John Cooper [mailto:jocoo...@jackhenry.com] Sent: Thursday, May 16, 2013 6:04 PM To: General discussion for Windows Installer XML toolset. Subject: Re:

Re: [WiX-users] Install Net Framework 4.5 as prerequisite only if on windows 7-8 and not installed

2013-05-16 Thread Marco Tognacci
Using this SupportedRuntime I set the Net Framework 4.5 as needed for the application, but this is not what I need. From: nmil...@livetechnology.com To: wix-users@lists.sourceforge.net Date: Thu, 16 May 2013 21:57:16 + Subject: Re: [WiX-users] Install Net Framework 4.5 as prerequisite

Re: [WiX-users] Install Net Framework 4.5 as prerequisite only if on windows 7-8 and not installed

2013-05-16 Thread Marco Tognacci
My application work with the only Net 4.0. But we have seen some minor problems that were fixed with an hotfix made by microsoft and bundled only with the net 4.5.So if it's possible to install the Net 4.5 I prefer to install this versione to make my application working good at 100%If this is

Re: [WiX-users] Install Net Framework 4.5 as prerequisite only if on windows 7-8 and not installed

2013-05-16 Thread Nick Miller
So, if I understand correctly, you want to install .Net 4.5 only if 4.0 is not already installed. Try adding this to your InstallCondition: AND (NOT (Netfx4FullVersion=quot;4.0.30319quot; OR Netfx4x64FullVersion=quot;4.0.30319quot;)) So the whole thing would be: InstallCondition=(VersionNT =

Re: [WiX-users] Install Net Framework 4.5 as prerequisite only if on windows 7-8 and not installed

2013-05-16 Thread Marco Tognacci
In this case you can't install on Windows XP.I need to preserve the WIndows XP compatibility and build only one setup for Windows XP and Windows 7 From: nmil...@livetechnology.com To: wix-users@lists.sourceforge.net Date: Thu, 16 May 2013 22:08:12 + Subject: Re: [WiX-users] Install Net

Re: [WiX-users] Install Net Framework 4.5 as prerequisite only if on windows 7-8 and not installed

2013-05-16 Thread Marco Tognacci
this is what I have just do, the problem is that for running the Burn WPF UI I need to add the net framework as prerequisite as the burn engine will run the installation of this prereq before to show the WPF UI.I don't know if t's possible to use a condition for setting this variable. From: