Re: [wpkg-users] Install of DirectX - Web Installer fails with Version WPKG 1.0-rc5

2008-01-08 Thread Tomasz Chmielewski
Christian Böse schrieb:

 Oh it installs when I set the Show GUI. But when this is disabled it
 produce these mistakes
 So, DirectX installer bails out when it can't access the real display.

 Similar will happen when trying to change resolution with some
 resolution-changing tools.


 Are you 100% sure that it worked with a previous version of WPKG Client?
 And that it's exactly the same DirectX installer with exactly the same
 installation flags?
 
 
 I tested it again and sorry the previous version also produce this mistake.
 It only solves the problem to enable the gui.


Here installation instructions / silent flags are a bit different from 
the ones used by you - you might try those:

http://wpkg.org/DirectX

It works for me.


-- 
Tomasz Chmielewski
-
Easy Software Deployment  http://wpkg.org
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Install of DirectX - Web Installer fails with Version WPKG 1.0-rc5

2008-01-08 Thread Tomasz Chmielewski
Christian Böse schrieb:

 Here installation instructions / silent flags are a bit different from
 the ones used by you - you might try those:

 http://wpkg.org/DirectX

 It works for me.
 
 I tested this but also recieves an error that is different.
 The Package only describes the installation of Offline Installation Method
 of DirectX installation.
 I use the Web installer that is getting the newest DirectX files. I added
 this one to http://wpkg.org/DirectX

Does it solve an error that is different you described earlier?


-- 
Tomasz Chmielewski
http://wpkg.org
-
Easy Software Deployment  http://wpkg.org
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] WPKG Client 1.2rc6 service doesnt install or start (XP SP2)

2008-01-14 Thread Tomasz Chmielewski
Phil Burrow schrieb:
 Tomasz Chmielewski wrote:
 
 This seems to be an issue for some users. Perhaps we should add a domain 
 automatically if none was present. Right now, I'll add it to the FAQ.
 
 Sorry for the double post, but having read your FAQ entry you describe a 
 different issue to the one I had! I added the domain to the connection 
 user (wpkg) rather than the one under which WPKG runs (which I left as 
 SYSTEM).
 
 I was logged on as a local administrator on the workstation, so Windows 
 was probably submitting WORKSTATION\wpkg as the user rather than 
 DOMAIN\wpkg. Although the test function on the client showed OK.

Oops, it looks like I confused the fields - I knew there is this issue, 
but forgot if it was the network user or the user executing the service.

I corrected the FAQ.


So, does it work fine for you now?


The test should be corrected, I agree.




-- 
Tomasz Chmielewski
http://wpkg.org
-
Easy Software Deployment  http://wpkg.org
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] WPKG Client 1.2rc6 service doesnt install or start (XP SP2)

2008-01-14 Thread Tomasz Chmielewski
Phil Burrow schrieb:
 Tomasz Chmielewski wrote:
 
 So, does it work fine for you now?
 
 It does other than the service wont install using the client: I have to 
 do it manually. Only have to do it once so it's not too much of a 
 problem, though!

Hmm, something is not right here.

Does it work if you uninstall WPKG Client and install it again?


Can you send your config.xml here? If you have any passwords, replace 
them with a secret word.


-- 
Tomasz Chmielewski
http://wpkg.org

-
Easy Software Deployment  http://wpkg.org
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] wpkg Forum

2008-01-28 Thread Tomasz Chmielewski
[EMAIL PROTECTED] schrieb:
 Dear list,
 
 being new to wpkg puts me into the position to be in need of
 information, most likely questions that have been asked and answered
 several times already.
 
 I've got it running after about a week now (just a test scenario with
 ~50 PCs) but I, and many others aswell I'd guess, found it hard to
 search the mailinglist-archives compared to a well categorized
 forum.
 
 One big point against a (seperate) forum is that information would be
 split, which should be avoided if possible, this is what keeps me from
 just sitting down and start working on one.
 
 I'd like to see your guys opinions on this, maybe other points for or
 against it, solutions etc.. It is by all means not my intention to
 create anything the majority wouldn't like or use anyway, so please
 let me know what you think about it.

Personally, I'm not a fan of forums and find them hard to follow when 
compared to a plain mailing list.


-- 
Tomasz Chmielewski
http://wpkg.org
-
Do you use WPKG? Tell us how!  http://wpkg.org/Testimonials
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Re gexp in hosts.xml - profile-id = name

2008-01-29 Thread Tomasz Chmielewski
delSys schrieb:
 
 mangoo wrote:
 Really, you have 100 *different* profiles?

 I know, that sounds crazy, but this file is generated automatically, so that
 is no problem for me.
 Shure, some profiles are identical, but i think nearly 75 percent of them
 are different.
 
 
 mangoo wrote:
 Does this one work for you

 I have no idea how to use these in this issue, because the problem is the
 same: I need the current workstation name.
 
 Is there a default variable which contains the name of the current client?
 That would be the easiest way.

http://wpkg.org/Windows_environment_variables

COMPUTERNAME?


-- 
Tomasz Chmielewski


-
Do you use WPKG? Tell us how!  http://wpkg.org/Testimonials
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] wpkg Forum

2008-01-30 Thread Tomasz Chmielewski
Marco Gaiarin schrieb:
 Mandi! Tomasz Chmielewski
   In chel di` si favelave...
 
 Personally, I'm not a fan of forums and find them hard to follow when 
 compared to a plain mailing list.
 
 Forums are for (l)user, sysadmins are addicted to lists. ;)
 
 
 Pratically speaking: could be that this list can be subscribed to some
 service like nabble or gmane that simply archive posts in a more
 'forum-like' way?

I think it is subscribed to both nabble and gmane already, and some 
others, like http://marc.info and http://opensubscriber.org, too.
And of course there is http://lists.wpkg.org ;)


-- 
Tomasz Chmielewski
http://wpkg.org

-
Do you use WPKG? Tell us how!  http://wpkg.org/Testimonials
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] 1.0?

2008-02-14 Thread Tomasz Chmielewski
Marco Gaiarin schrieb:
 I'm a bit lost.
 
 WPKG 1.0 are still in rc7. But looking at:
 
   http://wpkg.org/Download
 
 i see that WPKG Client is on 1.2.0 stable, where i'm still using 0.X
 and i've totally missed 1.0.
 
 
 Release plans? ;)

Well, I still need to send WPKG Client 1.2.0 release announcement ;)

As for WPKG 1.0, it's currently rc7 and I guess not much will change 
before the final release... Which should happen this year ;)


-- 
Tomasz Chmielewski
http://wpkg.org
-
Do you use WPKG? Tell us how!  http://wpkg.org/Testimonials
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Product: WPKG -- Error 1722

2008-02-21 Thread Tomasz Chmielewski
Tomasz Chmielewski schrieb:
 Vladimír Pšenička schrieb:
 I found that this bug: http://bugzilla.wpkg.org/show_bug.cgi?id=84 is in
 the final wpkg client msi package (WPKG Client 1.2.0.msi), when
 installing as silent install with xml settings


 Event Log on Win machine
 ---
 Product: WPKG -- Error 1722. There is a problem with this Windows
 installer package. A program run as part of the setup did not finish as
 expected. Contact your support personnel or package vendor.  Action
 _A9459942_EE79_497A_9080_F39DDA8A7B80, location: C:\Program
 Files\wpkg\wpkginst.exe, command:
 --SETTINGSFILE=\\gimli\install\settings.xml
 
 Looks like the problem Jens got just a while earlier.
 
 Umm, missing MFC71.DLL, again?
 
 Does it help if this DLL is added before installation?

Yeah, some DLLs are missing.

Expect a 1.2.1 soon, thanks for a report...


-- 
Tomasz Chmielewski

-
Do you use WPKG? Tell us how!  http://wpkg.org/Testimonials
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] wpkg does not execute at startup

2008-02-28 Thread Tomasz Chmielewski
omaigad schrieb:
 hi,
 thank you for the pointer. I did tryed to look up for the answer in faq, 
 but with no luck. I think i should mention that on startum wpkg.xml file 
 is not created it is created only if i start wpkg through cmd line. Also 
 do you think i should try testing releses of wpkg ?
 thank you for your time

So, do you see a cmd window if you log in, when you set show GUI in 
WPKG Client?

Did you use Test settings button in WPKG Client to verify you didn't 
specify wrong paths etc.?

Are you use network credentials?

I just added it to the FAQ:


Also, in WPKG Client setup, add some command as execute before and 
execute after (commands like notepad.exe or cmd.exe) - it will pause 
executing until you close their windows.



-- 
Tomasz Chmielewski
http://wpkg.org
-
Do you use WPKG? Tell us how!  http://wpkg.org/Testimonials
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Are we now at stable for the 1.2 release of WPKG Client?

2008-03-05 Thread Tomasz Chmielewski
matt - OpenPlan IT schrieb:
 Hello all,
 I was just downloading the WPKG client and noticed that there is a 1.2
 release in the stable directory uploaded on the 15 of Feb. I was
 wondering whether this was the one to use over the rc6 version from
 december? Is it a final release?

Well, yes and no.

Before releasing the final 1.2 stable we upgraded our software to 
Visual Studio 2008 here. Which we shouldn't do.
As it appears, something changed in Visual Studio, and a 1.2 final 
package won't install on a fresh Windows install because of some missing 
libraries.

I think the missing library is msvcrt.dll, but I didn't have a chance to 
verify it on a clean system yet (any volunteer to install a fresh XP and 
test it?).

That being said - there are *no* software differences between the latest 
rc and the stable release.

1.2.0 has just a proper release number (1.2.0 vs 1.0.x in the latest 
rc), and a missing library - which is why 1.2.0 sources are available 
for download, but the binaries are 1.2.0-rc6.

Hope it clarifies a bit.


-- 
Tomasz Chmielewski
http://wpkg.org
-
Do you use WPKG? Tell us how!  http://wpkg.org/Testimonials
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Are we now at stable for the 1.2 release of WPKG Client?

2008-03-06 Thread Tomasz Chmielewski
[EMAIL PROTECTED] schrieb:
  
 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Tomasz Chmielewski


 Could you just try if the MSI from here: 
 http://wpkg.org/files/client/stable/

 Installs on a *fresh* Windows (Windows installed, with no 
 additional software)?

 Because I receive different reports - for some users, it does 
 work, for some, it doesn't.


 Also, please report Windows version (2000, XP), service packs etc. 
 (i.e., XP Pro with SP2).


 
 Hi,
 
 I have tried it on a fresh install of Windows XP Pro with SP2, and it
 works flawlessly.

Maybe it's language version related 8although, I doubt it)? What is your 
Windows language version?

Jens, Vladimír - it failed for you - was it XP SP2, too? 100% sure? 
Nothing else which could break something?


-- 
Tomasz Chmielewski
http://wpkg.org

-
Do you use WPKG? Tell us how!  http://wpkg.org/Testimonials
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Are we now at stable for the 1.2 release of WPKG Client?

2008-03-06 Thread Tomasz Chmielewski
Jens Geile schrieb:
 Hi,
 
 Could you just try if the MSI from here: 
 http://wpkg.org/files/client/stable/
 Installs on a *fresh* Windows (Windows installed, with no additional 
 software)?
 Because I receive different reports - for some users, it does work, for 
 some, it doesn't.
 Also, please report Windows version (2000, XP), service packs etc. (i.e., 
 XP Pro with SP2).
 I have tried it on a fresh install of Windows XP Pro with SP2, and it works 
 flawlessly.
 Maybe it's language version related 8although, I doubt it)? What is your 
 Windows language version?
 Windows XP SP2 German with almost all Windows Updates including Feb 2008 
 installed.
 
 Jens, Vladimír - it failed for you - was it XP SP2, too? 100% sure? Nothing 
 else which could break something?
 You are lucky. I just started a Windows XP installation a few minutes before 
 you posted your first message. ;) And I'm 120% sure that it is Windows XP 
 SP2. And since there is nothing installed but ActivePerl and the Windows 
 Updates there shouldn't be anything that breaks the installation.
 
 So 1.2.0 final fails to install and RC6 (I think it was RC6) works flawlessly.

So *maybe* it's XP SP2 *plus* all updates?

And without the updates, it installs fine?


/me scratches his head


-- 
Tomasz Chmielewski
http://wpkg.org
-
Do you use WPKG? Tell us how!  http://wpkg.org/Testimonials
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Are we now at stable for the 1.2 release of WPKG Client?

2008-03-10 Thread Tomasz Chmielewski
matt - OpenPlan IT schrieb:
 Just a quick note that the package in stable 1.2.0 is 5.25MB, more than
 3 times the size of 1.2-rc6 at 1.67MB.
 Not sure what Visual Studio 2008 is doing there if there are no software
 differences?
 Good luck and let me know if there is any testing I can usefully do.

Yes, it is caused by Visual Studio 2008.
It adds some dependencies automatically the previous version wasn't 
adding. Go figure.


-- 
Tomasz Chmielewski
http://wpkg.org
-
Do you use WPKG? Tell us how!  http://wpkg.org/Testimonials
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Old version reinstall - WPKG is nice but it still needs improve

2008-03-27 Thread Tomasz Chmielewski
Falko Trojahn schrieb:
 Hallo Rainer,
 
 thanx for your quick and detailed answer.
 
 Falko Trojahn wrote:
 Firefox updated itself, e.g. to Revision 2.0.0.13. Next time Wpkg
 starts,
 the uninstall check looks for 2.0.0.12 (which of course is missing then)
 and
 reinstalls the old version, until the xml on the server is updated, too.
 This is true - but non-admin users cannot do the auto-update (most users
 should be non-administrators). This is exactly the intended behavior.
 Yes, but sometimes we have applications, you know, only working with
 administrator rights ...

Filemon and Regmon are your friends, then.
Check where the program wants to write files/registry, and make those 
writeable by all. Involves 5-30 minutes of work, works for 99% of 
admin-only software, and is far better than granting admin rights to all 
users.


(...)

 But this seems even unpossible to me, since in the properties of
 firefox.exe we have a file version changing from 1.8.1.12: 2008020121
 to 1.8.20080.31114  and a product version changing from 2.0.0.12 to
 2.0.0.13.
 Or can we distinguish between file version and product version within
 the checks?
 
 So, I'll next try checking only the existence of firefox.exe. But I fear
 that in the case there Firefox is already on the workstation and wpkg is
 newly installed: this check succeeds with any (older) version of Firefox,
 and nothing is done.

I use one simple trick for some ugly software where versions etc. are 
unpredictable:

set %UGLYSOFT%=10.2

install_this
install_that

echo %date% %time%  C:\uglysoft\INSTALLED_%UGLYSOFT%.TXT


-- 
Tomasz Chmielewski
http://wpkg.org

-
Do you use WPKG? Tell us how!  http://wpkg.org/Testimonials
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] WPKG Client v1.0rc6 WPKG 1.0-rc8 - enviromental variable

2008-03-27 Thread Tomasz Chmielewski
Rainer Meier schrieb:

(...)

 If I move the .9.10 version of wpkg back into place and reboot, the  
 skipped installations continue. I am going to troubleshoot this issue some  
 more.
 
 Could you post an export of the WPKG-client settings (XML export)?

And probably, use verbose logging (settable in config.xml) to see where 
it fails?



-- 
Tomasz Chmielewski
http://wpkg.org
-
Do you use WPKG? Tell us how!  http://wpkg.org/Testimonials
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Thanks for everything - WPKG is nice but it still needs improvement

2008-03-27 Thread Tomasz Chmielewski
Steve Handy schrieb:
 Here is the log file you requested. By the way, the documentation on the 
 flags DOES NOT specify that /synchronize is a command. Only a flag. This 
 explains the mistake I made earlier when you specified that I wasn't 
 following the documentation closely in your earlier email.

You're top-posting which makes the thread hard to follow.


Your log file attachment is encoded, which means one has to save it to 
the disk first in order to view it. And commenting lines where errors 
happen will not be possible, because it's an attachment.


And, oh, the log file you just sent is not a log file, just to save 
someone else's time.



-- 
Tomasz Chmielewski
http://wpkg.org
-
Do you use WPKG? Tell us how!  http://wpkg.org/Testimonials
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Command Line Client Installer

2008-03-27 Thread Tomasz Chmielewski
Pierre Rivard schrieb:
 I'm a new user of wpkg, just trying to figure it out at the moment, 
 basically just evaluating it right now. So far it looks like it will do 
 what I need, and that it will be great once I get the profiles and 
 packages set up. I was wondering if there was a way to install the 
 client from the command prompt I was thinking of creating a self 
 executing archive that would allow it to be easily installed by any 
 administrator, just a zipped package with a batch file in. I noticed 
 that the client installer is also listed as being a command line 
 installer, but I cant find any documentation on how to use it from the 
 command line... Anyone made an instant installer for their machines?

It's a MSI file, so it will install from the command line without problems.

Some installation examples were originally in the ZIP file together with 
the installer, but as we have only MSI left now as the installer, 
obviously the examples are gone, too...

You can find the examples in a ZIP file here: http://wpkg.org/files/client/


I'll add some command line instructions here later today: 
http://wpkg.org/WPKG_Client - thanks for noticing.



-- 
Tomasz Chmielewski

-
Do you use WPKG? Tell us how!  http://wpkg.org/Testimonials
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Command Line Client Installer

2008-03-27 Thread Tomasz Chmielewski
Tomasz Chmielewski schrieb:
 Pierre Rivard schrieb:

(...)

 installer, but I cant find any documentation on how to use it from the 
 command line... Anyone made an instant installer for their machines?
 
 It's a MSI file, so it will install from the command line without problems.
 
 Some installation examples were originally in the ZIP file together with 
 the installer, but as we have only MSI left now as the installer, 
 obviously the examples are gone, too...
 
 You can find the examples in a ZIP file here: http://wpkg.org/files/client/
 
 
 I'll add some command line instructions here later today: 
 http://wpkg.org/WPKG_Client - thanks for noticing.

Command line instructions are there now - see http://wpkg.org/WPKG_Client

Let me know if it needs some extra explanation (or simply add it yourself).



-- 
Tomasz Chmielewski
-
Do you use WPKG? Tell us how!  http://wpkg.org/Testimonials
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] install the wpkg client manually

2008-03-27 Thread Tomasz Chmielewski
Tomasz Chmielewski schrieb:
 Kent Tong schrieb:
 Hi,

 Is it possible to install the wpkg client manually (as opposed to running
 the msi file)? 
 I am asking because trying to install the wpkg client v1.2.0 on our Windows
 2003 
 Terminal Server failed with the error This application has requested the
 Runtime to 
 terminate it in an unusual way.
 
 It *should* work if you have the files usually found in %PROGRAMFILES%\wpkg.
 
 But I'll verify if it really works - will keep you updated later today, 
 with some instructions if it works.
 
 
 That being said, perhaps a better idea would be to try to find out why 
 it fails to install in the first place.
 
 Did you try WPKG Client 1.2.0 or 1.2.0-rc6?
 I know the 1.2.0 version failed to install for at least two people, 
 but 1.2.0-rc6 worked in the same environment - but I can't reproduce 
 it, unfortunately.

To install it manually, do (tested on XP SP2):

1. You need the files - the easiest way is to install WPKG Client on one 
machine, and copy contents of %PROGRAMFILES%\wpkg\ to another machine


2. Start cmd.exe and run:

prompt cd %PROGRAMFILES%\wpkg
prompt wpkgsrv /install
WPKG Service installed.

If it throws an error, there is something fishy.


3. Configure settings:

prompt wpkginst

Put notepad as execute before, and check Show GUI.


4. Start the service - it should start notepad.exe:

prompt net start WPKG service

It should start without errors, and notepad.exe should start shortly.

If it works, configure the setting properly (users, paths etc.).


-- 
Tomasz Chmielewski
http://wpkg.org
-
Do you use WPKG? Tell us how!  http://wpkg.org/Testimonials
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Cannot install wpkg on W2k3 Terminal Server

2008-03-28 Thread Tomasz Chmielewski
Alan Au schrieb:
 Hi,
 
 I tried to install wpkg  1.2.0 on W2k3 Terminal Server but failed with the
 error as the attached image.
 http://www.nabble.com/file/p16087939/install%2Bwpkg.jpeg 
 Would any expert help?

Probably, the installer needs some love on Windows 2003. I can't give 
you any help right now, and what's worse, I don't have access to a 
Windows 2003 installation I could experiment on.

But of course this issue should be fixed.

Do you have any errors in Event Log as it happens?



-- 
Tomasz Chmielewski
http://wpkg.org
-
Do you use WPKG? Tell us how!  http://wpkg.org/Testimonials
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Cannot install wpkg on W2k3 Terminal Server

2008-03-28 Thread Tomasz Chmielewski
Alan Au schrieb:
 HI, Rainer,
 
 I have tried  1.2-rc6 , but got the same error.

Any Event Log entries?


-- 
Tomasz Chmielewski
http://wpkg.org

-
Do you use WPKG? Tell us how!  http://wpkg.org/Testimonials
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Cannot install wpkg on W2k3 Terminal Server

2008-03-28 Thread Tomasz Chmielewski
Alan Au schrieb:
 HI, Rainer,
 
 I have tried  1.2-rc6 , but got the same error.

And one more thing.

Could you:

1. Install WPKG Client on another machine (i.e. XP)

2. On Windows 2003, download Dependency Walker from 
http://www.dependencywalker.com/

3. Start Dependency Walker, load each WPKG file to see if there are any 
missing libraries?



-- 
Tomasz Chmielewski
http://wpkg.org
-
Do you use WPKG? Tell us how!  http://wpkg.org/Testimonials
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] install the wpkg client manually

2008-03-28 Thread Tomasz Chmielewski
Falko Trojahn schrieb:
 Hi Tomasz,
 
 
 To install it manually, do (tested on XP SP2):

 1. You need the files - the easiest way is to install WPKG Client on one
 machine, and copy contents of %PROGRAMFILES%\wpkg\ to another machine


 2. Start cmd.exe and run:

 prompt cd %PROGRAMFILES%\wpkg
 prompt wpkgsrv /install
 WPKG Service installed.

 If it throws an error, there is something fishy.


 3. Configure settings:

 prompt wpkginst

 Put notepad as execute before, and check Show GUI.


 4. Start the service - it should start notepad.exe:

 prompt net start WPKG service

 It should start without errors, and notepad.exe should start shortly.

 If it works, configure the setting properly (users, paths etc.).
 
 Could you please add this to the Wiki, too?
 
 Perhaps the possibility to download a zip with the wpkg client files
 without the installer/msi would be nice to have, a small script -
 something like
 
 -
 net stop wpkgservice
 
 xcopy /v /s /i /e /h /c /y /q %install_loc%\wpkgclient
 %PROGRAMFILES%\wpkg
 
 cd %PROGRAMFILES%\wpkg
 
 wpkgsrv /install
 
 net start wpkgservice
 -
 
 (untested) could be enough to install ...

Most likely it won't be enough, as some libraries will be missing.


 Questions remaining:
 What about wgalogon.dll? Is it registered when wpkgsrv /install is started?

Hmm, wgalogon.dll? Windows Genuine Advantage? It doesn't come with WPKG.


 And is there something like wpkgsrv /uninstall?

There is /remove flag - I added all info here:

http://wpkg.org/WPKG_Client



-- 
Tomasz Chmielewski

-
Do you use WPKG? Tell us how!  http://wpkg.org/Testimonials
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Profile inconsistency when using separate files instead of a single file

2008-03-31 Thread Tomasz Chmielewski
Sébastien BEAUDLOT schrieb:
 
 
 Tomasz Chmielewski a écrit :
 You need packages (...) /packages around.

 So:

 packages
  package
  id=wpkg-client
 ...
  /package
 /packages
 
 Whups 
 
 I'd really thought that separate files packages were included in the 
 main packages/packages.
 
 So it's working great now !
 
 Should be clearly added to Wiki for dumb guys like me !

I added an example here:

http://wpkg.org/Packages.xml#Individual_XML_package_files


BTW, your clock seems skewed? Your posts appear as sent in the past.



-- 
Tomasz Chmielewski

-
Do you use WPKG? Tell us how!  http://wpkg.org/Testimonials
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] WPKG is a great program: Want to apologize for earlier remarks

2008-04-01 Thread Tomasz Chmielewski
Stevester schrieb:
 Good Afternoon Everyone,
 
  I wanted to apologize to whomever was offended by the comments i made
 earlier about WPKG. I stated WPKG needs improvement, and it really doesn't
 need any improvement. The creators of WPKG made a great piece of work.

This is *exactly* what we are thinking, too.

We were actually thinking of removing some selected features and 
introducing new bugs.

It's not decided yet, so stay tuned.


-- 
Tomasz Chmielewski
http://wpkg.org
-
Do you use WPKG? Tell us how!  http://wpkg.org/Testimonials
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Powershell and WPKG

2008-04-01 Thread Tomasz Chmielewski
Stevester schrieb:
 Good Afternoon,
 
  Has anyone had success with using WPKG and powershell together?

What are you trying to achieve?


-- 
Tomasz Chmielewski
http://wpkg.org
-
Do you use WPKG? Tell us how!  http://wpkg.org/Testimonials
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Powershell and WPKG

2008-04-01 Thread Tomasz Chmielewski
Steve Handy schrieb:
 I am trying to see if WPKG can force a desktop to execute a powershell to 
 perform certain functions such as establishing local group policy.

WPKG just executes commands you specify.

As long as these command work without user interaction when you start 
them as a privileged user, such as Administrator or SYSTEM, these 
commands should also work when started by WPKG.

It shouldn't matter if it's PowerShell, Perl, Python etc. (as long as 
the appropriate interpreter is installed).



-- 
Tomasz Chmielewski
http://wpkg.org
-
Do you use WPKG? Tell us how!  http://wpkg.org/Testimonials
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] MS Office 2007 silent installer query

2008-04-02 Thread Tomasz Chmielewski
Dave Ewart schrieb:
 Hello,
 
 I'm looking at http://wpkg.org/MS_Office_2007 and am a little confused.
 
 There are two package install variants shown.  Is the second one
 supposed to replace the first, given the problem noted with the first?
 If so, presumably the first one should be removed.
 
 If that's not the case and both are required, is one supposed to run the
 first package once, then use the second?
 
 Clarification would be appreciated from anyone that uses this.

The second entry looks invalid to me?

But someone might confirm and correct, it's no rocket science ;)


-- 
Tomasz Chmielewski
http://wpkg.org

-
Do you use WPKG? Tell us how!  http://wpkg.org/Testimonials
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] New WPKG user

2008-04-02 Thread Tomasz Chmielewski
Joel Levin schrieb:
 Can anybody suggest the best place for a new WPKG user to find the best 
 introductory support? There seems to be so many variables and options 
 that is looks quite confusing. I have been able to make a basic batch 
 script successfully run the loading of one application, then 
 subsequently,  the upgrading to another version.
 
 There is a real lack of instructional materials available--so I am  
 confused on the next step--to attempt to create a script and other 
 profiles and packages which will work.
 
 I have been reading many of the list serv threads--however the material 
 being discussed in the majority of these discussions is much too 
 advanced for me at present.

The answer to your question (and a complete manual) is here: 
http://wpkg.org/TODO_list#Documentation
Oh, wait, it's still on a TO DO list? Right. It doesn't exist.
Yes, it's weak point.

If you (or someone else) want to help here, we'd be glad to see a 
complete manual. But no one is really counting on it.

What could be a good start are just 10-15 points/topics suggestions for 
such a manual. Then, they could be expanded and described with more 
detail. Does it sound fair?


 Another question is that in the initial download of  WPKG there are 
 three folders PROFILE, PACKAGES AND HOSTS along with the three 
 individual files profiles, packages and hosts. Are the items in the 
 folders simply example files?

Yes, they are example files.


 When I am actually running my 
 scripts--shold I delete those files?

You should replace them with your own.

If you have any more questions, don't hesitate to ask, but try to avoid 
putting several unrelated questions in one post (another question is...).
Also, a more meaningful subject is always helpful.


-- 
Tomasz Chmielewski
http://wpkg.org
-
Do you use WPKG? Tell us how!  http://wpkg.org/Testimonials
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Installer types

2008-04-03 Thread Tomasz Chmielewski
Joel Levin schrieb:
 Is is safe to say that any application installer with a .exe would use 
 the .exe silent installer package? I am wondering if some applications 
 may say they are .exe, but are actually msi. How would you know?

Windows distinguishes file types by file extensions.

So if you have some_installer.exe, it is 100% exe installer, not MSI 
(unless someone did something stupid and change the file extension).


However, sometimes these .exe files contain a compressed image, 
containing a MSI, which is later started via msiexec upon decompression.

One such example is Adobe Reader, AFAIR.


-- 
Tomasz Chmielewski
http://wpkg.org
-
Do you use WPKG? Tell us how!  http://wpkg.org/Testimonials
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Installer types

2008-04-03 Thread Tomasz Chmielewski
Joel Levin schrieb:
 Tomasz Chmielewski wrote:
 Joel Levin schrieb:
 Is is safe to say that any application installer with a .exe would 
 use the .exe silent installer package? I am wondering if some 
 applications may say they are .exe, but are actually msi. How would 
 you know?

 Windows distinguishes file types by file extensions.

 So if you have some_installer.exe, it is 100% exe installer, not MSI 
 (unless someone did something stupid and change the file extension).


 However, sometimes these .exe files contain a compressed image, 
 containing a MSI, which is later started via msiexec upon decompression.

 One such example is Adobe Reader, AFAIR.


 Thank you for that--it helps Tomasz. Is there some way (perhaps in get 
 info--or in properties) to test an installer to know what type of 
 installer it actually is?

Please reply to the list.

I don't there is any other than starting the installer, looking at its 
temporary files etc. Or googling, checking installation manual, 
documentation, deployment instructions etc.

Why do you need to know if there is a hidden MSI inside?


-- 
Tomasz Chmielewski
http://wpkg.org

-
Do you use WPKG? Tell us how!  http://wpkg.org/Testimonials
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Installer types

2008-04-03 Thread Tomasz Chmielewski
Joel Levin schrieb:

(...)

 Why do you need to know if there is a hidden MSI inside?


 When I go to the WPKG site, and look under the silent installer link, 
 there are different scripts for the various types of installers. I 
 experienced some problems when I used the wrong type of script with the 
 wrong installer.

There is no golden rule here.

This might be an interesting read for you:

http://unattended.sourceforge.net/installers.php


-- 
Tomasz Chmielewski
http://wpkg.org
-
Do you use WPKG? Tell us how!  http://wpkg.org/Testimonials
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Questions about offline mode and executing the wpkg service

2008-04-03 Thread Tomasz Chmielewski
Rainer Meier schrieb:

(...)

 I have no idea. A bug? Which doesn't show up on real machines, though, 
 which is either good or bad.
 
 Sure? I thought that Bug 106 is reporting a problem where WPKG service 
 seems to wait for the maximum logon delay. Probably there is really an 
 issue. If I have some spare time I will try to verify it on my VMWare.

Bug 106 is a problem, but it's really hard for me to communicate with 
the bug reporter.
So it may or may not be an invalid report.


   @echo off
   ping -n 1 IP of server NUL
   exit /b %errorlevel%

 This script returns 0 if the server is reachable and 1 if not. I've 
 tested this on the command line.

 The script is rather simple and primitive, but already contains an 
 error ;) - it won't work with /b switch.
 Although this script will exit with non-zero code, /b prevents closing 
 of cmd.exe. A while later cmd.exe exits with code 0, and...
 
 No. The 'exit /b %errorlevel%' is entirely correct. See 'exit /?'. On my 
 Vista it reads:

It is a correct switch, but using it prevents passing a proper exit code 
to WPKG Client.


 [...]
   /B  specifies to exit the current batch script instead of
   CMD.EXE.  If executed from outside a batch script, it
   will quit CMD.EXE
 [...]
 
 So when using exit /b within a script you can exit a script with a 
 certain exit code (%errorlevel% inserts the exit code of the immediate 
 previous command).

Whether /b is used or not, it will exit a script with certain exit code.


 When /b is not used, then exit will not only exit the 
 current script but terminate the whole CMD.EXE process.

In other words, without /b, cmd.exe will terminate with exit code 
specified in exit command.
With /b, cmd.exe will exit with exit code 0.
When we want to fetch the exit code in WPKG Client, /b switch must not 
be used.


 Which means that 
 if you run exit within a script invoked by another one ('call 
 script.cmd') it will never return and continue in the calling script but 
 terminate completely. If 'exit /b code' is used, it will terminate the 
 called script returning the specified code.




-- 
Tomasz Chmielewski
http://wpkg.org
-
Do you use WPKG? Tell us how!  http://wpkg.org/Testimonials
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Questions about offline mode and executing the wpkg service

2008-04-03 Thread Tomasz Chmielewski
Rainer Meier schrieb:

(...)

 So scripts should never exit using 'exit code' from my point of view. 
 Using 'exit /b code' perfectly serves the purpose and works in every 
 case (no matter if your script is the topmost or one of the called ones.

We're talking about two different things and it makes a difference if /b 
is used or not:

prompt echo exit /b 1  1.bat
prompt cmd /c 1.bat
prompt echo %errorlevel%
0

prompt echo exit 2  2.bat
prompt cmd /c 2.bat
prompt echo %errorlevel%
2



-- 
Tomasz Chmielewski
http://wpkg.org
-
Do you use WPKG? Tell us how!  http://wpkg.org/Testimonials
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


[wpkg-users] WPKG 1.0 released

2008-04-06 Thread Tomasz Chmielewski
It's been almost two years since the latest stable WPKG release: I'm 
happy to announce WPKG 1.0, which includes lots of useful features and 
bugfixes.

See the full changelog on http://wpkg.org/files/stable/Changelog-1.0


-- 
Tomasz Chmielewski
-
Do you use WPKG? Tell us how!  http://wpkg.org/Testimonials
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] WPKG 1.0 released

2008-04-07 Thread Tomasz Chmielewski
Jens Geile schrieb:
 Hi,
 
 It's been almost two years since the latest stable WPKG release: I'm happy 
 to announce WPKG 1.0, which includes lots of useful features and bugfixes.
 Awesome. :)
 
 Any idea when we can expect a new version of WPKG Client? (Maybe one I can 
 actually install :p)

I hope it will happen this month...
1.2-rc6 should install just fine, though.


 I'm especially interested in using the sendstatus feature introduced in 
 WPKG 1.1.0-M3.

This will have to wait a bit longer.


-- 
Tomasz Chmielewski
http://wpkg.org
-
Do you use WPKG? Tell us how!  http://wpkg.org/Testimonials
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Questions about offline mode and executing the wpkg service

2008-04-07 Thread Tomasz Chmielewski
Dieter Scholz schrieb:

(...)

 Today I've had time to test a setup with  without VMware. This time I used 
 W2K for testing. The result was that the VMware setup waited for the timeout 
 to end a on my 'real' box offline mode with logon delay worked as it should. 
 Very strange ... this is the first time I found such strange behaviour inside 
 a virtual machine. And I do a lot of testing with it ...
 
 But - once again and please don't flame me for that :-) - don't you think 
 that 
 if wpkg reported in the log 'Server connection failed' and still starts 
 trying to call the script on the network share, it has nothing to do with 
 VMware networking because the evaluation has already took place if a network 
 share is available or not? And don't you think a more robust implementation 
 of the 'is server available' check that would even work under VMware would be 
 better (I'm sorry I cannot help you with that, 'cause I 've no clue in 
 Windows programming - but I offer my help as a tester)?

Yep, something must be wrong, somewhere.
I wonder how it behaves in Qemu.


-- 
Tomasz Chmielewski
http://wpkg.org
-
Do you use WPKG? Tell us how!  http://wpkg.org/Testimonials
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] LogonUser problem when testing WPKG Client settings

2008-04-08 Thread Tomasz Chmielewski
Dieter Scholz schrieb:

(...)

 If I change back to SYSTEM everything works fine again.
 
 Perhaps I should mention I'm using Windows 2000 SP4 without any additional 
 patches.
 
 Additionally, I rechecked my XP setup and I found that the wpkg service uses 
 the SYSTEM account, too. But I specified a real account with admin 
 privileges. But on that maschine the tests do not fail and the error 
 described above does not occur.

The service itself is started from a SYSTEM account and generally you 
shouldn't change it.
Only later it switches the user to whatever you configured in wpkginst.exe.


So as far as I understand, it works properly for you (i.e., the service 
starts properly), but the Test settings... button does not give you 
proper results if you configure WPKG Client to start as a local 
administrator in wpkginst.exe?
In practice, it may work like that in certain circumstances, because:

1. Service starts originally as SYSTEM, later switches to a configured 
account
2. You start wpkginst.exe as a local Administrator, and when you press 
Test settings..., it fails to do some things.

This may be because of some security settings in Local Policies, as 
Rainer mentioned.
With the default Windows XP SP2 installation, testing settings works for 
me if I use a local Administrator account (although I have to admit I 
didn't test it on a 100% fresh installation). Moreover, changing Log on 
as Service settings doesn't change anything for me, so perhaps it is 
defined somewhere else, too.



-- 
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] Installed client version 1.2-RC6, About shows version 1.0.6

2008-04-10 Thread Tomasz Chmielewski
Tor Soerensen schrieb:
 Hello again,
 I just noticed something. If i run wpkginst.exe and click about it says 
 version 1.0.6 in the top of the window. Has the about message been 
 updated? Or have I done something wrong when installing?

Yes, version 1.2-RC6 shows 1.0.6 in About window.
It is normal and you didn't do anything wrong.


-- 
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] determining MSIEXEC product code?

2008-04-10 Thread Tomasz Chmielewski
Adam Williams schrieb:
 I have a piece of software installed with WPKG and I want to uninstall
 it, and the uninstall instructions from app deploy say to uninstall it with:
 
 MSIEXEC.EXE /X {PRODUCTCODE} REMOVE=ALL /Q
 
 but, how do I figure out what the product code of the application is?

If you have it already installed, you can check it with regedit.exe:

Start regedit.exe.

Go to HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall

Press ctrl+f and type the name of that app - which can be found in 
(Add/remove programs).

When it's found, look for UninstallString.


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

2008-04-11 Thread Tomasz Chmielewski
Currently, a weak point of WPKG is lack of proper documentation, 
especially for new users. The TO DO list for WPKG mentions this already:

   Right now, documentation is in tiny little bits (different
   functionalities described on different pages). It isn't necessarily
   bad - but it isn't very friendly to new users.

   New documentation should be an A to Z WPKG manual, with chapters,
   subchapters etc.


As the item is a bit long on that list, it should be addressed and I'm 
willing to spend some time on it.


Before I start, I would like to ask you: what should be covered is such 
a Complete WPKG manual?

In other words: what were the problems you had with WPKG when you 
started using it?

If you spent 4 hours to deploy your first WPKG installation - what would 
be the info which would help you (which you needed) achieve the same in 
just 1 hour?


-- 
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] Package definition that remove some stuffs

2008-04-14 Thread Tomasz Chmielewski
Daniel Dehennin schrieb:
 Hello,
 
 As I will deploy WPKG on already installed box, I want it to remove
 some useless programs, I think I must do it like this:
 
   check type=logicical condition=not
 check type=registry condition=exists path=WHATEVER
   /check
 
   install cmd=command to remove the package/
 
 Does this seems correct ?

See the end of Danish characters in package definitions thread on this 
list for a similar discussion.


-- 
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.js crashing?

2008-04-16 Thread Tomasz Chmielewski
Brian May schrieb:
 Tomasz Chmielewski wrote:
 Does it really crash here (i.e., cscript process is not running)?
 
 I will have to double check. If it is not still running, it is very slow 
   (as in taking hours). I have seen it run slow other times, but not 
 this slow.
 
 The next message should be:

 INFO   : User notification suppressed. Message: 


 Could you paste your config.xml?
 
 Nothing really spectacular:
 
 ?xml version=1.0 encoding=utf-8 ?
 config
 param name='log_file_path' value='hq\\wpkg-status' /
 param name='logfilePattern' value='[HOSTNAME].log' /
 /config
 
 Everything else is defaults.

I meant, config.xml you use for wpkg.js.


-- 
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.js crashing?

2008-04-16 Thread Tomasz Chmielewski
Brian May schrieb:
 Tomasz Chmielewski wrote:
 I meant, config.xml you use for wpkg.js.
 
 What I pasted is the only config.xml file I have. Is there support for 
 more then one?

You're correct.
I must be still sleeping ;)


-- 
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 / Windows Shutdown

2008-04-16 Thread Tomasz Chmielewski
[EMAIL PROTECTED] schrieb:
 Hi
  
 Is there a way to execute the WPKG-Client-Script or the service on 
 windows shutdown?
 This may be better for us because of the delay when software is 
 installed or updated when windows starts.

AFAIR, it is possible to use Windows Task Scheduler to start tasks on 
Windows 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] Deploy Baculaclient with wpkg.

2008-04-16 Thread Tomasz Chmielewski
Magnus Mølbach schrieb:
 Has anyone managed to deploy bacula windows client with wpkg?
 
 
 If you have managed to do so, please send me the code.
 I'll publish it in the slient installer section on wpkg.org.

There is an entry here: http://wpkg.org/Bacula

Is it the same? You may want to verify it with your own setup / make 
corrections etc.



-- 
Tomasz Chmielewski
-
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] Wrapper hints...

2008-04-16 Thread Tomasz Chmielewski
Jens Geile schrieb:
 Hi,
 
 Feel free to help ;)
 My JavaScript knowledge is close to zero and I've got a shitload of 
 documentation to write myself. ;) But I'll gladly continue to provide you 
 with test/bug reports of every new version, excessive feature requests and 
 Windows machines you can test the scripts on. ;)

Could you try if this one installs fine:

http://wpkg.org/files/client/test/

?


-- 
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 / Windows Shutdown

2008-04-16 Thread Tomasz Chmielewski
[EMAIL PROTECTED] schrieb:
 Hi Tomasz
 
 Thanks for your answer.
 
 There seems to be no option to execute a command with the Task Scheduler 
 when the computer shuts down.
 
 Its possible to define a command in the group policy.

Indeed, it's only possible via a policy (local or group).

It might be a good idea to have this option in WPKG Client, I added it 
to the TO DO list.


-- 
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] Using SYSTEM in WPKG execution context user name

2008-04-17 Thread Tomasz Chmielewski
Tor Soerensen schrieb:
 Hi all,
  
 Thanks for the help with my previous problems!
  
 Now I am playing around with changing the user name in the WPKG 
 execution context in the GUI client. Before I used a admin user which I 
 know exist on the client machines. However, I had some errors in the log 
 mentioning that there was some problem with the registry due to a 
 service running as a regular user and not system.

So how does it start now when you look into Services in Windows' Control 
Panel? By default, it is SYSTEM, and this value should not be changed.


 So, I tried setting 
 the user name to just SYSTEM, but this doesn't work. When using SYSTEM, 
 I get the following error WNetAddConnection2-Der opstod en uventet 
 netværksfejl (An unexpected network error has occurred) and the service 
 shuts down. I was inspired by the screenshots of the GUI client on the 
 wiki, so I am wondering what I am doing wrong. Please enlighten me :-D

Does the Test settings button report success? Could you paste your 
settings.xml file (please replace any passwords with xxx)?


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

2008-04-20 Thread Tomasz Chmielewski
Vladimír Pšenička schrieb:
 Is possible to upgrade WPKG client from 1.2-rc6 to 1.2.1 by itself
 automaticaly after reboot (not directly running wpkg.js) on remote machines?
 
 I tested upgrade (http://wpkg.org/WPKG) and it doesn't work:

I added some (hopefully) more detailed instructions and verified that 
they work on my workstation:

http://wpkg.org/WPKG

Could you verify if it works for you?



-- 
Tomasz Chmielewski

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

2008-04-21 Thread Tomasz Chmielewski
Brian May schrieb:
 Tomasz Chmielewski wrote:
 I added some (hopefully) more detailed instructions and verified that 
 they work on my workstation:

 http://wpkg.org/WPKG

 Could you verify if it works for you?
 
 There seem to be some typos, I changed it to:
 
 package
 id=wpkg
 name=WPKG Client 1.2.1
 revision=1
 reboot=false
 priority=10
 
 check type=uninstall condition=exists path=WPKG /
 check type=file condition=versionequalto 
 path=%PROGRAMFILES%\wpkg\wpkginst.exe value=1.0.0.8 /

Oh yes.
First, it was a file size check, and then I made an invalid file version 
check out of it. Thanks for correction.


 It seems to work.
 
 Can I please confirm why you use start? Is this for extra debugging?

It is so that the script is started in the background.



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

2008-04-21 Thread Tomasz Chmielewski
Brian May schrieb:
 Brian May wrote:
 It seems to work.

 Can I please confirm why you use start? Is this for extra debugging?
 
 Looks like a race condition exists, due to using start. The process is 
 started for upgrading wpkg, and at the same time wpkg continues and 
 checks the latest version is already installed - but it isn't installed 
 yet because the background task is still executing.

And that check will fail, as file version will not match yet.
The check will succeed on the next WPKG startup though.
This is intended.


 Probably better just to call the batch file directly.

I think killing WPKGSrv.exe will also kill its child processes:
- cscript ...\wpkg.js
\- any other child of cscript

So I'm afraid that if we don't use start to start the script in 
background, taskkill would also kill our batch script, and prevent WPKG 
Client from upgrading?

Also, when using that approach, I think it is good to add:

ping -n 120 127.0.0.1 nul

to make sure WPKG doesn't continue while it's killed...


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

2008-04-21 Thread Tomasz Chmielewski
Vladimír Pšenička schrieb:
 When I upgrade WPKG client this way (without start):
 
 upgrade cmd='%COMSPEC% /C %SOFTWARE%\wpkg\wpkg_upgrade.bat' / 
 
 it doesn't work, on client I see errors:
 
 Product: WPKG -- Error 1722. There is a problem with this Windows Installer 
 package. A program run as part of the setup did not finish as expected. 
 Contact your support personnel or package vendor.  Action 
 _25773255_2E4C_4B11_9B7E_FF3EB8BD0D64, location: C:\Program 
 Files\wpkg\WPKGSrv.exe, command: /install 
 
 and:
 
 Could not process (upgrade) package 'WPKG Client 1.2.1' (wpkg):
 Exit code returned non-successful value (1603) on command '%COMSPEC% /C 
 %SOFTWARE%\wpkg\wpkg_upgrade.bat'.
 
 and before this 2 errors some message that says:
 
 Produkt WPKG: Soubor C:\Program Files\wpkg\wpkglogon.dll je používán jiným 
 procesem (Název: winlogon , ID: 648).
 
 wpkglogon.dll is used by another process (winlogon)

So it wasn't killed for some reason.

Are you using logon delay feature? Probably yes.


In that case, you also have to kill wpkgmessage.exe before trying to 
upgrade.


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

2008-04-21 Thread Tomasz Chmielewski
Vladimír Pšenička schrieb:
 Yes I use logon delay feature, I try batch file with killing
 wpkgmessage.exe and I have no luck, still no upgrade is done...
 
 I try upgrade cmd with and without start
 upgrade cmd='%COMSPEC% /C %SOFTWARE%\wpkg\wpkg_upgrade.bat' / 
 upgrade cmd='%COMSPEC% /C start %SOFTWARE%\wpkg\wpkg_upgrade.bat' / 
 
 and same error occurs...

If the same error occurs (wpkglogon.dll is used by another process), it 
means the process using this dll wasn't killed.


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

2008-04-21 Thread Tomasz Chmielewski
Rainer Meier schrieb:

(...)

 It's an ugly work-around trying to kill applications which are currently 
 running just to unlock these files. Especially since you never know 
 which other applications (indexing serivice, 3rd party tools...) open 
 the same file. So replacing a file might fail at any time. I think 
 that's exactly the reason why an installer can queue such changes in 
 order to be executed at next reboot.

Yeah, I too hope there is some way to do it within the MSI.

Writing another application which just handles updates doesn't seem to 
be a very good idea for me...


-- 
Tomasz Chmielewski
-
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.js crashing?

2008-04-22 Thread Tomasz Chmielewski
Adam Williams schrieb:
 
 
 Tomasz Chmielewski wrote:


 You can configure a Windows system to make a BSOD when the Event Log is 
 full. I doubt many (non-paranoid) people use it, though.


   
 
 how do you do that?  sounds like an evil trick I could use on friend's 
 PCs :)

http://support.microsoft.com/kb/232564

If the CrashOnAuditFail registry key is set to 1 and the Security Event 
log is full on a computer that is running Microsoft Windows NT, 
Microsoft Windows 2000, or Microsoft Windows Server 2003, the following 
blue screen error message may be displayed...


It doesn't mention XP though, you may have problems implementing it on 
your friend's PC ;)


-- 
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] Upgrade V0.9x to 1.0x Question 2

2008-04-22 Thread Tomasz Chmielewski
Simon Walters schrieb:
 - Original Message - 
 From: Tomasz Chmielewski [EMAIL PROTECTED]
 Are you sure you didn't write wscript instead of cscript?

 Because wscript uses Windows dialog boxes.


 Or perhaps you forgot to add cscript in front, and default wscript was 
 used?

 SORRY!
 Rule 1 - always cut and past from files - don't rely on memory :(
 
 set WPKGROOT=\\suitec01\icttech\wpkg101
 set PACKAGES=%WPKGROOT%\software
 %WPKGROOT%\wpkg.js /synchronize
 
 I just edited the usage file and didn't notice the missing cscript on the 
 last line :(
 
 Do many people use the wscript method - just curious ?

I think only those who rely on their memory ;)


-- 
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] where is wpkg.js? was: Re: [Bug 111] Reverse dependencies aka chained installation

2008-04-23 Thread Tomasz Chmielewski
Meftahi, Mohammad schrieb:
 I have not been able to download a working client that includes the
 wpokg.js. I have tried to download the new 1.2.1 client, the previous
 versions do not seem to download either, Any idea?

Please DON'T hijack threads.

Have you tried http://wpkg.org/Download?


-- 
Tomasz Chmielewski

-
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] Question about multi-domain environment

2008-04-24 Thread Tomasz Chmielewski
Karl schrieb:
 Hello,
 
  
 
 I hope my question will be answered
 
  
 
 We manage a multi-domain environment and we want to test this WPKG tool 
 in order to deploy some programs ans patches to several domains. Is this 
 possible? How do the rights work with this?

Essentially, what you're referring to as WPKG consists of two parts:

1) wpkg.js - it's the brain of WPKG and does all package 
installation/upgrades, checks, logging etc.
2) WPKG Client - it's a tool which helps you start wpkg.js on your clients


Technically speaking, you can use wpkg.js without WPKG Client, i.e. by 
starting it as a script in group policy, as a Scheduled Tasks job etc.

So at this point (you only use wpkg.js) it will work with several 
domains, provided you start it properly.


WPKG Client adds a couple of nice features, and eases the deployment, 
especially if you don't have a AD domain (but a Samba one).

You didn't specify what do you want to achieve? I.e., do you have 
multiple domains, but want all your workstations access one fileserver?

Assuming you give proper credentials in WPKG Client, I don't see why it 
shouldn't work.


-- 
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] user password in settings.xml for wpkg client

2008-04-24 Thread Tomasz Chmielewski
Grzegorz Marszałek schrieb:

(...)

 but do you know what  algorithm is used to scrable password? I'd  
 like to recreate it my  script.
 Currently, there is no tool for creating the password (other than  
 wpkginst.exe).
 But it would be a good idea to create one (command line), both for  
 Windows and UNIX.
 Its ugly, but quick.



 $ g++ xmlsettings.cc

(...)

 int main(int argc, char *argv[])
 {
coutCXmlSettings::Crypt(argv[1])endl
CXmlSettings::Decrypt(argv[1])endl;

return 0;
 }
 
 
 Thank you - that's great code :)
 
 I'm really no programmer - but could we add this code to next relase  
 of wpkg-client?

Right now - no, as you used all our bandwidth by leaving the whole 
source code in the email's body (10k sent to all 224 list members!) ;)

I'll place it in the downloads if someone asks for it once again (you're 
the second person as I remember).


-- 
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] Feature request? /2

2008-04-28 Thread Tomasz Chmielewski
Marco Gaiarin schrieb:
 Sometimes writing recipes i go totally mad following the really stupid
 microsoft practice to rename folders based on locale.
 
 Classical example:
 
   %ALLUSERSPROFILE%\Menu Avvio\Programmi\Esecuzione Automatica
 
 in italian, i think:
 
   %ALLUSERSPROFILE%\Start Menu\Programs\Startup
 
 in english.
 
 
 Can be defined somewhere (in a XML?) a table that defines, for every
 locale, some custom variables? Eg, something like:
 
 variables
  variable 
 lcid=409,809,c09,2809,1009,2409,3c09,4009,3c09,4009,3809,1809,2009,4409,1409,3409,4809,1c09,2c09,3009
string id=STARTUPFOLDER%ALLUSERSPROFILE%\Start 
 Menu\Programs\Startup/string
  variable lcid=410,810
string id=STARTUPFOLDER%ALLUSERSPROFILE%\Menu 
 Avvio\Programmi\Esecuzione Automatica/string
 
 and use %STARTUPFOLDER% in recipes?

Is there a website anywhere which describes every language 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] Feature request?

2008-04-28 Thread Tomasz Chmielewski
Marco Gaiarin schrieb:

(...)

 So i copy this script to:
 
   %ALLUSERSPROFILE%\Menu Avvio\Programmi\Esecuzione Automatica
 
 and change permission to prevent modification:
 
   cacls %ALLUSERSPROFILE%\Menu Avvio\Programmi\Esecuzione 
 Automatica\cleanloc.bat /e /r Users Power Users Administrators
 
 but i cannot prevent deletion, and one user can delete my file and
 replace with another one that simply do an 'exit 0'.

AFAIK, normal users are not allowed to delete or change files in 
%ALLUSERSPROFILE%?


 This can be prevented if WPKG will have a check condition like 'hash'
 (md5? sha?) so we can put on the recipe the original md5 sum, and check
 it against the installed one.

Just use execute=always? One kilobyte, is not much, you can copy it 
each time WPKG runs I guess?

See also a changelog for 1.1.x:

Added new check type: execute. This allows you to execute any script
  which checks if an application is installed - based on the exit 
code of
  the script.
  Usage:
  type=execute path=\\path\to\script.cmd
  condition=exitcodesmallerthan value=0
  Evaluates true if the exit code is negative

You could use any hash etc.


However, remember that WPKG makes checks only once after installation.



-- 
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] Feature request?

2008-04-29 Thread Tomasz Chmielewski
Marco Gaiarin schrieb:
 Mandi! Tomasz Chmielewski
   In chel di` si favelave...
 
 AFAIK, normal users are not allowed to delete or change files in 
 %ALLUSERSPROFILE%?
 
 Some local user have 'Power Users', they have to use a plethora of
 educational software from the age of stone to modern macromedia ones.
 ;(

So it's a matter of proper ACL settings I guess?
In Windows, you can even set the ACLs so that the file is not removable 
by the admin (unless he changes the ACLs, of course), and for me a power 
user is someone who has even less privileges than an admin?


 Just use execute=always? One kilobyte, is not much, you can copy it each 
 time WPKG runs I guess?
 
 Yes, could be. ;)
 I tend to not use execute=always, but clearly could be a solution.
 
 
 However, remember that WPKG makes checks only once after installation.
 
 ?! Newer wpkg.js does not check condition on every run?

Yes, it will re-check and reinstall if the check fails, but the package 
is in the local wpkg.xml if that's what you meant.
But if the user logs in, removes the file, logs out, and then another 
user logs in, the file will not be there any more - you'd have to run 
WPKG once again.
But I think it's possible to solve your problem by setting proper ACLs 
on the files.


-- 
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] Feature request? /2

2008-04-29 Thread Tomasz Chmielewski
Marco Gaiarin schrieb:
 Mandi! Tomasz Chmielewski
   In chel di` si favelave...
 
 No problem at all, it is a feature request, i can wait all the time
 needed! ;)
 In that case, it's rescheduled to December 2010 ;)
 
 Ahem... ;-)))
 
 
 Speaking of 'serious' things: the thread of last week about WPKGClient
 and upgrade using 'delayed' file moved stopped suddenly.
 There's some hope to have a WPKGClient 1.2.X that use this feature and
 upgrade itself correctly?

I'm not sure how easy (or hard) to implement it is.

Surely, it will need some changes and should be fully supported in the 
future (without hacks).
But I can't tell right now if an upgrade from 1.2.x to a newer version 
(1.4.x?) will be seamless. Or a proper upgrade will be available in 
1.4.x onwards.


-- 
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] Installer upgrade trouble...

2008-04-29 Thread Tomasz Chmielewski
Marco Gaiarin schrieb:

(...)

 PS: and if we simply throw away the .msi installer and prepare a simple
  batch script that do the job, copy files, setting registry keys, ...
  In another way: what do the .msi installer on a *upgrade* process? Can
  be substituted with a simple cmd script?

+ libraries which are in that MSI package.

Yes, it should work, but will be hacky.


-- 
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] Questions about offline mode and executing the wpkg service

2008-04-29 Thread Tomasz Chmielewski
Jens Geile schrieb:
 Hi,
 
 Basically the client cable was unplugged. In reality the client was 
 directly connected to the server through a normal ethernet cable not a 
 cross-over cable.
 Mmmh... try with cable disconnected, i think it is not the same.
 I pulled the cable out of the NIC and at least WPKG Client's behavior is the 
 same. The progress bar window is displayed for exactly 5 minutes as 
 configured in settings.xml.

I couldn't find it anywhere in the thread, although someone was talking 
about laptop here: is it a laptop? A laptop which has the disconnect 
the ethernet when running on a battery feature (or similar)?


-- 
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] Installer upgrade trouble...

2008-04-29 Thread Tomasz Chmielewski
Rainer Meier schrieb:

(...)

 No. I don't think this is the way to go. We are building up a 
 state-of-the-art software deployment environment and then we should 
 install one of the core components using a hacky cmd script? NO!
 
 Probably switching to NSIS could be an alternative too. Just make sure 
 the /S switch works properly ;-)
 However currently it's clearly a resource problem. WPKG 1.0 is quite 
 stable, WPKG 1.1 is collecting new features and WPKG client suffers from 
 some upgrade problems and probably also the delayed logon feature needs 
 further investigation. So if somebody could provide some assistance here...

Fair complaint.

This is what's planned for WPKG Client 1.4:

http://wpkg.org/TODO_list#WPKG_Client

I made some categories there. Everything what's under important/*useful 
will be addressed. Do we need this will not necessarily be addressed.

I need comments, comments, comments...


-- 
Tomasz Chmielewski
-
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] Questions about offline mode and executing the wpkg service

2008-04-30 Thread Tomasz Chmielewski
OK, so offline mode sucks right now on some machines, especially when 
used with logon delay.

I feel it needs a small redesign.

Some machines seem to enable network much later (wireless, but also some 
wired ones) - even if technically the network is started alreay. There 
WPKG will almost never work (network is technically started, but it 
really isn't, we can't connect - stop everything).


So, what should we do in that case? We could try to connect several 
times for several seconds, but what to do with logon delay then? Block 
the user, often unnecessarily? Don't block any more, but it can happen 
that we eventually connect and are able to install software?


-- 
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 issues in our environment

2008-05-06 Thread Tomasz Chmielewski
Erik Langeland schrieb:

 The first issue I discovered is that the Wpkg Client service, if it is set to 
 Automatic start, would start while Group Policy software installations were 
 still processing. I have also determined that in some cases, the service 
 finishes before Windows enters wpkglogon.dll, which runs wpkgMessage.exe to 
 display the dialog. If the service has already finished before the dialog 
 displays, the dialog will not close until the timeout expires, unless the 
 service is started a second time manually.
 
 My first attempt to resolve this was to change the wpkg service to Manual 
 start and using sc start WpkgService in a Group Policy startup script to 
 run the service. Although this resolves the first problem, it dos not always 
 resolve the second. The second problem also appears to be more acute on 
 notebook PCs, since the service finishes very quickly when the computer is 
 off the network.

It makes little sense to use both GPO (or its ability to deploy MSI packages) 
and WPKG for software deployment.

If you use both and are not careful, you may find yourself in an endless loop - 
GPO installing packages, WPKG uninstalling, or the other way around.


-- 
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] Username and LDAP objects support

2008-05-12 Thread Tomasz Chmielewski
[EMAIL PROTECTED] schrieb:
 First I would like to apologize for my bad English.
 
 I made patched wpkg.js file (version 1.1.0-M6), at which I tried implement
 new functionality I have asked here 
 lists.wpkg.org/pipermail/wpkg-users/2008-February/002636.html
 .
 
 You can download this file from vorlicek.web.tiscali.cz/Files/wpkgpatch.zip
 .
 
 So, what are new features?
 
 At hosts.xml it's possible to use now this attributes:
 name
 system
 ou
 group
 username
 userou
 usergroup

Hi Jindrich,

This likes like a load of useful features - nice.

Would you mind registering on http://bugzilla.wpkg.org and attaching your 
comments and a link to your post on the mailing list?
This way, it'll be easier to track the changes, status etc.

I also added Daniel Dehennin to CC: - he mentioned he wanted to implement some 
of these features lately.


-- 
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 v1.2.1 and slipstreamed WinXP SP3 - fails

2008-05-12 Thread Tomasz Chmielewski
Paul Griffith schrieb:
 Greetings,
 
 I just tried to install WPKG Client v1.2.1 with WinXP SP3 (slipstreamed) and 
 it failed, v1.2r6 installed without any problems. Anyone tried a slipstream 
 WinXP SP3 ?
 
 Here is part of the log file:
 
 MSI (s) (E8:84) [13:34:53:000]: Product: WPKG -- Error 1901. Error attempting 
 to read from the source install database: C:\WINDOWS\Installer\569be!
 Error 1901. Error attempting to read from the source install database: 
 C:\WINDOWS\Installer\569be.msi.

I didn't yet try to install WPKG Client with XP SP3.

But this issue is a good opportunity to test it - I'll report back once I 
reproduce it (or not) with XP SP3.


-- 
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 v1.2.1 and slipstreamed WinXP SP3 - fails

2008-05-13 Thread Tomasz Chmielewski
Rainer Meier schrieb:
 Hi Paul,
 
 Paul Griffith wrote:
 I just tried to install WPKG Client v1.2.1 with WinXP SP3 (slipstreamed) and 
 it failed, v1.2r6 installed without any problems. Anyone tried a slipstream 
 WinXP SP3 ?
 
 I just did the same on a test installation within VirtualBox - fresh RIS 
 setup with Slipstreamed SP3. Upgrade path of the RIS image:
 - Original Windows XP SP1 german (did not try EN yet)
 - Slipstreamed SP2
 - Slipstreamed various patches
 - Slipstreamed SP3

It installed just fine for me on a slipstreamed SP2 + manually installed SP3 - 
both GUI (2x click on a MSI file) and CLI (msiexec /qb /i ... SETTINGSFILE ...).


-- 
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] install apps at logon instead of boot?

2008-05-13 Thread Tomasz Chmielewski
Joe schrieb:
 Is there a way (by using the wpkg windows client) that
 apps can be installed when a user logs on instead of
 when the computer boots?  The user will not have admin
 rights.  Can the wpkg service somehow be told to start
 processing at logon?

With WPKG Client, no it's not possible.

But if I remember correctly, it is possible to do so using Windows Task 
Scheduler, and perhaps Policies, too.

Why do you want to install software when the user logs in? I wouldn't recommend 
it, because the user can easily prevent an installation or upgrade in some 
cases 
(i.e., by opening a file which needs to be replaced).


-- 
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] install apps at logon instead of boot?

2008-05-13 Thread Tomasz Chmielewski
Joe schrieb:
 Tomasz Chmielewski wrote:
 I have users who never restart the computer for months.

 You can use Windows Task Scheduler to stop / start WPKG service daily 
 or weekly i.e. at night.

 You could use such a simple .bat script:

 net stop WPKG service
 net start WPKG service
 
 What about a user who logs out before the task runs?  Will the task
 still run with no one logged in?

Yes, everything should work fine, as WPKG service does not depend on user's 
desktop or if he/she is logged in or not.


 We could run it during the day but
 what happens when a user tries to run a program that is being
 installed/updated?

WPKG service runs in the background, and it shouldn't matter if the user is 
logged in or not. It *shouldn't* - because if the user runs a program, its 
upgrade will likely fail. You could forcibly log out the users, but you risk 
loosing the work they didn't save etc.

That's why running it during bootup makes most sense.
If you have the users who do not reboot their workstations, you have to take 
additional measures.


-- 
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] install apps at logon instead of boot?

2008-05-13 Thread Tomasz Chmielewski
Joe schrieb:
 Tomasz Chmielewski wrote:
 Joe schrieb:
 Is there a way (by using the wpkg windows client) that
 apps can be installed when a user logs on instead of
 when the computer boots?  The user will not have admin
 rights.  Can the wpkg service somehow be told to start
 processing at logon?

 With WPKG Client, no it's not possible.

 But if I remember correctly, it is possible to do so using Windows 
 Task Scheduler, and perhaps Policies, too.

 Why do you want to install software when the user logs in? I wouldn't 
 recommend it, because the user can easily prevent an installation or 
 upgrade in some cases (i.e., by opening a file which needs to be 
 replaced).


 
 I have users who never restart the computer for months.

You can use Windows Task Scheduler to stop / start WPKG service daily or weekly 
i.e. at night.

You could use such a simple .bat script:

net stop WPKG service
net start WPKG service


-- 
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 v1.2.1 and slipstreamed WinXP SP3 - fails

2008-05-13 Thread Tomasz Chmielewski
Paul Griffith schrieb:
 On Tue, 13 May 2008 14:12:52 -0400, Tomasz Chmielewski wrote:
 
 Rainer Meier schrieb:
 Hi Paul,

 Paul Griffith wrote:
 I just tried to install WPKG Client v1.2.1 with WinXP SP3 (slipstreamed) 
 and it failed, v1.2r6 installed without any problems. Anyone tried a 
 slipstream WinXP SP3 ?
 I just did the same on a test installation within VirtualBox - fresh RIS
 setup with Slipstreamed SP3. Upgrade path of the RIS image:
 - Original Windows XP SP1 german (did not try EN yet)
 - Slipstreamed SP2
 - Slipstreamed various patches
 - Slipstreamed SP3
 It installed just fine for me on a slipstreamed SP2 + manually installed SP3 
 -
 both GUI (2x click on a MSI file) and CLI (msiexec /qb /i ... SETTINGSFILE 
 ...).


 
 
 I found my problem, the size of the WPKG Client on our samba server is 2450KB 
 and the copy I just downloaded is 5561KB. It look like I had a bad download. 
 Sorry!! At least we knows it work on Win XP3 ;)

Good. Maybe it would be a good idea to put a md5sum and size of the packages on 
the download page?

Anyway, WPKG Client 1.4 is being worked on, and most stuff from 
http://wpkg.org/TODO_list#WPKG_Client will be addressed (hopefully: there are 
still some tests running if it's possible to start the whole routine properly 
on 
shutdown/reboot).


There are some problems with the reported logon delay window being shown longer 
than necessary (i.e., when the network cable is not plugged in), but the bug is 
harder to spot than expected.
If anyone has a system which shown this behaviour, and can offer a remote 
login, 
please let me know.


-- 
Tomasz Chmielewski
-
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] install apps at logon instead of boot?

2008-05-13 Thread Tomasz Chmielewski
Joe schrieb:
 Tomasz Chmielewski wrote:
 WPKG service runs in the background, and it shouldn't matter if the 
 user is logged in or not. It *shouldn't* - because if the user runs a 
 program, its upgrade will likely fail. You could forcibly log out the 
 users, but you risk loosing the work they didn't save etc.

 That's why running it during bootup makes most sense.
 If you have the users who do not reboot their workstations, you have 
 to take additional measures.
 
 What would the difference be between stopping/starting the wpkg service
 via the task scheduler versus running wpkg.js via the task scheduler?

Almost no difference.

With WPKG Client it is easier to specify different network credentials, there 
are some additional features, and is generally more user-friendly.

But for the systems which are running 24/7 it shouldn't make a big difference. 
Especially when the admin understands his/her job ;)



-- 
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] Viewing software installed on workstations

2008-05-16 Thread Tomasz Chmielewski
Rainer Meier schrieb:
 Hi Joe
 
 Joe wrote:
 Ok... Thanks...  I was going crazy for a bit trying to figure out
 why the files never matched.  Might want to add this to the docs
 on http://wpkg.org/Viewing_software_installed_on_workstations
 
 You're very welcome. In fact the Execute after feature has been 
 introduced later on - so the hint on the web-page was correct at that 
 time - but now there is a better solution available (at least I think it 
 is better).

I updated the above page.

Is it more readable now, Joe? If not, please correct it or tell us where 
the explanation could be improved.


-- 
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] Package Renaming [SEC=UNCLASSIFIED]

2008-05-20 Thread Tomasz Chmielewski
Michael Chinn schrieb:
 I was planning a mass rename of existing packages to conform with a new 
 naming  priority convention and just wondered if anyone else has 
 attempted this? Would it be best to remove the local wpkg.xml prior to 
 wpkg.js execution so that all the packages reperforms their checks? I 
 can for see some issues with 'execute once' pkgs running again

Yeah, removing wpkg.xml seems to be the easiest way if you renamed your 
packages.
As you said, you will have problems with packages with no checks 
(execute once) - they will be started once again. If there are no big 
installers there, it shouldn't be a problem, though.

Another thing you could do is to do the changes in wpkg.xml.
The easiest would be if you kept this in one place (on a remote server - 
settable in config.xml).

If this file is stored locally, you may use WPKG Client and execute 
before / after to rename entries in wpkg.xml.


-- 
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 and Vista UAC

2008-05-22 Thread Tomasz Chmielewski
Vladimír Pšenička schrieb:
 Hi
 
 I have found problem with Vista machines and UAC enabled. When WPKG
 client starts on Vista machine and start installing some SW a see in
 event log permission errors (about need to elevate user rights, although
 user installing SW is member of domain admins group) I have czech
 Windows so I apologize for mistakes in translation.  Is possible to
 install SW with WPKG correctly on Vista with UAC enabled?
 
 
 Without UAC everything works fine...

Does it also happen if you configure WPKG Client to start as a SYSTEM user?

I don't have Vista, unfortunately. Enyone else using Vista seeing this, too?

Anyway, I'll forward this issue to a WPKG Client developer more familiar 
with Vista...

Or, if you really have to start the service as a domain administrator, 
you may have more luck asking a Windows-specific newsgroup this question:

How can I disable UAC for only one domain Administrator, but leave UAC 
on for each and every other user?

Let us know about your findings...


-- 
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 and Vista UAC

2008-05-22 Thread Tomasz Chmielewski
Vladimír Pšenička schrieb:
 No I am installing SW with WPKG Client (service) and errors in event log
 I read after WPKG client finished installing SW. But service run with
 account, which is member of Domain Admins group (because I have to
 connect to network disk, where is SW which is installed)
 
 Is possible run wpkg service with SYSTEM account and install SW from
 network disks and without error messages (elevated user rights)?

Yes - start wpkginst.exe. You have two types of credentials to use:

WPKG execution context - the user which executes the service

WPKG path user - user for accessing the network shares


-- 
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] Questions about offline mode and executing the wpkg service

2008-05-23 Thread Tomasz Chmielewski
Hi,

Everyone experiencing logon delay window being shown when the network 
cable was disconnected - could you try:

http://wpkg.org/files/client/beta/WPKG%20Client%201.3.1-2.msi

It is a test version made just to verify this problem, so please don't 
report other problems about this release.

To use it:
- uninstall the previous WPKG Client version (reboot may be needed),
- yes, I meant uninstall; do not just upgrade,
- install this version, use these or similar settings:

a) Logon settings: logon delay of 5 minutes
b) Misc settings: log to file C:\wpkg.log
c) Offline mode settings: Enable offline mode + IP of your server


1) Start with the network cable plugged in, copy C:\wpkg.log, 
C:\wpkglogon.txt

2) Start with the network cable unplugged, copy C:\wpkg.log, 
C:\wpkglogon.txt


If the issue is still not solved for you, reply to the list and say it 
doesn't work (and please send me the above mentioned files off-list).

If the issue is solved, you don't have to send any files - just let me 
know that it works.



-- 
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 and Vista UAC

2008-05-23 Thread Tomasz Chmielewski
Vladimír Pšenička schrieb:

(...)

   guest user (from session setup) not permitted to access this share 
 (install)
 
 problem is that guest user cannot access share, so I added guest ok =
 yes to smb.conf, before this I had Domain Admin account in WPKG execute
 context user, so access to share wasn't problem, but Vista with UAC
 didn't work (need to elevate user rights).
 
 Final I have:
 ---
 WPKG path user: domain user
 WPKG execution context user: SYSTEM
 guest ok = yes in smb.conf in share definition on samba machine
 ---
 
 and everything works fine on XP and Vista with UAC

Note that with this setting *everyone* can access this share.


What is still not clear for me: is your software share a different one 
from the WPKG share (the one where you keep wpkg.js)?

If yes, you may indeed have problems accessing them.

Using one single share for both software (installers) and WPKG (wpkg.js, 
config.xml, package definitions) is the recommended one I'd say.


-- 
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] Questions about offline mode and executing the wpkg service

2008-05-28 Thread Tomasz Chmielewski
Brian May schrieb:
 Tomasz Chmielewski wrote:
 
 1) Start with the network cable plugged in, copy C:\wpkg.log, 
 C:\wpkglogon.txt
 
 For some reason wpkg didn't find the network path after removing and 
 installing the version in your post.
 
 2008-05-27 10:36:42 - WNetAddConnection2- The network path was not n 
 found.

 2) Start with the network cable unplugged, copy C:\wpkg.log, 
 C:\wpkglogon.txt


 If the issue is still not solved for you, reply to the list and say it 
 doesn't work (and please send me the above mentioned files off-list).
 
 In off-line mode, what should I see? I see:

Did you see a logon delay window previously, even if the network cable 
was disconnected? Do you see it now, when the cable is disconnected?


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

2008-06-02 Thread Tomasz Chmielewski
Jeffery Yap Choon Ming schrieb:
 
 I'm new to WPKG Web Interface, anyone can have a guide to share?

Did you read the INSTALL file?

Note: WPKG Web Interface does not have an active maintainer, so not all 
features present in the current version of wpkg.js are supported.


-- 
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] the remove cmd can't work

2008-06-09 Thread Tomasz Chmielewski
Jeffery Yap Choon Ming schrieb:
 
 Hi,
 
 Hope someone can help me. I have install the Mozilla and try our, it 
 works fine. Unfortunately, I cant have the WPKG to remove the apps via 
 remove cmd=
 Are there any steps missing?

You didn't specify:

1) how you want to remove the apps (command line option to wpkg.js, 
package removed from profiles.xml etc.)

2) what is the error

Without it, we can't help much.


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


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


Re: [wpkg-users] Installer for windows 64 bits

2008-06-12 Thread Tomasz Chmielewski
Rainer Meier schrieb:

 As soon as a 64-bit version of WPKG client is available this step can be 
 omitted and 64-bit WPKG client can directly call 64-bit cscript and 
 launch wpkg.js directly.

Which should happen after 32 bit version of WPKG Client 1.4.0 is 
released. A month or so, time permits. I'm still waiting for remarks, 
issues etc. for a testing 1.3.2.


-- 
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 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 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) / 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] vnc 4.1.2 on vista

2008-06-16 Thread Tomasz Chmielewski
Vincent MALIEN schrieb:
 Hello,
 
 I use the free-ware vnc 4.1.2 from RealVNC on every computer in my 
 enterprise to remote control it easer than the windows remote desktop 
 connection. I use this silent installer:
 package id=winvnc4 name=VNC server revision=1 priority=0 
 reboot=false
  check type=uninstall condition=exists path=RealVNC_is1 /
  install cmd='regedit /s %SOFTWARE%\vnc\vnc4.reg' /
  install cmd='%SOFTWARE%\vnc\vnc-4_1_2-x86_win32.exe /sp- /silent 
 /norestart' /
  install cmd='sc config winvnc4 start= demand' /
  remove cmd='%ProgramFiles%\RealVNC\VNC4\unins000.exe /SP- /SILENT 
 /NORESTART' /
 /package
 
 but vnc 4.1.2 fails on vista when started as a service. So I can't 
 remotely access to the computer when no user is logged in.
 Does someone has got a solution to this problem, using this free-ware or 
 an other?

Anything useful in the Event Log?

In either case, you may find more help on RealVNC mailing list?


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

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


  1   2   3   4   5   >