Re: self signing a py2exe windows executable

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Roger Upole

    Re: self signing a py2exe windows executable


    William Heath wrote:
    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\Li b\site-packages\python win\pywin\frame work\scriptutil s.py",
    line 312, in RunScript
    exec codeObject in __main__.__dict __
    File "C:\Documen ts and Settings\blech\ My
    Documents\qb_br idge_client_eas y\dist\sign_exe .py", line 4, in <module>
    s.Sign(None)
    File
    "C:\Python25\li b\site-packages\win32c om\gen_py\BD26B 198-EE42-4725-9B23-AFA912434229x0x 2x1.py",
    line 2067, in Sign
    return self._oleobj_.I nvokeTypes(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!
    If the signer is not specified, it should auto-select the appropriate
    certificate. Do you have a code signing certificate installed in
    the current user's certificate store ?

    Roger




Working...