Anthony Wieser replied to Christopher Fairbairn [MVP]
29-Nov-09 02:56 AM

Thanks for your suggestions. I did eventually figure this out and it went
something like this, as my phone was not locked.
1. Export the root certificate from certificate manager on your PC that
corresponds to your authenticode signature
2. Copy the certificate to your device, which should be installed
automatically.
The problem was that I was seeing a message that "this program depends on a
component from an unknown publisher". Eventually I figured out that that
means that the debug MFC DLLs are not signed. A release build just works.
It also implies that I need to sign my DLL's as well as exes.
When I do sign my code, I timestamp it and countersign.
Does anyone know how loader works when the original certificate expires?
On a PC there istill is no warning, but on this device, I am not so sure.
Also, it seems that the device somehow remembers that I allowed the code
once, and then does not complain again. Any idea how that is achieved?
Anthony Wieser
Wieser Software Ltd