November 3rd, 2007

Shim Database to XML

Heath Stewart
Principal Software Engineer

Extracts data as XML from a shim database used for application compatibility. Please leave feedback on the tool here on this page.

This was developed using what little public documentation is available on MSDN as well as some experimentation at other functions that were exported from apphelp.dll, such as SdbReadBYTETag() which I reasoned follows the same signature pattern as SdbReadDWORDTag().

Version History

  • 1.0.0.0; Fri, 02 Nov 2007
    • Initial upload
    • Usage: sdb2xml sdb [-out report] [-base64 | -extract] [-?]
  • 1.0.1.0; Sun, 04 Nov 2007
    • Get filename for extraction when available from shim database.
    • Corrected P/Invoke signatures based on debug observations.
    • Usage: sdb2xml sdb [-out report] [-base64 | -extract] [-?]
  • 1.0.2.0; Mon, 28 Jan 2008
    • Encode the element name as a local name
    • Usage: sdb2xml sdb [-out report] [-base64 | -extract] [-?]
  • 1.0.3.0; Tue, 29 Jan 2008
    • Fixed the displayed usage; actual usage was correct and is unchanged
    • Usage: sdb2xml sdb [-out report] [-base64 | -extract] [-?]

sdb2xml.exe

Author

Heath Stewart
Principal Software Engineer

Heath is an application architect and developer, looking to help educate others to learn professional development. Besides designing and developing applications he enjoys writing about intermediate and advanced topics. Heath also consults for deployment packages and scenarios within Microsoft and for external customers.

0 comments

Discussion are closed.