Hello Guys,

We have a very intermittent bug in the installer that we are developing.
We have a bootstrapper that uses WiX 3.5 and has the following code:

/var transactionSession = new Transaction("ANTON",
TransactionAttributes.None);

foreach (var msiPackage in msiPackageList)
{
        Installer.InstallProduct(msiPackage, string.Empty);
}

transactionSession.Commit();
transactionSession.Close();/

This simply creates a transaction session, installs several msis from the
list, and then commits the transaction. However in some cases, msi.dll
crashes during the transaction Commit() call.

*Exception message in transaction.Commit:*
/The Windows Installer Service could not be accessed. This can occur if the
Windows Installer is not correctly installed. Contact your support personnel
for assistance./

*Event logs:*
/Faulting application name: msiexec.exe, version: 5.0.7601.17514, time
stamp: 0x4ce792c4
Faulting module name: msi.dll, version: 5.0.7601.17514, time stamp:
0x4ce7b902
Exception code: 0xc0000005
Fault offset: 0x00027b88
Faulting process id: 0xe0c
Faulting application start time: 0x01cd4a967dd25cb4
Faulting application path: C:\Windows\system32\msiexec.exe
Faulting module path: C:\Windows\system32\msi.dll
Report Id: 756b0d09-b68b-11e1-86f9-001b21740788/

All the MSIs are created from InstallShield basic msi project. Any ideas
what might be causing this?

Your help is appreciated guys :)


Cheers,
Anton



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/msi-dll-crashes-during-transaction-Commit-tp7583567.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to