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 need 4.5 for your product I would prefer to let Windows Update do the .Net patching. For your customers which install your product this will reduce installation time.
Markus Am 17.05.2013 um 12:07 schrieb Nicholas Pierce <nicholas.pie...@permasense.com>: > 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 > bundle that won't ever show a UI, so it won't ever need a dependency on > anything flashy like .net. > > Nicholas > > On 16 May 2013 23:35, Marco Tognacci <mark...@live.it> wrote: > >> 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: nmil...@livetechnology.com >>> To: wix-users@lists.sourceforge.net >>> Date: Thu, 16 May 2013 22:27:50 +0000 >>> Subject: Re: [WiX-users] Install Net Framework 4.5 as prerequisite only >> if on windows 7-8 and not installed >>> >>> 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="4.0.30319" OR >> Netfx4x64FullVersion="4.0.30319")) >>> >>> So the whole thing would be: >>> >>> InstallCondition="(VersionNT >= v6.0 OR VersionNT64 >= v6.0) AND (NOT >> (Netfx4FullVersion="4.5.50709" OR >> Netfx4x64FullVersion="4.5.50709")) AND (NOT >> (Netfx4FullVersion="4.0.30319" OR >> Netfx4x64FullVersion="4.0.30319"))"/> >>> >>> >>> -----Original Message----- >>> From: Marco Tognacci [mailto:mark...@live.it] >>> Sent: Thursday, May 16, 2013 6:13 PM >>> To: General discussion for Windows Installer XML toolset. >>> Subject: Re: [WiX-users] Install Net Framework 4.5 as prerequisite only >> if on windows 7-8 and not installed >>> >>> 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 +0000 >>>> Subject: Re: [WiX-users] Install Net Framework 4.5 as prerequisite >>>> only if on windows 7-8 and not installed >>>> >>>> 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 discussion for Windows Installer XML toolset. >>>> Subject: Re: [WiX-users] Install Net Framework 4.5 as prerequisite >>>> only if on windows 7-8 and not installed >>>> >>>> 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 this doesn't answer my question.I can install the Net framework >> without problems. But the question is.I have set the net framework 4.0 as >> prerequisite for the Burn setup. but if I run the setup on a Windows 7 >> machine with no framework 4.0 and no framework 4.5, I want to set the Net >> framework 4.5 as prerequisite instead of the 4.0.Any idea if is it possible >> to do? >>>> >>>>> From: jocoo...@jackhenry.com >>>>> To: wix-users@lists.sourceforge.net >>>>> Date: Thu, 16 May 2013 20:35:32 +0000 >>>>> Subject: Re: [WiX-users] Install Net Framework 4.5 as prerequisite >>>>> only if on windows 7-8 and not installed >>>>> >>>>> 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.(r) >>>>> Shawnee Mission, KS 66227 >>>>> Office: 913-341-3434 x791011 >>>>> jocoo...@jackhenry.com >>>>> www.jackhenry.com >>>>> >>>>> >>>>> >>>>> >>>>> -----Original Message----- >>>>> From: Nick Miller [mailto:nmil...@livetechnology.com] >>>>> Sent: Thursday, May 16, 2013 3:16 PM >>>>> To: General discussion for Windows Installer XML toolset. >>>>> Subject: Re: [WiX-users] Install Net Framework 4.5 as prerequisite >>>>> only if on windows 7-8 and not installed >>>>> >>>>> 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" /> >>>>> >>>>> <PackageGroup Id="Netfx45"> >>>>> <ExePackage Id="Netfx45" Cache="no" Compressed="yes" >> PerMachine="yes" Protocol="netfx4" Permanent="yes" Vital="yes" >> InstallCommand="/norestart /passive /showrmui" >>>>> SourceFile="dotNetFx45_Full_setup.exe" >> DetectCondition="(Netfx4FullVersion="4.5.50709") AND (NOT >> VersionNT64 OR (Netfx4x64FullVersion="4.5.50709"))" >>>>> InstallCondition="(VersionNT >= v6.0 OR VersionNT64 >>>>>> = >>>>> v6.0) AND (NOT (Netfx4FullVersion="4.5.50709" OR >>>>> Netfx4x64FullVersion="4.5.50709"))"/> >>>>> >>>>> <Chain> >>>>> <PackageGroupRef Id="Netfx45"/> >>>>> ... >>>>> </Chain> >>>>> >>>>> Note the /passive /showrmui in the installcommand: This will prompt >> the user to close .Net applications to avoid a reboot. >>>>> >>>>> Hope this helps, >>>>> >>>>> Nick >>>>> >>>>> -----Original Message----- >>>>> From: Marco Tognacci [mailto:mark...@live.it] >>>>> Sent: Thursday, May 16, 2013 3:59 PM >>>>> To: wix-users@lists.sourceforge.net >>>>> Subject: [WiX-users] Install Net Framework 4.5 as prerequisite only >>>>> if on windows 7-8 and not installed >>>>> >>>>> 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 want to Install Net Framework 4.0 as >> prerequisite for Burn setup.2 - On Windows 7-8 and no Net Framework 4.0 >> installed - I want to install Net Framework 4.5 as prerequisite for the >> Burn setup.3 - On Windows 7-8 and with Net Framework 4.0 installed - I want >> to install Net Framework 4.5 with the burn UI, (not as a prerequisite) Now >> I was able only to set Net Framework as prerequisite for the Burn setup, >> and only with Windows 7-8 I install even the Net Framework 4.5 during Burn >> setup.This way works, but if I want to install on a Windows 7-8 system with >> no Net Framework 4.0 installed I have to Install Net Framework 4.0 as >> prerequisite for the setup then I have to install the Net Framework 4.5 >> inside the Burn setup chain. I'd like to skip the installing of the Net >> Framework 4.0 and install only the Net Framework 4.5 Is there any way for >> doing this? >>>>> >>>>> -------------------------------------------------------------------- >>>>> -- >>>>> -------- AlienVault Unified Security Management (USM) platform >>>>> delivers complete security visibility with the essential security >> capabilities. Easily and efficiently configure, manage, and operate all of >> your security controls from a single console and one unified framework. >> Download a free trial. >>>>> http://p.sf.net/sfu/alienvault_d2d >>>>> _______________________________________________ >>>>> WiX-users mailing list >>>>> WiX-users@lists.sourceforge.net >>>>> https://lists.sourceforge.net/lists/listinfo/wix-users >>>>> >>>>> >>>>> >>>>> -------------------------------------------------------------------- >>>>> -- >>>>> -------- AlienVault Unified Security Management (USM) platform >>>>> delivers complete security visibility with the essential security >> capabilities. Easily and efficiently configure, manage, and operate all of >> your security controls from a single console and one unified framework. >> Download a free trial. >>>>> http://p.sf.net/sfu/alienvault_d2d >>>>> _______________________________________________ >>>>> WiX-users mailing list >>>>> WiX-users@lists.sourceforge.net >>>>> https://lists.sourceforge.net/lists/listinfo/wix-users >>>>> NOTICE: This electronic mail message and any files transmitted with >>>>> it are intended exclusively for the individual or entity to which it >>>>> is addressed. The message, together with any attachment, may contain >> confidential and/or privileged information. >>>>> Any unauthorized review, use, printing, saving, copying, disclosure >>>>> or distribution is strictly prohibited. If you have received this >>>>> message in error, please immediately advise the sender by reply >> email and delete all copies. >>>>> >>>>> >>>>> -------------------------------------------------------------------- >>>>> -- >>>>> -------- AlienVault Unified Security Management (USM) platform >>>>> delivers complete security visibility with the essential security >>>>> capabilities. Easily and efficiently configure, manage, and operate >>>>> all of your security controls from a single console and one unified >>>>> framework. Download a free trial. >>>>> http://p.sf.net/sfu/alienvault_d2d >>>>> _______________________________________________ >>>>> WiX-users mailing list >>>>> WiX-users@lists.sourceforge.net >>>>> https://lists.sourceforge.net/lists/listinfo/wix-users >>>> >>>> ---------------------------------------------------------------------- >>>> -------- AlienVault Unified Security Management (USM) platform >>>> delivers complete security visibility with the essential security >> capabilities. Easily and efficiently configure, manage, and operate all of >> your security controls from a single console and one unified framework. >> Download a free trial. >>>> http://p.sf.net/sfu/alienvault_d2d >>>> _______________________________________________ >>>> WiX-users mailing list >>>> WiX-users@lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/wix-users >>>> >>>> >>>> >>>> ---------------------------------------------------------------------- >>>> -------- AlienVault Unified Security Management (USM) platform >>>> delivers complete security visibility with the essential security >>>> capabilities. Easily and efficiently configure, manage, and operate >>>> all of your security controls from a single console and one unified >>>> framework. Download a free trial. >>>> http://p.sf.net/sfu/alienvault_d2d >>>> _______________________________________________ >>>> WiX-users mailing list >>>> WiX-users@lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/wix-users >> ------------------------------------------------------------------------------ >>> AlienVault Unified Security Management (USM) platform delivers complete >> security visibility with the essential security capabilities. Easily and >> efficiently configure, manage, and operate all of your security controls >> from a single console and one unified framework. Download a free trial. >>> http://p.sf.net/sfu/alienvault_d2d >>> _______________________________________________ >>> WiX-users mailing list >>> WiX-users@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/wix-users >> ------------------------------------------------------------------------------ >>> AlienVault Unified Security Management (USM) platform delivers complete >>> security visibility with the essential security capabilities. Easily and >>> efficiently configure, manage, and operate all of your security controls >>> from a single console and one unified framework. Download a free trial. >>> http://p.sf.net/sfu/alienvault_d2d >>> _______________________________________________ >>> WiX-users mailing list >>> WiX-users@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/wix-users >> >> >> ------------------------------------------------------------------------------ >> AlienVault Unified Security Management (USM) platform delivers complete >> security visibility with the essential security capabilities. Easily and >> efficiently configure, manage, and operate all of your security controls >> from a single console and one unified framework. Download a free trial. >> http://p.sf.net/sfu/alienvault_d2d >> _______________________________________________ >> WiX-users mailing list >> WiX-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------------------------------------------------------ > AlienVault Unified Security Management (USM) platform delivers complete > security visibility with the essential security capabilities. Easily and > efficiently configure, manage, and operate all of your security controls > from a single console and one unified framework. Download a free trial. > http://p.sf.net/sfu/alienvault_d2d > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ AlienVault Unified Security Management (USM) platform delivers complete security visibility with the essential security capabilities. Easily and efficiently configure, manage, and operate all of your security controls from a single console and one unified framework. Download a free trial. http://p.sf.net/sfu/alienvault_d2d _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users