You can create your own managed bootstrapper for Burn, which can show a UI of your own design and set Burn variables, or control the results of the Detect phase. That's what we do in our product, which has also let us set a few other options and give the user the option to choose their SQL Server and database from our installer.
Alternatively, you can make a theme file to alter the UI of the standard bootstrapper, although when we made our installer in the days of WiX 3.6, this only tied variables to text boxes. I don't know whether that's changed in 3.7... Nicholas On 7 January 2013 16:55, Steven Ogilvie <steven.ogil...@titus.com> wrote: > Because our PM wants the user to have a choice, use their own SQL Server > server (which most likely they will already have) OR choose a dedicated SQL > Server (2012 Express that we will install (most likely for testing > purposes)... > > Steve > > -----Original Message----- > From: Nicholas Pierce [mailto:nicholas.pie...@permasense.com] > Sent: January-07-13 11:44 AM > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] custom action to run SQL Server Express EXE > > Why not just use Burn to run the SQL Server installers? > > Nicholas > > On 7 January 2013 16:31, Steven Ogilvie <steven.ogil...@titus.com> wrote: > > > Hi, > > > > In my Database dialog I am allowing the user to choose whether to use > > their own copy of SQL Server or use a dedicated SQL Server Express 2012. > > > > If they choose the dedicated SQL Server on Next Click I run a custom > > action that determines if the OS is 32 or 64 bit and run the > > appropriate SQL Server Express 2012 installer (.exe) I also set up the > > command line parameters for Windows Authentication or SQL Server > authentication etc... > > > > The only problem is that Burn caches the installer into a temp > > directory and I can no longer find my 2 SQL Server EXE's: > > > > const string sqlExpress2012X64 = "SQLEXPR_x64_ENU.exe"; const string > > sqlExpress2012X86 = "SQLEXPR_x86_ENU.exe"; > > > > var sourceDir = GetSessionProperty(session, "SourceDir", false); > > //course this doesn't work since burn cache's the installer... > > > > var sourceExe = Is64BitWindows() ? sqlExpress2012X64 : > > sqlExpress2012X86; var cmdLineExe = sourceDir + sourceExe; > > > > I use ProcessStartInfo to execute the EXE and set up the command line > > parameter as well... > > > > If I run the .MSI (with the SQL exe's beside it) it runs perfectly... > > but using my BURN exe it fails since it cache's the .MSI into a temp > > folder and it can no longer find the .EXE's any idea on how to solve > this? > > > > (I guess I would have to add the 2 SQL installers as binary files?) > > > > Thanks, > > > > Steve > > > > > > ---------------------------------------------------------------------- > > -------- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, > > HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your > > skills current with LearnDevNow - 3,200 step-by-step video tutorials > > by Microsoft MVPs and experts. SALE $99.99 this month only -- learn > > more at: > > http://p.sf.net/sfu/learnmore_122412 > > _______________________________________________ > > WiX-users mailing list > > WiX-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > ------------------------------------------------------------------------------ > Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, > Windows 8 Apps, JavaScript and much more. Keep your skills current with > LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and > experts. SALE $99.99 this month only -- learn more at: > http://p.sf.net/sfu/learnmore_122412 > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > > ------------------------------------------------------------------------------ > Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, > MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current > with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft > MVPs and experts. SALE $99.99 this month only -- learn more at: > http://p.sf.net/sfu/learnmore_122412 > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122412 _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users