Re: [python-win32] Questions about deploying COM server via py2exe

2011-08-21 Thread Mark Hammond
On 21/08/2011 4:30 AM, Kevin Walzer wrote: Hi Matteo, Thanks for the suggestions. I have integrated the win32trace module into my frozen app. Here is my final code: ... This appears to be related to the bug logged at http://bugs.python.org/issue3905. My app makes use of subprocess to obtain va

Re: [python-win32] Questions about deploying COM server via py2exe

2011-08-20 Thread Matteo Boscolo
Hi Kevin, Il 20/08/2011 20:30, Kevin Walzer ha scritto: nfortunately, this means my best option is probably to move ahead without COM support. Try with the pyqt we use it with the main loop opened and it works very well here you get a basic example: from PyQt4.QtCore import * from PyQt4.QtG

Re: [python-win32] Questions about deploying COM server via py2exe

2011-08-20 Thread Kevin Walzer
Hi Matteo, Thanks for the suggestions. I have integrated the win32trace module into my frozen app. Here is my final code: from quickwho_main import quickwhoApp import time import tempfile from win32com.server.exception import COMException import winerror import win32com.server.register import w

Re: [python-win32] Questions about deploying COM server via py2exe

2011-08-19 Thread Matteo Boscolo
Hi Kevin, run this script and it will be registered for debug .. run the win32traceutil.py as mentioned in the following link : http://www.boscolini.eu/Boscolini/index.php?option=com_content&view=article&id=62%3Apython-win32debug-tutorial&catid=38%3Aprogramming&Itemid=55&lang=en

Re: [python-win32] Questions about deploying COM server via py2exe

2011-08-19 Thread Kevin Walzer
For registering the com server we use innosetup with the following line [Run] Filename: "{app}\openclerk.exe"; Parameters: "/regserver"; WorkingDir: "{app}" ; StatusMsg: "Registering openclerk.exe ..." --- I’ve used a variation of this techinque, it seems to work fine. Thanks. usually you get

Re: [python-win32] Questions about deploying COM server via py2exe

2011-08-19 Thread Matteo Boscolo
Hi Kevin , Il 18/08/2011 17:10, Kevin Walzer ha scritto: Hi all, I'm working on a Tkinter app that is being deployed to Windows via py2exe for wrapping and InnoSetup for its installer. In order to provide a similar scripting capability to the app that is present in its Mac version, I've made

[python-win32] Questions about deploying COM server via py2exe

2011-08-18 Thread Kevin Walzer
Hi all, I'm working on a Tkinter app that is being deployed to Windows via py2exe for wrapping and InnoSetup for its installer. In order to provide a similar scripting capability to the app that is present in its Mac version, I've made the app a COM server using the examples from python-win32 code