[wpkg-users] helpful python module

2010-02-26 Thread Steve Romanow

http://timgolden.me.uk/python/winshell.html

I saw a writeup of this on another blog and thought abt how relevant 
this is to some wpkg tasks.

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


[wpkg-users] Will WPKG uninstall software it did not install?

2010-02-26 Thread Thomas Wootten
Will wpkg uninstall software it did not install, if said software is 
installed on the computer, has an entry in packages.xml, but is not in 
the relevant profile?


The desired behaviour for myself is that wpkg _not_ do that. Since users 
are allowed to install their own software if they want.

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


Re: [wpkg-users] Will WPKG uninstall software it did not install?

2010-02-26 Thread Chris Wilcox


> Date: Fri, 26 Feb 2010 11:33:20 +
> From: jetsho...@o2.co.uk
> To: wpkg-users@lists.wpkg.org
> Subject: [wpkg-users] Will WPKG uninstall software it did not install?
> 
> Will wpkg uninstall software it did not install, if said software is 
> installed on the computer, has an entry in packages.xml, but is not in 
> the relevant profile?
> 
> The desired behaviour for myself is that wpkg _not_ do that. Since users 
> are allowed to install their own software if they want.


WPKG will only manage software it installs/uninstalls, it will not touch user 
installed software.

 

Chris

 
  
_
Got a cool Hotmail story? Tell us now
http://clk.atdmt.com/UKM/go/195013117/direct/01/-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Will WPKG uninstall software it did not install?

2010-02-26 Thread Peter Gough
My experience is that this is *mostly* true.

For example if you decide to roll out v1 of a package but a user has already
manually installed v2 and your check only looks for v1 files then you could
potentially have a situation where wpkg tries to install the older version
on top of the newer version. This would happen when your check conditions
fail even if the software is already installed.

My advice would be to setup a test environment first, rollout wpkg to a
select pilot group of patient users and then introduce the across the rest
of your machines.

BTW are users really able to install anything they want in your environment?
Sounds like a recipe for potential disaster!

On 26 February 2010 21:50, Chris Wilcox  wrote:

>
> > Date: Fri, 26 Feb 2010 11:33:20 +
> > From: jetsho...@o2.co.uk
> > To: wpkg-users@lists.wpkg.org
> > Subject: [wpkg-users] Will WPKG uninstall software it did not install?
>
> >
> > Will wpkg uninstall software it did not install, if said software is
> > installed on the computer, has an entry in packages.xml, but is not in
> > the relevant profile?
> >
> > The desired behaviour for myself is that wpkg _not_ do that. Since users
> > are allowed to install their own software if they want.
>
> WPKG will only manage software it installs/uninstalls, it will not touch
> user installed software.
>
> Chris
>
>
> --
> Got a cool Hotmail story? Tell us 
> now
>
> -
> wpkg-users mailing list archives >>
> http://lists.wpkg.org/pipermail/wpkg-users/
> ___
> wpkg-users mailing list
> wpkg-users@lists.wpkg.org
> http://lists.wpkg.org/mailman/listinfo/wpkg-users
>
>
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


[wpkg-users] WPKG client service script error on clean install

2010-02-26 Thread Vasaris
Hello,

   For the start let me thank the developers and maintainers of this project, 
as it is very usefull. I am newbie here, therefore pardon for my incompetence.
   I have started depolyment of WPKG from scratch. If I understand correctlly, 
there are two separate modes of the execution - server-side based push-pull 
with AD/logon script, and client mode pull-only. I started with the first 
server-side mode. It functions correctly, and the wpkg.js from wpkg.bat runs 
OK, reads XML definitions, and deploys the packaged (at this time only timesych 
to test) OK, leaving the log file and Eventlog full with debug info.
   Yet, I have issue with the Client (1.3.9 32 bit) service error. It is logged 
in Windows Application log and is as follows:

 Event Id 1, Error, WpkgService, Script execution: failure. Exit code: 1. There 
are informative events before and after this one, but none of the indicate the 
problems.

   The service was deployed in the domain, with Active Directory IntelliMirror 
- msi package. There was issue, that MSI package deployment hanged in the 
"Installing WPKG..." screen interminentely, until workstation was rebooted. The 
issue was tracked down to the fact, that I did not use Orca MSI editor to add 
the config file location table record. After the transform with the record was 
added, and MSI package republished, the MSI install was a success.

   After this, I uploaded settings.xml file to the target workstation, which I 
have preprared and exported from the additional workstation, where WPKG client 
was installed manually. It is as follows:


\\serveris\KATALOGAS\DOMAIN\DISTRIBUCIJA\WPKG\wpkg.jsYESSYSTEM/synchronize
 
/debugYESYES3WPKG
 Software 
DeploymentWPKG
 is installing applications and applying 
settings...Please wait, don't restart or 
power off your 
computer...below-normalYESYESstandard192.168.2.153C:\system\log\wpkg-run.logNO10

The log file, created during clien service run, is as follows:

2010-02-26 17:39:46 -> Starting WPKG on startup
2010-02-26 17:39:46 -> Before create shared memory: successfuly done.
2010-02-26 17:39:46 -> Create shared memory: successfuly done.
2010-02-26 17:39:46 -> Set script security context: successfuly done.
2010-02-26 17:39:46 -> Starting script action execution
2010-02-26 17:39:48 -> Script action execution done.
2010-02-26 17:39:48 -> Script execution: failure. Exit code: 1
2010-02-26 17:39:48 -> Working done. Perform cleanup.
2010-02-26 17:39:48 -> Cleanup done.

It is the same to the Windows Eventlog.

I have unsuccessfully tried:

1. To change path to the script from UNC DFS-path to the UNC server path. I did 
not try mounted volume aproach, as I do know how to do that in the service 
execution context.
2. To restart serveral times.

When I try to run WPKG client on the other workstation with settings.xml loaded 
in the test mode, it runs dubiously:

Testing complete
2 - OK
1 - failed
5 - not tested
Details:
Action: Offline mode - connecting to 192.168.2.1
Result: [OK]
Message:
Action: Connecting to \\gravera.com\KATALOGAS\DOMAIN\DISTRIBUCIJA\WPKG\wpkg.js 
as 
Result: [FAILED]
Message: WNetAddConnection2-> Access is denied.
Action: Trying to read \\gravera.com\KATALOGAS\DOMAIN\DISTRIBUCIJA\WPKG\wpkg.js
Result: [OK]
Message: 

- like if it tries to authenticate with some empty crediantials and then fails. 
There are no Failed Audit entries neither on the workstation, or the server, 
auditing is turned on for sure.

Please notice, that WPKG in server mode executes flawlessly. Yet it would be 
good to use client mode, to give info to the users, that something is 
happening, to give information.

Therefore, any help with the client problem would be super. I will be waiting 
for the reply.

Regards,

Andrew


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


[wpkg-users] help with a package - ultravnc

2010-02-26 Thread Paul McGrath
Hi,
  I am trying to create a package of ultravnc 1.0.8.2 and have been working on 
it for two days.  I cannot get the mirror driver to install.

I have created two packages, one is the mirror driver and the other ultravnc.  
Ultravnc installs okay and is working but I need to install the mirror driver 
and I cannot get any of the suggested methods to work.  If I try any of the 
three methods manually it installs the mirror driver, but by WPKG it doesn't.



  


  





   







Thanks in advance
Paul

--
Paul McGrath,
IT Manager,
Leeds Institute of Molecular Medicine,
St James's University Hospital,
Beckett Street, Leeds, LS9 7TF, UK
Ext.: Uni - 38630, NHS - (89)38630
Tel.: +44 113 34 38630
Email...: j.p.mcgr...@leeds.ac.uk
Homepage: http://www.limm.leeds.ac.uk




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


Re: [wpkg-users] Will WPKG uninstall software it did not install?

2010-02-26 Thread Pendl Stefan
>
> Will wpkg uninstall software it did not install, if said software is
> installed on the computer, has an entry in packages.xml, but
> is not in
> the relevant profile?
>
> The desired behaviour for myself is that wpkg _not_ do that.
> Since users
> are allowed to install their own software if they want.

WPKG does __not__ manage software, which is not part of the profile for the 
computer.

WPKG will manage software, which it did not install, but is part of the profile 
of the computer.

WPKG does __not__ scan the installed software and remove anything, which does 
not match the profile of the computer.

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


Re: [wpkg-users] WPKG client service script error on clean install

2010-02-26 Thread Rainer Meier
Hi Vasaris,

On 26.02.2010 16:51, Vasaris wrote:
>After this, I uploaded settings.xml file to the target workstation, which 
> I have preprared and exported from the additional workstation, where WPKG 
> client was installed manually. It is as follows:

I hope you also imported the configuration into WPKG client on the second
workstation.


> 
> \\serveris\KATALOGAS\DOMAIN\DISTRIBUCIJA\WPKG\wpkg.jsYESSYSTEM/synchronize
>  
> /debugYESYES3WPKG
>  Software 
> DeploymentWPKG
>  is installing applications and applying 
> settings...Please wait, don't restart or 
> power off your 
> computer...below-normalYESYESstandard192.168.2.15  
> ver-connecting-timeout>3C:\system\log\wpkg-run.logNO10

I see you're not using a path-user setting but instead the machine account. I
personally never tried it but remember that there were some discussions that in
certain cases it does not work properly. Tomasz can comment on this, he knows by
heart I think.
I suggest you to try using a path-user ("DOMAIN\user" notation) and password in
order to use this user to connect to the specified share.


> The log file, created during clien service run, is as follows:
> 
> 2010-02-26 17:39:46 -> Starting WPKG on startup
> 2010-02-26 17:39:46 -> Before create shared memory: successfuly done.
> 2010-02-26 17:39:46 -> Create shared memory: successfuly done.
> 2010-02-26 17:39:46 -> Set script security context: successfuly done.
> 2010-02-26 17:39:46 -> Starting script action execution
> 2010-02-26 17:39:48 -> Script action execution done.
> 2010-02-26 17:39:48 -> Script execution: failure. Exit code: 1
> 2010-02-26 17:39:48 -> Working done. Perform cleanup.
> 2010-02-26 17:39:48 -> Cleanup done.

This is a typical scheme shown when WPKG client fails to connect to the network
share hosting wpkg.js.
I see you also added "/debug" to the WPKG parameters. I recommend you to use
"/synchronize" only and control the debug level within config.xml. This will
allow you to change it later without having to re-deploy a configuration update
to your clients.

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


Re: [wpkg-users] WPKG client service script error on clean install

2010-02-26 Thread Vasaris
Hi Rainer,

> Hi Vasaris,
> 
> On 26.02.2010 16:51, Vasaris wrote:
> >After this, I uploaded settings.xml file to the target workstation, 
> > which I have preprared and exported from the additional workstation, where 
> > WPKG client was installed manually. It is as follows:
> 
> I hope you also imported the configuration into WPKG client on the second
> workstation.

Of course I did so. The second workstation was used to generate settings.xml, 
which was uploaded to the first one by deployment script, before WPKG client 
was installed.

> I see you're not using a path-user setting but instead the machine account.

Yes, I do so. I chose this, because I do want to use and deploy user account 
with the administrative priviles in the domain, as well as the password for 
that account. If it is possible to run under system account, in impersonated 
environment, I think, it is best solution.

> I personally never tried it but remember that there were some discussions 
> that in
> certain cases it does not work properly. Tomasz can comment on this, he knows 
> by
> heart I think.

That would be best. I do want to switch to dedicated user+password scenario, as 
it is less secure and has a weak point, if the password changes/expires, user 
account is disabled, or any other accident.

> I suggest you to try using a path-user ("DOMAINuser" notation) and password in
> order to use this user to connect to the specified share.

I can do that, but is this the only solution? If so, then I think, that I will 
fall back to the first mode - when Active Directory Startup script calls 
wpkg.bat, and this one calls wpkg.js, which in turn runs the deployment cycle. 
I will not use client in such case. This is because, if I understand the 
documentation correctly, then the client does not work in NT 6.0/6.1 - vista+w7.

> > 2010-02-26 17:39:46 -> Starting script action execution
> > 2010-02-26 17:39:48 -> Script action execution done.
> > 2010-02-26 17:39:48 -> Script execution: failure. Exit code: 1
> > 2010-02-26 17:39:48 -> Working done. Perform cleanup.
> > 2010-02-26 17:39:48 -> Cleanup done.
> 
> This is a typical scheme shown when WPKG client fails to connect to the 
> network
> share hosting wpkg.js.

Hmz. Maybe then it would be good idea to rewrite error handling routine to 
output failure indicating exact reason of the failure.

> I see you also added "/debug" to the WPKG parameters. I recommend you to use
> "/synchronize" only and control the debug level within config.xml. This will
> allow you to change it later without having to re-deploy a configuration 
> update
> to your clients.

This is testing scenario, with only one isolated workstation. Of course in the 
production it will be changed back.

Regards,

Andrew.


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


Re: [wpkg-users] Will WPKG uninstall software it did not install?

2010-02-26 Thread Kevin Keane
> -Original Message-
> > Will wpkg uninstall software it did not install, if said software is
> > installed on the computer, has an entry in packages.xml, but
> > is not in
> > the relevant profile?
> >
> > The desired behaviour for myself is that wpkg _not_ do that.
> > Since users
> > are allowed to install their own software if they want.
> 
> WPKG does __not__ manage software, which is not part of the profile for
> the computer.

I believe that statement isn't quite accurate. WPKG will manage software that 
is part of the profile, but also software that has been part of the profile and 
was later removed from it. At least, as long as the client has seen the prior 
version of the profile, and you don't use the /noremove switch.

Or am I wrong here?

> WPKG will manage software, which it did not install, but is part of the
> profile of the computer.
> 
> WPKG does __not__ scan the installed software and remove anything,
> which does not match the profile of the computer.

To be honest, I don't completely trust WPKG in this respect. I have never been 
able to conclusively determine any scenario, but I could have sworn I had seen 
WPKG remove software that had never been part of the profile (even after we 
discussed it on this list a couple months ago).

In the end, for me it has not become much of an issue for me - I simply don't 
add packages for those things I want to be certain about.

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


Re: [wpkg-users] WPKG client service script error on clean install

2010-02-26 Thread Tomasz Chmielewski

On 26.02.2010 18:15, Rainer Meier wrote:

(...)


I see you're not using a path-user setting but instead the machine account. I
personally never tried it but remember that there were some discussions that in
certain cases it does not work properly. Tomasz can comment on this, he knows by
heart I think.


This should generally work, but I never really had the chance to test it 
personally, due to the lack of an AD controller here.


Well, I might get access to one, but so far, AD users here on the list 
reported that using machine accounts work for them (but not for Samba 
though).


Andrew: I assume the client was joined to the domain?

You can also try http://wpkg.org/files/client/beta/1.3.14/ - although 
there were almost no changes in machine account handling code.


If it still doesn't work, please report it on http://bugzilla.wpkg.org/ 
- I will be reminded to see what happens.



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


Re: [wpkg-users] Will WPKG uninstall software it did not install?

2010-02-26 Thread Rainer Meier
Hi Kevin,

On 26.02.2010 23:19, Kevin Keane wrote:
>> WPKG does __not__ scan the installed software and remove anything,
>> which does not match the profile of the computer.
> 
> To be honest, I don't completely trust WPKG in this respect. I have never 
> been able to conclusively determine any scenario, but I could have sworn I 
> had seen WPKG remove software that had never been part of the profile (even 
> after we discussed it on this list a couple months ago).

This would be quite magic since there is no code in wpkg.js to scan for software
which is not within the profile assigned to the host and which was never part of
the profile.

So WPKG does never touch any part of the system which is not under its control
(means not within the profile at any time). WPKG also never executes commands
you didn not specify within the package definition. So if you do not have any
commands which could make WPKG to remove Firefox it will never be able to remove
it. Even if you have a Firefox package in your packages.xml which is NOT
assigned to the host WPKG will never ever run any of these commands unless you
assign that package to the host at least once.

If you find a reproducible case where WPKG would "invent" some code/commands
please let me know, I would be very interested to analyze it.


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


Re: [wpkg-users] Will WPKG uninstall software it did not install?

2010-02-26 Thread Peter Gough
Agreed but this isn't the scenario I was describing.

Simply put if for some reason I decide to rollout Firefox v3.5 to all of my
clients but some of my users have already installed v3.6 then wpkg may
install the older version over the top of the newer version assuming I use a
check condition that specifies the file version as v3.5..

In this scenario wpkg.js would check for the v3.5 file and when it doesn't
find it then it would attempt to install v3.5 using the install commands in
the package definition file, regardless of whether v3.6 is installed or not.

That's why I was recommending being very careful when writing check
conditions and running a full test and a small pilot group first before
implementing wpkg.

On 27 February 2010 09:22, Rainer Meier  wrote:

> Hi Kevin,
>
> On 26.02.2010 23:19, Kevin Keane wrote:
> >> WPKG does __not__ scan the installed software and remove anything,
> >> which does not match the profile of the computer.
> >
> > To be honest, I don't completely trust WPKG in this respect. I have never
> been able to conclusively determine any scenario, but I could have sworn I
> had seen WPKG remove software that had never been part of the profile (even
> after we discussed it on this list a couple months ago).
>
> This would be quite magic since there is no code in wpkg.js to scan for
> software
> which is not within the profile assigned to the host and which was never
> part of
> the profile.
>
> So WPKG does never touch any part of the system which is not under its
> control
> (means not within the profile at any time). WPKG also never executes
> commands
> you didn not specify within the package definition. So if you do not have
> any
> commands which could make WPKG to remove Firefox it will never be able to
> remove
> it. Even if you have a Firefox package in your packages.xml which is NOT
> assigned to the host WPKG will never ever run any of these commands unless
> you
> assign that package to the host at least once.
>
> If you find a reproducible case where WPKG would "invent" some
> code/commands
> please let me know, I would be very interested to analyze it.
>
>
> br,
> Rainer
> -
> wpkg-users mailing list archives >>
> http://lists.wpkg.org/pipermail/wpkg-users/
> ___
> wpkg-users mailing list
> wpkg-users@lists.wpkg.org
> http://lists.wpkg.org/mailman/listinfo/wpkg-users
>
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


[wpkg-users] Joining windows to a domain

2010-02-26 Thread Sebastian Mazur
Hi,

I try join windows xp to domain with netdom.exe. When I run package I get
error: "Multiple connection...".
Is someone who tried to join windows to a domain and can help me?

Thanks
Sebastian.

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