Re: [wpkg-users] WPKG uninstalls unmanaged software?

2011-06-08 Thread Falko Trojahn

Hello Kevin,

Am 06.06.2011 13:31, Falko Trojahn wrote:

McAfee is part of my internal profile, but is not part of the
preinstall profile since not all computers that come in have a license
for it.

I found that WPKG did in fact remove McAfee even though it hadn't
installed it.


...


Please send

- full debug log of this process or, if you don't find it (but - if it
is reproducible - you should ...), you have perhaps some eventlog entries.

- xmls (at least of the profiles and the McAfee package)

- you don't use Wpkg Client or similar on this computer, do you?




thanx for sending your logs in private.

> Included is the requested information. The log file ends
> abruptly because the antivirus removal reboots the computer.
>
> No, this computer has definitely never seen WPKG.
> WPKG client is also not installed.
>
> I made a mistake in my problem report. Originally,
> I stated that McAfee was included
> in my profiles "workstation" and "server". That is actually
> not the case.
> I have a package.xml file McAfee, but it is actually
> currently not used in any profile.

Well, just had a look at the version of wpkg.js you are using: 1.1.1
At http://wpkg.org/Download you find stable version 1.1.2 from Sep. 2009 
- why do you use such an old Wpkg version?


Please have a look at the revison log
http://wpkg.svn.sourceforge.net/viewvc/wpkg/wpkg/stable/1.1/wpkg.js?view=log#rev86
Read newer changeset descriptions using "page up" - perhaps you find an 
entry regarding your problem - we are at 1.1.3-RC6 in changeset 124.


So please, use at least version 1.1.2 (stable). I suggest using latest 
svn version from

http://wpkg.svn.sourceforge.net/viewvc/wpkg/wpkg/stable/1.1/wpkg.js?revision=124&view=markup
(just click "download" then "save as" in your Browser).

Before production use, please check in a test environment, that
the recent wpkg.js does really work as expected with your actual 
package/profile/hosts xmls. Since 1.1.1, a lot of things have changed - 
mostly preserving compatibility ...


Just to complete the analysis from your log:

...
2011-06-06 00:17:49, DEBUG   : WPKG 1.1.1 starting...
...
2011-06-06 00:18:01, DEBUG   : Checking existence of package: McAfee ASAP
2011-06-06 00:18:01, DEBUG   : Reading variables from package McAfee ASAP
...
2011-06-06 00:18:01, DEBUG   : Uninstall entry for McAfee Virus and 
Spyware Protection Service was found: test successful
2011-06-06 00:18:01, DEBUG   : Adding settings node: 'McAfee ASAP' 
(mcafeeasap), Revision 4

...
2011-06-06 00:18:06, DEBUG   : Found installed package 'McAfee ASAP' 
(mcafeeasap).
2011-06-06 00:18:06, DEBUG   : Marking package 'McAfee ASAP' 
(mcafeeasap) for remove

...
2011-06-06 00:18:08, DEBUG   : Removing package 'mcafeeasap'.
2011-06-06 00:18:08, DEBUG   : Package 'McAfee ASAP' (mcafeeasap): Not 
yet processed during this session.
2011-06-06 00:18:08, DEBUG   : Removal of depending packages for 'McAfee 
ASAP' (mcafeeasap) successfully finished.

2011-06-06 00:18:08, INFO: Removing McAfee ASAP (mcafeeasap)...


Wpkg detects your McAfee package as installed and removes it, since it
is not assigned to your host.

It would be nice if you could really reproduce the same situation and 
use wpkg.js from svn.


But I think, in this situation, Wpkg does the things not so bad:

* it detects a package which is in your package base as "installed"

* this package is not assigned to your host, so it is removed


I've just made a quick test to reproduce your situation:

- 7zip was installed using Wpkg

- removed the 7zip package from windows\system32\wpkg.xml manually

- removed the 7zip package entry from the profile of my test station

--> we have the same situation, as if 7zip would not have been installed 
using Wpkg


- started Wpkg client -> nothing was changed.

- assigned 7zip package entry again to the profile

- started Wpkg Client -> wpkg just detected 7zip as already installed


I think you could reproduce your McAfee problem the same way.

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


[wpkg-users] Chrome Enterprise

2011-06-08 Thread Charles Gargent
Hi,

I am trying to deploy Google Chrome by following the instructions from
here http://wpkg.org/Google_Chrome . Unfortunately it doesn't install
and I keep getting an error 1722

I have added logging  to the install command and below is the section
of the log where the error lies.

Has anyone had any success with this, am I missing something?

thanks in advance


MSI (s) (0C:74) [10:14:46:340]: Executing op:
CustomActionSchedule(Action=DoInstall,ActionType=3074,Source=BinaryData,Target=/silent
/install "appguid={8A69D345-D564-463c-AFF1-A69D9E530F96}&appname=Google
Chrome&needsAdmin=True&brand=GGRV" /installsource enterprisemsi
/appargs 
"appguid={8A69D345-D564-463c-AFF1-A69D9E530F96}&installerdata=%7B%22distribution%22%3A%7B%22msi%22%3Atrue%2C%22system_level%22%3Atrue%2C%22verbose_logging%22%3Atrue%7D%7D",)

MSI (s) (0C:74) [10:20:00:059]: Note: 1: 1722 2: DoInstall 3:
C:\WINDOWS\Installer\MSIF.tmp 4: /silent /install
"appguid={8A69D345-D564-463c-AFF1-A69D9E530F96}&appname=Google
Chrome&needsAdmin=True&brand=GGRV" /installsource enterprisemsi
/appargs 
"appguid={8A69D345-D564-463c-AFF1-A69D9E530F96}&installerdata=%7B%22distribution%22%3A%7B%22msi%22%3Atrue%2C%22system_level%22%3Atrue%2C%22verbose_logging%22%3Atrue%7D%7D"

MSI (s) (0C:74) [10:20:00:059]: Product: Google Chrome -- 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 DoInstall, location:
C:\WINDOWS\Installer\MSIF.tmp, command: /silent /install
"appguid={8A69D345-D564-463c-AFF1-A69D9E530F96}&appname=Google
Chrome&needsAdmin=True&brand=GGRV" /installsource enterprisemsi
/appargs 
"appguid={8A69D345-D564-463c-AFF1-A69D9E530F96}&installerdata=%7B%22distribution%22%3A%7B%22msi%22%3Atrue%2C%22system_level%22%3Atrue%2C%22verbose_logging%22%3Atrue%7D%7D"
-
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] Chrome Enterprise

2011-06-08 Thread John Danks
Can you post the package definition you're using?

On Wed, Jun 8, 2011 at 3:50 AM, Charles Gargent  wrote:
> Hi,
>
> I am trying to deploy Google Chrome by following the instructions from
> here http://wpkg.org/Google_Chrome . Unfortunately it doesn't install
> and I keep getting an error 1722
>
> I have added logging  to the install command and below is the section
> of the log where the error lies.
>
> Has anyone had any success with this, am I missing something?
>
> thanks in advance
>
>
> MSI (s) (0C:74) [10:14:46:340]: Executing op:
> CustomActionSchedule(Action=DoInstall,ActionType=3074,Source=BinaryData,Target=/silent
> /install "appguid={8A69D345-D564-463c-AFF1-A69D9E530F96}&appname=Google
> Chrome&needsAdmin=True&brand=GGRV" /installsource enterprisemsi
> /appargs 
> "appguid={8A69D345-D564-463c-AFF1-A69D9E530F96}&installerdata=%7B%22distribution%22%3A%7B%22msi%22%3Atrue%2C%22system_level%22%3Atrue%2C%22verbose_logging%22%3Atrue%7D%7D",)
>
> MSI (s) (0C:74) [10:20:00:059]: Note: 1: 1722 2: DoInstall 3:
> C:\WINDOWS\Installer\MSIF.tmp 4: /silent /install
> "appguid={8A69D345-D564-463c-AFF1-A69D9E530F96}&appname=Google
> Chrome&needsAdmin=True&brand=GGRV" /installsource enterprisemsi
> /appargs 
> "appguid={8A69D345-D564-463c-AFF1-A69D9E530F96}&installerdata=%7B%22distribution%22%3A%7B%22msi%22%3Atrue%2C%22system_level%22%3Atrue%2C%22verbose_logging%22%3Atrue%7D%7D"
>
> MSI (s) (0C:74) [10:20:00:059]: Product: Google Chrome -- 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 DoInstall, location:
> C:\WINDOWS\Installer\MSIF.tmp, command: /silent /install
> "appguid={8A69D345-D564-463c-AFF1-A69D9E530F96}&appname=Google
> Chrome&needsAdmin=True&brand=GGRV" /installsource enterprisemsi
> /appargs 
> "appguid={8A69D345-D564-463c-AFF1-A69D9E530F96}&installerdata=%7B%22distribution%22%3A%7B%22msi%22%3Atrue%2C%22system_level%22%3Atrue%2C%22verbose_logging%22%3Atrue%7D%7D"
> -
> wpkg-users mailing list archives >> 
> http://lists.wpkg.org/pipermail/wpkg-users/
> ___
> wpkg-users mailing list
> wpkg-users@lists.wpkg.org
> http://lists.wpkg.org/mailman/listinfo/wpkg-users
>
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Chrome Enterprise

2011-06-08 Thread Charles Gargent
I am using the following, this isnt the problem though as the log file
is generated so i know it is trying to install




   
   
   
   
   


On 8 June 2011 14:09, John Danks  wrote:
> Can you post the package definition you're using?
>
> On Wed, Jun 8, 2011 at 3:50 AM, Charles Gargent  wrote:
>> Hi,
>>
>> I am trying to deploy Google Chrome by following the instructions from
>> here http://wpkg.org/Google_Chrome . Unfortunately it doesn't install
>> and I keep getting an error 1722
>>
>> I have added logging  to the install command and below is the section
>> of the log where the error lies.
>>
>> Has anyone had any success with this, am I missing something?
>>
>> thanks in advance
>>
>>
>> MSI (s) (0C:74) [10:14:46:340]: Executing op:
>> CustomActionSchedule(Action=DoInstall,ActionType=3074,Source=BinaryData,Target=/silent
>> /install "appguid={8A69D345-D564-463c-AFF1-A69D9E530F96}&appname=Google
>> Chrome&needsAdmin=True&brand=GGRV" /installsource enterprisemsi
>> /appargs 
>> "appguid={8A69D345-D564-463c-AFF1-A69D9E530F96}&installerdata=%7B%22distribution%22%3A%7B%22msi%22%3Atrue%2C%22system_level%22%3Atrue%2C%22verbose_logging%22%3Atrue%7D%7D",)
>>
>> MSI (s) (0C:74) [10:20:00:059]: Note: 1: 1722 2: DoInstall 3:
>> C:\WINDOWS\Installer\MSIF.tmp 4: /silent /install
>> "appguid={8A69D345-D564-463c-AFF1-A69D9E530F96}&appname=Google
>> Chrome&needsAdmin=True&brand=GGRV" /installsource enterprisemsi
>> /appargs 
>> "appguid={8A69D345-D564-463c-AFF1-A69D9E530F96}&installerdata=%7B%22distribution%22%3A%7B%22msi%22%3Atrue%2C%22system_level%22%3Atrue%2C%22verbose_logging%22%3Atrue%7D%7D"
>>
>> MSI (s) (0C:74) [10:20:00:059]: Product: Google Chrome -- 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 DoInstall, location:
>> C:\WINDOWS\Installer\MSIF.tmp, command: /silent /install
>> "appguid={8A69D345-D564-463c-AFF1-A69D9E530F96}&appname=Google
>> Chrome&needsAdmin=True&brand=GGRV" /installsource enterprisemsi
>> /appargs 
>> "appguid={8A69D345-D564-463c-AFF1-A69D9E530F96}&installerdata=%7B%22distribution%22%3A%7B%22msi%22%3Atrue%2C%22system_level%22%3Atrue%2C%22verbose_logging%22%3Atrue%7D%7D"
>> -
>> wpkg-users mailing list archives >> 
>> http://lists.wpkg.org/pipermail/wpkg-users/
>> ___
>> wpkg-users mailing list
>> wpkg-users@lists.wpkg.org
>> http://lists.wpkg.org/mailman/listinfo/wpkg-users
>>
>
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Chrome Enterprise

2011-06-08 Thread John Danks
This may help: http://code.google.com/p/chromium/issues/detail?id=73253

On Wed, Jun 8, 2011 at 7:39 AM, Charles Gargent  wrote:
> I am using the following, this isnt the problem though as the log file
> is generated so i know it is trying to install
>
> 
> 
>  revision="11.0.696.57" priority="20" reboot="false">
>       
>       
>       
>       
>   
> 
>
> On 8 June 2011 14:09, John Danks  wrote:
>> Can you post the package definition you're using?
>>
>> On Wed, Jun 8, 2011 at 3:50 AM, Charles Gargent  wrote:
>>> Hi,
>>>
>>> I am trying to deploy Google Chrome by following the instructions from
>>> here http://wpkg.org/Google_Chrome . Unfortunately it doesn't install
>>> and I keep getting an error 1722
>>>
>>> I have added logging  to the install command and below is the section
>>> of the log where the error lies.
>>>
>>> Has anyone had any success with this, am I missing something?
>>>
>>> thanks in advance
>>>
>>>
>>> MSI (s) (0C:74) [10:14:46:340]: Executing op:
>>> CustomActionSchedule(Action=DoInstall,ActionType=3074,Source=BinaryData,Target=/silent
>>> /install "appguid={8A69D345-D564-463c-AFF1-A69D9E530F96}&appname=Google
>>> Chrome&needsAdmin=True&brand=GGRV" /installsource enterprisemsi
>>> /appargs 
>>> "appguid={8A69D345-D564-463c-AFF1-A69D9E530F96}&installerdata=%7B%22distribution%22%3A%7B%22msi%22%3Atrue%2C%22system_level%22%3Atrue%2C%22verbose_logging%22%3Atrue%7D%7D",)
>>>
>>> MSI (s) (0C:74) [10:20:00:059]: Note: 1: 1722 2: DoInstall 3:
>>> C:\WINDOWS\Installer\MSIF.tmp 4: /silent /install
>>> "appguid={8A69D345-D564-463c-AFF1-A69D9E530F96}&appname=Google
>>> Chrome&needsAdmin=True&brand=GGRV" /installsource enterprisemsi
>>> /appargs 
>>> "appguid={8A69D345-D564-463c-AFF1-A69D9E530F96}&installerdata=%7B%22distribution%22%3A%7B%22msi%22%3Atrue%2C%22system_level%22%3Atrue%2C%22verbose_logging%22%3Atrue%7D%7D"
>>>
>>> MSI (s) (0C:74) [10:20:00:059]: Product: Google Chrome -- 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 DoInstall, location:
>>> C:\WINDOWS\Installer\MSIF.tmp, command: /silent /install
>>> "appguid={8A69D345-D564-463c-AFF1-A69D9E530F96}&appname=Google
>>> Chrome&needsAdmin=True&brand=GGRV" /installsource enterprisemsi
>>> /appargs 
>>> "appguid={8A69D345-D564-463c-AFF1-A69D9E530F96}&installerdata=%7B%22distribution%22%3A%7B%22msi%22%3Atrue%2C%22system_level%22%3Atrue%2C%22verbose_logging%22%3Atrue%7D%7D"
>>> -
>>> wpkg-users mailing list archives >> 
>>> http://lists.wpkg.org/pipermail/wpkg-users/
>>> ___
>>> wpkg-users mailing list
>>> wpkg-users@lists.wpkg.org
>>> http://lists.wpkg.org/mailman/listinfo/wpkg-users
>>>
>>
>
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] WPKG uninstalls unmanaged software?

2011-06-08 Thread Kevin Keane
Hello Falko,

-Original Message-
From: Falko Trojahn [mailto:nospam...@smi-softmark.de] 
Sent: Wednesday, June 08, 2011 2:02 AM
To: wpkg-users@lists.wpkg.org
Cc: Kevin Keane
Subject: Re: [wpkg-users] WPKG uninstalls unmanaged software?

Hello Kevin,

Am 06.06.2011 13:31, Falko Trojahn wrote:


> Included is the requested information. The log file ends  > abruptly because 
> the antivirus removal reboots the computer.
 >
 > No, this computer has definitely never seen WPKG.
 > WPKG client is also not installed.
 >
 > I made a mistake in my problem report. Originally,  > I stated that McAfee 
 > was included  > in my profiles "workstation" and "server". That is actually  
 > > not the case.
 > I have a package.xml file McAfee, but it is actually  > currently not used 
 > in any profile.

> Well, just had a look at the version of wpkg.js you are using: 1.1.1 At 
> http://wpkg.org/Download you find stable version 1.1.2 from Sep. 2009
- why do you use such an old Wpkg version?

I thought I used 1.1.2 - not sure where the 1.1.1 came from. I'll update that, 
of course!

I already returned that computer, but will retry it next time.


...
2011-06-06 00:17:49, DEBUG   : WPKG 1.1.1 starting...
...
2011-06-06 00:18:01, DEBUG   : Checking existence of package: McAfee ASAP
2011-06-06 00:18:01, DEBUG   : Reading variables from package McAfee ASAP
...
2011-06-06 00:18:01, DEBUG   : Uninstall entry for McAfee Virus and 
Spyware Protection Service was found: test successful
2011-06-06 00:18:01, DEBUG   : Adding settings node: 'McAfee ASAP' 
(mcafeeasap), Revision 4
...
2011-06-06 00:18:06, DEBUG   : Found installed package 'McAfee ASAP' 
(mcafeeasap).
2011-06-06 00:18:06, DEBUG   : Marking package 'McAfee ASAP' 
(mcafeeasap) for remove
...
2011-06-06 00:18:08, DEBUG   : Removing package 'mcafeeasap'.
2011-06-06 00:18:08, DEBUG   : Package 'McAfee ASAP' (mcafeeasap): Not 
yet processed during this session.
2011-06-06 00:18:08, DEBUG   : Removal of depending packages for 'McAfee 
ASAP' (mcafeeasap) successfully finished.
2011-06-06 00:18:08, INFO: Removing McAfee ASAP (mcafeeasap)...


> Wpkg detects your McAfee package as installed and removes it, since it is not 
> assigned to your host.

The question is: why does wpkg detect it as installed in the first place? The 
whole point of the discussion a while ago was that wpkg supposedly does *not* 
detect installed programs unless they are listed in wpkg.xml.

> It would be nice if you could really reproduce the same situation and use 
> wpkg.js from svn.

> But I think, in this situation, Wpkg does the things not so bad:

One can indeed make the case that this behavior is acceptable. The problem is 
more that it contradicts something that was explicitly stated. Worse, it 
appears that in *some* scenarios, software gets removed, and in others it is 
left untouched. Nothing worse than inconsistent behavior in a tool that is 
supposed to help make your environment more consistent.

Personally, I think that a new feature would be desirable to control this on 
the profile level.

In profile.xml, the package tag could be enhanced by adding an attribute:

Today:



New:



Where XXX is:

- install (same as action= attribute omitted): same behavior as today
- remove (always uninstall if the package already exists, even if it is missing 
in wpkg.xml)
- skip (don't install or uninstall regardless of whether it is listed in 
wpkg.xml)
- manage (add to wpkg.xml if found, but don't install if it is missing).
- unmanage (remove from wpkg.xml but do not uninstall)


> I've just made a quick test to reproduce your situation:

I think one possible difference between your scenario and mine is that you 
*had* a wpkg.xml. In my case, wpkg.xml didn't exist at all. It should 
theoretically be the same whether you just delete 7zip from the wpkg.xml, or 
you delete the whole file - but maybe it isn't?

Thank you very much for looking into this!

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