Thanks for your support,the Media element I think is only to create an msi 
package.I want not to separate the single msi but to have the Burn bundle that 
can load msi packages from 2 different disks.
Yes, I have seen the OnResolveSource (or ther ResolveSource event) called on 
the application engine, that is called when the engine doesn't locate a package 
or payload.But then what I need to do? change the LocalPath that is passed as 
EventArgs? Or I need to call some function on the Engine?For example the 
SetDownloadSource?
Thank you very much for your time and suggestions.


> Date: Fri, 20 Mar 2015 15:04:42 -0700
> From: phogl...@rimage.com
> To: wix-users@lists.sourceforge.net
> Subject: Re: [WiX-users] SwapRunFromCD And SwapRunFromNet - What is it and    
> How to Use ?
> 
> I think you are looking for  this
> <http://wixtoolset.org/documentation/manual/v3/xsd/wix/media.html>  
> feature.  I experimented with it some time ago, I but don't recall too much. 
> We decided to host the packages on a web site which makes my bundle
> distributable very small.  As Sean indicated in OnResolveSource the engine
> calls back to the mba when it cannot find a package, allowing you to do what
> you need to do to get the correct path and hand it back to the engine,
> prompt the user, or whatever.  The WixBA setup in InstallationViewModel has
> an implementation of ResolveSource.  In my case I set a new download URL in
> certain situations by calling  Engine.SetDownloadSource and returning
> Result.Download.  I am not sure of the specifics for multiple discs but that
> is the function in your mba to debug into when the engine is trying to find
> the package in another cabinet file (defined in the Media Element, I think).
> 
> 
> 
> --
> View this message in context: 
> http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/SwapRunFromCD-And-SwapRunFromNet-How-to-Use-tp7599634p7599656.html
> Sent from the wix-users mailing list archive at Nabble.com.
> 
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming The Go Parallel Website, sponsored
> by Intel and developed in partnership with Slashdot Media, is your hub for all
> things parallel software development, from weekly thought leadership blogs to
> news, videos, case studies, tutorials and more. Take a look and join the 
> conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
                                          
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to