Hi Eric! Thanks for the thorough response.
1) Okay, I've got my Help menu item added after you "Check for
Updates...". I'll need to decide on some backup place to put the
update action in case you change the menus as you pointed out. Also,
what's your feeling on me changing your "Check for Updates..." to
"Check for Fiddler Updates..." so that it's more distinguishable from
my "Check for Extension Updates..."?
2) So, I'm stuck a on this from an architectural perspective. Just to
clarify the extension's purpose, I would basically cycle through all
the loaded IFiddlerExtensions (ignoring the default ones), then look
for some public static methods (using reflection) on those
IFiddlerExtension classes*. These public static methods would need to
signature match what I'm looking for. Then, each respective extension
developer would need to add these methods to their extension. These
methods would tell my extension updater things like the URL to
download an update from, whether an update is needed, etc...The
biggest problem with this approach, of course, is that it's circular:
you would need to update your extensions so that they have the hooks
for the extension updater. The way around this is for me to go
through your web page of extensions and try to build the hooks for
those (and let the extensions override them when and if they do update
their extensions). The other option is to just support my own
extension and then hope that other extension authors update their
extensions to hook into the extension updater.
3) Okay, so back to my question about unzipping. That is my other
architectural question. Right now, I believe that most extensions are
distributed as either .exe, .msi or .zip. I personally use .zip for
my extension and was just, naively, imagining unzipping a file to
where the extension already lives or just running their .exe/.msi and
waiting for that to finish. The other option is to let each extension
do the actual update. I'm trying to avoid making the extension
developer do that much. But, I would provide post install hooks. I
will look into this WinTrustVerify. Thanks for explaining how that
would work.
* This way, other extensions wouldn't have to build against some
interface I create.
> > the "Check for Updates" item under Help. I saw this page -
http://www.fiddler2.com/Fiddler/dev/ScriptSamples.asp-but it only