Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Why is Leaked MSIHANDLE


1 reply to this topic

thinhtx

thinhtx
  • Full Members
  • 8 posts

Posted 03 September 2008 - 10:05

Hi Everyone,

I developed MSI file with EXE file.

there are no problem when i run in windows Xp.
But when i ran it in VISTA error occurs.

in log file
MSI © (90:C0) [17:41:39:639]: Leaked MSIHANDLE (32) of type 790531 for thread 5152
MSI © (90:C0) [17:41:39:639]: Leaked MSIHANDLE (31) of type 790540 for thread 5152
MSI © (90:C0) [17:41:39:639]: Leaked MSIHANDLE (30) of type 790541 for thread 5152
MSI © (90:C0) [17:41:39:639]: Note: 1: 2769 2: UnInstallPrinter 3: 3
MSI © (90:C0) [17:41:39:639]: Transforming table Error.

DEBUG: Error 2769: Custom Action UnInstallPrinter did not close 3 MSIHANDLEs.

In fact i have many MSIHANDLE in my Custom action code, when i remove some MSIHANDLE of them. There is no problem.

Can anybody help me, i appreciated.

THINH


thinhtx

thinhtx
  • Full Members
  • 8 posts

Posted 11 September 2008 - 01:26

No body answer

SO just MSIclosehandle(handle)