Re: [wpkg-users] WPKG client issue on Vista

2009-08-12 Thread David Christensen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Tomasz Chmielewski wrote:
> David Christensen wrote:
>> -BEGIN PGP SIGNED MESSAGE-
>> Hash: SHA1
>>
>> Tomasz Chmielewski wrote:
>>> David Christensen wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Tomasz Chmielewski wrote:
> David Christensen wrote:
>
>> - <#> > xmlns="*http://schemas.microsoft.com/win/2004/08/events/event*";>
>> - <#> 
>>   
>>   1
>>   2
>>   0
>>   0x80
>>   
>>   1371
>>   Application
>>   Scoobysnack
>>   
>>   
>> - <#> 
>>   Script execution: failure. Exit code: 1
>>   
>>   
>>
>> The wpkg version I am using is 1.2.1
> You could try a newer version.
>
> But your issue is most likely just a pre- or post- script which fails.
> Or wpkg.js.
>
>
 I installed a new version and got the same error.  I was able to figure
 out that the issue was related to the execution context.  When I
 deployed wpkg on my XP clients I created a user in my samba domain that
 had access to the share where wpkg is mounted and then added this user
 to each client as a local admin.  I tried the same thing in vista and
 even with the newer client the same thing occured.  It looks like
 permissions are much different in t for testing purposes I used the
 administrator account for the execution context and restarted wpkg,
 which worked.
>>> If you're logged in as a (domain) administrator, you probably have 
>>> network shares already mapped.
>>> Therefore the test will most likely work, even if you use wrong credentials.
>>>
>>>
  However now that I can keep wpkg running, I am not able
 to install any applications, I get an error invalid username or bad
 password when it tries to run the package cmd specified in package.xml.
  Is there a particular wpkg client configuration that I need to use for
 Vista clients?
>>> I'm not sure - could be UAC related?
>>>
>> I logged in as local admin and also tried logging in as a domain user
>> with access to the wpkg share that also has local admin privileges.  I
>> ended up configuring wpkg to use the domain user for access to the share
>> and the admin for execution context.  Is the access denied error coming
>> from the host or the samba share?
> 
> Samba denies access.
> But to be sure, set "log level = 3" in smb.conf, and see what is logged 
> in Samba logs.
> 
> 
>> I am trying to use the download xml function to see if I get any
>> different results.  It appears to down load the file however when i try
>> to install the file wpkg can't find it.  I thought Windows stuck temp
>> files in %TEMP%?
> 
> Do you mean wpkg.xml - http://wpkg.org/Wpkg.xml?
> 
> Or something else?
> 
I am actually talking about this within the packages.xml:


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEUEARECAAYFAkqDJBwACgkQ5B+8XEnAvqtOFACfWMdn6BPHZ2GOMCS4CBS9ZuZ/
qb0AmNgukhJT7Om/l6YIXJMwf/eEFzs=
=QJff
-END PGP SIGNATURE-
-
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 issue on Vista

2009-08-12 Thread Tomasz Chmielewski

David Christensen wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Tomasz Chmielewski wrote:

David Christensen wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Tomasz Chmielewski wrote:

David Christensen wrote:


- <#> http://schemas.microsoft.com/win/2004/08/events/event*";>
- <#> 
  
  1
  2
  0
  0x80
  
  1371
  Application
  Scoobysnack
  
  
- <#> 
  Script execution: failure. Exit code: 1
  
  

The wpkg version I am using is 1.2.1

You could try a newer version.

But your issue is most likely just a pre- or post- script which fails.
Or wpkg.js.



I installed a new version and got the same error.  I was able to figure
out that the issue was related to the execution context.  When I
deployed wpkg on my XP clients I created a user in my samba domain that
had access to the share where wpkg is mounted and then added this user
to each client as a local admin.  I tried the same thing in vista and
even with the newer client the same thing occured.  It looks like
permissions are much different in t for testing purposes I used the
administrator account for the execution context and restarted wpkg,
which worked.
If you're logged in as a (domain) administrator, you probably have 
network shares already mapped.

Therefore the test will most likely work, even if you use wrong credentials.



 However now that I can keep wpkg running, I am not able
to install any applications, I get an error invalid username or bad
password when it tries to run the package cmd specified in package.xml.
 Is there a particular wpkg client configuration that I need to use for
Vista clients?

I'm not sure - could be UAC related?


I logged in as local admin and also tried logging in as a domain user
with access to the wpkg share that also has local admin privileges.  I
ended up configuring wpkg to use the domain user for access to the share
and the admin for execution context.  Is the access denied error coming
from the host or the samba share?


Samba denies access.
But to be sure, set "log level = 3" in smb.conf, and see what is logged 
in Samba logs.




I am trying to use the download xml function to see if I get any
different results.  It appears to down load the file however when i try
to install the file wpkg can't find it.  I thought Windows stuck temp
files in %TEMP%?


Do you mean wpkg.xml - http://wpkg.org/Wpkg.xml?

Or something else?

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


Re: [wpkg-users] WPKG client issue on Vista

2009-08-12 Thread David Christensen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Tomasz Chmielewski wrote:
> David Christensen wrote:
>> -BEGIN PGP SIGNED MESSAGE-
>> Hash: SHA1
>>
>> Tomasz Chmielewski wrote:
>>> David Christensen wrote:
>>>
 - <#> >>> xmlns="*http://schemas.microsoft.com/win/2004/08/events/event*";>
 - <#> 
   
   1
   2
   0
   0x80
   
   1371
   Application
   Scoobysnack
   
   
 - <#> 
   Script execution: failure. Exit code: 1
   
   

 The wpkg version I am using is 1.2.1
>>> You could try a newer version.
>>>
>>> But your issue is most likely just a pre- or post- script which fails.
>>> Or wpkg.js.
>>>
>>>
>> I installed a new version and got the same error.  I was able to figure
>> out that the issue was related to the execution context.  When I
>> deployed wpkg on my XP clients I created a user in my samba domain that
>> had access to the share where wpkg is mounted and then added this user
>> to each client as a local admin.  I tried the same thing in vista and
>> even with the newer client the same thing occured.  It looks like
>> permissions are much different in t for testing purposes I used the
>> administrator account for the execution context and restarted wpkg,
>> which worked.
> 
> If you're logged in as a (domain) administrator, you probably have 
> network shares already mapped.
> Therefore the test will most likely work, even if you use wrong credentials.
> 
> 
>>  However now that I can keep wpkg running, I am not able
>> to install any applications, I get an error invalid username or bad
>> password when it tries to run the package cmd specified in package.xml.
>>  Is there a particular wpkg client configuration that I need to use for
>> Vista clients?
> 
> I'm not sure - could be UAC related?
> 
I logged in as local admin and also tried logging in as a domain user
with access to the wpkg share that also has local admin privileges.  I
ended up configuring wpkg to use the domain user for access to the share
and the admin for execution context.  Is the access denied error coming
from the host or the samba share?

I am trying to use the download xml function to see if I get any
different results.  It appears to down load the file however when i try
to install the file wpkg can't find it.  I thought Windows stuck temp
files in %TEMP%?
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkqDH1AACgkQ5B+8XEnAvqthrQCfVht9hxhEzPRfKocvkvK697Hu
EQ0AoJjpbjmCi1GbZUKzBZCM4Uur+Bdo
=xQAN
-END PGP SIGNATURE-
-
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 issue on Vista

2009-08-12 Thread Tomasz Chmielewski

David Christensen wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Tomasz Chmielewski wrote:

David Christensen wrote:


- <#> http://schemas.microsoft.com/win/2004/08/events/event*";>
- <#> 
  
  1
  2
  0
  0x80
  
  1371
  Application
  Scoobysnack
  
  
- <#> 
  Script execution: failure. Exit code: 1
  
  

The wpkg version I am using is 1.2.1

You could try a newer version.

But your issue is most likely just a pre- or post- script which fails.
Or wpkg.js.



I installed a new version and got the same error.  I was able to figure
out that the issue was related to the execution context.  When I
deployed wpkg on my XP clients I created a user in my samba domain that
had access to the share where wpkg is mounted and then added this user
to each client as a local admin.  I tried the same thing in vista and
even with the newer client the same thing occured.  It looks like
permissions are much different in t for testing purposes I used the
administrator account for the execution context and restarted wpkg,
which worked.


If you're logged in as a (domain) administrator, you probably have 
network shares already mapped.

Therefore the test will most likely work, even if you use wrong credentials.



 However now that I can keep wpkg running, I am not able
to install any applications, I get an error invalid username or bad
password when it tries to run the package cmd specified in package.xml.
 Is there a particular wpkg client configuration that I need to use for
Vista clients?


I'm not sure - could be UAC related?

--
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] WPKG client issue on Vista

2009-08-12 Thread David Christensen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Tomasz Chmielewski wrote:
> David Christensen wrote:
> 
>> - <#> > xmlns="*http://schemas.microsoft.com/win/2004/08/events/event*";>
>> - <#> 
>>   
>>   1
>>   2
>>   0
>>   0x80
>>   
>>   1371
>>   Application
>>   Scoobysnack
>>   
>>   
>> - <#> 
>>   Script execution: failure. Exit code: 1
>>   
>>   
>>
>> The wpkg version I am using is 1.2.1
> 
> You could try a newer version.
> 
> But your issue is most likely just a pre- or post- script which fails.
> Or wpkg.js.
> 
>
I installed a new version and got the same error.  I was able to figure
out that the issue was related to the execution context.  When I
deployed wpkg on my XP clients I created a user in my samba domain that
had access to the share where wpkg is mounted and then added this user
to each client as a local admin.  I tried the same thing in vista and
even with the newer client the same thing occured.  It looks like
permissions are much different in t for testing purposes I used the
administrator account for the execution context and restarted wpkg,
which worked.  However now that I can keep wpkg running, I am not able
to install any applications, I get an error invalid username or bad
password when it tries to run the package cmd specified in package.xml.
 Is there a particular wpkg client configuration that I need to use for
Vista clients?

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkqDB7IACgkQ5B+8XEnAvqtG4wCfToob3yic29ToXK5ps4cfwxOk
3vAAnAjXPDOFdh4imCCHew5wzCPmMvpr
=FSVt
-END PGP SIGNATURE-
-
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] [Bug 170] An "uninstall" type check with version comparison succeeds if the uninstall entry is missing

2009-08-12 Thread bugzilla-daemon
http://bugzilla.wpkg.org/show_bug.cgi?id=170


Rainer Meier  changed:

   What|Removed |Added

 Status|RESOLVED|CLOSED




--- Comment #5 from Rainer Meier   2009-08-12 19:50:07 ---
Thanks a lot. Closing this issue.

-- 
Configure bugmail: http://bugzilla.wpkg.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
-
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] Silent installs of MSI or exe files.

2009-08-12 Thread Rainer Meier
Hi Charles,

Charles Gargent wrote:
> Works on my XP machine and my 7 RC1 machine

Both variables work on all NT-based Windows operating systems including 2000,
XP, Vista and Windows 7[1] (and all Server variants). However I still recommend
to use %SystemRoot% on these systems.

br,
Rainer

[1] Just verified on Windows 7 Home Premium RTM
-
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 issue on Vista

2009-08-12 Thread Tomasz Chmielewski

David Christensen wrote:


- <#> http://schemas.microsoft.com/win/2004/08/events/event*";>
- <#> 
  
  1
  2
  0
  0x80
  
  1371
  Application
  Scoobysnack
  
  
- <#> 
  Script execution: failure. Exit code: 1
  
  

The wpkg version I am using is 1.2.1


You could try a newer version.

But your issue is most likely just a pre- or post- script which fails.
Or wpkg.js.


--
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] WPKG client issue on Vista

2009-08-12 Thread David Christensen
Tomasz Chmielewski wrote:
> David Christensen wrote:
>   
>> -BEGIN PGP SIGNED MESSAGE-
>> Hash: SHA1
>>
>> When I start the wpkg client on vista hosts it immediately fails and
>> then stops.  The error in the event viewer is for the WpkgService and
>> simply says Script execution failure.
>>
>> Not sure what this means, I tested the wpkg settings and everything
>> tested ok.  What else do I need to look at on the client side to get a
>> better understanding of what is failing?
>>
>> Is there anything in Vista that I need to do differently then XP clients
>> to accommodate the differences in OS?
>> 
>
> Can you paste the event log here?
>
> What version of WPKG Client do you use?
>
>
>   
Here is the event, not much to it:

- <#> http://schemas.microsoft.com/win/2004/08/events/event*";>
- <#> 
  
  1
  2
  0
  0x80
  
  1371
  Application
  Scoobysnack
  
  
- <#> 
  Script execution: failure. Exit code: 1
  
  

The wpkg version I am using is 1.2.1

-
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 issue on Vista

2009-08-12 Thread Tomasz Chmielewski

David Christensen wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

When I start the wpkg client on vista hosts it immediately fails and
then stops.  The error in the event viewer is for the WpkgService and
simply says Script execution failure.

Not sure what this means, I tested the wpkg settings and everything
tested ok.  What else do I need to look at on the client side to get a
better understanding of what is failing?

Is there anything in Vista that I need to do differently then XP clients
to accommodate the differences in OS?


Can you paste the event log here?

What version of WPKG Client do you use?


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


[wpkg-users] WPKG client issue on Vista

2009-08-12 Thread David Christensen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

When I start the wpkg client on vista hosts it immediately fails and
then stops.  The error in the event viewer is for the WpkgService and
simply says Script execution failure.

Not sure what this means, I tested the wpkg settings and everything
tested ok.  What else do I need to look at on the client side to get a
better understanding of what is failing?

Is there anything in Vista that I need to do differently then XP clients
to accommodate the differences in OS?

David
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkqC7m8ACgkQ5B+8XEnAvqtoEACfX2tYzkbEaggEmsX+qwFPwZ+n
cAMAoJF6ZvY2xFu/3ClvrmGrUGo6D8s7
=cluf
-END PGP SIGNATURE-
-
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] Updated Tools for wpkg

2009-08-12 Thread Pendl Stefan
> >
> > Output as HTML why not.
> >
> > To keep the clean design I first would replace the excel class by
> > a generic output provider abstract baseclass. Then you
> could implement
> > different output formats by inheriting from it without changing
> > anything in the code.
> >
> > Any suggestions for html formating?
> > Do it by an external css file referenced from it or by including css
> > in one html file? The first approach give the user the ability
> > ot change appearance after the files has been created, but you
> > end up having two files.
> >
>
> The initial HTML formatting should be as used by your current
> Excel solution, simple table with headings.
> In addtion I would suggest to have different colors for
> different states.
>
> Example:
>
> Installed ... Nothing (may be add option to not show this at all)
> Missing . Red
> Upgrade . Yellow
> Downgrade ... Orange
> To Remove ... Brown
>
> Those colors should be customizable via CSS, where the
> external CSS file is a good option.
>
> Since the JS file will be located in the tools subfolder, I
> would go the root to check for the wpkg.js file, which has a
> fixed location.
> This way the root wpkg folder would be kept as small as possible.
>

The following batch file can be used to run the .JS file, when it is located in 
%WPKG_ROOT%\tools\3rd-party\wpkg-create-report:

REM ---code start (watch for line wraps)
@echo off
echo.

set scriptdir=%~dp0

cd /d %scriptdir%\..\..\..

echo Checking installed applications ...
cscript.exe "%scriptdir%\createReport.js" -createStateColumn

echo.
pause
REM ---code end

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


[wpkg-users] [Bug 170] An "uninstall" type check with version comparison succeeds if the uninstall entry is missing

2009-08-12 Thread bugzilla-daemon
http://bugzilla.wpkg.org/show_bug.cgi?id=170


Falko Trojahn  changed:

   What|Removed |Added

 CC||ftroj...@smi-softmark.de




--- Comment #4 from Falko Trojahn   2009-08-12 
16:57:39 ---
Test-case for this bug is in changeset:99.

Thanx for support.

Falko

-- 
Configure bugmail: http://bugzilla.wpkg.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
-
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] Silent installs of MSI or exe files.

2009-08-12 Thread Charles Gargent
Works on my XP machine and my 7 RC1 machine

2009/8/12 Rainer Meier :
> Hi Charles,
>
> Charles Gargent wrote:
>> try %WINDIR%
>
> I think %windir% has been used in pre-Windows NT times while starting from
> Windows NT %SystemRoot% has been introduced.
>
> Have a look at HKLM\SYSTEM\CurrentControlSet\Control\Session 
> Manager\Environment
> and you will find windir to point at %SystemRoot%.
>
> So if you're running Windows NT or newer (2000, XP, Vista, 7) I recommend 
> using
> the built-in %SystemRoot% variable.
>
> I did not find an official statement but the usage of %windir% on modern 
> Windows
> systems might be deprecated.
>
> 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] Silent installs of MSI or exe files.

2009-08-12 Thread Rainer Meier
Hi Charles,

Charles Gargent wrote:
> try %WINDIR%

I think %windir% has been used in pre-Windows NT times while starting from
Windows NT %SystemRoot% has been introduced.

Have a look at HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
and you will find windir to point at %SystemRoot%.

So if you're running Windows NT or newer (2000, XP, Vista, 7) I recommend using
the built-in %SystemRoot% variable.

I did not find an official statement but the usage of %windir% on modern Windows
systems might be deprecated.

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