[Windows] Daily development build [5.0.0-dev] Installer
[Windows] Daily development build [5.0.0-dev] Installer
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.
- 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
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.
you just need to put that into a buildbot and voila.
Re: [Windows] Daily development build [5.0.0-dev] Installer
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.
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.
- 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
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\ )
Re: [Windows] Daily development build [5.0.0-dev] Installer
Thats correct my installer currenty installs it in user documents directory
- 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
*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%.
- 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
The correct place for a program’s data is c:\ProgramData or accessible via variable %PROGRAMDATA%.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%.
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.
Re: [Windows] Daily development build [5.0.0-dev] Installer
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.
Who is online
Users browsing this forum: No registered users and 3 guests