Hi, I am trying to write an exe to install multiple pancakes as described in MSDN. <http://msdn.microsoft.com/en-us/library/bb736322(v=vs.85).aspx> The problem is I get “Invalid- Handle” as soon as the MsiJoinTransaction function encounters.
I have given my code below. static void Main(string[] args) { try { IntPtr ptr = new IntPtr (0) ; ptr = System.Runtime.InteropServices.Marshal.StringToCoTaskMemAuto(args[0]); Transaction transaction = Transaction.FromHandle(ptr, true); transaction.Join(TransactionAttributes.NoneInstaller.InstallProduct(@"C:\ITE_20110211\ChainExe\ChainExe\bin\Debug\fbda599.msi", ""); transaction.Commit(); transaction.Close(); } } Could you please help? Regards, Lambert ------------------------------------------------------------------------------ Index, Search & Analyze Logs and other IT data in Real-Time with Splunk Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. Free Software Download: http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users