Re: [wpkg-users] wpkgExpress Error [SEC=UNCLASSIFIED]

2010-02-23 Thread mscdex
You need to change your config.xml file to point to the correct URLs for the
3 files (packages, profiles, and hosts). The default values are for
wpkg_web, not wpkgExpress, and won't work. Please take a look at the
following page in the project wiki for more information:
http://code.google.com/p/wpkgexpress/wiki/UsingWithWPKG

On 2/22/10, Michael Chinn michael.ch...@gbrmpa.gov.au wrote:

  wpkgExpress, when trying to connect to the Base profile (wpkg.js
 /synchronize /dryrun /base:http://wpkg.server/)

 Im getting a

 *Unrecoverable error:*


 Error details dump:
 $method = string(17) missingController
 $params = array(1) { [0]= array(4) { [className]= string(28)
 ProfilesXmlOut.phpController [webroot]= string(1) / [url]=
 string(20) profiles_xml_out.php [base]= string(0)  } }





 I cant seem to find what this is, any ideas?



 Michael Chinn

 PC Support Office

 Information and Communications Technology

 Great Barrier Reef Marine Park Authority

 2-68 Flinders Street

 PO Box 1379

 Townsville Qld 4810



 Ph:07 4750 0855

 Fax:   07 4772 6093

 email: michael.ch...@gbrmpa.gov.au



 Visit us at: http://www.gbrmpa.gov.au


 =

 If you have received this transmission in error please notify us
 immediately

 by return email and delete all copies. Any unauthorised use, disclosure or

 distribution of this email is prohibited.


 =



 -
 wpkg-users mailing list archives 
 http://lists.wpkg.org/pipermail/wpkg-users/
 ___
 wpkg-users mailing list
 wpkg-users@lists.wpkg.org
 http://lists.wpkg.org/mailman/listinfo/wpkg-users


-
wpkg-users mailing list archives  http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] test packages upgrades

2009-12-20 Thread mscdex
On 12/20/09, Andrea Zagli aza...@libero.it wrote:

 how can i do to test packages upgrades on only one test machine before to
 propagate the upgrade to all others production machines?


Some people use a virtual machine (or more than one?) to test
package/profile/host changes before deploying them to real machines.
-
wpkg-users mailing list archives  http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] client only selecting 1 profile

2009-10-20 Thread mscdex
On 10/20/09, Jacob Jarick jacob.jar...@amdel.com wrote:

 The client appears to have come good again after some testing.
 I shall keep a close eye on this and report if any more issues occur.


 -Original Message-
 From: wpkg-users-boun...@lists.wpkg.org
 [mailto:wpkg-users-boun...@lists.wpkg.org] On Behalf Of Jacob Jarick
 Sent: Tuesday, 20 October 2009 2:49 PM
 To: wpkg-users@lists.wpkg.org
 Subject: [wpkg-users] client only selecting 1 profile

 2009-10-20 14:45:29, DEBUG   : Profiles applying to the current
 host:|clients_all|

 I have my test host WL0046, it only matches my profile CLIENTS_ALL (host
 regexp .+ ) if there are no other profiles matching it.
 If I add a profile called TESTING (host regexp WL0046) it only applys
 testing.

 I am using the latest wpkgexpress as well as the latest stable wpkg
 client, has anyone else struck this issue ?


There is a bug with regards to importing XML files in the current revision.
It may or may not be related to the problem you're having, but I thought I'd
give you a heads up on it (there is an issue raised about this in the
project site). This bug causes certain XML documents to be parsed
incorrectly such that the results of the parse are missing XML nodes
completely and/or the parsed results are formatted incorrectly.

This bug was introduced when I upgraded the version of CakePHP that
wpkgExpress is packaged with to the latest stable version (1.2.5 as of this
writing). I have already submitted a ticket, and recently a patch, to
CakePHP's developers that from my testing, successfully fixes this bug.

I plan on having a new release available by the end of the week.
-
wpkg-users mailing list archives  http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] wpkg-express +Linux

2009-10-20 Thread mscdex
On 10/20/09, Hans-Werner Friedemann h-w.friedem...@vds-herzberg.de wrote:

  Hi @ all

 which Linux-Distribution should I choose to run wpkg-express on it!?


Just about any should do, as long as you have Apache and a supported
database system.

From what I've seen thus far, many people choose Ubuntu Server Edition or
Debian. I've personally used them both plus CentOS as well as XAMPP for
Linux (and Windows for that matter).
-
wpkg-users mailing list archives  http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] wiki broken for anyone else ?

2009-10-06 Thread mscdex
On 10/6/09, Jacob Jarick jacob.jar...@amdel.com wrote:

 http://wpkg.org/


Broken how? Seems to work fine for me.
-
wpkg-users mailing list archives  http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] which frontend to use

2009-09-21 Thread mscdex
I also use xampp on both Windows and Linux when developing wpkgExpress.
AFAIK I didn't have to make any configuration changes specifically for
wpkgExpress to make it work.

On 9/21/09, Jacob Jarick jacob.jar...@amdel.com wrote:

  No worries, I will try and work through them :)
 I appreciate documentation is the last / most anoying thing to get around
 to in any project (certianly the case for my projects). Keep up the good
 work.

 wpkgexpress does look like it will be perfect once I have it running.
 Im using xampp atm, about to scrap and try fresh again - if I get it
 working I will post my steps.

 Cheers :)

  --
 *From:* mscdex [mailto:msc...@gmail.com]
 *Sent:* Monday, 21 September 2009 2:07 PM
 *To:* Jacob Jarick
 *Cc:* wpkg-users@lists.wpkg.org
 *Subject:* Re: [wpkg-users] which frontend to use

 wpkgExpress comes with CakePHP, so there is no need to install it first.
 There are several existing issues with both with the wiki/documentation and
 the code itself that do need investigating and/or fixing. However, I admit I
 haven't had much free time to devote to the project for awhile because work
 and education have been consuming the majority of my time.

 On 9/21/09, Jacob Jarick jacob.jar...@amdel.com wrote:

 Im trying to configure the frontends.

 http://code.google.com/p/wpkgexpress/ seems to need cakePHP installed
 first (not just a datasource like its 2 step install instructions
 claim).

 http://wpkg.linuxkidd.com/ this one just fails expecting configuration
 of the mysql db but no explanation on what to configure.
 error:
 Warning: mysql_connect() [function.mysql-connect]: Access denied for
 user 'unattended'@'localhost' (using password: YES) in
 C:\xampplite\htdocs\connect.php on line 17
 Cannot connect : Access denied for user 'unattended'@'localhost' (using
 password: YES)

 Is there any complete documentation on setting either of these up ?

 Thanks

 Jacob Jarick
 Systems Administrator/ Software Engineer
 Bureau Veritas Australia Pty Ltd
 58 Sorbonne Cr, Canning Vale WA 6155
 Helpdesk: 1800 992 908
 Tel: +61 (0) 8 9456 6469
 Email :jacob.jar...@amdel.com
 Web :http://www.bureauveritas.com.au

 -
 wpkg-users mailing list archives 
 http://lists.wpkg.org/pipermail/wpkg-users/
 ___
 wpkg-users mailing list
 wpkg-users@lists.wpkg.org
 http://lists.wpkg.org/mailman/listinfo/wpkg-users



-
wpkg-users mailing list archives  http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] [Bug 171] User notification does not work on Vista

2009-09-04 Thread mscdex
On 9/4/09, Rainer Meier r.me...@wpkg.org wrote:


 We already know that especially on Windows Vista and newer we have troubles
 with
 the logon delay feature. Including such actions into wpkg.js seems not to
 be a
 good idea; I prefer wpkg.js to be as stable and reliable as possible and
 leaving
 such fancy stuff up to tools invoking wpkg.js. In case of failure or
 changes
 on OS/System level there is much less impact and lots of possibilities for
 work-around to get the core working.


What about implementing some sort of an event-hook notification
functionality where wpkg.js could call functions located in separate JS
file(s) (if available), so that custom solutions could be used. For example,
when wpkg.js detects that changes (whether installation, upgrades, or
removal) need to be made to the system, it could call the appropriate
pre-determined function in the external JS file. This external JS function
could then perform any kind of action, including using a custom message
solution to let the user know what's going on. If none of these event hook
external JS files are found or the callback functions themselves are not
found, then wpkg.js would just continue on as normal.
-
wpkg-users mailing list archives  http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Question on configurations of Firefox / IE

2009-07-28 Thread mscdex
On 7/28/09, Pendl Stefan stefan.pe...@haidlmair.at wrote:

 I would not recommend downloading this system file from the net, but
 instead use the version installed with your Windows version.


Which OS are you using? From my experience it does not come installed with
XP.
-
wpkg-users mailing list archives  http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] [OT] wpkgExpress first release

2009-07-08 Thread mscdex
Sorry, the DOM extension must be enabled also. XAMPP has this enabled
by default, so it never occurred to me to mention it. I'll be editing
the project page with this information as soon as google disables
read-only mode.

On 7/8/09, luca_mangane...@comune.trento.it
luca_mangane...@comune.trento.it wrote:
 mscdex msc...@gmail.com scritti il 07/07/2009 18.25.17

 On 7/7/09, luca_mangane...@comune.trento.it
 luca_mangane...@comune.trento.it
  wrote:
 Finally I managed to make it work. I enabled mod_alias and mod_rewrite.

 I have now another problem: when I import a package.xml, I have this
 error:

 Fatal error: Class 'DOMDocument' not found in
 /srv/www/htdocs/wpkgExpress/import.functions.php on line 896

 wpkgExpress requires PHP 5.0.2 or newer.

 I have this:

 mangane...@lisrv3:~ php -v

 PHP 5.2.5 with Suhosin-Patch 0.9.6.2 (cli) (built: Apr 23 2008 23:35:28)
 Copyright (c) 1997-2007 The PHP Group
 Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies


 does it need a particular module?

 -
 wpkg-users mailing list archives 
 http://lists.wpkg.org/pipermail/wpkg-users/
 ___
 wpkg-users mailing list
 wpkg-users@lists.wpkg.org
 http://lists.wpkg.org/mailman/listinfo/wpkg-users

-
wpkg-users mailing list archives  http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] [OT] wpkgExpress first release

2009-07-07 Thread mscdex
On 7/7/09, luca_mangane...@comune.trento.it 
luca_mangane...@comune.trento.it wrote:

 Finally I managed to make it work. I enabled mod_alias and mod_rewrite.

 I have now another problem: when I import a package.xml, I have this error:

 Fatal error: Class 'DOMDocument' not found in
 /srv/www/htdocs/wpkgExpress/import.functions.php on line 896


wpkgExpress requires PHP 5.0.2 or newer.
-
wpkg-users mailing list archives  http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] wpkgExpress first release

2009-07-02 Thread mscdex
On 7/2/09, Andreas Heinlein aheinl...@gmx.com wrote:

 Hello,

 can you give a short summary of the differences between wpkgExpress and
 wpkgWeb, and if wpkgWeb databases can be used/converted?

 Thank you,

 Andreas



I can't give a very in-depth comparison since I have never actually used
WPKG Web before, I've merely played with the online public installation a
few times for awhile. One major difference is that wpkgExpress is actively
maintained, and thus contains the latest features evident in the latest
stable version of WPKG. Since I'm the developer of wpkgExpress, I'm biased,
but in my opinion wpkgExpress offers a more clean (less cluttered and more
straight-forward) layout and a better organization of the internal code due
to the use of the CakePHP MVC framework. wpkgExpress also utilizes jQuery
for quickly carrying out simple requests like deleting, re-ordering (i.e.
for hosts index page or package checks and actions), sorting, and paging.

About the only thing wpkgExpress currently lacks that WPKG Web has is
download tag support. I will add in support for this in a future version
of wpkgExpress. The decision to leave it out was made early on because I had
simultaneously been working on a more sophisticated download tag (that
utilized PHP in my implementation) that allowed for pluggable modules for
different types of downloads (i.e. straight-up download like WPKG has now,
except md5sums are compared to check/guess if the newly downloaded file is
newer than the existing one; downloads from filehippo (ability to check
version/date); downloads from download.com (ability to check version/date);
etc). Each module has its own set of required and/or optional parameters,
with some parameters being shared among all download modules. I wasn't sure
if there was any interest in expanding the existing wpkg download tag to
have this kind of functionality (using a JScript implementation of course),
but I currently have a working proof of concept somewhere that simply
reads in a packages.xml and acts (appropriate version/date checks and other
actions vary upon module) on any existing download tags with the
new/different/custom parameters.
-
wpkg-users mailing list archives  http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] [OT] wpkgExpress first release

2009-06-29 Thread mscdex
On 6/29/09, luca_mangane...@comune.trento.it 
luca_mangane...@comune.trento.it wrote:

 from the CakePHP website:

 http://book.cakephp.org/view/34/Production

 I note that all the required files are not in the package...


The only directory that is actually required for a CakePHP application is
the /cake directory they show on that page. That is the directory which
contains the CakePHP core, and I have that contained in the wpkgExpress
archive (the cake subdirectory). It is a tad confusing because the page
you linked to is setting up CakePHP to be used in a shared environment where
you can have one single CakePHP core, but multiple applications in
subdirectories (the /app directories). However, since I'm only bundling
CakePHP with one application, I've configured it slightly differently. Rest
assured though, all the required files are there :-)

I greatly encourage any other questions/comments/concerns about wpkgExpress
to be posted to the wpkgExpress Google group, so they can all be organized
into one place.
-
wpkg-users mailing list archives  http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] [OT] wpkgExpress first release

2009-06-27 Thread mscdex
On 6/27/09, Tomasz Chmielewski man...@wpkg.org wrote:

 mscdex wrote:

 I've uploaded a new release that should fix this infinite redirect
 problem. I have tested the fix locally on my laptop here. Also, there is now
 a google group for wpkgExpress here:
 http://groups.google.com/group/wpkgexpress-support

 Feel free to continue wpkgExpress discussions there.


 Should we add a link to the list to http://wpkg.org/Support?


 --
 Tomasz Chmielewski


I don't mind if you wish to add it on there.
-
wpkg-users mailing list archives  http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] [OT] wpkgExpress first release

2009-06-26 Thread mscdex
I've received another report of this same infinite redirect problem, I'm
going to be looking into it very soon. There is no mailing list just yet, I
just setup the google code site the other week and am still in the process
of getting related web resources setup.

On 6/26/09, Falko Trojahn nospam...@smi-softmark.de wrote:

 Hello Brian,


  Hello all, I just thought I'd drop a line here and let everyone know
  I've released the first version of wpkgExpress. It is available for
  all to try out at the google code site here:
  http://code.google.com/p/wpkgexpress/
 
  As I mentioned in my blog, I recognize there are places that could use
  additional work, but after a few clean installation tests of the
  project, I feel it is stable enough for release. I've yet to populate
  the wiki with any content since I just started setting up the site in
  the past week or so. I'm also learning mercurial (and DVCS/VCS also),
  so excuse some of the silly commits and such as I get accustomed to
  it. Feel free to create issues (be it enhancements or otherwise) in
  the issue tracker, especially for bug reports (and potential bug fixes
  ;-)).

 thanx for your work. But a short installation test did not succeed. I
 have apache 2.2, php 5.2.6 on debian lenny,
 mod rewrite is enabled and AllowOverride set to All (so that the
 .htaccess is used), but all I get is

 http://apache4/installer/setup_db
 - Redirect loop
 (in German: Umleitungsschleife)

 Could you post your apache configuration, please?

 BTW: have you setup a mailing list for wpkgExpress, as it's a bit
 off-topic here?

 Regards,

 Falko

-
wpkg-users mailing list archives  http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] [OT] wpkgExpress first release

2009-06-26 Thread mscdex
I've uploaded a new release that should fix this infinite redirect problem.
I have tested the fix locally on my laptop here. Also, there is now a google
group for wpkgExpress here:
http://groups.google.com/group/wpkgexpress-support

Feel free to continue wpkgExpress discussions there.

On 6/26/09, mscdex msc...@gmail.com wrote:

 I've received another report of this same infinite redirect problem, I'm
 going to be looking into it very soon. There is no mailing list just yet, I
 just setup the google code site the other week and am still in the process
 of getting related web resources setup.

 On 6/26/09, Falko Trojahn nospam...@smi-softmark.de wrote:

 Hello Brian,


  Hello all, I just thought I'd drop a line here and let everyone know
  I've released the first version of wpkgExpress. It is available for
  all to try out at the google code site here:
  http://code.google.com/p/wpkgexpress/
 
  As I mentioned in my blog, I recognize there are places that could use
  additional work, but after a few clean installation tests of the
  project, I feel it is stable enough for release. I've yet to populate
  the wiki with any content since I just started setting up the site in
  the past week or so. I'm also learning mercurial (and DVCS/VCS also),
  so excuse some of the silly commits and such as I get accustomed to
  it. Feel free to create issues (be it enhancements or otherwise) in
  the issue tracker, especially for bug reports (and potential bug fixes
  ;-)).

 thanx for your work. But a short installation test did not succeed. I
 have apache 2.2, php 5.2.6 on debian lenny,
 mod rewrite is enabled and AllowOverride set to All (so that the
 .htaccess is used), but all I get is

 http://apache4/installer/setup_db
 - Redirect loop
 (in German: Umleitungsschleife)

 Could you post your apache configuration, please?

 BTW: have you setup a mailing list for wpkgExpress, as it's a bit
 off-topic here?

 Regards,

 Falko



-
wpkg-users mailing list archives  http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] wpkgExpress first release

2009-06-25 Thread mscdex
On 6/25/09, mscdex msc...@gmail.com wrote:

 On 6/25/09, Tomasz Chmielewski man...@wpkg.org wrote:

 Nice.
 Do you have a live demo anywhere?

 Or, at least, screenshots?
  http://wpkg.org


 No live demo, but I'll try and get some more recent screenshots uploaded.


I've now put up some quick links to v1.0 screenshots in the project site's
wiki
-
wpkg-users mailing list archives  http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


[wpkg-users] Error in profiles.xsd

2009-06-17 Thread mscdex
While finishing up some schema validation stuff for wpkgExpress, I noticed
an error in profiles.xsd:

   22 xsd:complexType name=profile
 snip 
   26   xsd:sequence
   27   xsd:choice minOccurs=0 maxOccurs=unbounded
   28   xsd:element ref=package
   29   xsd:annotation
   30   xsd:documentationAssigns a 
package to the
profile./xsd:documentation
   31   /xsd:annotation/xsd:element
   32   /xsd:choice
   33   xsd:choice minOccurs=0 maxOccurs=unbounded
   34   xsd:element ref=depends
   35   xsd:annotation
   36   xsd:documentationDependency 
definition. Allows to
refer to another profile which is included./xsd:documentation
   37   /xsd:annotation/xsd:element
   38   xsd:element ref=variable
   39   xsd:annotation
   40   xsd:documentationVariable 
definition./xsd:documentation
   41   /xsd:annotation/xsd:element
   42   /xsd:choice
   43   /xsd:sequence
 snip 
   50 /xsd:complexType

should be:

   22 xsd:complexType name=profile
 snip 
   26   xsd:sequence
   27   xsd:choice minOccurs=0 maxOccurs=unbounded
   28   xsd:element ref=package
   29   xsd:annotation
   30   xsd:documentationAssigns a 
package to the
profile./xsd:documentation
   31   /xsd:annotation/xsd:element
   32   xsd:element ref=depends
   33   xsd:annotation
   34   xsd:documentationDependency 
definition. Allows to
refer to another profile which is included./xsd:documentation
   35   /xsd:annotation/xsd:element
   36   xsd:element ref=variable
   37   xsd:annotation
   38   xsd:documentationVariable 
definition./xsd:documentation
   39   /xsd:annotation/xsd:element
   40   /xsd:choice
   41   /xsd:sequence
 snip 
   48 /xsd:complexType


Without the change, a validation error will always occur.


- Brian
-
wpkg-users mailing list archives  http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Error in profiles.xsd

2009-06-17 Thread mscdex
What I think was happening was the schema validator (PHP5's schemaValidate
method in this case) was using the last choice XML node it found within
that sequence node. The reason I believe this is the case is because I had
profiles that were referencing packages (like they generally should), and
the error returned by libxml mentioned that the package XML nodes were
unexpected, however it did not complain about any of the depends and
variable XML nodes.

The XSD files have been a great help in easily validating uploaded
package/profile/host XML files for importing into wpkgExpress :-)

On 6/17/09, Rainer Meier r.me...@wpkg.org wrote:

 Hi Brian,


 mscdex wrote:
  While finishing up some schema validation stuff for wpkgExpress, I
  noticed an error in profiles.xsd:

 ...

  Without the change, a validation error will always occur.


 I could not see exactly where there should be an error within the initial
 XSD.
 Of course it defined two choices for 0..n occurrences within the sequence
 but
 this should be valid (at least Eclipse and its validator did not complain
 about). However using two choice entries looks super fluent. So I decided
 to
 take over your change.

 http://wpkg.svn.sourceforge.net/viewvc/wpkg/wpkg/stable/1.1/xsd/

 Please note that wpkg.js does not use the XSD files for validation. There
 might
 be more issues too (it's the first time I wrote such an XSD file ;-)).
 Mainly I
 provided them to allow automatic assistance and for documentation reasons
 (the
 elements are well-described within the XSD annotations.

 br,

 Rainer

-
wpkg-users mailing list archives  http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Updated XML Schema for Packages

2009-04-10 Thread mscdex
On 4/10/09, Rainer Meier r.me...@wpkg.org wrote:

 Please remember that wpkg.js does not yet make use of the XSD files. I've
 hacked them quickly in order to get some documentation. This is the
 reason it
 contains quite a lot of element documentation. I preferred to write a
 documented
 XSD instead of somehow not directly linked wiki pages.
 I agree that they probably need some major improvements. So please do not
 consider these XSD files as a part of the officially released WPKG toolset.


I was mainly using the XSD outside of wpkg in wpkgExpress (the web frontend
I'm working on) to validate during import. The older revision of the XSD is
what I am currently using, as it more closely describes the current stable
version (1.0.x). I'll take a look at the new updates in SVN.
-
wpkg-users mailing list archives  http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


[wpkg-users] Updated XML Schema for Packages

2009-03-29 Thread mscdex
Hello,

I'm not sure if I'm jumping on this too early, but I thought I'd ask.

I noticed that with the new version of WPKG, the schema for the packages was
updated (packages.xsd). This new packages schema seems to break quite a bit
with existing packages.xml files. One difference I found was the change in
the depends element. It seems it now contains a string for its content and
no attributes (package-id attribute is gone). Should the string content be
the package id? Also, somewhat related, I noticed a packageReference type
that was defined and contains a package-id attribute like the old
depends, but it isn't used anywhere in any elements.

Something else too, I noticed that with the previous (rev 20) and possibly
with this new revision, both require the type attribute name of check
elements to be all uppercase, which contradicts what the WPKG documentation
shows, which has all lowercase. Changing it to uppercase solved the libxml
errors I was getting before when validating against the previous schema, but
it didn't seem to when validating against the new schema?

I'm also getting other libxml errors that the path, value, and condition
attributes of check elements are not allowed.

I can post the simple packages.xml I'm using if necessary, but it _does_
validate against the previous schema (after changing the case on the type
attribute names from type to TYPE of course). I'm using the latest
xmllint and libxml for validation testing.


Brian
-
wpkg-users mailing list archives  http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Make difference between 64-bit and 32bit Package according to installed OS?

2009-02-15 Thread mscdex
On 2/15/09, Mathieu Simon mathieu@gmail.com wrote:

 While this solutions works fine you will need to have a good eye on
 packaging in mixed environments because you have to know, which host
 needs to get the x64 package and which the x86 one. Did I oversee
 something on the docs?


Rainer has some .cmd files that allow you to set the name of the 32-bit and
the 64-bit installer for a certain program. The .cmd does a rudimentary
check for a 32-bit or 64-bit system and executes the appropriate installer.
Here's an example of one of his package definitions along with his .cmd
files from a previous post:

Package example:
?xml version=1.0 encoding=utf-8 ?
packages

package id='TortoiseSVN' name='TortoiseSVN' revision='156' priority='50'
reboot='false' 
 !-- TortoiseSVN --
  check type='logical' condition='or'
  check type='uninstall' condition='exists' path='TortoiseSVN 1.5.6.14908
(32 bit)' /
 check type='uninstall' condition='exists' path='TortoiseSVN 1.5.6.14908
(64 bit)' /
 /check
 install cmd='%SOFTWARE%\software.free\TortoiseSVN
v.1.5.6.14908\unattended.cmd' 
   exit code='3010' /
 /install
 remove cmd='%SOFTWARE%\software.free\TortoiseSVN
v.1.5.6.14908\unattended-uninstall.cmd' 
   exit code='3010' /
 /remove
 upgrade cmd='%SOFTWARE%\software.free\TortoiseSVN
v.1.5.6.14908\unattended.cmd' 
   exit code='3010' /
 /upgrade
/package

/packages



unattended.cmd:
@echo off

set CMD32=TortoiseSVN-1.5.6.14908-win32-svn-1.5.5.msi
set CMD64=TortoiseSVN-1.5.6.14908-x64-svn-1.5.5.msi
set INSTALLER=install.cmd
set INSTALLER_LOC=%~dp0

echo Installing TortoiseSVN

call %INSTALLER_LOC%%INSTALLER% msiinstall %CMD32% %CMD64%





unattended-uninstall.cmd:
@echo off

set CMD32=TortoiseSVN-1.5.5.14361-win32-svn-1.5.4.msi
set CMD64=TortoiseSVN-1.5.5.14361-x64-svn-1.5.4.msi
set INSTALLER=install.cmd
set INSTALLER_LOC=%~dp0

echo Removing TortoiseSVN

call %INSTALLER_LOC%%INSTALLER% msiuninstall %CMD32% %CMD64%






install.cmd:
@echo off

REM Usage:
REM msiinstall.cmd type 32-bit-installer 64-bit-installer
[installer-location [custom-options]]
REM where type is one of
REM msiinstall Install the given MSI package
REM msiuninstall   Uninstall the given MSI package
REM install4j  Install4J setup
REM innosetup  Inno setup
REM installshield  Install shield
REM nsis   Nullsoft install system (NSIS)
REM custom Custom installer - options required in this case
REM 32-bit-installer   Full file name (including extension) of 32-bit
installer
REM 64-bit-installer   Full file name (including extension) of 64-bit
installer
REM installer-location Path where the installers are stored, if empty
assumes directory where install.cmd is
REM custom-options Replace the default installer options with the ones
given

REM Global variables
set INSTALL_CMD=
set EXIT_CODE=0

REM Get command type
set TYPE=%~1

REM Get 32-bit installer name
set CMD32=%~2

REM Get 64-bit installer name
set CMD64=%~3

REM get file path
set INSTALLER_PATH=%~dp0
if not %~4 ==  (
set INSTALLER_PATH=%~4
)

set OPTIONS=
if not %~5 ==  (
set OPTIONS=%~5
)


REM Detect which system is used
if not %ProgramFiles(x86)% ==  goto 64bit
goto 32bit


REM
##
REM 64-bit system detected
REM
##
:64bit
REM Determine 64-bit installer to be used
echo 64-bit system detected.
REM set INSTALLER64=
if not %CMD64% ==  (
set INSTALLER64=%CMD64%
) else (
REM Use 32-bit installer if available, no 64-bit installer available.
if not %CMD32% ==  (
echo Using 32-bit installer, no 64-bit installer specified.
set INSTALLER64=%CMD32%
) else (
echo Neither 64-bit nor 32-bit installer specified. Exiting.
goto usage
)
)

REM Check if installer is valid
if exist %INSTALLER_PATH%%INSTALLER64% (
set INSTALL_CMD=%INSTALLER_PATH%%INSTALLER64%
) else (
echo Installer %INSTALLER_PATH%%INSTALLER64% cannot be found! Exiting.
exit /B 97
)
goto installerselection


REM
##
REM 32-bit system detected
REM
##
:32bit
REM Determine 32-bit installer to be used
echo 32-bit system detected.
set INSTALLER32=
if not %CMD32% ==  (
set INSTALLER32=%CMD32%
) else (
echo No 32-bit installer specified. Exiting.
exit /B 96
)


REM Check if installer is valid
if exist %INSTALLER_PATH%%INSTALLER32% (
set INSTALL_CMD=%INSTALLER_PATH%%INSTALLER32%
) else (
echo Installer %INSTALLER_PATH%%INSTALLER32% cannot be found! Exiting.
exit /B 95
)
goto installerselection



REM
##
REM select installer system
REM
##
:installerselection
if /i %TYPE% == msiinstallgoto msiinstaller
if /i %TYPE% == msiuninstall  goto msiuninstaller
if /i %TYPE% == install4j 

Re: [wpkg-users] Stopping installations being called each time WPKG runs...

2009-02-10 Thread mscdex
On 2/10/09, Rainer Meier r.me...@wpkg.org wrote:

 Most of them can be worked around by installing them on a reference
 system (or virtual machine) and just re-package them with 7-zip self
 extractor or similar. Then crate a small batch script whcih is silently
 extracting it, registering some DLL or adding registry keys. Removing is
 simple: Just delete the program directory.


Whenever I encounter installers like this or even when I would rather not
deal with installers in particular situations, I use UniExtract to extract
the application files from the installer (works pretty good for many
different types and versions of installers). This saves you from having to
install them just to obtain the necessary files. Also, the tool seems to
extract installer scripts and such too. You can look at those to see what
other changes it makes to the system (registry, etc) and then make those
appropriate changes manually when creating the batch/cmd files to do the
installation.
-
wpkg-users mailing list archives  http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Can't have download functionnality working

2009-01-28 Thread mscdex
On 1/28/09, Tomasz Chmielewski man...@wpkg.org wrote:

 Nicolas LEBRUN schrieb:

  Thanks Rainer, for this answer...
 
  Actually, I think I won't use wpkg_web anymore ... or try to see if a
  minor adaptation of wpkg-web could repair...
 
  Just hope another front-end to wpkg will appear ... In fact, I
  personnaly don't need it but some admins in our high schools would
  appreciate...


 You may check wpkgExpress: http://mscdex.blogspot.com/search/label/wpkg

 I didn't use it, so can't tell much about it - any feedback,
 screenshots, working demo... here on the list would be appreciated.



 --
 Tomasz Chmielewski
 http://wpkg.org


 -
 wpkg-users mailing list archives 
 http://lists.wpkg.org/pipermail/wpkg-users/
 ___
 wpkg-users mailing list
 wpkg-users@lists.wpkg.org
 http://lists.wpkg.org/mailman/listinfo/wpkg-users


Hello,

I'm the one who is working on wpkgExpress. I'd like to get a couple more
things implemented before a beta release is made.

Regarding the download functionality, over the Christmas break I worked on a
PHP-based modular download system (works in conjunction with a download tag)
that provides fairly decent, extensible download support. It's not
integrated with wpkgExpress and can be used separately. To date, I've only
created modules for download.com and filehippo (which is based on the bash
script by John Price that was made available on this list awhile back), as
well as a simple download module that essentially works similarly to what
the current wpkg download tag does. I will try and package it up as soon as
I can and make it available online for those who are interested.
-
wpkg-users mailing list archives  http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] WPKG and Windows SteadyState Disk Protection

2009-01-06 Thread mscdex
On 1/5/09, Jason Castonguay jason.castong...@gmail.com wrote:

 The thing I'd like to see is to be able to install Steadystate and
 enable Windows Disk Protection, via WPKG. I believe installing is
 possible, but AFAIK there is no easy way to automate WDP.


According to the SteadyState handbook (
http://download.microsoft.com/download/d/2/6/d261b347-2f03-4bcf-8240-8b7a66beef8a/Windows%20SteadyState%20Handbook.pdf)
if you have the latest version of SteadyState, you can use sctui.exe
(located in Program Files/Windows SteadyState) to enable/disable WDP as
well as obtain current status info and more via WMI.

From the handbook:
--Command-line Parameters--

_DisableWDPAndReboot_
Disables and uninstalls Windows Disk Protection. This process requires
three restarts to:
1. Clear the cache.
2. Commit changes made to the computer that remove the Windows
Disk Protection driver.
3. Finish uninstalling Windows Disk Protection.

Example:
sctui /DisableWDPAndReboot


_EnableWDPAndReboot_
Installs and enables Windows Disk Protection. A console window opens
to show status messages during installation. If installation was
successful, the system is automatically restarted to complete enabling
Windows Disk Protection.

Example:
sctui /EnableWDPAndReboot
-
wpkg-users mailing list archives  http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] WPKG and Windows SteadyState Disk Protection

2009-01-05 Thread mscdex
I ran into a similar situation when I was working with a small network that
was using deep freeze. I ended up modifying wpkg.js in the relevant places
where a successful package installation/removal/upgrade/downgrade has been
detected, etc. In those places, I had it call a custom jscript function of
mine to do the freezing (and reboot possibly, I can't remember now) of the
hard disk after all was said and done. I also put in a call to a custom
jscript function to do a thaw (and reboot) first only if wpkg detected that
work needed to be done (packages needed to be removed, installed, etc).

That may not be the most elegant solution, but I couldn't find any neater
way to do it.

On 1/5/09, Josh Frome jfr...@maildev.slcpl.org wrote:

 Hello,

  I'm new to WPKG and was wondering if anyone had tips for integrating
 Microsoft's SteadyState disk protection.  More specifically, SteadyState is
 configured to remove any changes the the hard drive (a la Deep Freeze, etc)
 and requires a registry change and reboot to write/save changes to the hard
 drive.  I have a script that will perform the registry modification and
 reboot, but I am looking for a way to only call the script when WPKG has
 made a change (install/uninstall, etc) and not every time WPKG runs (i.e.
 using a post-action).

 What would be the best approach to find out if WPKG has
 installed/uninstalled packages and if so, enable a reboot script?

 Thanks,

 Josh

 --
 Josh Frome
 Network Administrator
 Salt Lake City Public Library
 801.524.8282
 -
 wpkg-users mailing list archives 
 http://lists.wpkg.org/pipermail/wpkg-users/
 ___
 wpkg-users mailing list
 wpkg-users@lists.wpkg.org
 http://lists.wpkg.org/mailman/listinfo/wpkg-users

-
wpkg-users mailing list archives  http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Import registry keys does not work...

2008-12-25 Thread mscdex
I don't know if it's the same issue, but i've had registry imports report
success even when the user that executed the import didn't have sufficient
privileges to save changes to the registry. Can the user you're executing
these install actions as, manually commit changes to the registry via
regedit?

On 12/25/08, Jens Wurster j...@zaubercenter.de wrote:

 Hi,

 here is my log file:

 2008-12-25 19:50:39, INFO   : Installing 'Test' (test)...
 2008-12-25 19:50:39, DEBUG  : Reading variables from package
 2008-12-25 19:50:39, DEBUG  : Reading variables from package Test
 2008-12-25 19:50:39, DEBUG  : Stored 0 variables from package
 2008-12-25 19:50:39, DEBUG  : Reading variables from profile[s]
 2008-12-25 19:50:39, DEBUG  : Getting profiles which apply to this node.
 2008-12-25 19:50:39, DEBUG  : 1 profiles apply to this host.
 2008-12-25 19:50:39, DEBUG  : Reading variables from profile default
 2008-12-25 19:50:39, DEBUG  : Reading variables from host .+
 2008-12-25 19:50:39, DEBUG  : Install type: install
 2008-12-25 19:50:39, DEBUG  : Fetched 4 install command(s).
 2008-12-25 19:50:39, DEBUG  : Executing command : cmd /c reg import
 %PACKAGES%\PSPad\PSPad.reg
 2008-12-25 19:50:42, DEBUG  : Command in installation of Test returned exit
 code
 [0]. Success.
 2008-12-25 19:50:42, DEBUG  : Executing command : cmd /c regedit /s
 %PACKAGES%\PSPad\PSPad.reg
 2008-12-25 19:50:44, DEBUG  : Command in installation of Test returned exit
 code
 [0]. Success.
 2008-12-25 19:50:44, DEBUG  : Executing command : reg import
 %PACKAGES%\PSPad\PSPad.reg
 2008-12-25 19:50:46, DEBUG  : Command in installation of Test returned exit
 code
 [0]. Success.
 2008-12-25 19:50:46, DEBUG  : Executing command : regedit /s
 %PACKAGES%\PSPad\PSPad.reg
 2008-12-25 19:50:48, DEBUG  : Command in installation of Test returned exit
 code
 [0]. Success.
 2008-12-25 19:50:48, DEBUG  : Removing currently existing settings node
 first:
 'Test' (test), Revision 1
 2008-12-25 19:50:48, DEBUG  : Adding settings node: 'Test' (test), Revision
 1
 2008-12-25 19:50:48, INFO   : Processing (install) of Test successful.

 Everything seems to be ok, but the keys weren't added to the registry...
 :-(

 Thanks


 Jens


 
  Was the command actually started?
  What does your log show?
 
  BTW, you're missing a check condition.
  If you don't want to use any, look at this page:
  http://wpkg.org/Execute_once_/_always
 
 
  --
  Tomasz Chmielewski
 

 -
 wpkg-users mailing list archives 
 http://lists.wpkg.org/pipermail/wpkg-users/
 ___
 wpkg-users mailing list
 wpkg-users@lists.wpkg.org
 http://lists.wpkg.org/mailman/listinfo/wpkg-users

-
wpkg-users mailing list archives  http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Import registry keys does not work...

2008-12-25 Thread mscdex
I believe I used a utility called CPAU to do HKCU registry imports for users
other than the one I was logged in as. It has some other nice options over
the runas command.

On 12/25/08, Jens Wurster j...@zaubercenter.de wrote:

 Yes, HKCU.

 Okay, I recognize my mistake: SYSTEM User and HKCU. That can't work. Right?
 So
 how
 can I add registry entries to a special user account?

 Thanks

 Jens

 Tomasz Chmielewski man...@wpkg.org hat am 25. Dezember 2008 um 23:42
 geschrieben:


  Jens Wurster schrieb:
   I use the WPKG Client. The WPKG execution context user is set to
 SYSTEM.
   If I
   start the script manually with my admin account, it works! Where is
 the
   problem with the client?
 
  What registry entries are you trying to add? HKCU?
 
 
  --
  Tomasz Chmielewski
  http://wpkg.org
 

 -
 wpkg-users mailing list archives 
 http://lists.wpkg.org/pipermail/wpkg-users/
 ___
 wpkg-users mailing list
 wpkg-users@lists.wpkg.org
 http://lists.wpkg.org/mailman/listinfo/wpkg-users

-
wpkg-users mailing list archives  http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] documentation

2008-12-18 Thread mscdex
Just to note, config.xml can also be found in the wpkg release zip file on
wpkg.org.

According to latest wpkg stable release (1.0.2) source code, when using an
http_base it downloads three xml files. That's one xml file per type:
packages, profiles, hosts.

On 12/18/08, W. Chris Shank shan...@acetechgroup.com wrote:

 ok - i found the config.xml file in the SVN sources, so I'm getting more
 info now. One thing, does anyone know if when using a http base you can
 still use the empty packages.xml and have a subdir called packages and have
 all individual softwarepackage.xml in it?

 --
 --
 W. Chris Shank
 ACE Technology Group
 www.myRemoteITdept.com



 -
 wpkg-users mailing list archives 
 http://lists.wpkg.org/pipermail/wpkg-users/
 ___
 wpkg-users mailing list
 wpkg-users@lists.wpkg.org
 http://lists.wpkg.org/mailman/listinfo/wpkg-users


-
wpkg-users mailing list archives  http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] getting started

2008-10-13 Thread mscdex
On 10/13/08, Kevin McMahan [EMAIL PROTECTED] wrote:
  Thanks a lot for the quick response!
 
   I guess I am still a bit confused on why there is host.xml
profile.xml and packages.xml if there are folders which should contain
these files as well.
 
   I finally got it to work by deleting the *.xml file inside of the
packages folder and just using the wpkg\packages.xml file for install
instead of duplicating it by also using wpkg\packages\*.xml
 
   I also renamed the host, profile and package ids to be a bit more
descriptive so that I could figure out what was calling what.
 
   Thanks again,
 
  -Kevin


Regarding the XML files, you can choose to do it one way or the other.
On one hand you can put all of your package definitions into a single
package.xml, all hosts into one hosts.xml, etc. OR you can separate
each package out, each host out, etc. into individual xml files that
are placed in the respective folders.

I personally use the second method, just because it's a little easier
for me to manage as I don't have to go scrolling through an entire xml
file to find the package (or host or profile) definition I want to
change. This is especially handy when you have a large collection of
package/host/profile definitions.

I hope that makes more sense.


Brian
-
wpkg-users mailing list archives  http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] deploy to a pilot group first?

2008-09-23 Thread mscdex
Why not just create a new profile (called pilot or something) that
contains the package to test, and then in your hosts.xml add this new
profile to selected hosts that are to pilot the new package. You would still
have to create a separate package entry with a unique id of course, but
that's the way I would go about it.

On 9/23/08, Kent Tong [EMAIL PROTECTED] wrote:



 Falko Trojahn-2 wrote:
 
  - increase the revision number, so nothing on the existing clients is
  changed, only the text file will be created/removed
 
  - create a new, at least identical package, say mypackage2; assign it
  to the test group, remove mypackage from the same group
 


 Hi Falko,

 Thanks for your reply! Take the mypackage2 as an example, will it use
 the same package id as mypackage?




 -
 --
 Kent Tong
 Wicket tutorials freely available at http://www.agileskills2.org/EWDW
 Axis2 tutorials freely available at http://www.agileskills2.org/DWSAA
 --

 View this message in context:
 http://www.nabble.com/deploy-to-a-pilot-group-first--tp19620583p19622617.html

 Sent from the WPKG - Users mailing list archive at Nabble.com.

 -

 wpkg-users mailing list archives 
 http://lists.wpkg.org/pipermail/wpkg-users/
 ___
 wpkg-users mailing list
 wpkg-users@lists.wpkg.org
 http://lists.wpkg.org/mailman/listinfo/wpkg-users

-
wpkg-users mailing list archives  http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Basic Question

2008-09-04 Thread mscdex
Regarding the dots on revision, AFAIK revision should always be an
integer, not a decimal or string. So I'd leave periods out of the revision
value.

On 9/4/08, Ronnie Carlos Tavares Nunes [EMAIL PROTECTED] wrote:

 Hi all,

 I would like understand how I have to do for wpkg install new updates.
 Follow the scenario:

 I have the following  thunderbird package:

 packages
 package
  id=thunderbird
  name=Mozilla Thunderbird
  revision=20014
  reboot=false
  priority=9
   check type=uninstall condition=exists path=Mozilla Thunderbird
 (2.0.0.14) /
   install cmd='%SOFTWARE%\thunderbird\Thunderbird Setup 2.0.0.14.exe
 -ms' /
   upgrade cmd='%SOFTWARE%\thunderbird\Thunderbird Setup 2.0.0.14.exe
 -ms' /
   remove cmd='%PROGRAMFILES%\Mozilla
 Thunderbird\uninstall\uninstall.exe -ms' /
 /package
 /packages

 Now I want install the Thunderbird 2.0.0.16. Question: Must I change
 revision to 2.0.0.16 and change all lines (check type, install cmd,
 upgrade cmd, remove cmd) to Thunderbird Setup 2.0.0.16.exe and put the
 archive on the path /software? I can put the dots on revision or leave
 like is it?

 Thanks,

 Ronnie.

 -
 wpkg-users mailing list archives 
 http://lists.wpkg.org/pipermail/wpkg-users/
 ___
 wpkg-users mailing list
 wpkg-users@lists.wpkg.org
 http://lists.wpkg.org/mailman/listinfo/wpkg-users

-
wpkg-users mailing list archives  http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Your system is in need of an update...

2008-08-21 Thread mscdex
If you are referring to WPKG Web, you need to execute the mysql commands
listed in the db/schema.sql file first.

On 8/21/08, Daniel Herr [EMAIL PROTECTED] wrote:


 Hey all!

 First of all I never used an online-mailing-list before, so I hope I'm
 doing
 anything right. This is the 2nd time I write this e-mail and I think I've
 got to get a new mail provider, since I send the old one to an non existing
 address and couldn't find it neither in my send objects nor in my sending
 folders, as it seems it has been deleted...

 Anyway I'm working for a local company this summer, for a month, and they
 set me to deploy WPKG for them.
 I successfully managed to write all packages and I'm not in the middle of
 the task to make them work with WPKG_WEB.

 Since this was the first time I ever used MySQL I followed each steps of
 this tutorial: http://www.expertsrt.com/tutorials/Matt/install-apache.html
 .
 I successfully setup up both, the apache and the MySQL Server. Experienced
 some minor problems during it, eg. couldn't connect, but got them all
 fixed.

 Unfortunately now I've run across an error I don't know what to do with.
 When connected to localhost:8080/index.php

 Your system is in need of an update... Cannot select
 pack_id,count(pack_id)
 as cnt from pack_checks group by pack_id --- Table 'ibdata1.pack_checks'
 doesn't exist

 MySQL and Apache are up and running, I can even connect and display the
 phpinfo.php page.

 Help would be greatly appreciated,
 Daniel Herr!
 --
 View this message in context:
 http://www.nabble.com/%22Your-system-is-in-need-of-an-update...-tp19086222p19086222.html
 Sent from the WPKG - Users mailing list archive at Nabble.com.

 -
 wpkg-users mailing list archives 
 http://lists.wpkg.org/pipermail/wpkg-users/
 ___
 wpkg-users mailing list
 wpkg-users@lists.wpkg.org
 http://lists.wpkg.org/mailman/listinfo/wpkg-users

-
wpkg-users mailing list archives  http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] new web-based wpkg manager

2008-08-03 Thread mscdex
Thank you for the suggestions. Regarding the XML import/export, I'm not sure
what the purpose of this would be? The way I imagined the frontend to be was
that it would work directly with the xml files on disk and none of that
information would be stored in a database.

XSD looks like it could indeed be useful. Personally I have never used XSDs,
so I'd have to learn the format, but that shouldn't be a problem really.

Your templates idea is a good one. One of the ideas I had been thinking
about recently was the possibility of having a central repository that would
hold packages. These would include not just the actual xml contents of the
wpkg package itself but also metadata like any sort of possible software
requirements needed by install/upgrade/remove steps (e.g. pskill, taskkill,
or any other utility) or other things they should know about the package.
Network administrators using the web interface could then pull in these
packages from the repository at the click of a button and have it inserted
into the packages directory or packages.xml file. This would save a step or
two and might make things a little more streamlined.

Ajax is something I had already planned on using. As you mentioned,
operations like re-ordering priorities of packages, checks, and other things
would greatly benefit from functionality like this and allow the opportunity
to be much more efficient.

As far as usability is concerned, I'm thinking about using an MVC framework
ala CakePHP. This way, if for some reason the default view does not work a
user generated template can be used instead. Although I will aim to create a
useful default interface from the get-go, I think having that option on the
table might be appealing to some?


Brian

On 8/3/08, Rainer Meier [EMAIL PROTECTED] wrote:

 Hi,

 mscdex wrote:

 Lately I've been tinkering with the idea of creating a new web-based
 utility to manage wpkg profiles, packages, etc. The existing wpkg web
 utility is outdated (last updated in mid-2007ish) and the maintainer for it
 appears to be no longer active. I believe having a decent (and active)
 frontend project would help a lot of people, even those of us who don't mind
 manually modifying XML files and such. It might even allow many of us to
 sell wpkg to some of our clients by showing them how easy it is to manage
 software deployment (for free!)


 I absolutely agree. Personally I am still using WPKG WEB even if it is
 unmaintained and I cannot use some features introduced by myself into WPKG
 ;-)
 In fact I could export the XML files at any time and continue to use XML
 files. I don't mind editing XML files but WPKG WEB provides a more nice
 interface and it is good if some GUI is available to show to some
 administrators looking for a software deployment tool like WPKG. So I really
 support the idea to develop a new web-based package management tool.

 So now let's list some suggestions:
 - XML import/export
 I think it is important to support exporting the resulting XML files. This
 helps for debugging or in case somebody will switch from GUI to manual XML
 edit.
 The import feature seems to be very important to me in order to support
 smooth migration. Probably it does not make much sense to migrate the
 current WPKG WEB database but just export all XML files from WPKG WEB and
 then import the XML files to the new GUI.

 - Support XSD
 I worked on some XSD files to define the syntax of package and other WPKG
 XML files. By loading the XSD file within the GUI it should be possible to
 provide an editor which displays a nice GUI with pull-down lists for
 enumerated lists, check field contents by XSD definition and so on. I am
 also thinking about a kind of advanced button on the package edit page
 which would allow to insert/edit all attributes according to XSD (in case
 the GUI does display only the most frequently used ones). This would allow
 to support new syntax, attributes and nodes even if they did not exist when
 the GUI was created.
 There might be a plain-XML tab/button as well to allow direct edit of the
 XML source (which is of course validated by XSD). This could even convince
 hard-core XML administrators to use the GUI as it offers full flexibility to
 them.

 - Templates
 Most packages are based on a small number of installers. For example NSIS,
 MSI and InnoSetup are very common. It would be nice if there would be some
 (customizable and extensible) templates available to the administrator. So
 one could click on create new NSIS package and a new package which already
 includes %SOFTWARE\softXY\setup.exe /S as the installer command and the
 likely.

 - Ajax
 Well, nice buzzword. I hate buzzwords. But in this case I see some very
 nice use cases. The current WPKG web interface for example allows to
 re-order checks or commands. However continously clicking on the ^ or v
 button to move an item up or down is annoying. The same applies for
 different sections of the XML files. I like the tabbed interface of WPKG

[wpkg-users] new web-based wpkg manager

2008-08-02 Thread mscdex
Lately I've been tinkering with the idea of creating a new web-based utility
to manage wpkg profiles, packages, etc. The existing wpkg web utility is
outdated (last updated in mid-2007ish) and the maintainer for it appears to
be no longer active. I believe having a decent (and active) frontend project
would help a lot of people, even those of us who don't mind manually
modifying XML files and such. It might even allow many of us to sell wpkg
to some of our clients by showing them how easy it is to manage software
deployment (for free!)

I have some ideas floating around but I thought I'd post here and see if
there are any specific features or functionality any of you would especially
like to see in a frontend like this.
-
wpkg-users mailing list archives  http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


[wpkg-users] WPKG.Utility

2008-07-16 Thread mscdex
Nice work. I just looked through the .wsc and noticed that in the header you
mention an isBlank function which doesn't exist. It should read isEmpty. I
was also thinking maybe the isEmpty function could be modified so that it
could work with Arrays as well as Strings. Keep up the good work.
-
wpkg-users mailing list archives  http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


[wpkg-users] auto-configuring adblock plus firefox extension

2008-06-24 Thread mscdex
I tried reaching the author of the adblock plus extension for firefox, but
haven't received any replies so I thought I might ask here if anyone out
there has been able to achieve this. I read the wiki page for firefox and
installing extensions and themes, and one of the extension package examples
listed is adblock plus. However, I was wondering if there is a way to
automatically set up adblock plus so that the subscription selection window
doesn't pop up when firefox restarts after installing the addon? None of the
preferences that adblock plus provides via about:config allow for setting
subscriptions, the closest I could find was some sort of subscription
fallback?
-
Reporting bugs, all WPKG mailing lists  http://wpkg.org/Support
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Message box for notifying users

2008-06-19 Thread mscdex
I've added links to screenshots of what I have so far in my message class on
the user contributed software wiki page.

On 6/18/08, mscdex [EMAIL PROTECTED] wrote:

 I agree using the wpkg client service would do this, but I am looking to
 have the smallest footprint possible by having everything executed from a
 script on the server. From what I've seen in the wpkg client, I've already
 been able to implement its features that I'd be using for my situation,
 using WSH (things like before and after wpkg processing, running as an
 account with higher privileges to allow software
 installations/upgrades/removals, etc) or small console utilities run from
 the server.

 On 6/18/08, Tomasz Chmielewski [EMAIL PROTECTED] wrote:

 mscdex schrieb:

 Right now the messages would work when wpkg.js is executed, after the
 user logs in. This situation is fine by me because I have certain domain
 groups assigned to at least a certain wpkg base profile (e.g. students,
 teachers, office staff) and so wpkg would need to be executed after logon. I
 have the client machine(s) set to not display the desktop shell until the
 logon scripts have completed and because of that all they see is a wallpaper
 background while wpkg is running (no sense in giving the user the idea wpkg
 is finished when it isn't, especially if an auto-reboot is required). I
 thought during this time if wpkg was performing any tasks, a useful
 message(s) could be shown so that the they do not assume the system has hung
 or has crashed.

 Also, I thought it would be especially nice to have a message displayed
 if an automatic reboot was needed after installing a new
 application/upgrade/removal, something like rebooting in 5 seconds...


 Wouldn't WPKG Client with logon delay enabled solve your problems,
 including rebooting in 5 seconds?

 Note that displaying custom messages is available in testing versions of
 wpkg.js and WPKG Client.


 --
 Tomasz Chmielewski
 http://wpkg.org



-
Reporting bugs, all WPKG mailing lists  http://wpkg.org/Support
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Message box for notifying users

2008-06-18 Thread mscdex
I agree using the wpkg client service would do this, but I am looking to
have the smallest footprint possible by having everything executed from a
script on the server. From what I've seen in the wpkg client, I've already
been able to implement its features that I'd be using for my situation,
using WSH (things like before and after wpkg processing, running as an
account with higher privileges to allow software
installations/upgrades/removals, etc) or small console utilities run from
the server.

On 6/18/08, Tomasz Chmielewski [EMAIL PROTECTED] wrote:

 mscdex schrieb:

 Right now the messages would work when wpkg.js is executed, after the user
 logs in. This situation is fine by me because I have certain domain groups
 assigned to at least a certain wpkg base profile (e.g. students, teachers,
 office staff) and so wpkg would need to be executed after logon. I have the
 client machine(s) set to not display the desktop shell until the logon
 scripts have completed and because of that all they see is a wallpaper
 background while wpkg is running (no sense in giving the user the idea wpkg
 is finished when it isn't, especially if an auto-reboot is required). I
 thought during this time if wpkg was performing any tasks, a useful
 message(s) could be shown so that the they do not assume the system has hung
 or has crashed.

 Also, I thought it would be especially nice to have a message displayed if
 an automatic reboot was needed after installing a new
 application/upgrade/removal, something like rebooting in 5 seconds...


 Wouldn't WPKG Client with logon delay enabled solve your problems,
 including rebooting in 5 seconds?

 Note that displaying custom messages is available in testing versions of
 wpkg.js and WPKG Client.


 --
 Tomasz Chmielewski
 http://wpkg.org


-
Reporting bugs, all WPKG mailing lists  http://wpkg.org/Support
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


[wpkg-users] Message box for notifying users

2008-06-17 Thread mscdex
First off I'd like to thank the developer(s) of WPKG for all the hard work
they've put into this. WPKG has proven to be extremely useful for a network
I'm currently setting up.

Recently while I was setting this network and WPKG up, I thought it would be
nice to have a message window of sorts display to inform the user of what
was happening while WPKG was executing. I noticed the messenger service is
currently used to inform the user of status updates, but it seemed to take
awhile to receive the message plus it'd be nice to have something that
didn't depend on the messenger service and looked a bit nicer.

So a few days ago or so I set out to code something in jscript that would
accomplish just this. My solution makes use of Internet Explorer automation
and works for IE5.00 through IE7 (on both Win2k (no/any service packs) and
WinXP (tested with SP2)). The code could use some more work and I may clean
it up and continue work on it in the following days, but I was mainly
concerned about it displaying the same for all mentioned browser versions.

My message box solution right now features the ability to simply specify an
(optional) title bar/header as well as the message text. Both the
background and foreground colors of the header and message text can be set,
and the message text can be optionally centered.

One last thing, on systems with IE7 installed I had to incorporate a
workaround to get messages to look like they do in IE5 through IE6. The
reason for this is because with IE7, there has been a security check put in
place to keep scripts on websites from resizing less than 250px wide and
100px tall (and from setting certain unallowed window positions).
Unfortunately I wasn't able to find a way to get around this using pure WSH
scripting so I wrote a tiny little AutoIt script (and compiled it to exe
form) that bypasses said limitations and it only executes when IE7 is
detected.

If anyone is interested in what I currently have, let me know and I'll see
if I can host it somewhere.
-
Reporting bugs, all WPKG mailing lists  http://wpkg.org/Support
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users