First multi language release
Pre-releaseI put together a new release because if finished multi language support (using wxPython gnutext implementation)
It should detect the default system language and then tries to find a translation file, if nothing is available it will default to english. At the moment there is only english and german available but in theory everyone could now create a new translation. I will create a little tutorial for this in the future.
This release has a console window displayed for debugging, because i had some problems when forcing a specific language with the output of my windows event log reader. The time output would be formatted now specific to the region and breaking my custom parser. Strangely this didnt happen when i changed my windows language and not forcing one through code, the program would load the correct translation but still has the default time format.
Because of this i didn't add a way to force the language through the config file yet.
I would love to get some feedback from user with different region/ui-language settings from this. The program automaticly parses the eventlog after and upgrade and filters out every wpkg related message which then can be viewed by clicking on the "LOG" Button. Keep in mind that normally wpkg only writes to the eventlog if it really does something. If there is a problem with my parser it should be displayed in the console window.
The precompiled package should be ready to go for testing, but you still have to add following registry key manually HKLM\SOFTWARE\Wpkg-GP-Client
and change the permissions so Everyone has full access to it.
This is necessary so on systems with mutliple users a pending restart will be stored correctly and accessible from everyone.
You can find all necessary commands for this in my example package:
https://github.com/sonicnkt/wpkg-gp-client/blob/master/tools/wpkg_pkg_example.xml
I also compiled a exe of of the update list generator so you dont have to install python to try it, usage is simple:
create_pkg_ver_list.exe -f %INPUTFOLDER% -o %OUTPUTFILE%
example: create_pkg_ver_list.exe -f \\myserver\wpkg\packages\ -o pkg_versions.xml
If you use python just replace the exe with python create_pkg_ver_list.py
.
This file then needs to be downloadable through http/s and the url has to be put in the wpkg-gp_client.ini.
This tool only checks for xml files in the packages folder, it wont check the packages.xml in the wpkg root directory yet.
Hope someone has the time to test this and give some feedback. Please post any issues to the github page.