Clarion Folk

Making Development Better Than Eating Icecream

Search And Find (Where's my Alt F3?)

What Is Clarion?
What Can Clarion Do For Me?
Stu's Greatest Hits (Tools)

Code-Signing Your Own Exes/DLLs in SetupBuilder

January 14th, 2009 · · How To

In a discussion on the Skype Clarion channel just now, Wolfgang asked me to post how to Code-Sign your own Exes/DLLs in SetupBuilder.

Saddle up.

1. I’ve got my Certificate information in the “General Information” window.

codesign-001 

Now I just want to sign my own files. Of which there are two. An EXE and a DLL.

2. So I go to the Script Editor.

Code Sign #2 

3. Just above the “Features” line, get a couple of blank lines going on.

codesign-003

I haven’t experimented past “just get it working”, so there are probably a bunch of different places you could do this.

4. Make sure the line is selected.

codesign-004

5. Double-click on the “#embed Vista manifest…” Compiler Directive Script Function in the top right-hand corner of SB.

codesign-005

6. As follows after the image:

codesign-006 

(a) Add your filename.

(b) Fill out the Name and Description.

(c) Check these two.

7. Double-click on the “#code-sign application” Compiler Directive Script Function in the top right-hand corner of SB.

codesign-007

8. As follows after the image:

 codesign-008

(a) Add your filename.

(b) Put in a Description

(c) These should be defaulted, if you’ve got the same as me in 1.

(d) Definitely stick this in :)

(e) Check these two.

9. Compile

And there you have it. That’s all I did to get this working.

When you compile, the little “password” appear. SB will fill in the password if you’ve entered it. See (d) directly above.

Hope this has been helpful for Folk.

[Read more →]

Tags:··