Hi Roger,
I managed to get the dll and register it.  I am now getting this error:

Traceback (most recent call last):
  File
"C:\Python25\Lib\site-packages\pythonwin\pywin\framework\scriptutils.py",
line 312, in RunScript
    exec codeObject in __main__.__dict__
  File "C:\Documents and Settings\blech\My
Documents\qb_bridge_client_easy\dist\sign_exe.py", line 4, in <module>
    s.Sign(None)
  File
"C:\Python25\lib\site-packages\win32com\gen_py\BD26B198-EE42-4725-9B23-AFA912434229x0x2x1.py",
line 2067, in Sign
    return self._oleobj_.InvokeTypes(6, LCID, 1, (24, 0), ((9,
49),),pISigner2
com_error: (-2147352567, 'Exception occurred.', (0, None, u'The certificate
store does not contain any certificate.\r\n', None, 0, -2138570191), None)

Line 4 is this:

s.Sign(None)

I don't think this can be none can it?

-Tim

P.S.

Thanks for your help!


On Sat, Oct 4, 2008 at 12:30 PM, Roger Upole <[EMAIL PROTECTED]> wrote:

> William Heath wrote:
> > Hi All,
> > I thought I sent an email to the list regarding a need I have to self
> sign
> > a
> > py2exe windows executable.  Does anyone know how to do that?
> >
> > -Tim
> >
>
> You can use capicom to sign an executable (or even a .pyd):
>
> import win32com.client
> s=win32com.client.Dispatch('capicom.signedcode')
> s.FileName='yourexecutable.exe'
> s.Sign(None)
> s.Timestamp('http://timestamp.verisign.com/scripts/timstamp.dll')
>
>     Roger
>
>
>
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to