Skip to content

learn-more/sdbtool

Repository files navigation

sdbtool

A tool for converting Microsoft Application Compatibility Database (SDB) files to XML format.


PyPI - Version PyPI - License PyPI - Python Version
CI Publish Python Package codecov

Table of Contents

  1. Features
  2. Getting Started
  3. Contributing

Features

  • Parses SDB files used by Windows for application compatibility.
  • Converts SDB data into readable XML.
  • Dump file attributes in SDB-recognizable format
  • Useful for analysis, migration, or documentation.

Getting Started

Installation

Sdbtool is available as sdbtool on PyPI.

Invoke sdbtool directly with uvx:

uvx sdbtool sdb2xml your.sdb                    # Convert the file 'your.sdb' to xml, and print it to the console
uvx sdbtool sdb2xml your.sdb --output your.xml  # Convert the file 'your.sdb' to xml, and write it to 'your.xml'
uvx sdbtool attributes your.exe                 # Show the file attributes as recognized by apphelp in an XML-friendly format
uvx sdbtool info your.sdb                       # Show some details about the SDB file (version, description, ...)

Or install sdbtool with uv (recommended), pip, or pipx:

# With uv.
uv tool install sdbtool@latest  # Install sdbtool globally.

# With pip.
pip install sdbtool

# With pipx.
pipx install sdbtool

Updating an installed sdbtool to the latest version with uv:

# With uv.
uv tool upgrade sdbtool

# With pip.
pip install --upgrade sdbtool

# With pipx.
pipx upgrade sdbtool

Contributing

Contributions are welcome! Please open issues or submit pull requests.

About

A tool for converting Microsoft Application Compatibility Database (SDB) files to XML format.

Resources

License

Stars

Watchers

Forks

Languages