Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

WiX EmbeddedChainer cannot uninstall

Someone asked a very similar question, but the response was unhelpful. It would be extremely valuable if there was a knowledgeable answer...

I have created a WiX project using Windows Installed 4.5. I included an EmbeddedChainer element reference in the wxs file for the MsiEmbeddedChainer Table, which allows multiple-package installation.

<EmbeddedChainer Id="Chainer" FileSource="InstallMSI.exe" />

I looked around the net and finally found a single post that showed how this person retrieved a handle for the internal transaction. Now, my installer correctly calls my executable to process the chained MSIs. However, uninstalling does not work. Please note that without the above EmbeddedChainer element, the uninstall works fine.

I've read all the available document and I cannot find a single example project.

Can anyone provide some guidance in creating a WiX based multi-MSI install package?

like image 890
user713836 Avatar asked Jul 08 '26 20:07

user713836


1 Answers

The WiX documentation for EmbeddedChainer refers to the MSDN documentation for MsiEmbeddedChainer Table, which in turn directs you to reference Monitoring an Installation using MsiSetExternalUI

Rather than looking for a WiX specific example, I suggest looking for any MSI example. From there it will be fairly easy to figure out where you're going wrong with WiX.

like image 61
saschabeaumont Avatar answered Jul 11 '26 13:07

saschabeaumont



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!