Thanks. But I want the decision of whether to install SQLExpress to be in my
primary msi.The GUI where user specifies his/her preference, and the default
selection,  is also there.

For now, I believe my best option is to nest the SQLExpress install in my
InstallUISequence. An alternative for the future is to write an executble
"msiChain":
1. InstallExecuteSequence launches msiChain asynchronously with formatted
command line arguments (or environment settings).
2. msiChain waith for the msi session to complete (somehow - not yet decided
how)
3. MsiChain launches one or more new installations sequentially. E.g. the
SQLExpress installation.


Rune C


You can't in the Execute sequence, but technically it's possible in the UI 
sequence as RuneC already found out - but it's a trick and you shouldn't use 
it for a couple of reasons: If your setup runs in silent or Basic UI mode 
the UI sequence is skipped and the SQL install won't be called. On Vista 
your custom action in the UI sequence may not have the required permissions 
to install SQL because of UAC. In general the UI sequence shouldn't modify 
the target system and there's no rollback functionality in the UI sequence. 
A bootstrapper is the officially recommended method to chain two msi setups.

-- 
Stefan Krueger
Microsoft Windows Installer MVP

Please post your questions in the newsgroup or vist one of these web sites:

Windows Installer FAQ
http://www.msifaq.com - http://www.msifaq.de

InstallSite - Resources for Setup Developers
http://www.installsite.org
http://www.installsite.de (GERMAN)

"Mike Dimmick" <[EMAIL PROTECTED]> schrieb im Newsbeitrag 
news:[EMAIL PROTECTED]
> SQL Server Express uses an MSI installer internally. You cannot run 
> multiple
> Windows Installer install sessions concurrently, nor nest them. You need 
> to
> create a bootstrapper EXE that will run the SQL Server Express installer,
> then your installer. See MSDN for bootstrapper samples.
>
> -- 
> Mike Dimmick




-- 
View this message in context: 
http://www.nabble.com/Problem-with-nested-install-of-SQL-Express-2005-in-my-installer-tf902781.html#a8207935
Sent from the wix-users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to