Heres a few random thoughts that might help.

Im assuming that your MSI requires SQL server express to be already on
the machine when it installs, in those cases where the SQL
express-dependent feature was selected. If this isnt the case, then just
conditionally run the sql server installer *after* your MSI. You could
either use a small program to test which features of your product were
installed using MSI API, or spawn the sql server installer as a separate
async process after installfinalize with the appropriate condition.

Otherwise you will need to split your installation process into separate
UI and installation steps.

0. Install any runtimes needed for the next step.
1. Youll need to either write or reuse some bootstrapper software that
would collect feature selection information from the user. 
2. Using the information from step (1), install SDL server express, or
not.
3. Run your MSI with Basic UI or less, passing the feature selection
information from (1).

In answer to your next question "what software can I use to implement
step 1 ?", we wrote our own :) so perhaps other people can share their
solutions.

If your SQL-dependent feature could be moved into its own msi, it would
make it easier to handle in a bootstrapper: MSIs are handled better in
bootstrappers than features. Features are rarely handled at all.

Alternative approaches would be to embed the sql server express
installer within an MSI v4.5-style multipackage transaction. I dont know
if this would be wise or even possible, depending on the packageing of
it and the legal issues.


-----Original Message-----
From: Boris Klyachko [mailto:bo...@qbf.com.au] 
Sent: 27 July 2010 14:12
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Feature specific prerequisites


 

Hi there

 

There have been a number of references in this mail list on how to
include prerequisites.  The recommendation is to handle prerequisites in
the product's bootstrapper. However I have a slightly more complicated
requirement: A prerequisite (SQL Server Express) is required only if a
particular product feature is selected from the Custom Install dialog .
What would be a recommended approach in this case as it is not possible
to run an external msj from the product's msi and it is too early to
install prerequisites from the bootstrapper?

 

Thanks in advance

 

Boris

 

 

 

 

  

------------------------------------------------------------------------
------
The Palm PDK Hot Apps Program offers developers who use the Plug-In
Development Kit to bring their C/C++ apps to Palm for a share of $1
Million in cash or HP Products. Visit us here for more details:
http://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
</pre>
<BR style="font-size:4px;">
<a href = "http://www.sdl.com";><img src="http://www.sdl.com/images/email 
logo_150dpi-01.png" alt="www.sdl.com" border="0"/></a>
<BR>
<font face="arial"  size="2" "><a href = "http://www.sdl.com"; 
style="color:005740; font-weight: bold">www.sdl.com</a>
<BR>
<BR>
<font face="arial"  size="1" color="#736F6E">
<b>SDL PLC confidential, all rights reserved.</b>
If you are not the intended recipient of this mail SDL requests and requires 
that you delete it without acting upon or copying any of its contents, and we 
further request that you advise us.<BR>
SDL PLC is a public limited company registered in England and Wales.  
Registered number: 02675207.<BR>
Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, 
UK.
</font>



------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share 
of $1 Million in cash or HP Products. Visit us here for more details:
http://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to