The msitools is a collection of utilities for inspecting and creating Microsoft Windows Installer (MSI) files. It's primarily used on Linux systems to work with MSI files, which are typically used to install software on Windows. This tutorial demonstrates how to install msitools on Ubuntu 24.04.
Install msitools
Update the package lists:
sudo apt update
Install msitools package by running the following command:
sudo apt install -y msitools
Several tools have been installed. Check versions of them individually:
msiinfo --version
msiextract --version
Testing msitools
Let's download a sample MSI package:
wget -qO 7zip.msi https://github.com/ip7z/7zip/releases/latest/download/7z2409-x64.msi
Print all files contained within the downloaded MSI package:
msiextract -l 7zip.msi
A part of the output:
Files/7-Zip/7zFM.exe
Files/7-Zip/7-zip32.dll
Files/7-Zip/7-zip.dll
Files/7-Zip/7zG.exe
Files/7-Zip/7z.dll
Files/7-Zip/7z.exe
...
Uninstall msitools
If you want to completely remove msitools and related dependencies, run the following command:
sudo apt purge --autoremove -y msitools
Leave a Comment
Cancel reply