This tutorial will teach you how to setup the Config.xml file for your game/program.
I recommend using Notepad++ to open and edit all the Updater’s XML files.
The Config.xml file is located in
Link to the below code: https://pastebin.com/Bn5sL7Gp
<config> <url>https://pastebin.com/d4sUURuC</url> <version>0.0.0</version> <executables> <name>Eclipse Renewal\client\Eclipse Renewal.exe</name> <name>Eclipse Renewal\server\Eclipse Renewal Server.exe</name> </executables> <closeAfterLaunch>True</closeAfterLaunch> <runAsAdmin>False</runAsAdmin> <language>English</language> <skin>Default\Default.xml</skin> </config>
<url> This is the link to your version history
<version> This is the local version
<executables> This is contains <name> which are the executable names from the updater folder
<closeAfterLaunch> This is if the updater closes after launching the executables
<runAsAdmin> This is used to tell the updater whether to run the programs it launches with Admin Permission
<language> This is what language the updater will use
<skin> This is the current skin the updater will use
Setting up the config for your own game:
This should look something like this:
The link in the node is to the version history (it’s ER’s in this case).
Just set this to 0.0.0 so it will look like this:
This should include the path leading to the executable for the Updater to launch. The path should be from the folder the updater is in to the exe.
If the full path is
C:\Users\User Name\Desktop\Program Updater\Eclipse Renewal\client\Eclipse Renewal.exe
Then the <name> field will look like
<name>Eclipse Renewal\client\Eclipse Renewal.exe</name>
You will most likely want this to be true. It will close the Updater after the user launches the executables. So it will look like this:
You normally won’t need this to be true, but if your program or game needs admin permission to function correctly, put this as True.
The rest of the nodes don’t need to be changed by you, the Updater will change them itself (that functionality will be added in one of the next updates).