Thanks for the advice. 

Setting the attribute to None and setting the internal UI to full before 
starting each of the installations ( 
Installer.SetInternalUI(InstallUIOptions.Full) ) solve it. 

Embedded UI has indeed limited capabilities. I hope that after more and more 
people will start using it, they will improve it.

By the way, thanks for the work done with WiX and DTF !



>> The transaction is joined with TransactionAttributes.ChainEmbeddedUI 
>> attribute

I think you want to use TransactionAttributes.None instead of 
TransactionAttributes.ChainEmbeddedUI. MSDN documentation 
<http://msdn.microsoft.com/en-us/library/bb736319.aspx> for the ChainEmbeddedUI 
attribute says: " Set this attribute to request that the Windows Installer not 
shutdown the embedded UI until the transaction is complete." I interpret that 
as referring to the UI from the CURRENT package, so that it would remain active 
and override the UI for any remaining chained packages.

However I don't have direct experience with combining embedded chainers and 
embedded UI in that way, so I could be wrong. Frankly, I've found the embedded 
UI capabilities of MSI 4.5 very limited, so that in many cases it can't 
substitute for a full-featured external UI.

-Jason-

-----Original Message-----
From: CristianG [mailto:cristian.gherghine...@gmail.com] 
Sent: Tuesday, March 31, 2009 6:34 AM
To: wix-devs@lists.sourceforge.net
Subject: [WiX-devs] Embedded Chainer problem with Embedded UI


I'm trying to run multiple msi packages using the embedded chainer and each of 
them using embedded UI.

The problem is that only the embedded UI from the first chained package is 
displayed. The rest of the msi packages are installed in some no UI mode.

For example having main.msi, pack1.msi and pack2.msi with main.msi containing 
the chainer and the pack1.msi and pack2.msi chained. All of them use embedded 
UI but when installing, besides the embedded UI from main.msi, only the one 
from pack1.msi is displayed. 

When debugging, I noticed that the installation of pack1.msi is still in 
progress mode (not entered Shutdown() method ) while the installation of 
pack2.msi is going on. Shutdown() gets called only after the transaction is 
committed. (The transaction is joined with 
TransactionAttributes.ChainEmbeddedUI attribute)

Is there any way to display the embedded UI for all the chained msi packages ?

Thanks.
-- 
View this message in context: 
http://n2.nabble.com/Embedded-Chainer-problem-with-Embedded-UI-tp2562974p2562974.html
Sent from the wix-devs mailing list archive at Nabble.com.


------------------------------------------------------------------------------
_______________________________________________
WiX-devs mailing list
WiX-devs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-devs


------------------------------------------------------------------------------
_______________________________________________
WiX-devs mailing list
WiX-devs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-devs



-- 
View this message in context: 
http://n2.nabble.com/Embedded-Chainer-problem-with-Embedded-UI-tp2562974p2567683.html
Sent from the wix-devs mailing list archive at Nabble.com.


------------------------------------------------------------------------------
_______________________________________________
WiX-devs mailing list
WiX-devs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-devs

Reply via email to