Re: [wpkg-users] WPKG Client 1.3.2 released (testing release)

2008-06-22 Thread Tomasz Chmielewski
Brian May schrieb:
 Tomasz Chmielewski wrote:
 * When using offline mode, logon delay window was displayed longer than 
 necessary on certain hardware setups (VMware, certain network cards 
 etc.)- should be fixed now, but please double check, as it was tested on 
 a limited set of hardware.
 
 I *think* I still have experienced this problem.

That would be unfortunate :(

Can you make sure when you find some free time?

What specs do these machines have, is it old or modern hardware in terms 
of speed (CPU, HDD, etc.)?

-- 
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] WPKG Client 1.3.2 released (testing release)

2008-06-22 Thread Brian May
Tomasz Chmielewski wrote:
 That would be unfortunate :(
 
 Can you make sure when you find some free time?
 
 What specs do these machines have, is it old or modern hardware in terms 
 of speed (CPU, HDD, etc.)?
 

Disconnected operation, with no access to server.

On a Compaq nc4200 laptop: 5-10 seconds login delay.

On a Dell Latitude D610: 1-2 seconds login delay.

On an older P4 computer (how are you suppose to read the BIOS screen 
when it flashes past so quickly?) with a dodgy hard disk (or maybe dodgy 
hard disk controller): 1-2 seconds delay.

Hmmm. Not nearly as long as several days ago (seemed to to take the full 
delay of 5 minutes on one occasion).

Something weird going on here. While 10 seconds isn't perfect, I 
consider it acceptable.

I will continue to try and reproduce the full delay again.

Brian May

-
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] WPKG Client 1.3.2 released (testing release)

2008-06-20 Thread Marco Gaiarin

 Mumble, mumble... or this apply only to 'always'?

Sorry, i'm really an idiot. ;(

Clearly the 'upgrade' clause have no mean for an 'always' execution
type, but for 'once' _have_ mean. ;(


I've added a 'upgrade' clause to my recipe (equal to the install one)
and now settings are correctly installed.


Sorry. ;(((

-- 
dott. Marco Gaiarin GNUPG Key ID: 240A3D66
  Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/
  Polo FVG  -  Via della Bontà, 7 - 33078  -  San Vito al Tagliamento (PN)
  marco.gaiarin(at)sv.lnf.it  tel +39-0434-842711  fax +39-0434-842797

Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA!
   http://www.lanostrafamiglia.it/chi_siamo/5xmille.php
(cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)
-
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] WPKG Client 1.3.2 released (testing release)

2008-06-19 Thread Marco Gaiarin
Mandi! Marco Gaiarin
  In chel di` si favelave...

 Yes, seems to work.
 Forced an immediate reboot, tomorrow i will test with an
 REBOOT=ReallySuppress.

I confirm that works. The recipe i use to update WPKG is:

  package
id=wpkg
name=WPKG
revision=1211
priority=100
reboot=false

check type=uninstall condition=exists path=WPKG /

install cmd='msiexec /qn /i %SOFTWARE%\WPKG\WPKG Client 1.2.1.msi 
SETTINGSFILE=%WPKGROOT%\settings.xml ALLUSERS=1 REBOOT=ReallySuppress' 
exit code=0 /
exit code=3010 reboot=postponed /
/install  
upgrade cmd='msiexec /qn /i %SOFTWARE%\WPKG\WPKG Client 1.2.1.msi 
SETTINGSFILE=%WPKGROOT%\settings.xml ALLUSERS=1 REBOOT=ReallySuppress' 
exit code=0 /
exit code=3010 reboot=postponed /
/upgrade
remove cmd='msiexec /qn /x{FD883F05-6D6B-4E81-8FD7-B209FEF750CD}' /
  /package


I've also noted a strange thing: i also use this recipe:

  package
id=wpkg-settings
name=WPKG Settings
revision=10
priority=5
reboot=false
execute=once
depends package-id=wpkg/

install cmd='%ProgramFiles%\WPKG\wpkginst.exe 
--SETTINGSFILE=%WPKGROOT%\settings.xml' /
  /package

to upgrade the wpkg configuration, but seems not to work.


1) if i run it, no error show up, but nothing happened.

2) if i run the %ProgramFiles%\WPKG\wpkginst.exe 
--SETTINGSFILE=%WPKGROOT%\settings.xml
 command manually from a command prompt, data are imported (so, the xml
seems have no error).

3) even if i run the 'wpkg' recipe with the same installer (eg, upgrade
 revision but using the same 'WPKG Client 1.2.1.msi' just installed)
the machine does not reboot (clever windows! There's no need to reboot
if i substitute a file with another one perfectly eqal! ;), but settings
are not imported.


Seems to me that 'wpkginst.exe --SETTINGSFILE=' can be used only if
WPKGClient was not running, and this is rather unoptimal

-- 
dott. Marco Gaiarin GNUPG Key ID: 240A3D66
  Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/
  Polo FVG  -  Via della Bontà, 7 - 33078  -  San Vito al Tagliamento (PN)
  marco.gaiarin(at)sv.lnf.it  tel +39-0434-842711  fax +39-0434-842797

Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA!
   http://www.lanostrafamiglia.it/chi_siamo/5xmille.php
(cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)
-
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] WPKG Client 1.3.2 released (testing release)

2008-06-19 Thread Tomasz Chmielewski
Marco Gaiarin schrieb:

(...)

 I've also noted a strange thing: i also use this recipe:
 
   package
 id=wpkg-settings
 name=WPKG Settings
 revision=10
 priority=5
 reboot=false
 execute=once
 depends package-id=wpkg/
 
 install cmd='%ProgramFiles%\WPKG\wpkginst.exe 
 --SETTINGSFILE=%WPKGROOT%\settings.xml' /
   /package
 
 to upgrade the wpkg configuration, but seems not to work.

Is %WPKGROOT% a password-protected share?


-- 
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] WPKG Client 1.3.2 released (testing release)

2008-06-19 Thread Marco Gaiarin
Mandi! Tomasz Chmielewski
  In chel di` si favelave...

 Is %WPKGROOT% a password-protected share?

No, guest access, file mode 664.

(seems no a file access problem, on new install the settings file are
correctly loaded...)

-- 
dott. Marco Gaiarin GNUPG Key ID: 240A3D66
  Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/
  Polo FVG  -  Via della Bontà, 7 - 33078  -  San Vito al Tagliamento (PN)
  marco.gaiarin(at)sv.lnf.it  tel +39-0434-842711  fax +39-0434-842797

Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA!
   http://www.lanostrafamiglia.it/chi_siamo/5xmille.php
(cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)
-
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] WPKG Client 1.3.2 released (testing release)

2008-06-19 Thread Brian May
Marco Gaiarin wrote:
 I've also noted a strange thing: i also use this recipe:
 
   package
 id=wpkg-settings
 name=WPKG Settings
 revision=10
 priority=5
 reboot=false
 execute=once
 depends package-id=wpkg/
 
 install cmd='%ProgramFiles%\WPKG\wpkginst.exe 
 --SETTINGSFILE=%WPKGROOT%\settings.xml' /
   /package
 
 to upgrade the wpkg configuration, but seems not to work.

Don't you need to have an upgrade line here? e.g.

upgrade timeout=15 cmd='%PROGRAMFILES%\WPKG\wpkginst.exe 
--SETTINGSFILE=%SOFTWARE%\wpkg\settings.xml' /

Or am I wrong?

Brian May

-
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] WPKG Client 1.3.2 released (testing release)/execution on the s

2008-06-19 Thread Brian May
Tomasz Chmielewski wrote:
 Did you have it scheduled at startup or at shutdown?

I have the same problem; scheduled at startup for me.

Brian May

-
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] WPKG Client 1.3.2 released (testing release)

2008-06-19 Thread Brian May
Tomasz Chmielewski wrote:
 * When using offline mode, logon delay window was displayed longer than 
 necessary on certain hardware setups (VMware, certain network cards 
 etc.)- should be fixed now, but please double check, as it was tested on 
 a limited set of hardware.

I *think* I still have experienced this problem.
Unfortunately, I currently have my hands full debugging other weird 
happenings (ranging from Samba/Linux oplock problems through to the 
latest - wpkg runs but doesn't log anything).

As such isolating this issue is not currently a high priority :-(.

Now on to debug the case of the missing log files. There were working 
fine, just this morning.

Brian May

-
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] WPKG Client 1.3.2 released (testing release)

2008-06-18 Thread Marco Gaiarin

  I think it should also upgrade if you have Windows Installer 3.1, but I 
  didn't test it personally.

Yes, seems to work.

Forced an immediate reboot, tomorrow i will test with an
REBOOT=ReallySuppress.


Cool! ;)

-- 
dott. Marco Gaiarin GNUPG Key ID: 240A3D66
  Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/
  Polo FVG  -  Via della Bontà, 7 - 33078  -  San Vito al Tagliamento (PN)
  marco.gaiarin(at)sv.lnf.it  tel +39-0434-842711  fax +39-0434-842797

Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA!
   http://www.lanostrafamiglia.it/chi_siamo/5xmille.php
(cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)
-
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] WPKG Client 1.3.2 released (testing release)

2008-06-17 Thread Marco Gaiarin

I forgot to say.


Please, build a WPKGClient .msi installer that are able to upgrade
itself as soon as possible, i think this is the real priority now,
new features will come. ;)

-- 
dott. Marco Gaiarin GNUPG Key ID: 240A3D66
  Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/
  Polo FVG  -  Via della Bontà, 7 - 33078  -  San Vito al Tagliamento (PN)
  marco.gaiarin(at)sv.lnf.it  tel +39-0434-842711  fax +39-0434-842797

Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA!
   http://www.lanostrafamiglia.it/chi_siamo/5xmille.php
(cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)
-
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] WPKG Client 1.3.2 released (testing release)

2008-06-17 Thread Tomasz Chmielewski
Marco Gaiarin schrieb:
 I forgot to say.
 
 
 Please, build a WPKGClient .msi installer that are able to upgrade
 itself as soon as possible, i think this is the real priority now,
 new features will come. ;)

It should be able to upgrade itself, provided you have Windows Installer 
3.1 installed.

Doesn't it work for you?


-- 
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] WPKG Client 1.3.2 released (testing release)

2008-06-17 Thread Tomasz Chmielewski
Marco Gaiarin schrieb:
 Mandi! Tomasz Chmielewski
   In chel di` si favelave...
 
 It should be able to upgrade itself, provided you have Windows Installer 
 3.1 installed.
 Doesn't it work for you?
 
 I meant: release please a fixed 1.2.X version, or release 1.4.0 without
 loosing too much time on new feature. ;-)

I think it should also upgrade if you have Windows Installer 3.1, but I 
didn't test it personally.

-- 
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] WPKG Client 1.3.2 released (testing release)/execution on the s

2008-06-17 Thread Jens Geile
Hi,

 Does it (or Event Log) say failed to stop the service?
 Or it just take (veeery) long to stop?
I can confirm that it takes (veeery) long to stop the service. During my 
testing I started the service manually using net start wpkgservice and even 
after wpkg was done with everything I cannot start the service again for like 2 
minutes or so. Even net stop wpkgservice doesn't work, telling me that the 
service cannot be stopped in its current state.

-
jens
-
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] WPKG Client 1.3.2 released (testing release)/execution on the s

2008-06-17 Thread Tomasz Chmielewski
Jens Geile schrieb:
 Hi,
 
 Does it (or Event Log) say failed to stop the service?
 Or it just take (veeery) long to stop?
 I can confirm that it takes (veeery) long to stop the service. During my 
 testing I started the service manually using net start wpkgservice and even 
 after wpkg was done with everything I cannot start the service again for like 
 2 minutes or so. Even net stop wpkgservice doesn't work, telling me that 
 the service cannot be stopped in its current state.

Did you have it scheduled at startup or at shutdown?


-- 
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] WPKG Client 1.3.2 released (testing release)/execution on the s

2008-06-17 Thread Marco Gaiarin
Mandi! Tomasz Chmielewski
  In chel di` si favelave...

  I can confirm that it takes (veeery) long to stop the service. During my 
  testing I started the service manually using net start wpkgservice and 
  even after wpkg was done with everything I cannot start the service again 
  for like 2 minutes or so. Even net stop wpkgservice doesn't work, telling 
  me that the service cannot be stopped in its current state.
 Did you have it scheduled at startup or at shutdown?

I feel the same, and i've scheduled at startup.

-- 
dott. Marco Gaiarin GNUPG Key ID: 240A3D66
  Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/
  Polo FVG  -  Via della Bontà, 7 - 33078  -  San Vito al Tagliamento (PN)
  marco.gaiarin(at)sv.lnf.it  tel +39-0434-842711  fax +39-0434-842797

Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA!
   http://www.lanostrafamiglia.it/chi_siamo/5xmille.php
(cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)
-
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] WPKG Client 1.3.2 released (testing release)

2008-06-17 Thread Marco Gaiarin
Mandi! Tomasz Chmielewski
  In chel di` si favelave...

 I think it should also upgrade if you have Windows Installer 3.1, but I 
 didn't test it personally.

You are saying that 1.2.X just works?

-- 
dott. Marco Gaiarin GNUPG Key ID: 240A3D66
  Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/
  Polo FVG  -  Via della Bontà, 7 - 33078  -  San Vito al Tagliamento (PN)
  marco.gaiarin(at)sv.lnf.it  tel +39-0434-842711  fax +39-0434-842797

Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA!
   http://www.lanostrafamiglia.it/chi_siamo/5xmille.php
(cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)
-
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] WPKG Client 1.3.2 released (testing release)/execution on the s

2008-06-17 Thread Jens Geile
Hi,

   Does it (or Event Log) say failed to stop the service?
   Or it just take (veeery) long to stop?
  I can confirm that it takes (veeery) long to stop the service. During my 
  testing I started the service manually using net start wpkgservice and 
  even after wpkg was done with everything I cannot start the service again 
  for like 2 minutes or so. Even net stop wpkgservice doesn't work, telling 
  me that the service cannot be stopped in its current state.
 Did you have it scheduled at startup or at shutdown?
Scheduled on startup, but as I said, in these cases I started it manually 
through the commandline.

-
jens
-
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] WPKG Client 1.3.2 released (testing release)

2008-06-16 Thread Tomasz Chmielewski
Marco Gaiarin schrieb:
 Mandi! Tomasz Chmielewski
   In chel di` si favelave...
 
 Please, explain a bit how it works... please...
 Hmm, what works?
 It schedules either on startup or shutdown.
 Right now, you can't schedule the service to execute the sequence both 
 on startup and or shutdown.
 But it will change soon - it will be possible to specify both (and on 
 reboot, if possible).
 
 I meant: service start at boot *AND* shutdown? Or effectively the
 service are started only at boot *OR* shutdown?

Right now, it is scheduled either at start *OR* at shutdown.

This should change to both (and/or) - see some mockups here:

http://wpkg.org/files/mockups/


 There's no download phase, or service start at boot, parse xml and
 download files and then on shutdown install them?

No, nothing like that, and it's not planned so far.

WPKG Client just executes wpkg.js.

Parsing XML is relatively fast so it doesn't make much sense to do it 
earlier.

Downloading files at boot, executing the installation on shutdown - yeah 
it is some idea, but it would need a lot of changes in both WPKG 
(wpkg.js) and WPKG Client. With majority of installers kept on a local 
server, I doubt it's worth the effort.


-- 
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] WPKG Client 1.3.2 released (testing release) / execution on the system shutdown

2008-06-15 Thread Gerd Ott
Yes, it works without a execute before script !
(Even if there is an eventlog error saying Starting WPKG on shutdown)

I had as well a script running execute before, which was just
updating the wpkg-settings. (%PROGRAMFILES%\WPKG\wpkginst.exe
--SETTINGSFILE=\\server\share\settings.xml)

After changing this to execute after the script doesn't start
anymore with an eventlog error CreateProcess- System can't find the
path... Perhaps because the shutdown process has already disabled
network connections.
But I could live without execute befor/after scripts and update
wpkg-settings within a package or so.

Thanks,
Gerd

Tomasz Chmielewski schrieb:
...
 
 I tested once again, and it works just fine. I just had a script in
 execute before which was exiting very fast with a non-zero exit code...
 
 Otherwise, it works fine on system shutdown on Windows 2000 SP4.
 
 Could you re-verify that it works for you?
 
 One note: when you make changes in wpkginst.exe (i.e. schedule on
 shutdown, before was on startup), the changes will be available when you
 restart the WPKG service (or machine).
 So if you made a change in wpkginst.exe it is proper behaviour that you
 didn't see it when you made a shutdown right after that.
 
 Perhaps a notice window should be shown to a user to make this clear.
 
 
-
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] WPKG Client 1.3.2 released (testing release) / execution on the system shutdown

2008-06-14 Thread Tomasz Chmielewski
Tomasz Chmielewski schrieb:
 Tomasz Chmielewski schrieb:
 Gerd Ott schrieb:
 Hallo,
 Scheduling the execution on system shutdown works fine on a XP-System
 here. Thanks for your investment!

 On a win2000 testbox (SP4, all windows-updates, installer 3.1)
 execution does not start on shutdown, no errors in eventlog. Perhaps
 it's even not possible with this OS-version?
 Hmm, I must check.

 Thanks for reporting.
 
 OK - it does start on shutdown, but it's killed very fast by the system.
 Not good.
 
 Investigating.

I tested once again, and it works just fine. I just had a script in 
execute before which was exiting very fast with a non-zero exit code...

Otherwise, it works fine on system shutdown on Windows 2000 SP4.

Could you re-verify that it works for you?

One note: when you make changes in wpkginst.exe (i.e. schedule on 
shutdown, before was on startup), the changes will be available when you 
restart the WPKG service (or machine).
So if you made a change in wpkginst.exe it is proper behaviour that you 
didn't see it when you made a shutdown right after that.

Perhaps a notice window should be shown to a user to make this clear.


-- 
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] WPKG Client 1.3.2 released (testing release)

2008-06-14 Thread Tomasz Chmielewski
Berge Schwebs Bjørlo schrieb:
 On Fri, Jun 13, 2008 at 05:15:52PM +0200, Marco Gaiarin wrote:
 I've done it:

  C:\WINDOWS\system32msiexec /qb /i 
 \\media\software\shareware\Utility\WPKG\WPKG Client 1.3.2.msi 
 SETTINGSFILE=\\file\wpkg\settings.xml ALLUSERS=1
  C:\WINDOWS\system32echo %ERRORLEVEL%
  0
 
 FWIW: Running msiexec witn /qn instead of /qb will not install WPKG Client
 1.3.2 - Windows will complain about wpkglogon.dll being in use in the event
 log and refuse to install the package. (Magically, it seems to work with
 /qb.)

Are you sure?

Although msiexec complains that wpkglogon.dll and WPKGSrv.exe are in 
use, it will resume the installation after reboot. You may verify it 
i.e. in the Event Log.

At least it works that way here on Windows XP.


-- 
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] WPKG Client 1.3.2 released (testing release)

2008-06-14 Thread Berge Schwebs Bjørlo
On Sat, Jun 14, 2008 at 10:46:04PM +0200, Tomasz Chmielewski wrote:
 Berge Schwebs Bjørlo schrieb:
 FWIW: Running msiexec witn /qn instead of /qb will not install WPKG Client
 1.3.2 - Windows will complain about wpkglogon.dll being in use in the
 event log and refuse to install the package. (Magically, it seems to work
 with /qb.)

 Are you sure?

Not at all, I never am with Windows-stuff. (-:

 Although msiexec complains that wpkglogon.dll and WPKGSrv.exe are in  use,
 it will resume the installation after reboot. You may verify it  i.e. in
 the Event Log.

Oh, I never tried booting it and see if the installation resumed. IIRC it
never asked be to reboot either, though.

But the installation does exit with code 3010, which is the reboot-needed
exit code for MSI-packages, so my guess is that you're quite right - it will
work, given a reboot.

I solved it by upgrading WPKG Client on our Windows boxes with WPKG itself,
with a exit code='3010' reboot='true' /-tag. Works fine.

Sincereley,
-Berge

-- 
Berge Schwebs Bjørlo
Alegría!
-
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] WPKG Client 1.3.2 released (testing release) / execution on the system shutdown

2008-06-13 Thread Gerd Ott
Hallo,
Scheduling the execution on system shutdown works fine on a XP-System
here. Thanks for your investment!

On a win2000 testbox (SP4, all windows-updates, installer 3.1)
execution does not start on shutdown, no errors in eventlog. Perhaps
it's even not possible with this OS-version?
Greetings,
Gerd


Tomasz Chmielewski schrieb:

 
 * It is now possible to schedule the execution on the system shutdown.
 Two weeks agot this seems totally impossible, what changed?
 A miracle? ;-)))
 
 I'd call it an investment in research and development ;)
 
 
-
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] WPKG Client 1.3.2 released (testing release)

2008-06-13 Thread Marco Gaiarin
Mandi! Tomasz Chmielewski
  In chel di` si favelave...

 Windows Installer 3.1 has to be installed. With it, it is able to 
 upgrade MSI packages where there are files in use.

Ok, windows installer 3.1 are OK. Windows XP SP2 with all updates
applied.


 At least it works that way when double clicked on a MSI package (it will 
 perform an upgrade, and after installation will display a window that a 
 reboot is needed).
 Didn't actually try to do it from the command line, so someone might 
 want to check it?

I've done it:

C:\WINDOWS\system32msiexec /qb /i 
\\media\software\shareware\Utility\WPKG\WPKG Client 1.3.2.msi 
SETTINGSFILE=\\file\wpkg\settings.xml ALLUSERS=1
C:\WINDOWS\system32echo %ERRORLEVEL%
0

Two note:

1) the settings file was the 'plain' 0.X settings file, and the
 installer took it without complain (i remember 0.9 that bombs out with
the wrong version of xml file). Very _very_ good.

2) effectively the install goes well, after reboot the service works
 and all was at the right place. But... the question about rebooting
now or later WAS DISPLAYED also if 've used /qb.
So you have made an installer non-silent for a silent installation
system. ;)


Two more little note:

3) seems that the service log an error, but seems not a real error,
probably an intended 'debug' or a mistake in marking events:

Tipo evento:Errore
Origine evento: WpkgService
Categoria evento:   Nessuno
ID evento:  1
Data:   13/06/2008
Ora:17.09.01
Utente: N/D
Computer:   VOLDEMORT
Descrizione:
Starting WPKG on startup

4) i've noted that if you enable the 'stop service when all action are
done' switch and there's nothing to do, windows now and then complain
that 'the service start and stop too quickly', consider to add a one
or two seconds delay in such case.


Apart that, and apart the wpkginst.exe interface that clearly need
cleanup, seems to work quite well.

I've not tested the 'install on shutdown'feature: if i choose this, i
can/have to disable the delay logon? Can you explain a bit?


Many thanks!

-- 
dott. Marco Gaiarin GNUPG Key ID: 240A3D66
  Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/
  Polo FVG  -  Via della Bontà, 7 - 33078  -  San Vito al Tagliamento (PN)
  marco.gaiarin(at)sv.lnf.it  tel +39-0434-842711  fax +39-0434-842797

Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA!
   http://www.lanostrafamiglia.it/chi_siamo/5xmille.php
(cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)
-
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] WPKG Client 1.3.2 released (testing release)

2008-06-13 Thread Tomasz Chmielewski
Marco Gaiarin schrieb:

 2) effectively the install goes well, after reboot the service works
  and all was at the right place. But... the question about rebooting
 now or later WAS DISPLAYED also if 've used /qb.
 So you have made an installer non-silent for a silent installation
 system. ;)

It should not display a question if you use a /noreboot flag to msiexec:

msiexec /norestart ...


 Two more little note:
 
 3) seems that the service log an error, but seems not a real error,
 probably an intended 'debug' or a mistake in marking events:
 
   Tipo evento:Errore
   Origine evento: WpkgService
   Categoria evento:   Nessuno
   ID evento:  1
   Data:   13/06/2008
   Ora:17.09.01
   Utente: N/D
   Computer:   VOLDEMORT
   Descrizione:
   Starting WPKG on startup

Errore? Nessuno? I didn't know there are hardcoded Italian messages 
in WPKG Client ;)

Does it always show up?


 4) i've noted that if you enable the 'stop service when all action are
 done' switch and there's nothing to do, windows now and then complain
 that 'the service start and stop too quickly', consider to add a one
 or two seconds delay in such case.

OK.


 Apart that, and apart the wpkginst.exe interface that clearly need
 cleanup, seems to work quite well.

Any ideas how to name the tabs? General?, Common? are not the best 
names, I guess?


 I've not tested the 'install on shutdown'feature: if i choose this, i
 can/have to disable the delay logon? Can you explain a bit?

Right now, it's either on startup or on shutdown.
This should change.


-- 
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] WPKG Client 1.3.2 released (testing release)

2008-06-13 Thread Marco Gaiarin
Mandi! Tomasz Chmielewski
  In chel di` si favelave...

 It should not display a question if you use a /noreboot flag to msiexec:
 msiexec /norestart ...

?! msiexec does not have such a switch...

http://support.microsoft.com/?scid=kb%3Ben-us%3B227091x=7y=16


  Tipo evento:Errore
  Origine evento: WpkgService
  Categoria evento:   Nessuno
  ID evento:  1
  Data:   13/06/2008
  Ora:17.09.01
  Utente: N/D
  Computer:   VOLDEMORT
  Descrizione:
  Starting WPKG on startup
 Errore? Nessuno? I didn't know there are hardcoded Italian messages 
 in WPKG Client ;)

It was a sysevent message right after 'WPKG
Service-SERVICE_START_PENDING: successfuly done' and right before
'Before create shared memory: successfuly done.'.

Tipo evento - event type
Origine evento - event origin
Categoria evento - event cathegory (Nessuno mena nothing/no one)
Utente - user
Descrizione - description

 Does it always show up?

Yes.


 Any ideas how to name the tabs? General?, Common? are not the best 
 names, I guess?

No, now any good idea, i will recheck on monday...


  I've not tested the 'install on shutdown'feature: if i choose this, i
  can/have to disable the delay logon? Can you explain a bit?
 Right now, it's either on startup or on shutdown.
 This should change.

Please, explain a bit how it works... please...


bye, good weekend.

-- 
dott. Marco Gaiarin GNUPG Key ID: 240A3D66
  Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/
  Polo FVG  -  Via della Bontà, 7 - 33078  -  San Vito al Tagliamento (PN)
  marco.gaiarin(at)sv.lnf.it  tel +39-0434-842711  fax +39-0434-842797

Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA!
   http://www.lanostrafamiglia.it/chi_siamo/5xmille.php
(cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)
-
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] WPKG Client 1.3.2 released (testing release)

2008-06-13 Thread Tomasz Chmielewski
Marco Gaiarin schrieb:
 Mandi! Tomasz Chmielewski
   In chel di` si favelave...
 
 It should not display a question if you use a /noreboot flag to msiexec:
 msiexec /norestart ...
 
 ?! msiexec does not have such a switch...
 
   http://support.microsoft.com/?scid=kb%3Ben-us%3B227091x=7y=16

Confused with documentation above?

Start msiexec /?, it will present you a different set of options.


(...)

 Does it always show up?
 
 Yes.

I'll take a look.


 Any ideas how to name the tabs? General?, Common? are not the best 
 names, I guess?
 
 No, now any good idea, i will recheck on monday...
 
 
 I've not tested the 'install on shutdown'feature: if i choose this, i
 can/have to disable the delay logon? Can you explain a bit?
 Right now, it's either on startup or on shutdown.
 This should change.
 
 Please, explain a bit how it works... please...

Hmm, what works?

It schedules either on startup or shutdown.
Right now, you can't schedule the service to execute the sequence both 
on startup and or shutdown.
But it will change soon - it will be possible to specify both (and on 
reboot, if possible).


-- 
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] WPKG Client 1.3.2 released (testing release) / execution on the system shutdown

2008-06-13 Thread Tomasz Chmielewski
Tomasz Chmielewski schrieb:
 Gerd Ott schrieb:
 Hallo,
 Scheduling the execution on system shutdown works fine on a XP-System
 here. Thanks for your investment!

 On a win2000 testbox (SP4, all windows-updates, installer 3.1)
 execution does not start on shutdown, no errors in eventlog. Perhaps
 it's even not possible with this OS-version?
 
 Hmm, I must check.
 
 Thanks for reporting.

OK - it does start on shutdown, but it's killed very fast by the system.
Not good.

Investigating.


-- 
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] WPKG Client 1.3.2 released (testing release)

2008-06-13 Thread Berge Schwebs Bjørlo
On Fri, Jun 13, 2008 at 05:15:52PM +0200, Marco Gaiarin wrote:
 I've done it:
 
   C:\WINDOWS\system32msiexec /qb /i 
 \\media\software\shareware\Utility\WPKG\WPKG Client 1.3.2.msi 
 SETTINGSFILE=\\file\wpkg\settings.xml ALLUSERS=1
   C:\WINDOWS\system32echo %ERRORLEVEL%
   0

FWIW: Running msiexec witn /qn instead of /qb will not install WPKG Client
1.3.2 - Windows will complain about wpkglogon.dll being in use in the event
log and refuse to install the package. (Magically, it seems to work with
/qb.)

-B

-- 
Berge Schwebs Bjørlo
Alegría!
-
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] WPKG Client 1.3.2 released (testing release)

2008-06-12 Thread Tomasz Chmielewski
Marco Gaiarin schrieb:
 Mandi! Tomasz Chmielewski
   In chel di` si favelave...
 
 * Upgrading should work even if the service is running. In fact, it 
 probably worked earlier: prerequisite - Windows Installer 3.1 installed.
 
 Ahem, sorry, can you explain better this?
 I'm stuck with WPKGClient 0.X for this, i'm curious to know how you
 have solved...

Windows Installer 3.1 has to be installed. With it, it is able to 
upgrade MSI packages where there are files in use.

At least it works that way when double clicked on a MSI package (it will 
perform an upgrade, and after installation will display a window that a 
reboot is needed).

Didn't actually try to do it from the command line, so someone might 
want to check it?


 * It is now possible to schedule the execution on the system shutdown.
 
 Two weeks agot this seems totally impossible, what changed?
 A miracle? ;-)))

I'd call it an investment in research and development ;)


-- 
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] WPKG Client 1.3.2 released (testing release)

2008-06-11 Thread Tomasz Chmielewski
WPKG Client 1.3.2 has been released.

This is *not* intended for production environments and is designed for 
testing purposes only.

It is available for download at http://wpkg.org/files/client/beta/

Changes:

* When using offline mode, logon delay window was displayed longer than 
necessary on certain hardware setups (VMware, certain network cards 
etc.)- should be fixed now, but please double check, as it was tested on 
a limited set of hardware.

* Upgrading should work even if the service is running. In fact, it 
probably worked earlier: prerequisite - Windows Installer 3.1 installed.

* It is now possible to schedule the execution on the system shutdown.

* Support for /sendStatus feature present in the milestone releases of 
WPKG (1.1.0-M3 and later): logon delay window will display some status 
messages printed by wpkg.js

* Fixed bug 90 (make WPKG Client window fit on 640x480 screen resolution)

* (Re)starting/stopping the service on remote machines

* Some more debugging (logging to a file etc.)



Still to do:

* 64 bit version - it will be made when all issues in the 32 bit version 
are ironed out.

* wpkginst.exe window layout - it's a bit messy right now. Suggestions, 
mockups are welcome!

* Branding - possibility to change the title of the WPKG logon window 
(it now displays WPKG Software Deployment) and add your own logo there.


When all these features are implemented and remaining issues fixed, WPKG 
Client will be released as 1.4.x series.

Please test, report...


-- 
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