Windows Gadget

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
(Created page with "{{FormatInfo |formattype=electronic |subcat=Archiving |extensions={{ext|gadget}} |mimetypes={{mimetype|application/x-windows-gadget}} |developed by=Microsoft |released=200...")
 
m (Add categories)
 
Line 21: Line 21:
 
* [https://learn.microsoft.com/en-us/previous-versions/windows/desktop/gadgetplatform/windows-gadget-platform-portal Windows Gadget Platform documentation]
 
* [https://learn.microsoft.com/en-us/previous-versions/windows/desktop/gadgetplatform/windows-gadget-platform-portal Windows Gadget Platform documentation]
 
* [https://learn.microsoft.com/en-us/previous-versions/windows/desktop/sidebar/-sidebar-entry Windows Sidebar documentation]
 
* [https://learn.microsoft.com/en-us/previous-versions/windows/desktop/sidebar/-sidebar-entry Windows Sidebar documentation]
 +
 +
[[Category:XML based file formats]]
 +
[[Category:ZIP based file formats]]

Latest revision as of 18:48, 26 December 2024

File Format
Name Windows Gadget
Ontology
Extension(s) .gadget
MIME Type(s) application/x-windows-gadget
Developed By Microsoft
Released 2007

A Windows Gadget file, also known as a Windows Sidebar Gadget, is the format used to distribute gadgets used by the Windows Sidebar, available in Windows Vista, then renamed Windows Gadget Platform in Windows 7 and Windows Server 2008.

It is either a ZIP or CAB archive which always contains a manifest describing the gadget, named gadget.xml. The archive also contains HTML, CSS, JavaScript files that power the gadget, as it is not much more than a web page with some extra ActiveX APIs.

Gadgets are installed (extracted) under two directories:

  • %SYSTEMROOT%\Program Files\Windows Sidebar\Gadgets (all users)
  • %LOCALAPPDATA%\Microsoft\Windows Sidebar\Gadgets (only this user)

Because the APIs allow, among many other things, arbitrary command execution through System.Shell.execute, Microsoft published a security advisory in 2012 that recommends disabling gadgets entirely.

[edit] Links

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox