[Windows] Daily development build [5.0.0-dev] Installer

Post Reply
User avatar
crazyR
Member
Posts: 60
Joined: Thu Jun 19, 2014 14:41
Location: uk

[Windows] Daily development build [5.0.0-dev] Installer

by crazyR » Post

This is a placeholder for an installer I'm working on. Il update this in due course. I created it now because i needed the topic link to embed in the installer for support information.

User avatar
addi
Member
Posts: 666
Joined: Thu Sep 20, 2012 03:16
GitHub: adrido
Location: Black-Forest, Germany

Re: [Windows] Daily development build [5.0.0-dev] Installer

by addi » Post

You know that Minetest ist now able to create a installer during the build process? https://github.com/minetest/minetest#wi ... ix-toolset
you just need to put that into a buildbot and voila.

User avatar
crazyR
Member
Posts: 60
Joined: Thu Jun 19, 2014 14:41
Location: uk

Re: [Windows] Daily development build [5.0.0-dev] Installer

by crazyR » Post

The one I've been working on doesn't do the building... it grabs the latest build from Gitlab and then unpacks it into the Relevant directories.. creates the shortcuts, uninstaller and registry entries so that it appears in the apps and features menu.
The idea behind this is that i, shouldn't need to update it much. this one installer should always provide the most up to-date install.

Long term, I will make it compile from source every time, but i just wanted to throw something together that requires little maintenance for now.

User avatar
addi
Member
Posts: 666
Joined: Thu Sep 20, 2012 03:16
GitHub: adrido
Location: Black-Forest, Germany

Re: [Windows] Daily development build [5.0.0-dev] Installer

by addi » Post

But the artifacts on gitlab are run in place builds. Aren't they? they will probably not work right in a install environment. (Requires Administrative privs., cant be modded, or it can just not installed to C:\Program Files\ )

User avatar
crazyR
Member
Posts: 60
Joined: Thu Jun 19, 2014 14:41
Location: uk

Re: [Windows] Daily development build [5.0.0-dev] Installer

by crazyR » Post

Thats correct my installer currenty installs it in user documents directory

User avatar
addi
Member
Posts: 666
Joined: Thu Sep 20, 2012 03:16
GitHub: adrido
Location: Black-Forest, Germany

Re: [Windows] Daily development build [5.0.0-dev] Installer

by addi » Post

*ouch* Is the user allowed to change that? If so you should force installation to that, and only that directory. But the correct place for Programs is still C:\Program Files and the correct place for program's data is %Appdata%.

User avatar
Linuxdirk
Member
Posts: 3219
Joined: Wed Sep 17, 2014 11:21
In-game: Linuxdirk
Location: Germany
Contact:

Re: [Windows] Daily development build [5.0.0-dev] Installer

by Linuxdirk » Post

addi wrote:*ouch* Is the user allowed to change that? If so you should force installation to that, and only that directory. But the correct place for Programs is still C:\Program Files and the correct place for program's data is %Appdata%.
The correct place for a program’s data is c:\ProgramData or accessible via variable %PROGRAMDATA%.

User-related data on local machines machines goes to %LOCALAPPDATA%\Application where Application is a folder named after the application that wants to store it’s user-related data.

Speaking in Minetest terms:

The Minetest application goes to %PROGRAMFILES%\Minetest
The default games/mods/configuration/etc. go to %PROGRAMDATA%\Minetest\games
User-specific things to go %LOCALAPPDATA%\Minetest\
Edit: Mods could be placed in %COMMONPROGRAMFILES%
Last edited by Linuxdirk on Fri Dec 28, 2018 13:40, edited 2 times in total.

User avatar
crazyR
Member
Posts: 60
Joined: Thu Jun 19, 2014 14:41
Location: uk

Re: [Windows] Daily development build [5.0.0-dev] Installer

by crazyR » Post

yes the installer allows the user to change it, but it is set to that by default because i know it works as is. long term plans are for it to download and compile from source which will allow me to install it into the correct paths.

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests