Make Windows Gadget

The basics Create an empty gadget.xml file with Notepad and save it. In the Encoding drop-down, select UTF-8. Create an empty MyGadget.html file with Notepad and save it. In the Encoding drop-down, select UTF-8.

Now packaging your Gadget. The simplest way to create a package is with Windows Explorer. Select the files that make up your gadget, right-click, and select Send To -> Compressed Folder. Just generate the zip file and then rename it with a .gadget extension.

Create a new folder called images under the gadget folder. Create a new background image at least 130 pixels wide and 75 pixels high and save it to the images folder. Create a new icon image at least 64 pixels wide and 64 pixels high and save it to the images folder.