Skip to content

Instantly share code, notes, and snippets.

# Script extracts installer files from the BitRock InstallBuilder (https://installbuilder.bitrock.com/) archives.
# Script is fully based on code found in the `bitrock-unpacker` (https://github.com/greyltc/bitrock-unpacker).
#
# Tested with ActiveTcl 8.5.18.0.298892 (https://www.activestate.com/products/activetcl/)
#
# Example command:
# > C:\Tcl\bin\base-tcl8.5-thread-win32-ix86.exe bitrock-installer-extract.tcl jxplorer-3.3.1.2-windows-installer.exe out\
if {$argc < 2} {
puts "Usage: $argv0 installerFile outputDirectory"