Would setting the request state to BOOTSTRAPPER_REQUEST_STATE_CACHE
(RequestState.Cache) in the BA during the plan accomplish what Dave is
attempting?
> From: r...@robmensching.com
> Date: Tue, 8 Oct 2013 22:13:08 -0700
> To: wix-users@lists.sourceforge.net
> Subject: Re: [WiX-users] forcing packages to be cached in a custom BA
>
> That's what I was saying before. Your packages are probably being
> conditioned out thus they won't be cached. Burn won't cache stuff that will
> never be installed.
>
>
> On Tue, Oct 8, 2013 at 12:40 PM, Dave Andersen <d.ander...@gmail.com> wrote:
>
> > I've tried using those attributes, but I think I'm actually missing
> > something in my MBA to actually trigger the Cache action on the package.
> >
> > I'm controlling installation of the package by setting/unsetting a Variable
> > in the MBA, which is tied to the InstallCondition of the package; perhaps
> > that would prevent the package from being cached? When the setup is run
> > again in 'modify' mode, to select the previously uninstalled package, I
> > make the InstallCondition true so the package will be installed. At that
> > point (if I have removed Bundle.exe), I get this sort of thing in the
> > bundle log:
> >
> > [07B8:098C][2013-10-08T09:42:59]e000: Error 0x80070002: Failed to find
> > payload: DatabaseBundle in working path:
> >
> > C:\Users\ADMINI~1\AppData\Local\Temp\{1574a71c-4011-4f71-946a-162f37b55557}\DatabaseBundle
> > and unverified path: C:\ProgramData\Package
> > Cache\.unverified\DatabaseBundle
> > [07B8:098C][2013-10-08T09:42:59]e000: Error 0x80070002: Failed to cache
> > payload: DatabaseBundle
> > [0BD4:090C][2013-10-08T09:42:59]e314: Failed to cache payload:
> > DatabaseBundle from working path:
> >
> > C:\Users\ADMINI~1\AppData\Local\Temp\{1574a71c-4011-4f71-946a-162f37b55557}\DatabaseBundle,
> > error: 0x80070002.
> > [0BD4:090C][2013-10-08T09:42:59]e349: Application requested retry of
> > payload: DatabaseBundle, encountered error: 0x80070002. Retrying...
> > [0BD4:090C][2013-10-08T09:42:59]w341: Prompt for source of container:
> > WixAttachedContainer, path: C:\Users\Administrator\Desktop\Bundle.exe
> > [0BD4:090C][2013-10-08T09:42:59]e054: Failed to resolve source for file:
> > C:\Users\Administrator\Desktop\Bundle.exe, error: 0x80070057.
> > [0BD4:090C][2013-10-08T09:42:59]e000: Error 0x80070057: Failed while
> > prompting for source (original path
> > 'C:\Users\Administrator\Desktop\Bundle.exe').
> > [0BD4:090C][2013-10-08T09:42:59]e311: Failed to acquire container:
> > WixAttachedContainer to working path:
> >
> > C:\Users\ADMINI~1\AppData\Local\Temp\{1574a71c-4011-4f71-946a-162f37b55557}\B7054016292E1F65E37284738E032EFCCC5DB437,
> > error: 0x80070057.
> >
> > Stepping back to the original install, this is what happened with the
> > "DatabaseBundle" package:
> >
> > [092C:0AB8][2013-10-08T09:42:25]i201: Planned package: DatabaseBundle,
> > state: Absent, default requested: Absent, ba requested: Cache, execute:
> > None, rollback: None, cache: No, uncache: No, dependency: None
> >
> > So even though I manage to indicate that I want the package to be cached,
> > the engine states that it is not going to do it...
> >
> > Regarding the /layout flag, I thought that only downloads external
> > packages, and does nothing with "Compressed" packages.
> >
> > Dave
> >
> >
> > On Tue, Oct 8, 2013 at 8:56 AM, tom [via Windows Installer XML (WiX)
> > toolset] <ml-node+s687559n7589522...@n2.nabble.com> wrote:
> >
> > >
> > > <PackageGroup Id="p1">
> > > <MsiPackage Id="p1"
> > > Cache="yes"
> > > Compressed="yes"
> > >
> > > Any way if user delete the folder in which it was cached
> > >
> > > you will see the resolve source msi Ui if you dont provide it in a custom
> > > MBA
> > >
> > > excactly what i trying to do now ...:)
> > >
> > > you probabaly also need to support \layout to extarct msi,if they are
> > > embedded inside the setup.exe//
> > >
> > > ------------------------------
> > > If you reply to this email, your message will be added to the discussion
> > > below:
> > >
> > >
> > http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/forcing-packages-to-be-cached-in-a-custom-BA-tp7589513p7589522.html
> > > To unsubscribe from forcing packages to be cached in a custom BA, click
> > > here<
> > http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=7589513&code=ZC5hbmRlcnNlbkBnbWFpbC5jb218NzU4OTUxM3w5NDE1OTAzNDU=
> > >
> > > .
> > > NAML<
> > http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml
> > >
> > >
> >
> >
> >
> >
> > --
> > View this message in context:
> > http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/forcing-packages-to-be-cached-in-a-custom-BA-tp7589513p7589539.html
> > Sent from the wix-users mailing list archive at Nabble.com.
> >
> > ------------------------------------------------------------------------------
> > 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=60134071&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=60134071&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=60134071&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users