Ok, thats a good point, I already got the MSI version from the FileVersion
of my main project.
So that will make it clear.




On Tue, Feb 12, 2013 at 3:30 PM, Neil Sleightholm <n...@x2systems.com>wrote:

> That is how I structure my projects. I set the version of the bundle to
> the version of the msi using binder variables e.g.:
>         <?define Version = "!(bind.packageVersion.MyMSIProject)" ?>
>
> In fact I get the version of the MSI from one of the files I install using
> the same technique.
>
> Neil
>
> -----Original Message-----
> From: Sam Boman [mailto:s...@samb.se]
> Sent: 12 February 2013 14:23
> 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

Reply via email to