http://bugs.winehq.org/show_bug.cgi?id=8130
------- Additional Comments From ead1234@hotmail.com 2007-13-05 07:31 ------- We call COMPOBJ_DllList_ReleaseRef(apartment_loaded_dll->dll) in apartment_release() and then it calls DllMain with PROCESS_DETACH and it crashes. Commenting this line out allows the installer to progress. Should ReleaseRef be in PROCESS_DETACH?
while ((cursor = list_head(&apt->loaded_dlls))) { struct apartment_loaded_dll *apartment_loaded_dll = LIST_ENTRY(cursor, struct apartment_loaded_dll, entry); /*COMPOBJ_DllList_ReleaseRef(apartment_loaded_dll->dll);*/ list_remove(cursor); HeapFree(GetProcessHeap(), 0, apartment_loaded_dll); }