Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

URL to WPKG-GP Client update file #10

Open
ghost opened this issue Jun 5, 2018 · 5 comments
Open

URL to WPKG-GP Client update file #10

ghost opened this issue Jun 5, 2018 · 5 comments

Comments

@ghost
Copy link

ghost commented Jun 5, 2018

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
Copy link
Owner

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
Copy link
Author

ghost commented Jun 29, 2018

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
Copy link
Owner

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
Copy link
Author

ghost commented Jun 29, 2018

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
Copy link
Owner

sonicnkt commented Jul 2, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant