diff --git a/.gitignore b/.gitignore index 0302e4b..9237339 100644 --- a/.gitignore +++ b/.gitignore @@ -131,4 +131,7 @@ dmypy.json .vscode *.tar.gz deb_dist -.DS_Store \ No newline at end of file +.DS_Store +install/windows/Dangerzone.msi +install/windows/Dangerzone.wixobj +install/windows/Dangerzone.wixpdb \ No newline at end of file diff --git a/BUILD.md b/BUILD.md index a042f27..3124f57 100644 --- a/BUILD.md +++ b/BUILD.md @@ -157,8 +157,9 @@ Now the next time you use PyInstaller to build dangerzone, the `.exe` file shoul ### If you want to build the installer -* Go to http://nsis.sourceforge.net/Download and download the latest NSIS. I downloaded `nsis-3.05-setup.exe`. -* Add `C:\Program Files (x86)\NSIS` to the path. +* Go to https://dotnet.microsoft.com/download/dotnet-framework and download and install .NET Framework 3.5 SP1 Runtime. I downloaded `dotnetfx35.exe`. +* Go to https://wixtoolset.org/releases/ and download and install WiX toolset. I downloaded `wix311.exe`. +* Add `C:\Program Files (x86)\WiX Toolset v3.1.1\bin` to the path. ### If you want to sign binaries with Authenticode diff --git a/install/windows/Dangerzone.wxs b/install/windows/Dangerzone.wxs new file mode 100644 index 0000000..eb8417b --- /dev/null +++ b/install/windows/Dangerzone.wxs @@ -0,0 +1,246 @@ + + + + + + + + + + + + + + + + + + + + NOT NEWERVERSIONDETECTED + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/install/windows/dangerzone.ico b/install/windows/dangerzone.ico new file mode 100644 index 0000000..e89af0d Binary files /dev/null and b/install/windows/dangerzone.ico differ diff --git a/install/windows/make_installer.bat b/install/windows/make_installer.bat new file mode 100644 index 0000000..d5487ad --- /dev/null +++ b/install/windows/make_installer.bat @@ -0,0 +1,3 @@ +candle Dangerzone.wxs +light Dangerzone.wixobj +@pause \ No newline at end of file