It may well do that but that makes no difference to the end user as at the 
point it's downloading the file, the bundle is running from the users TEMP 
directory.
The issue is that if before I run the bundle, I have the mpi_x64.msi in the 
redist directory (along with the .NET 4.0 installer) the bundle can't find it. 
I have to dump it in the same directory as the bundle itself for it to 
acknowledge its presence otherwise it'll try to download it. It will however 
see the .NET 4.0 installer in the same directory quite happily & forgo the 
download for it.

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: Rob Mensching [mailto:r...@robmensching.com] 
Sent: 18 October 2013 17:40
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] Development proposal for WixNetFxExtension

That doesn't sound right. Name attribute should be respected and it should
place that file in the redist\mpi_x64.msi folder relative to the output
bundle.exe.


On Fri, Oct 18, 2013 at 7:02 AM, Pally Sandher <pally.sand...@iesve.com>wrote:

> It'd be nice if there was some easy way to leverage the "redist" directory
> in your own Packages without a massive effort.
> Setting "Name" attribute of MsiPackage only works if you have the package
> embedded in your bundle. It completely ignores it in the case of a
> DownloadUrl e.g.
>
>       <MsiPackage Id="MS_MPI_x64"
>                   SourceFile="redist\mpi_x64.msi"
>                   Name="="redist\mpi_x64.msi""
>                   Compressed="no"
>                   DownloadUrl="
> http://download.microsoft.com/download/3/8/D/38D18861-67DE-4E66-92C7-6819D8B07210/mpi_x64.msi";
> />
>
> still expects the mpi_x64.msi package to exist in the same directory as
> the bundle itself not the redist subdirectory.
> I had the same problem using ExePackage too. I'm assuming I'd need to
> remove the SourceFile attribute & use the RemotePayload Element as per
> WiXNetExtension does for the .NET packages for this to work.
>
> 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: Veli-Matti Visuri [mailto:veli-matti.vis...@futuremark.com]
> Sent: 18 October 2013 11:18
> To: General discussion about the WiX toolset.
> Subject: Re: [WiX-users] Development proposal for WixNetFxExtension
>
> Good point Rob. Our QA just whines me constantly that the installation
> package has weird structure. I'll have to use Mr. Delambre's approach :-)
>
> Thank you both for your replies
>
> Best regards,
> Veli-Matti Visuri
>
>
> On Wed, Oct 16, 2013 at 7:12 PM, Rob Mensching <r...@robmensching.com>
> wrote:
>
> > We picked a folder ("redist" seemed as good as any) since many people
> want
> > the root of their media to be clean. Thus it's clearer to the user what
> to
> > double click on (aka: there is only one file named "setup.exe").
> >
> >
> > On Wed, Oct 16, 2013 at 6:55 AM, Loïc DELAMBRE <delam...@doxense.com>
> > wrote:
> >
> > > Hi,
> > >
> > > In my bootstrapper, I use my proper Package Group in order to Install
> > .Net
> > > Framework like this :
> > >
> > > <util:RegistrySearchRef Id="NETFRAMEWORK45" />
> > >     <WixVariable Id="WixMbaPrereqPackageId" Value="NetFx45Redist" />
> > >     <WixVariable Id="WixMbaPrereqLicenseUrl" Value="
> > > http://go.microsoft.com/fwlink/?LinkID=260867"; />
> > >     <PackageGroup Id="NetFx45Dox">
> > >       <ExePackage InstallCommand="/q /norestart /ChainingPackage
> > > &quot;[WixBundleName]&quot; /log [NetFx45FullLog].html"
> > >                                   RepairCommand="/q /norestart /repair
> > > /ChainingPackage &quot;[WixBundleName]&quot; /log
> [NetFx45FullLog].html"
> > >                                   UninstallCommand="/uninstall /q
> > > /norestart /ChainingPackage &quot;[WixBundleName]&quot; /log
> > > [NetFx45FullLog].html"
> > >                                   PerMachine="yes"
> > >                                   DetectCondition="(NETFRAMEWORK45
> &gt;=
> > > 378389)"
> > >                                   InstallCondition="VersionNT &gt;
> v5.2"
> > >                                   Id="NetFx45Redist"
> > >                                   Vital="yes"
> > >                                   Permanent="yes"
> > >                                   Protocol="netfx4"
> > >                                   DownloadUrl="
> > > http://go.microsoft.com/fwlink/?LinkId=225702";
> > >                                   LogPathVariable="NetFx45FullLog"
> > >                                   Compressed="no"
> > >
> > > Name="redist\dotNetFx45_Full_x86_x64.exe">
> > >         <RemotePayload
> > > CertificatePublicKey="BE931A1B869E4BB989C2B32D0C105204ECBEFB3D"
> > > CertificateThumbprint="8363887511B4835B79C383ECF06FC055B5839255"
> > > Description="Microsoft .NET Framework 4.5 Setup"
> > > Hash="B2FF712CA0947040CA0B8E9BD7436A3C3524BB5D" ProductName="Microsoft
> > .NET
> > > Framework 4.5" Size="50352408" Version="4.5.50709.17929" />
> > >       </ExePackage>
> > >     </PackageGroup>
> > >
> > > So, you could change the path of the exe file with the attribute Name
> of
> > > the Exepackage node. Here, i use the redist folder too, but you can put
> > > Name="dotNetFx45_Full_x86_x64.exe" if you want both exe at the same
> > level.
> > >
> > > Best regards,
> > > Loïc DELAMBRE
> > >
> > > -----Message d'origine-----
> > > De : Veli-Matti Visuri [mailto:veli-matti.vis...@futuremark.com]
> > > Envoyé : mercredi 16 octobre 2013 13:51
> > > À : General discussion for Windows Installer XML toolset.
> > > Objet : [WiX-users] Development proposal for WixNetFxExtension
> > >
> > > Hi,
> > >
> > > Is there any particular reason why WixNetFxExtension searches .NET
> > bundles
> > > from "redist" folder?
> > >
> > > Its quite confusing to make an offline capable installer. Lets say I
> have
> > > this kind of bootstrapper:
> > >
> > > <Chain>
> > >       <PackageGroupRef Id="NetFx45Redist"/>
> > >       <MsiPackage SourceFile="Installer.msi"/> </Chain>
> > >
> > > So I have to have the following structure in my deploy package e.g.
> .zip
> > > file
> > >
> > > zip:
> > >      bootstrapper.exe
> > >      redist\dotNetFx45_Full_x86_x64.exe
> > >
> > > It would be so much easier and less confusing to just make it like
> this:
> > >
> > > zip:
> > >      bootstrapper.exe
> > >      dotNetFx45_Full_x86_x64.exe
> > >
> > > Note that my bootstrapper uses .NET framework 4.5 and I don't want to
> > make
> > > my own build from WiX source code.
> > >
> > >
> > > Best regards,
> > > Veli-Matti Visuri
> > >
> > >
> >
> ------------------------------------------------------------------------------
> > > October Webinars: Code for Performance
> > > Free Intel webinars can help you accelerate application performance.
> > > Explore tips for MPI, OpenMP, advanced profiling, and more. Get the
> most
> > > from the latest Intel processors and coprocessors. See abstracts and
> > > register >
> > >
> >
> http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk
> > > _______________________________________________
> > > WiX-users mailing list
> > > WiX-users@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/wix-users
> > >
> > >
> > >
> >
> ------------------------------------------------------------------------------
> > > October Webinars: Code for Performance
> > > Free Intel webinars can help you accelerate application performance.
> > > Explore tips for MPI, OpenMP, advanced profiling, and more. Get the
> most
> > > from
> > > the latest Intel processors and coprocessors. See abstracts and
> register
> > >
> > >
> >
> http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk
> > > _______________________________________________
> > > WiX-users mailing list
> > > WiX-users@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/wix-users
> > >
> > >
> >
> >
> ------------------------------------------------------------------------------
> > October Webinars: Code for Performance
> > Free Intel webinars can help you accelerate application performance.
> > Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most
> > from
> > the latest Intel processors and coprocessors. See abstracts and register
> >
> >
> http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk
> > _______________________________________________
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
>
> ------------------------------------------------------------------------------
> October Webinars: Code for Performance
> Free Intel webinars can help you accelerate application performance.
> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most
> from
> the latest Intel processors and coprocessors. See abstracts and register >
> http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
> ------------------------------------------------------------------------------
> October Webinars: Code for Performance
> Free Intel webinars can help you accelerate application performance.
> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most
> from
> the latest Intel processors and coprocessors. See abstracts and register >
> http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to