I don't think it makes much difference if you use WiX V2 or V3 because they both wind up producing an MSI. However, V3 includes a bootstrapper so that might be a good example. I haven't looked at it so I don't know if it does what you need.
When we were doing this, I found lots of bootstrappers many even had source code but, none of them did everything we needed them to do and, all the ones with source were written in unmanaged C++. So, we wound up writing our own in C#. There really was nothing hard, it was just a bunch of UI to figure out which commands to send to Process.Start and, it was a lot easier doing that UI in C# than in Windows Installer with C++ custom actions. > > That sounds reasonable. How do I get started? Are you aware of > samples of > doing something like this in a bootstrapper? (preferrably with WIX > 2.x, but > we would consider switching to 3.x if there was a good reason to) > > Thanks! > > > John Vottero wrote: > > > > It's much easier to do 1, 2 and 3 in a bootstrapper which then > executes > > your WiX created MSI. > > > >> > >> The following sequence of tasks seem like they would be common and I > > am > >> hoping that someone has a working example of doing this in WIX: > >> > >> 1. Prompt the user for information about which (new or existing) > >> service > >> account should be used. > >> > >> 2. Prompt the user for information about the SQL database that needs > > to > >> be > >> created (select from a list of SQL Instances, verify connection and > >> creation > >> rights, etc.) > >> > >> 3. Prompt the user for information about the web app that needs to > be > >> set up > >> (select from existing sites or prompt for host/port/name to create a > >> new > >> site) > >> > >> 4. Create the necessary accounts, SQL database, web site, web app as > >> specified above. > >> > >> I have found a number of examples of doing #4, all of which use > hard- > >> coded > >> values for the information I want to prompt for in #1 - 3. Building > a > >> nice > >> interactive UI like I see in various Microsoft installers seems like > a > >> lot > >> of tedious work, especially if we have to start from scratch writing > >> lots of > >> custom actions. Does WIX have more support for this than I realize, > > or > >> are > >> there less-trivial examples out there? > >> -- > >> View this message in context: http://www.nabble.com/Looking-for- > >> advanced-UI-examples-tf3865328.html#a10950077 > >> Sent from the wix-users mailing list archive at Nabble.com. > >> > >> > >> > > --------------------------------------------------------------------- > -- > >> -- > >> This SF.net email is sponsored by DB2 Express > >> Download DB2 Express C - the FREE version of DB2 express and take > >> control of your XML. No limits. Just data. Click to get it now. > >> http://sourceforge.net/powerbar/db2/ > >> _______________________________________________ > >> WiX-users mailing list > >> WiX-users@lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/wix-users > > > > > > --------------------------------------------------------------------- > ---- > > This SF.net email is sponsored by DB2 Express > > Download DB2 Express C - the FREE version of DB2 express and take > > control of your XML. No limits. Just data. Click to get it now. > > http://sourceforge.net/powerbar/db2/ > > _______________________________________________ > > WiX-users mailing list > > WiX-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > > > -- > View this message in context: http://www.nabble.com/Looking-for- > advanced-UI-examples-tf3865328.html#a10951258 > Sent from the wix-users mailing list archive at Nabble.com. > > > ----------------------------------------------------------------------- > -- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users