// HackTricks · Windows

MSI Wrapper

MSI Wrapper

MSI Wrapper can package an executable or script as a Windows Installer (.msi) file. Download and start the free edition, then select the executable to package.[3] To run a sequence of commands, select a .bat file as the input rather than packaging cmd.exe.[1]

Selecting the source executable or batch script in MSI Wrapper

Configure the execution context and other installer properties carefully:

Configuring the application ID and security context in MSI Wrapper

Configuring installer properties in MSI Wrapper

Reviewing the MSI Wrapper build settings

These values can be changed when packaging a custom binary.

Continue through the remaining wizard pages and select Build to generate the installer.[1]

[!WARNING] Creating an MSI does not by itself grant elevated privileges. Whether installation is elevated depends on Windows Installer policy, package context, and user authorization. Microsoft warns that enabling AlwaysInstallElevated for both the user and computer lets non-administrators install packages with system privileges.[2]

References

☧ CPTS · ordered posts

Locked

Unlock with your Main_Key through local GPG.

Start the local GPG helper

In your cheatsheet checkout, run:

npm run unlock:helper

Open the link it prints, or paste its pairing code below. Keep the terminal open until GPG finishes.

Import an index you already decrypted

Download the encrypted index, then decrypt with GPG:

gpg --output report-index.json --decrypt report-index.gpg

Your private key stays in GPG. The decrypted index is saved in this browser so you can reopen it after navigation, refreshes and restarts. Lock this browser or clear this site's browser data to remove the saved index. Nothing is uploaded.