Actions

Dev/Building the Whonix-Installer for Windows

From Whonix

< Dev

Introduction[edit]

The Whonix ™-Windows-Installer for Windows is a simple and fast way to set-up Whonix ™ on a system running Microsoft Windows.

Compiling the Whonix ™-Windows-Installer yourself[edit]

The following instructions will tell you how to build the Whonix ™-Windows-Installer using the source code provided via Github, as well as the required Whonix ™ and VirtualBox files.

What you'll need[edit]

Preparing the files[edit]

1) Install Inno Setup Unicode on your system.

2) Now, we may continue by "taking" the VirtualBox-Installer .exe "apart". This is necessary because the .exe actually contains the Microsoft Software Installation (.msi) based Installers for x64 systems, as well as a compressed .cab file. To separate these files, we have to run the following command on the command line.

VirtualBox[Characters based on your version].exe -extract

Once this has been finished, a window will open telling you where these three files (VirtualBox[Characters based on your version]amd64.msi, common.cab) have been extracted in.

3) Rename VirtualBox[Characters based on your version]amd64.msi to virtualbox_x64.msi and save all of them in a folder, because they will be needed later.

4) Put the Whonix ™ ova image in the same folder and rename it to whonix.ova.

5) Put the source files (Whonix.iss, logo.ico, license.txt, MakeInstaller.bat, config.txt) inside the same folder as the other files.

6) Include Whonix ™-Windows-UI (Whonix.exe), as well as 7zSD.sfx and 7za.exe.

Now, you should have the following files in the folder:

  • Whonix.exe
  • virtualbox_x64.msi
  • common.cab
  • whonix.ova
  • Whonix.iss
  • logo.ico
  • license.txt
  • 7zSD.sfx
  • 7za.exe
  • MakeInstaller.bat
  • config.txt

With this, the preparation is finished and we can get on to building the Installer.

Building the Installer[edit]

Building the installer itself is very easy once everything has been properly set up. All you need to do is launch MakeInstaller.bat. Now, the compilation via InnoSetup, the packaging and the combination of all files via 7-Zip, as well as any other required steps are handled automatically. The result is going to be named Install Whonix.exe.

This concludes the guide to building the Whonix ™-Installer for Windows from source.

The deprecated Installer[edit]

There used to a version of this installer based on NSIS which has been discontinued, due to stability and a host of other issues. It may still be found here: https://github.com/Whonix/Whonix-Windows-Installer-deprecated


No comments for now due to spam. Use Whonix forums instead.


Random News:

Please consider a recurring donation!


https | (forcing) onion

Share: Twitter | Facebook

This is a wiki. Want to improve this page? Help is welcome and volunteer contributions are happily considered! Read, understand and agree to Conditions for Contributions to Whonix ™, then Edit! Edits are held for moderation.

Copyright (C) 2012 - 2019 ENCRYPTED SUPPORT LP. Whonix ™ is a trademark. Whonix ™ is a licensee of the Open Invention Network. Unless otherwise noted, the content of this page is copyrighted and licensed under the same Freedom Software license as Whonix ™ itself. (Why?)

Whonix ™ is a derivative of and not affiliated with Debian. Debian is a registered trademark owned by Software in the Public Interest, Inc.

Whonix ™ is produced independently from the Tor® anonymity software and carries no guarantee from The Tor Project about quality, suitability or anything else.

By using our website, you acknowledge that you have read, understood and agreed to our Privacy Policy, Cookie Policy, Terms of Service, and E-Sign Consent. Whonix ™ is provided by ENCRYPTED SUPPORT LP. See Imprint.

  1. VirtualBox/CLI unsupported.