Hi,
I'm using burn and WPF to write my bundle, the version is v3.9 R2. I'm also using the Prism library. After I wrote a simple UI, I try to run the bundle, and it crashed. I found it crashed in the EngineRun() function. ============================================================================ ======================== // initialize COM hr = ::CoInitializeEx(NULL, COINIT_MULTITHREADED); //hr equals 0x80010106 - Cannot change thread mode after it is set. // It tried to log the error, but crashed in LogStringWork function because the log is not yet initialized. ExitOnFailure(hr, "Failed to initialize COM."); fComInitialized = TRUE; // Initialize dutil. LogInitialize(::GetModuleHandleW(NULL)); fLogInitialized = TRUE; Did I miss something? It looks like someone has already initialized the COM using COINIT_APARTMENTTHREADED. Any help would be appreciated. Regards, Gauldoth ------------------------------------------------------------------------------ One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users