2

Does anyone know how to sign a gadget for Windows Sidebar (*.gadget)? I tried with signtool, but without any result.

Thanks

Andy E
  • 338,112
  • 86
  • 474
  • 445

1 Answers1

2

You need cabarc (from the Microsoft CAB SDK) and signtool (from the Windows 6 SDK). You can not sign ZIP gadget archives.

Follow the "Deploying" section at http://www.codeproject.com/kb/gadgets/gadgettips.aspx. I use the 'signtool signwizard' most of the time. You should already have an applicable code-signing certification (.cer) loaded into your certificate store.

Make sure you specify a time-server or your application will rejected from the Microsoft Gadget Gallery.

  • +1. I created a gadget that automated this process for me a few years ago. When I moved over to working with Visual Studio, I wrote a build task to do it for me. Remember that your certificate must also chain to a valid certification authority, otherwise it will be rejected. – Andy E Aug 28 '10 at 08:29