[wix-users] How to copy downloaded packages to a directory in burn custom MBA

David Huang dave at alterity.com
Sun Feb 7 18:31:01 PST 2021

Hi, I'm writing a custom MBA, where most of the packages in the bundle are downloaded. One thing I'd like it to do is (optionally) copy the downloaded packages somewhere so it can be installed offline. It seems like this is what /layout does, and it seems that I need to add some code to support that (https://stackoverflow.com/questions/22966235/how-do-i-implement-support-for-layout-on-a-custom-wix-burn-ba-bootstrapper-apl).

However, what I'd actually like to do is to somehow do the /layout functionality as part of a regular install. E.g., have a checkbox in my UI for "save a copy of the installer to [ ... ]", and if that's checked, both do the install as it'd normally be done, and also put an offline installer in the given directory. What's a good way to do that?

More information about the wix-users mailing list