Okay, I see we have to go that path! Sorry to repeat, but this question also:
"You should probably set the Burn bundle as related to the MSI so when a user uninstalls the MSI it also uninstalls the Burn bundle. Otherwise the user's system will have the (invisible) Burn bundle still registered which could cause problems if they attempt to reinstall or install a newer release at a later time etc." How do I specify that? On Wed, Feb 13, 2013 at 5:28 PM, Pally Sandher <pally.sand...@iesve.com>wrote: > You have to write your own Bootstrapper Application to replace the use of > WiXBalExtension in that case -> > http://wix.sourceforge.net/manual-wix3/bootstrapper_application.htm > > Palbinder Sandher > Software Platform Engineer > T: +44 (0) 141 945 8500 > F: +44 (0) 141 945 8501 > http://www.iesve.com > > **Design, Simulate + Innovate with the <Virtual Environment>** > Integrated Environmental Solutions Limited. Registered in Scotland No. > SC151456 > Registered Office - Helix Building, West Of Scotland Science Park, Glasgow > G20 0SP > Email Disclaimer > > > > -----Original Message----- > From: Sam Boman [mailto:s...@samb.se] > Sent: 13 February 2013 16:16 > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Install Prerequisites (.NET Framework) > > But even though setting: > > <Bundle ... DisableModify="yes" DisableRemove="yes"> > > <MsiPackage ... *DisplayInternalUI="yes" Visible="yes"*/> > > I stil get the Bootstrapper UI visible first. Then When I click Install I > got the MSI UI visible in front of Bootstrapper UI. And when MSI UI are > finnish the Bootstrapper UI are closed. > > My intention are just not see anything of the Bootstrapper UI if the .NET > Framework are present. Just like the old Visual Studio Setup/Deploy > projects... > > //Sam > > > > > > > > > On Wed, Feb 13, 2013 at 3:49 PM, Sam Boman <s...@samb.se> wrote: > > > Thanks for this good explanations! > > > > Regarding this: > > "You should probably set the Burn bundle as related to the MSI so when > > a user uninstalls the MSI it also uninstalls the Burn bundle. > > Otherwise the user's system will have the (invisible) Burn bundle > > still registered which could cause problems if they attempt to > > reinstall or install a newer release at a later time etc." > > > > How do I specify that? > > > > //Sam > > > > > > On Tue, Feb 12, 2013 at 6:04 PM, Pally Sandher <pally.sand...@iesve.com > >wrote: > > > >> For MSI UI -> > >> http://wix.sourceforge.net/manual-wix3/wix_xsd_msipackage.htm see the > >> DisplayInternalUI attribute. > >> > >> To list your MSI in Programs & Features and not the Burn bundle -> > >> http://wix.sourceforge.net/manual-wix3/wix_xsd_bundle.htm see the > >> DisableModify and DisableRemove attributes. Also you will need to set > >> the Visible attribute to yes on your MsiPackage element . You should > >> probably set the Burn bundle as related to the MSI so when a user > >> uninstalls the MSI it also uninstalls the Burn bundle. Otherwise the > >> user's system will have the (invisible) Burn bundle still registered > >> which could cause problems if they attempt to reinstall or install a > newer release at a later time etc. > >> > >> Palbinder Sandher > >> Software Platform Engineer > >> T: +44 (0) 141 945 8500 > >> F: +44 (0) 141 945 8501 > >> http://www.iesve.com > >> > >> **Design, Simulate + Innovate with the <Virtual Environment>** > >> Integrated Environmental Solutions Limited. Registered in Scotland No. > >> SC151456 > >> Registered Office - Helix Building, West Of Scotland Science Park, > >> Glasgow G20 0SP Email Disclaimer > >> > >> > >> > >> -----Original Message----- > >> From: Sam Boman [mailto:s...@samb.se] > >> Sent: 12 February 2013 16:52 > >> To: General discussion for Windows Installer XML toolset. > >> Subject: Re: [WiX-users] Install Prerequisites (.NET Framework) > >> > >> Ok, but I have this issue, or maybe its just the way it works... > >> > >> I have set the Msi project to use: > >> <UIRef Id="WixUI_InstallDir"/> > >> And then I have added the license agreement rtf-file to it. > >> > >> But when I have added this to the Bootstrapper project: > >> > >> *<BootstrapperApplicationRef > >> Id="WixStandardBootstrapperApplication.RtfLicense" />* > >> > >> <Chain> > >> <PackageGroupRef Id=" Netfx4Full"/> > >> ...your msi stuff goes here... > >> </Chain> > >> > >> > >> I end up in not getting the Msi UI at all, and in Controlpanel - > >> Programs I just see my bootstrapper projectname... Not the original > >> Msi name and version... > >> > >> I thought that the Bootstrapper just would do its checks, and then > >> handover to the Msi UI, and not display any thing to the user if all > >> is Okay (.NET version are the right.). > >> > >> Thanks! > >> > >> //Sam > >> > >> > >> On Tue, Feb 12, 2013 at 3:37 PM, Pally Sandher > >> <pally.sand...@iesve.com > >> >wrote: > >> > >> > You need 2 projects. You have 2 outputs, an MSI & a Burn executable > >> > which wraps the MSI and deals with your pre-reqs. You can configure > >> > your burn package not to register itself or to not register your MSI. > >> > See the Burn documentation -> > >> > http://wix.sourceforge.net/manual-wix3/authoring_bundle_intro.htm > >> > > >> > BTW all that extra code Steven posted is completely superfluous. > >> > All you literally need in your Burn bundle XML is > >> > > >> > <Chain> > >> > <PackageGroupRef Id=" Netfx4Full"/> > >> > ...your msi stuff goes here... > >> > </Chain> > >> > > >> > As WiXNetFxExtension has all the authoring required to do all the > >> > checks & downloading etc. (and has been checked & tested by > >> > everyone who uses it on a daily basis). > >> > > >> > Personally I use > >> > <PackageGroupRef Id="NetFx40ClientRedist"/> because I hate > >> > those 'on-demand' installer bundle things. > >> > > >> > Palbinder Sandher > >> > Software Platform Engineer > >> > T: +44 (0) 141 945 8500 > >> > F: +44 (0) 141 945 8501 > >> > http://www.iesve.com > >> > > >> > **Design, Simulate + Innovate with the <Virtual Environment>** > >> > Integrated Environmental Solutions Limited. Registered in Scotland No. > >> > SC151456 > >> > Registered Office - Helix Building, West Of Scotland Science Park, > >> > Glasgow > >> > G20 0SP > >> > Email Disclaimer > >> > > >> > > >> > > >> > -----Original Message----- > >> > From: Sam Boman [mailto:s...@samb.se] > >> > Sent: 12 February 2013 14:29 > >> > To: General discussion for Windows Installer XML toolset. > >> > Subject: Re: [WiX-users] Install Prerequisites (.NET Framework) > >> > > >> > Thanks Steven, > >> > I try to get it to work. > >> > > >> > Also a question regarding, how to arrange things. > >> > > >> > I have two projects, one that gives me a MSI as output, Its just > >> > plain msi-file, no check for .NET framework. The other is a > >> > Bootstrapper Project, it hava a reference to the MSI-project. > >> > Is this the best way to do it? Or can I keep it in one project? How? > >> > Otherwise I seems to end up with two products / versions, one inner > >> > and one outer? > >> > > >> > Br, > >> > Sam > >> > > >> > > >> > > >> > On Tue, Feb 12, 2013 at 3:10 PM, Steven Ogilvie > >> > <steven.ogil...@titus.com > >> > >wrote: > >> > > >> > > You can have a copy of .NET with your package OR use the > >> DownloadUrl="" > >> > > element within the exepackage so if required, the .NET install is > >> > > downloaded THEN installed... > >> > > > >> > > Steve > >> > > > >> > > -----Original Message----- > >> > > From: Sam Boman [mailto:s...@samb.se] > >> > > Sent: February-12-13 9:03 AM > >> > > To: General discussion for Windows Installer XML toolset. > >> > > Subject: Re: [WiX-users] Install Prerequisites (.NET Framework) > >> > > > >> > > Ok, > >> > > But this isn't offering any help to the user to download the > >> > > framework, am I right? > >> > > I guess I need to do that also. > >> > > > >> > > //Sam > >> > > > >> > > > >> > > On Tue, Feb 12, 2013 at 2:55 PM, Steven Ogilvie > >> > > <steven.ogil...@titus.com > >> > > >wrote: > >> > > > >> > > > This is what I do to check for .NET 4.0 in the boostrapper... > >> > > > > >> > > > <Chain> > >> > > > <PackageGroupRef Id="Netfx4Full"/> > >> > > > > >> > > > .... > >> > > > > >> > > > </Chain> > >> > > > </Bundle> > >> > > > <Fragment Id="InstallConditionChecks"> > >> > > > <!-- Check for .NET 4.0 --> > >> > > > <WixVariable Id="WixMbaPrereqPackageId" Value="Netfx4Full" /> > >> > > > <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="Netfx4Full"> > >> > > > <ExePackage Id="Netfx4Full" > >> > > > DisplayName="Microsoft .NET Framework 4.0" > >> > > > Cache="no" > >> > > > Compressed="no" > >> > > > PerMachine="yes" > >> > > > Permanent="yes" > >> > > > Protocol="netfx4" > >> > > > Vital="yes" > >> > > > > >> SourceFile="..\PreReqs\dotNetFx40_Full_x86_x64.exe" > >> > > > Name="RedistServer\dotNetFx40_Full_x86_x64.exe" > >> > > > InstallCommand="/passive /norestart" > >> > > > DetectCondition="Netfx4FullVersion AND (NOT > >> > > > VersionNT64 OR Netfx4x64FullVersion)" /> > >> > > > </PackageGroup> > >> > > > > >> > > > </Fragment> > >> > > > </Wix> > >> > > > > >> > > > -----Original Message----- > >> > > > From: Sam Boman [mailto:s...@samb.se] > >> > > > Sent: February-12-13 8:47 AM > >> > > > To: General discussion for Windows Installer XML toolset. > >> > > > Subject: Re: [WiX-users] Install Prerequisites (.NET Framework) > >> > > > > >> > > > But my original Wix UI then goes away. I just want the > >> > > > bootstrapper to check the .NET Framework. > >> > > > > >> > > > <?xml version="1.0" encoding="UTF-8"?><Wix > >> > > > xmlns="http://schemas.microsoft.com/wix/2006/wi"> <Bundle > >> > > > Name="Bootstrapper" Version="1.0.0.0" Manufacturer="" > >> UpgradeCode=""> > >> > > > <BootstrapperApplicationRef > >> > > > Id="WixStandardBootstrapperApplication.RtfLicense"/> > <Chain> > >> > > > <!-- .NET 4.5: NetFx45Web --> <PackageGroupRef > >> > > > Id="NetFx40ClientWeb"/> <MsiPackage Id="MyApplication" > >> > > > SourceFile="$(var.Msi.TargetPath)"/> </Chain> > >> > > > </Bundle></Wix> > >> > > > > >> > > > > >> > > > > >> > > > On Tue, Feb 12, 2013 at 1:34 PM, Sam Boman <s...@samb.se> wrote: > >> > > > > >> > > > > Thanks! Do this Bundle needs to be in a separate project? (I > >> > > > > can create new project: Bootstrapper Project in the Add > >> > > > > Project dialog in > >> > > > VS). > >> > > > > > >> > > > > > >> > > > > On Tue, Feb 12, 2013 at 1:06 PM, Pally Sandher > >> > > > ><pally.sand...@iesve.com > >> > > > >wrote: > >> > > > > > >> > > > >> http://wix.sourceforge.net/manual-wix3/install_dotnet.htm > >> > > > >> > >> > > > >> Palbinder Sandher > >> > > > >> Software Platform Engineer > >> > > > >> T: +44 (0) 141 945 8500 > >> > > > >> F: +44 (0) 141 945 8501 > >> > > > >> http://www.iesve.com > >> > > > >> > >> > > > >> **Design, Simulate + Innovate with the <Virtual > >> > > > >> Environment>** Integrated Environmental Solutions Limited. > >> > > > >> Registered in Scotland > >> > No. > >> > > > >> SC151456 > >> > > > >> Registered Office - Helix Building, West Of Scotland Science > >> > > > >> Park, Glasgow G20 0SP Email Disclaimer > >> > > > >> > >> > > > >> > >> > > > >> > >> > > > >> -----Original Message----- > >> > > > >> From: Sam Boman [mailto:s...@samb.se] > >> > > > >> Sent: 12 February 2013 12:04 > >> > > > >> To: General discussion for Windows Installer XML toolset. > >> > > > >> Subject: [WiX-users] Install Prerequisites (.NET Framework) > >> > > > >> > >> > > > >> Hi! > >> > > > >> > >> > > > >> Where can I find a simple example of how to just ensure the > >> > > > >> installation will check if the user have got a specific > >> > > > >> version of .NET Framework installed, and if not, download > >> > > > >> from > >> > Microsoft.com? > >> > > > >> > >> > > > >> Have this with burn.exe to do? Or is it abandoned? > >> > > > >> > >> > > > >> //Sam > >> > > > >> > >> > > > >> ------------------------------------------------------------ > >> > > > >> --- > >> > > > >> -- > >> > > > >> -- > >> > > > >> -- > >> > > > >> --------- Free Next-Gen Firewall Hardware Offer Buy your > >> > > > >> Sophos next-gen firewall before the end March 2013 and get > >> > > > >> the hardware for free! Learn more. > >> > > > >> http://p.sf.net/sfu/sophos-d2d-feb > >> > > > >> _______________________________________________ > >> > > > >> WiX-users mailing list > >> > > > >> WiX-users@lists.sourceforge.net > >> > > > >> https://lists.sourceforge.net/lists/listinfo/wix-users > >> > > > >> > >> > > > >> > >> > > > >> > >> > > > >> > >> > > > >> ------------------------------------------------------------ > >> > > > >> --- > >> > > > >> -- > >> > > > >> -- > >> > > > >> -- > >> > > > >> --------- Free Next-Gen Firewall Hardware Offer Buy your > >> > > > >> Sophos next-gen firewall before the end March 2013 and get > >> > > > >> the hardware for free! Learn more. > >> > > > >> http://p.sf.net/sfu/sophos-d2d-feb > >> > > > >> _______________________________________________ > >> > > > >> WiX-users mailing list > >> > > > >> WiX-users@lists.sourceforge.net > >> > > > >> https://lists.sourceforge.net/lists/listinfo/wix-users > >> > > > >> > >> > > > > > >> > > > > > >> > > > > >> > > > --------------------------------------------------------------- > >> > > > --- > >> > > > -- > >> > > > -- > >> > > > -------- > >> > > > Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen > >> > > > firewall before the end March 2013 and get the hardware for free! > >> > > > Learn more. > >> > > > http://p.sf.net/sfu/sophos-d2d-feb > >> > > > _______________________________________________ > >> > > > WiX-users mailing list > >> > > > WiX-users@lists.sourceforge.net > >> > > > https://lists.sourceforge.net/lists/listinfo/wix-users > >> > > > > >> > > > > >> > > > --------------------------------------------------------------- > >> > > > --- > >> > > > -- > >> > > > -- > >> > > > -------- > >> > > > Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen > >> > > > firewall before the end March 2013 and get the hardware for free! > >> > > > Learn more. > >> > > > http://p.sf.net/sfu/sophos-d2d-feb > >> > > > _______________________________________________ > >> > > > WiX-users mailing list > >> > > > WiX-users@lists.sourceforge.net > >> > > > https://lists.sourceforge.net/lists/listinfo/wix-users > >> > > > > >> > > > >> > > ----------------------------------------------------------------- > >> > > --- > >> > > -- > >> > > -------- > >> > > Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen > >> > > firewall before the end March 2013 and get the hardware for free! > >> > > Learn more. > >> > > http://p.sf.net/sfu/sophos-d2d-feb > >> > > _______________________________________________ > >> > > WiX-users mailing list > >> > > WiX-users@lists.sourceforge.net > >> > > https://lists.sourceforge.net/lists/listinfo/wix-users > >> > > > >> > > > >> > > ----------------------------------------------------------------- > >> > > --- > >> > > -- > >> > > -------- > >> > > Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen > >> > > firewall before the end March 2013 and get the hardware for free! > >> > > Learn more. > >> > > http://p.sf.net/sfu/sophos-d2d-feb > >> > > _______________________________________________ > >> > > WiX-users mailing list > >> > > WiX-users@lists.sourceforge.net > >> > > https://lists.sourceforge.net/lists/listinfo/wix-users > >> > > > >> > > >> > ------------------------------------------------------------------- > >> > --- > >> > -------- > >> > Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen > >> > firewall before the end March 2013 and get the hardware for free! > >> > Learn more. > >> > http://p.sf.net/sfu/sophos-d2d-feb > >> > _______________________________________________ > >> > WiX-users mailing list > >> > WiX-users@lists.sourceforge.net > >> > https://lists.sourceforge.net/lists/listinfo/wix-users > >> > > >> > > >> > > >> > > >> > ------------------------------------------------------------------- > >> > --- > >> > -------- > >> > Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen > >> > firewall before the end March 2013 and get the hardware for free! > >> > Learn more. > >> > http://p.sf.net/sfu/sophos-d2d-feb > >> > _______________________________________________ > >> > WiX-users mailing list > >> > WiX-users@lists.sourceforge.net > >> > https://lists.sourceforge.net/lists/listinfo/wix-users > >> > > >> > >> --------------------------------------------------------------------- > >> --------- Free Next-Gen Firewall Hardware Offer Buy your Sophos > >> next-gen firewall before the end March 2013 and get the hardware for > >> free! Learn more. > >> http://p.sf.net/sfu/sophos-d2d-feb > >> _______________________________________________ > >> WiX-users mailing list > >> WiX-users@lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/wix-users > >> > >> > >> > >> > >> --------------------------------------------------------------------- > >> --------- Free Next-Gen Firewall Hardware Offer Buy your Sophos > >> next-gen firewall before the end March 2013 and get the hardware for > >> free! Learn more. > >> http://p.sf.net/sfu/sophos-d2d-feb > >> _______________________________________________ > >> WiX-users mailing list > >> WiX-users@lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/wix-users > >> > > > > > > ------------------------------------------------------------------------------ > Free Next-Gen Firewall Hardware Offer > Buy your Sophos next-gen firewall before the end March 2013 and get the > hardware for free! Learn more. > http://p.sf.net/sfu/sophos-d2d-feb > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > > ------------------------------------------------------------------------------ > Free Next-Gen Firewall Hardware Offer > Buy your Sophos next-gen firewall before the end March 2013 > and get the hardware for free! Learn more. > http://p.sf.net/sfu/sophos-d2d-feb > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users