Hi Martin,
In my test-skript I only imported win32com
after removing the line from hook-pywintypes.py, the pywintypes27.dll is still available in mit dist dir.
So the importhook is unnecessary in this case.
But importing only pywintypes27.dll itself, the hook is still needed.
Taking a closer look a the imptracker.py it seems like pywintypes27.dll is put into the dist for multiple times from analyzing win32com, win32.com.client and win32com.server.
Could there be the source of the problem?
Greetings,
Simon