sonicnkt / wpkg-gp-client

GUI for wpkg-gp
15 stars 9 forks source link

URL to WPKG-GP Client update file #10

Open ghost opened 6 years ago

ghost commented 6 years ago

I can't find any information about this, is it possible to let WPKG work over http? If not wht use a update file, and how does this work? Because we have WPKG working on network shares at the moment and are checking if it is possible to stay using WPKG, but over the internet and not VPN or UNC. Is it possible to run over https?

sonicnkt commented 6 years ago

Hi, no there is no way to use WPKG over HTTP. Atleast not that i know of. Maybe WEBDAV could be possible but this would require a big update for WPKG-GP and the WEBDAV implementation on Windows was always a bit buggy imo.

About the update file, this is kind of a deprecated way to check for updates. I created this method when i started creating the client and did not want to update the WPKG-GP service. But since this method has a a lot of problems (packages with multiple versions debinding on host os for example, no new installs or remove notifications), i updated the WPKG-GP service in the end and added a true update check using wpkg commands.

As im quite busy with other stuff at the moment i didnt have time to update the client in a while and push out a new release. But when this happens i will probably remove this update check method because of the mentioned problems and nobody is using this anyway since the method using wpkg-gp is much better.

ghost commented 6 years ago

Hello,

I have already find out a way let WPKG, WPKG-GP and WPKG-GP Client work together over a webserver. I deployed wpkg.js 1.3.+, 7zip, wget to the local drive with a config.xml file and then run a script to install all packages. WPKG the newest version supports web servers.

I have write down about it: http://lists.wpkg.org/pipermail/wpkg-users/2018-June/031092.html

Thanks for developing WPKG-GP and mostly the WPKG-GP Client. Before I modified everything from (VPN) SMB share to web server, I have checked a lot other tools also RMM software. But for the way WPKG checks, install, update and very important removes applications, it never lets me down.

sonicnkt commented 6 years ago

Sorry for the late answer, i typed it weeks ago and was now cleaning some tabs in my browser and noticed that i never posted it. I hope i will be able to improve both in the feature a little , have some ideas but not completely sure if everything is possible (selective updates for example) with the current wpkg.js core.

ghost commented 6 years ago

I'm interested in you're ideas, I really appreciated the add-ons, but please don't remove the blacklist option in WPKG-GP Client. I use it for my package "Software audit" where Ninite and Npackd are included, this package needs to be installed every time when WPKG runs.

The WPKG-GP Client checks for updates every 30 minutes, is there a way to:

  1. Check for updates is starting
  2. First run a command, for me it will be: cscript C:\ProgramData\WPKG\application\wpkg.js /install:softwareaudit
  3. Then do the update check

When thats not possible, is it possible to:

  1. Create a Windows task, that runs: cscript C:\ProgramData\WPKG\application\wpkg.js /install:softwareaudit
  2. Give a command to WPKG-GP Client to check for updates for the user thats logged in?
sonicnkt commented 6 years ago

No plans to remove the blacklist feature in the client, im using it myself for several packages that run everytime and i dont want to bother the users with this.

There is a option allready in the config ini to check for updates at the startup of the client. start up = True

So you want to run a local copy of wpkg (without wpkg-gp) and then run wpkg-gp-client with wpkg-gp with a remote server? It would be no problem to add an option in wpkg-gp-client to run a local cmd before the client starts up. but keep in mind that the client is running in with the rights of the currently logged on user so probably no administrative previleges.

If your local wpkg run needs those rights a windows task after log on as system user would be the better solution.