EVCS and certificate token
Hi,
Running SB 10.0.5074 Developer and my new certificate had to be downloaded
to a USB token device and the private key is not exportable so I can't
create a pfx file.
Found the nifty EVCS macro option in the docs and it worked like a charm
for code signing the installer and uninstaller but fails on the script line
#code-sign application "C:\myproj\thisproj\my.exe ["EVCS://text of Issued
To"]
The compiler error is GEN1061 File not found: EVCS://text of Issued To
Any idea of where I've gone wrong here?
TIA
Parker
Re: EVCS and certificate token
Parker,
> Running SB 10.0.5074 Developer and my new certificate had to be downloaded
> to a USB token device and the private key is not exportable so I can't
> create a pfx file.
>
> Found the nifty EVCS macro option in the docs and it worked like a charm
> for code signing the installer and uninstaller but fails on the script
> line
>
> #code-sign application "C:\myproj\thisproj\my.exe ["EVCS://text of Issued
> To"]
>
> The compiler error is GEN1061 File not found: EVCS://text of Issued To
>
> Any idea of where I've gone wrong here?
I'll check the SB compiler source codes and get back to you on this...
Friedrich
Re: EVCS and certificate token
Parker,
You are on an old #5074 build - the latest one is #5452. Could you please
update to the latest build? I can then send you a new small SB10.EXE to
test a potential EVCS fix. This file does not work with older SB
installations.
Friedrich
Re: EVCS and certificate token
Hi Friedrich,
Thank you for looking at this.
I'm now on 5452.
Regards
Parker
Re: EVCS and certificate token
Hi Parker,
> Thank you for looking at this.
>
> I'm now on 5452.
We have to run some more tests. I'll send the test SB10.EXE to you
tomorrow.
Friedrich
Re: EVCS and certificate token
Hi Friedrich,
No worries, whenever your satisfied with the patch I'm sure I'll be😀
Regards
Parker
Re: EVCS and certificate token
Hi Friedrich,
As a temp work around I've created a batch file that code signs my DLLs and
exe and I replaced the code signing script lines with the following to call
the batch file
#run ("sign.bat", "", "") [Wait]
Do you see any issues with this approach?
Regards
Parker
Re: EVCS and certificate token
Hi Parker,
Sorry for the delay. It was school holiday season here and I took a few
days off from work. This slowed things down :-(
No issue with this approach. The complex part is the EVCS code-signing for
the setup.exe and uninstall.exe (which works fine). So you can use this
batch file method without any problem.
Sorry again for the delay. I'll send you the test SB10.exe tomorrow.
Friedrich
Re: EVCS and certificate token
Hi Friedrich,
No worries, holidays and family time are good for the soul!
Thanks for the confirmation on the batch file approach.
Regards
Parker
Re: EVCS and certificate token
Hi Parker,
could you please check your e-mail? Does EVCS work as expected now?
Thank you for your help!
Friedrich