Package the Gadget into a CAB file, then sign the CAB.
To create a CAB with a directory structure, use (as per this thread): cabarc -r -p n <GadgetName>.gadget *
See this article on how to sign the cab. If Tom's reading this, perhaps he can post all the steps he's used to sign his Gadget's as I'm sure there's an easier way.
Digital Signature
Foxfire
phertel
It's actually a bit of a pain, if you ask me. I've signed a couple of my gadgets using signtool.exe (i think that's what it's called).
Andy
AnthonyHunter
To create a CAB with a directory structure, use (as per this thread):
cabarc -r -p n <GadgetName>.gadget *
See this article on how to sign the cab. If Tom's reading this, perhaps he can post all the steps he's used to sign his Gadget's as I'm sure there's an easier way.