From: Phil R. <Phi...@ds...> - 2004-06-01 14:16:32
|
Hi Dirk, > I use the functions > > def DllRegisterServer(): > def DllUnregisterServer(): > > for code to run while --register and --unregister > This works for me in py2exe-0.5. Thanks for your response. Where do you put your functions so that they get called by --register and --unregister? I found that py2exe put in it's own registration boot code and did not call my if __name__ == '__main__': code. Thanks Phil |