[MSI]
[reactos.git] / reactos / dll / win32 / msi / msi_main.c
index 42d8600..c0d3fde 100644 (file)
@@ -80,6 +80,7 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
         IsWow64Process( GetCurrentProcess(), &is_wow64 );
         break;
     case DLL_PROCESS_DETACH:
+        if (lpvReserved) break;
         msi_dialog_unregister_class();
         msi_free_handle_table();
         msi_free( gszLogFile );