cleitet / wpkg-gp

Running WPKG as a Group Policy Extension
https://github.com/cleitet/wpkg-gp/wiki
25 stars 17 forks source link

wpkg-gp is always upgrading package with changed revision and execute="once" flag #78

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. change revision of the package, where package has execute="once" flag
2. run wpkgpipeclient.exe Execute
3. upgrading package
4. run wpkgpipeclient.exe Execute
5. upgrading package again

What is the expected output? What do you see instead?
once upgrading package not always

What version of the product are you using? On what operating system?
0.15

If applicable, please do the following to generate verbose debug messages,
and post the output here:
* Set WpkgVerbosity to 3
* Run `WpkgPipeClient.exe Execute`'
* Attach WpkgService.log in the logs directory to this ticket.

Please provide any additional information below.

Original issue reported on code.google.com by vladimir.psenicka on 20 Sep 2011 at 6:43

GoogleCodeExporter commented 9 years ago
WPKG-gp will just interprete and slightly modify the output it receives from 
wpkg.js, so this seems to be no issue with WPKG-gp but with wpkg itself OR with 
your package. Try running wpkg.js manually and verify it's output and logfiles. 
If the package could not be upgraded for some reason the wpkg output and 
logfile will tell you.

Original comment by goo...@daooze.de on 20 Sep 2011 at 7:59

GoogleCodeExporter commented 9 years ago
Yes you are right. When upgrading wpkg-gp it returns 3010 not 0. Please modify 
your wiki 
http://code.google.com/p/wpkg-gp/wiki/InstallationGuide#Install_with_Wpkg in 
upgrade section:

<upgrade cmd="\\path\to\wpkg-gp-0.11_x64.exe /S /INI \\path\to\wpkg-gp.ini" >
  <exit code="3010" />
</upgrade>

Thanks

Original comment by vladimir.psenicka on 20 Sep 2011 at 8:13

GoogleCodeExporter commented 9 years ago
Thank you for the feedback, I have fixed the Wiki now.

Original comment by clei...@gmail.com on 20 Sep 2011 at 9:31