How should one quickly test a Windows Gadget during development? Creating the archive, installing it and adding it to the desktop every time is extremely tedious...
-
may be, write a script that automatically archive the windows gadget files, install, and add it to your desktop? – YOU Mar 17 '11 at 11:33
-
This would be the last resort, but you'd think Microsoft would have thought of the poor gadget developers? – static_rtti Mar 17 '11 at 18:16
2 Answers
This application might speed up the process:
http://www.codeproject.com/KB/gadgets/GadgetPacker.aspx
Whilst developing a desktop gadget for Windows 7, it became apparent how much of a pain it was going through the build process. I decided it would be a lot easier to write a simple automation tool, to take care of the necessary steps. This would speed up the overall developing and testing phase.
This article might also be helpfull

- 2,470
- 2
- 30
- 54
-
Neat tool, thanks for your answer! I still find it hard to believe that Microsoft proposes absolutely nothing to help developers... Not to mention that the API is terrible and doesn't work well. – static_rtti Mar 17 '11 at 21:34
After you've installed it once, you can actually manipulate the installed version's source code files directly. It should be installed at
C:\Users\ YourUserName \AppData\Local\Microsoft\Windows Sidebar\Gadgets\ GadgetName.gadget \
Then, each time you make changes to the source code found there you just need to add a new instance of the gadget to your desktop. I just keep the Gadget Gallery open and drag a new instance after I've saved a new change.

- 4,836
- 3
- 35
- 44