From 2322078fe480a338422b35ee29fee3c0767f3e1d Mon Sep 17 00:00:00 2001 From: adrido Date: Fri, 26 Oct 2018 21:37:51 +0200 Subject: Windows: Cpack wix installer (#6153) Create CPack WIX msi Installer for RUN_IN_PLACE=0 builds Correct paths on Windows for RUN_IN_PLACE=0 Install only required font files Games have their own components, and "minimal" is optional --- README.md | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 6de12e4e8..3cc0be09e 100644 --- a/README.md +++ b/README.md @@ -78,9 +78,13 @@ Locations: Where each location is on each platform: * Windows .zip / RUN_IN_PLACE source: - * `bin` = `bin` - * `share` = `.` - * `user` = `.` + * bin = `bin` + * share = `.` + * user = `.` +* Windows installed: + * $bin = `C:\Program Files\Minetest\bin (Depends on the install location)` + * $share = `C:\Program Files\Minetest (Depends on the install location)` + * $user = `%Appdata%\Minetest` * Linux installed: * `bin` = `/usr/bin` * `share` = `/usr/share/minetest` @@ -426,6 +430,19 @@ This is how we build Windows releases. echo Failed. exit /b 1 +### Windows Installer using WIX Toolset + +Requirements: +* Visual Studio 2017 +* Wix Toolset + +In Visual Studio 2017 Installer select "Optional Features" -> "Wix Toolset" + +Build the binaries like described above, but make sure you unselect "RUN_IN_PLACE". + +Open the generated Project file with VS. Right click "PACKAGE" and choose "Generate". +It may take some minutes to generate the installer. + Version scheme -------------- We use `major.minor.patch` since 5.0.0-dev. Prior to that we used `0.major.minor`. -- cgit v1.2.3