Thanks for the response. Just to clarify...
You can have more than one <bundle></bundle> in a Bootstrapper.wxs? Or by "second bundle" do you mean second Bootstrapper.exe? As in targeting a second Bootstrapper (Bootstrapper2.exe) as the SourceFile in an ExePackage in the first Bootstrapper (Bootstrapper1.exe)? (This actually does work). For example ... <Wix ... <Bundle Name="Bootstrapper1"> ... <chain> ... <ExePackage Id="DriverSetup" SourceFile="Bootstrapper2.exe" ''' InstallCommand="/q /norestart"/> </chain> (/Bundle> </Wix> -----Original Message----- From: Hoover, Jacob [mailto:jacob.hoo...@greenheck.com] Sent: Monday, March 24, 2014 11:49 AM To: General discussion about the WiX toolset. Subject: Re: [WiX-users] What is the best way to design a Bootstrapper requiring external input ? There isn't any communication between the MSI and the BA for returning property values. Since you've written your own BA, you have a bit more latitude but you can't modify the plan in between packages in Apply. To me it almost seems like it would make sense (and be easier and not require a custom BA) to utilize a second bundle for the camera drivers. There you could do your install check to assert your initial bundle is in place, and utilize registry searches to read the persisted values from your main MSI install to then allow this aux bundle to plan the proper driver MSI. As for the remember me property pattern, http://robmensching.com/blog/posts/2010/5/2/the-wix-toolsets-remember-property-pattern -----Original Message----- From: Scott Moyer [mailto:scott.mo...@appliedvision.com] Sent: Monday, March 24, 2014 10:37 AM To: 'General discussion about the WiX toolset.' Subject: Re: [WiX-users] What is the best way to design a Bootstrapper requiring external input ? Thanks for the reply. I already have four MSIs for the two drivers (two x64 and two x86), and I am familiar with passing variables from a BA to an MSI. I just need to figure out how to pass information back from the MSI so the BA can access it. I do not understand how to persist a variable and am not familiar with the 'remember property' pattern. Do you have any examples you can share, as I am a pretty visual learner? -----Original Message----- From: Phill Hogland [mailto:phogl...@rimage.com] Sent: Monday, March 24, 2014 11:11 AM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] What is the best way to design a Bootstrapper requiring external input ? I am in a similar boat, converting an old IS script project to Wix/msi. So I am also learning, and very impressed with WIX. Most of my time so far has been trying to sort out oddball configuration issues for drivers. In my case in some scenarios I need to get printer drivers installed as print-to-file and in other situations the same driver as pnp when hardware is attached. But since the pc is embedded into the hardware the hardware is attached even before the software is installed, which creates pnp issues. Given your info, I think I would: 1) create separate msi (without concern about the UI) for each driver. For me that means a single MSI project for each of three drivers, each of which is built twice to create six x86 and x64 packages. In the mba try to detect devices or collect registration info and other configuration in OnDetect. I do not write anything at this stage. But the mba writes info that will be passed to the msi packages as Burn string variables. (The bootstrapper project defines these string variables as bal:Overwritable. I do not persist these variables since I implement 'remember property' pattern in each MSI. If you can be certain that the MSI will not be launched separate from the bootstrapper, then persisting the variable might be simpler.) Then in the chain it worked best for me to install the drivers first, (based on InstallConditions using variable set by the mba) and then install the application. In each MSI I implemented 'remember property' pattern for info that needs to be passed in. So the info collected by the mba is passed to each MSI as a MsiProperty. I'm still learning, so I am interested in other's advice. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/What-is-the-best-way-to-design-a-Bootstrapper-requiring-external-input-tp7593698p7593701.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ________________________________ NOTICE: The information contained in this electronic mail transmission is intended by Applied Vision Corporation and its affiliates for the sole use of the named individual or entity to which it is directed, and may contain confidential information and/or trade secrets. This electronic mail is not intended for transmission to, or receipt by, anyone other than the named addressee (or a person authorized to deliver it to the named addressee). This electronic mail should not be copied or forwarded to any unauthorized persons. If you have received this electronic mail transmission in error, please delete it from your system without copying or forwarding it, and notify the sender of the error by reply email or by calling Applied Vision Corporation at 330.926.2222, so that our address record can be corrected. ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ________________________________ NOTICE: The information contained in this electronic mail transmission is intended by Applied Vision Corporation and its affiliates for the sole use of the named individual or entity to which it is directed, and may contain confidential information and/or trade secrets. This electronic mail is not intended for transmission to, or receipt by, anyone other than the named addressee (or a person authorized to deliver it to the named addressee). This electronic mail should not be copied or forwarded to any unauthorized persons. If you have received this electronic mail transmission in error, please delete it from your system without copying or forwarding it, and notify the sender of the error by reply email or by calling Applied Vision Corporation at 330.926.2222, so that our address record can be corrected. ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users