Re: [wpkg-users] wpkg for crapware removal?

2012-12-14 Thread Paul McGrath
Hi Jon,
  Instead of the remove we use install (execute once) to remove some 
crapware.  Usually Bing, Ask and Google toolbars.  We get a lot of Samsung 
laptops and they are choked full of crapware but I haven't got around to 
building anything extensive. 
Paul

-Original Message-
From: wpkg-users-boun...@lists.wpkg.org 
[mailto:wpkg-users-boun...@lists.wpkg.org] On Behalf Of Rainer Meier
Sent: 14 December 2012 08:44
To: Jon Goldberg
Cc: wpkg-users@lists.wpkg.org
Subject: Re: [wpkg-users] wpkg for crapware removal?

Hi Jon,

On 14.12.2012 01:32, Jon Goldberg wrote:
 I just inherited a new client whose workstations have users logged in 
 as local administrators; the net result is a ton of crapware.

Yes this is what usually happens.


 I considered creating wpkg packages for the crapware with only a 
 remove section to a) simplify cleanup, and b) ensure that machines 
 remain clean, since a handful of users will be retaining local admin 
 privileges.

 So, my questions:
 * Has anyone else tried this?  Do they have any package definitions to 
 share?

In fact this will likely not work as expected. WPKG remove commands are 
executed only when a package is installed by WPKG and later removed.
What you're looking for is rather a package which has execute=always flag set 
and therefore runs the install commands on every WPKG run.
Then put your crapware removal scripts in install commands. Note that if a 
specific crapware is not installed you need to deal with it. For example by 
using use scripts which still return success exit code even if crapware was not 
found and not removed. You might also use conditional commands to execute 
install commands only if specific crapware is found.

Also note that removing crapware would require you to maintain a potentially 
big list of crapware you would like to remove. Moreover removing it might have 
impact on installed applications as some of them will not work properly if the 
crapware (might be ad-ware) component is removed.

As long as users still have admin privileges it might end in a fight between 
your WPKG crapware-remover and the user re-installing it - up to the extend the 
user is going to disable automatic WPKG run (since the user has admin 
privileges you can't really prevent this too).


 * Should I bother posting these package definitions to the wpkg wiki?  
 I don't want to load up the wiki with entries for software no one 
 would ever use, but I know that other folks may also benefit from 
 these definitions.

Well yes, I think it could be useful to have unattended scripts or command-line 
parameters for unattended crapware removal at least for common crapware. This 
might be useful for others as well.

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


Re: [wpkg-users] wpkg for crapware removal?

2012-12-14 Thread Paul McGrath
It is more complex than that but I didn't want to bore everyone with the detail.

I usually deploy to blank Windows, for the freeware which includes 
toolbars/crapware I usually include an 'install' and 'upgrade' to remove that 
specific object.

For the laptops which do have that stuff quite a few crapware most are reimaged 
if they go on the network.

-Original Message-
From: Rainer Meier [mailto:r.me...@wpkg.org] 
Sent: 14 December 2012 09:10
To: Paul McGrath
Cc: wpkg-users@lists.wpkg.org
Subject: Re: [wpkg-users] wpkg for crapware removal?

Hi Paul,

On 14.12.2012 09:47, Paul McGrath wrote:
Instead of the remove we use install (execute once) to remove some 
 crapware.  Usually Bing, Ask and Google toolbars.  We get a lot of Samsung 
 laptops and they are choked full of crapware but I haven't got around to 
 building anything extensive.

execute=once might be suitable for initial cleanup if you use the Windows 
installation as it is shipped from manufacturer. From my point of view this 
isn't the best idea anyway due to many reasons:

- A LOT of crapware/adware/tryware installed
- Drivers outdated
- Windows installation outdated (missing patches etc)

So usually for me it takes longer to clean the machines (and still living with 
the risk that manufacturer changed some Windows settings which I don't know
about) than re-installing them from scratch; knowing to have a clean system 
then. Using unattended Windows setup and WPKG a machine can be automatically 
deployed within less than 1 hour usually. Cleaning a crapware-system usually 
takes me longer manual actions and creating/maintaining a very-detailed 
crapware-remover tool would require me to adapt it continuously.

Jon actually had slightly different requirement. He's willing to blacklist 
some known crapware and assure it's removed automatically whenever it's 
installed on the client (after deployment). At least this was my understanding.
So here an execute=always package might help. The package will have to 
identify every kind of undesired software and remove it silently on every WPKG 
run.

So for me initial crapware removal on stock machines is easy: Re-install.


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] Inventory software

2012-11-14 Thread Paul McGrath
This is our combination too.  We utilise an Exchange mailbox and AD integration 
in Spiceworks.
Paul

From: wpkg-users-boun...@lists.wpkg.org 
[mailto:wpkg-users-boun...@lists.wpkg.org] On Behalf Of ? ??? 
??
Sent: 14 November 2012 08:18
To: wpkg-users@lists.wpkg.org
Subject: Re: [wpkg-users] Inventory software

The Best is http://www.spiceworks.com/ !  It has got many features to inventory 
and plus as bonus -embedded  IT HelpDesk

WPKG+SpiceWorks is Molotov`s cocktail !
I had my way - I would have supplied in the kit.
Alexey

From: 
wpkg-users-boun...@lists.wpkg.orgmailto:wpkg-users-boun...@lists.wpkg.org 
[mailto:wpkg-users-boun...@lists.wpkg.org] On Behalf Of Yves Antigny
Sent: Wednesday, November 14, 2012 11:04 AM
To: wpkg-users@lists.wpkg.orgmailto:wpkg-users@lists.wpkg.org
Subject: Re: [wpkg-users] Inventory software

Hi,

You can use OCSinventory and GLPI :

http://www.ocsinventory-ng.org/en/
http://www.glpi-project.org/spip.php?lang=en

   Yves

Le 13/11/2012 20:35, Chris a écrit :
Dear all,

can you recommend any inventory software? I'd like to track software, installed 
by wpkg and installed manually. It should be Opensource and Samba-compatible, 
i.e. no Active Directory and no Windows Server.

Chris
-
wpkg-users mailing list archives  http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.orgmailto: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] InnoSetup switches

2012-07-11 Thread Paul McGrath
Hi Cedric,
  There may be an option command like on Spybot to exclude /components=
Paul

From: wpkg-users-boun...@lists.wpkg.org 
[mailto:wpkg-users-boun...@lists.wpkg.org] On Behalf Of Cedric Frayssinet
Sent: 11 July 2012 13:51
To: wpkg-users
Subject: [wpkg-users] InnoSetup switches

Hi,

Do you know how to find switches for an InnoSetup package.

I know /silent /verysilent... but, this is for BlueGriffon which wants to 
install Iminent Toolbar. I don't want this toolbar...

Maybe you have XML file, better than this page : http://wpkg.org/BlueGriffon

Thanks,

Cedric
-
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] value have underscores?

2012-05-15 Thread Paul McGrath
Hi,
  So far I have just used '.' (dots, full stops, periods!) to denote version 
variables.  Is it possible to use '_' (underscores) e.g.

   variable name=version value=11_1_102_55/

If the version is incremented then will upgrade work based on a value 
containing '_'?

Thanks
Paul

-
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] value have underscores?

2012-05-15 Thread Paul McGrath
Thanks Rainer,
  Whilst I was waiting a reply I had a test myself and it worked.  I didn't go 
as deep as you and 'debug'.
  I asked because the latest Adobe Flash ocx and dll files are now named 
including the version as underscores.  So a file exists check is easier than 
before.
BW
Paul

-Original Message-
From: Rainer Meier [mailto:r.me...@wpkg.org] 
Sent: 15 May 2012 11:10
To: Paul McGrath
Cc: wpkg-users@lists.wpkg.org
Subject: Re: [wpkg-users] value have underscores?

Hi Paul,

On 15.05.2012 10:40, Paul McGrath wrote:
 So far I have just used '.' (dots, full stops, periods!) to denote 
 version variables. Is it possible to use '_' (underscores) e.g.

 variable name=version value=11_1_102_55/

 If the version is incremented then will upgrade work based on a value 
 containing '_'?

I've done a quick test and in this case it works. Quickly tested your version 
number and then upgraded to 11_1_102_56:


2012-05-15 12:03:07, DEBUG   : Comparing version: '11_1_102_56' = 
'11_1_102_55'.
2012-05-15 12:03:07, DEBUG   : Comparing version fragments: '11' = '11'
2012-05-15 12:03:07, DEBUG   : Comparing version fragments: '1' = '1'
2012-05-15 12:03:07, DEBUG   : Comparing version fragments: '102' = '102'
2012-05-15 12:03:07, DEBUG   : Comparing version fragments: '56' = '55'
2012-05-15 12:03:07, INFO: Package 'Testing package' (test): Already 
installed but version mismatch.|Installed revision: '11_1_102_55'|Available 
revision: '11_1_102_56'.|Preparing upgrade.


Although I still recommend to use standard dotted notation as the above one 
works only because WPKG splits each part of the version number by non-numeric 
characters. So therefore 11_1_102_55 is not interpreted as 11.1.102.55 but as 
the expression 11_1_102_55 which is split into distinct numbers and then 
compared piece by piece.

But as said, in your case it works perfectly as long as you just use digits 
split by non-digit characters. Seamlessly 11v1v102v55 would work too.

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] value have underscores?

2012-05-15 Thread Paul McGrath
Thanks Semian,
  I will make a note of that.
Paul

-Original Message-
From: wpkg-users-boun...@lists.wpkg.org 
[mailto:wpkg-users-boun...@lists.wpkg.org] On Behalf Of Semián Matej
Sent: 15 May 2012 14:42
To: wpkg-users@lists.wpkg.org
Subject: Re: [wpkg-users] value have underscores?

Hello.

It does not work for version checks.. So be avare of this in your scripts.

Log:

File version check for file
'H:\WINDOWS\System32\Macromed\Flash\Flash32_11_2_202_235.ocx' returned false 
for operation type versiongreaterorequal.
Checking file version 11.2.202.235 is versiongreaterorequal (than)
11_2_202_235 - got result -1.



Dne 15.5.2012 12:24, Paul McGrath napsal(a):
 Thanks Rainer,
Whilst I was waiting a reply I had a test myself and it worked.  I didn't 
 go as deep as you and 'debug'.
I asked because the latest Adobe Flash ocx and dll files are now named 
 including the version as underscores.  So a file exists check is easier than 
 before.
 BW
 Paul

 -Original Message-
 From: Rainer Meier [mailto:r.me...@wpkg.org]
 Sent: 15 May 2012 11:10
 To: Paul McGrath
 Cc: wpkg-users@lists.wpkg.org
 Subject: Re: [wpkg-users] value have underscores?

 Hi Paul,

 On 15.05.2012 10:40, Paul McGrath wrote:
 So far I have just used '.' (dots, full stops, periods!) to denote 
 version variables. Is it possible to use '_' (underscores) e.g.

 variable name=version value=11_1_102_55/

 If the version is incremented then will upgrade work based on a value 
 containing '_'?

 I've done a quick test and in this case it works. Quickly tested your version 
 number and then upgraded to 11_1_102_56:


 2012-05-15 12:03:07, DEBUG   : Comparing version: '11_1_102_56'=  
 '11_1_102_55'.
 2012-05-15 12:03:07, DEBUG   : Comparing version fragments: '11'=  '11'
 2012-05-15 12:03:07, DEBUG   : Comparing version fragments: '1'=  '1'
 2012-05-15 12:03:07, DEBUG   : Comparing version fragments: '102'=  '102'
 2012-05-15 12:03:07, DEBUG   : Comparing version fragments: '56'=  '55'
 2012-05-15 12:03:07, INFO: Package 'Testing package' (test): Already
 installed but version mismatch.|Installed revision: 
 '11_1_102_55'|Available
 revision: '11_1_102_56'.|Preparing upgrade.


 Although I still recommend to use standard dotted notation as the 
 above one works only because WPKG splits each part of the version 
 number by non-numeric characters. So therefore 11_1_102_55 is not 
 interpreted as 11.1.102.55 but as the expression 11_1_102_55 which 
 is split into distinct numbers and then compared piece by piece.

 But as said, in your case it works perfectly as long as you just use 
 digits split by non-digit characters. Seamlessly 11v1v102v55 would work too.

 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

--
S pozdravem
Matěj Semián

Stavební bytové družstvo POKROK
Kollárova 157/18, Praha 8
tel. 225 339 402

-
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] value have underscores?

2012-05-15 Thread Paul McGrath
Semian,
  I am using it for file exists 'Flash32_%VERSION%.ocx'
Might have to have two variables if I ever want to do versiongreaterorequal
Thanks
Paul

-Original Message-
From: wpkg-users-boun...@lists.wpkg.org 
[mailto:wpkg-users-boun...@lists.wpkg.org] On Behalf Of Semián Matej
Sent: 15 May 2012 14:42
To: wpkg-users@lists.wpkg.org
Subject: Re: [wpkg-users] value have underscores?

Hello.

It does not work for version checks.. So be avare of this in your scripts.

Log:

File version check for file
'H:\WINDOWS\System32\Macromed\Flash\Flash32_11_2_202_235.ocx' returned false 
for operation type versiongreaterorequal.
Checking file version 11.2.202.235 is versiongreaterorequal (than)
11_2_202_235 - got result -1.



Dne 15.5.2012 12:24, Paul McGrath napsal(a):
 Thanks Rainer,
Whilst I was waiting a reply I had a test myself and it worked.  I didn't 
 go as deep as you and 'debug'.
I asked because the latest Adobe Flash ocx and dll files are now named 
 including the version as underscores.  So a file exists check is easier than 
 before.
 BW
 Paul

 -Original Message-
 From: Rainer Meier [mailto:r.me...@wpkg.org]
 Sent: 15 May 2012 11:10
 To: Paul McGrath
 Cc: wpkg-users@lists.wpkg.org
 Subject: Re: [wpkg-users] value have underscores?

 Hi Paul,

 On 15.05.2012 10:40, Paul McGrath wrote:
 So far I have just used '.' (dots, full stops, periods!) to denote 
 version variables. Is it possible to use '_' (underscores) e.g.

 variable name=version value=11_1_102_55/

 If the version is incremented then will upgrade work based on a value 
 containing '_'?

 I've done a quick test and in this case it works. Quickly tested your version 
 number and then upgraded to 11_1_102_56:


 2012-05-15 12:03:07, DEBUG   : Comparing version: '11_1_102_56'=  
 '11_1_102_55'.
 2012-05-15 12:03:07, DEBUG   : Comparing version fragments: '11'=  '11'
 2012-05-15 12:03:07, DEBUG   : Comparing version fragments: '1'=  '1'
 2012-05-15 12:03:07, DEBUG   : Comparing version fragments: '102'=  '102'
 2012-05-15 12:03:07, DEBUG   : Comparing version fragments: '56'=  '55'
 2012-05-15 12:03:07, INFO: Package 'Testing package' (test): Already
 installed but version mismatch.|Installed revision: 
 '11_1_102_55'|Available
 revision: '11_1_102_56'.|Preparing upgrade.


 Although I still recommend to use standard dotted notation as the 
 above one works only because WPKG splits each part of the version 
 number by non-numeric characters. So therefore 11_1_102_55 is not 
 interpreted as 11.1.102.55 but as the expression 11_1_102_55 which 
 is split into distinct numbers and then compared piece by piece.

 But as said, in your case it works perfectly as long as you just use 
 digits split by non-digit characters. Seamlessly 11v1v102v55 would work too.

 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

--
S pozdravem
Matěj Semián

Stavební bytové družstvo POKROK
Kollárova 157/18, Praha 8
tel. 225 339 402

-
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] MSI + MST: MST somewhat ignored when silent install

2012-05-14 Thread Paul McGrath
Hi Mathieu,
  as well as the /PASSIVE already suggested sometimes an Installshield 
installer will only run from a mapped drive letter path and not a UNC.  I have 
one app which I have to copy to the local C drive to run with /PASSIVE.  
Usually just /TRANSFORMS=%SOFTWARE%/app/apptrans.mst works for my 
installshield apps even if it is specified in the setup.ini I still put it on 
the cmd line as the setup.exe doesn't seem to know to look for the setup.ini in 
the folder it has been run from.
  Play with some other silent switches like (capitals) /S, /SILENT, /VERYSILENT.
  Most of my installshield installers have required me to record (-r) a 
setup.ISS file wihhch you then put after the setup.exe with a -s 
-f1%SOFTWARE%\app\setup.iss.  It depends on the version of Installshield your 
program uses.
Paul

From: wpkg-users-boun...@lists.wpkg.org [wpkg-users-boun...@lists.wpkg.org] On 
Behalf Of Mathieu Simon [mathieu@gmail.com]
Sent: 14 May 2012 21:42
To: wpkg-users@lists.wpkg.org
Subject: Re: [wpkg-users] MSI + MST: MST somewhat ignored when silent install

G'day

This is not strictly related to WPKG but I have been pondering upon some
school software
Rund um ... Biologie heute which I'd like to package with WPKG.
Normally total of 6 CDs
so it's definitely not a joy to play disk jockey... ;-)

Its Setup.exe has a /a switch for Admin/Network-Installation and
copies the complete content of
all 6 disks to a folder, and then contains a MSI. I want the Software to
be installed completely
on the local disks. The interactive MSI installer says InstallShield so
I guess it has been made with this software.
I have been able to create a MST with Orca.exe:

What confuses me is that when doing a interactive installation with the
MST, the options I have modified
via the MST are correctly pre-chosen (msiexec /i msi
TRANSFORMS=mytransform.mst) in the installer like
Start Menu location, and complete Installation option - but when I do a
reduced (msiexec /qr) or
silent (/qn) silent install, it only does a typical install which
requires CDs to be inserted for the
user (not what I'd like).

Is there a good way to look more closely where I'm biting myself with
InstallShield's MSI?

Best regards
Mathieu

-
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] Upgrade Skips Checks

2012-02-21 Thread Paul McGrath
Matthew,
  I believe this is more a problem with your package xml than WPKG.  I've had 
this happen and it wasn't a wpkg.js issue.  
Can you email your package xml for us to look at.  Also your event log so we 
can see that it says 'success' as I suspect it is still trying to upgrade each 
time as it hasn't succeeded.
Thanks
Paul

-Original Message-
From: wpkg-users-boun...@lists.wpkg.org 
[mailto:wpkg-users-boun...@lists.wpkg.org] On Behalf Of Matthew Bowman
Sent: 21 February 2012 10:51
To: wpkg-users@lists.wpkg.org
Subject: [wpkg-users] Upgrade Skips Checks

I've recently found myself in an odd situation. I recently upgraded a
package that had an exit code of -3 (Install Shield - missing info in
setup.iss file). This was not listed in the package.xml as success so
therefore wpkg was not recording the package as installed (it retained
the old version). However the package did install correctly. Now when my
clients boot (I'm using Wpkg-GP), they upgrade the package again even
though the check passes and wpkg should simply mark the package as
installed.

Conclusion: I believe wpkg.js does not execute the check before
attempting an upgrade

I believe if a package is going to be upgraded, the the checks
associated with that specific revision of the package should be ran just
like if that package was going to be installed (not upgraded). If the
checks pass, simply mark the package as installed/upgraded and move on.
This would prevent a double upgrade from happening which is what I am
experiencing.

Note: I upgraded to the latest wpkg.js 1.3.0 to see if this still
happens and it does.

Just wanted to post my findings / thoughts regarding this.
--mgbowman
-
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] os=windows xp in WPKG 1.2

2011-11-11 Thread Paul McGrath
Hi Simon,

For XP use os=windows.+5\.\d{1}\.\d{4}
For Win7 use os=windows.+6\.\d{1}\.\d{4}

BW
Paul

From: wpkg-users-boun...@lists.wpkg.org 
[mailto:wpkg-users-boun...@lists.wpkg.org] On Behalf Of 
simon.be...@institutsmq.qc.ca
Sent: 11 November 2011 13:35
To: wpkg-users@lists.wpkg.org
Subject: [wpkg-users] os=windows xp in WPKG 1.2


Hi,
Working with I'm trying to separate packages that belongs to either Windows XP 
or Windows 7.

I packages.xml I add this line::
   package
  os=windows xp
  id=Java1.6.0_15
  (...)
but it does not work. no info at all in debug.

I tried it in hosts.xml file, and it does work well ::
host name=pc.+ os=windows xp profile-id=defaut /

Is it supposed to work in packages.xml ??
-
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] os=windows xp in WPKG 1.2

2011-11-11 Thread Paul McGrath
What wpkg.js RC are you using?

From: simon.be...@institutsmq.qc.ca [mailto:simon.be...@institutsmq.qc.ca]
Sent: 11 November 2011 13:58
To: Paul McGrath
Cc: wpkg-users@lists.wpkg.org
Subject: RE: [wpkg-users] os=windows xp in WPKG 1.2


Hi Paul,

Whatever os line I put in packages, it is not read by wpkg..

I have tried this (note the OS line):

package
  id=G_WPKG_tstpkg
  name=Simple TEST Package
  os=Cheeze-whizz
  revision=1
  reboot=false
  priority=0

  check type=file condition=exists path=c:\tstpkg\tstpkg.dat  /

  install cmd='%SOFTWARE%\tstpkg\tstpkg.bat'
  exit code=0 /
  /install
   /package

and it is allways installed.


Paul McGrath j.p.mcgr...@leeds.ac.uk

2011-11-11 08:36

A

'simon.be...@institutsmq.qc.ca' simon.be...@institutsmq.qc.ca, 
wpkg-users@lists.wpkg.org wpkg-users@lists.wpkg.org

cc

Objet

RE: [wpkg-users] os=windows xp in WPKG 1.2









Hi Simon,

For XP use os=windows.+5\.\d{1}\.\d{4}
For Win7 use os=windows.+6\.\d{1}\.\d{4}

BW
Paul

From: wpkg-users-boun...@lists.wpkg.org 
[mailto:wpkg-users-boun...@lists.wpkg.org] On Behalf Of 
simon.be...@institutsmq.qc.ca
Sent: 11 November 2011 13:35
To: wpkg-users@lists.wpkg.org
Subject: [wpkg-users] os=windows xp in WPKG 1.2


Hi,
Working with I'm trying to separate packages that belongs to either Windows XP 
or Windows 7.

I packages.xml I add this line::
  package
 os=windows xp
 id=Java1.6.0_15
 (...)
but it does not work. no info at all in debug.

I tried it in hosts.xml file, and it does work well ::
   host name=pc.+ os=windows xp profile-id=defaut /

Is it supposed to work in packages.xml ??

-
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] os=windows xp in WPKG 1.2

2011-11-11 Thread Paul McGrath
Simon,
  We have only used that variable in the actual install lines:
install os=windows.+5\.\d{1}\.\d{4} cmd=

Differentiating between the OS so one package does both XP and Win7 (32bit and 
64bit with architecture=)
We don't make separate packages for each OS.

As Andrew said in his reply it is on that WPKG web page but it will work in the 
install line but not in the package definition (yet).
P.

From: simon.be...@institutsmq.qc.ca [mailto:simon.be...@institutsmq.qc.ca]
Sent: 11 November 2011 13:58
To: Paul McGrath
Cc: wpkg-users@lists.wpkg.org
Subject: RE: [wpkg-users] os=windows xp in WPKG 1.2


Hi Paul,

Whatever os line I put in packages, it is not read by wpkg..

I have tried this (note the OS line):

package
  id=G_WPKG_tstpkg
  name=Simple TEST Package
  os=Cheeze-whizz
  revision=1
  reboot=false
  priority=0

  check type=file condition=exists path=c:\tstpkg\tstpkg.dat  /

  install cmd='%SOFTWARE%\tstpkg\tstpkg.bat'
  exit code=0 /
  /install
   /package

and it is allways installed.


Paul McGrath j.p.mcgr...@leeds.ac.uk

2011-11-11 08:36

A

'simon.be...@institutsmq.qc.ca' simon.be...@institutsmq.qc.ca, 
wpkg-users@lists.wpkg.org wpkg-users@lists.wpkg.org

cc

Objet

RE: [wpkg-users] os=windows xp in WPKG 1.2









Hi Simon,

For XP use os=windows.+5\.\d{1}\.\d{4}
For Win7 use os=windows.+6\.\d{1}\.\d{4}

BW
Paul

From: wpkg-users-boun...@lists.wpkg.org 
[mailto:wpkg-users-boun...@lists.wpkg.org] On Behalf Of 
simon.be...@institutsmq.qc.ca
Sent: 11 November 2011 13:35
To: wpkg-users@lists.wpkg.org
Subject: [wpkg-users] os=windows xp in WPKG 1.2


Hi,
Working with I'm trying to separate packages that belongs to either Windows XP 
or Windows 7.

I packages.xml I add this line::
  package
 os=windows xp
 id=Java1.6.0_15
 (...)
but it does not work. no info at all in debug.

I tried it in hosts.xml file, and it does work well ::
   host name=pc.+ os=windows xp profile-id=defaut /

Is it supposed to work in packages.xml ??

-
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] programs using installshield no longer installing with WPKG.JS 1.2.1

2011-09-06 Thread Paul McGrath
Hi,
  Since upgrading to wpkg.js 1.2.1 at least 1 of my installshield dependant 
applications is no longer installing.  If I revert back to 1.1.2 it is okay.
  The problem lies in using the wpkg env variables.  My original package 
install lines was
 install cmd='%SOFTWARE%\primerexpress3\setup.exe -s 
-f1%SOFTWARE%\primerexpress3\setup.iss ' /
This now results a '-1' exit code

If I fully define the server UNC path then it works
install cmd='\\wpkg.myserver.com\wpkg\files\primerexpress3\setup.exe -s 
-f1\\wpkg.myserver.com\wpkg\files\primerexpress3\setup.iss ' /

Any ideas?
Thanks

--
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.ukmailto: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] wpkg - how to upgrade between different products like 'firefox 3' to 'firefox 4'?

2011-09-01 Thread Paul McGrath
Urs,
  The uninstall doesn't need to be a msi uninstall it can be any command line 
uninstall that is silent so you can do firefox ..\..\uninstall\helper.exe /S
  Adobe Reader X actually uninstalls all versions during its install so it 
takes care of it for you.  However, with Reader X you need to follow the 
instructions to extract the .exe so you get AcroRead.msi and data1.cab file as 
that is the only way you can deploy silently.
Paul

-Original Message-
From: Urs Rau (UK) [mailto:urs@om.org] 
Sent: 01 September 2011 09:28
To: Paul McGrath
Cc: wpkg-users@lists.wpkg.org
Subject: Re: [wpkg-users] wpkg - how to upgrade between different products like 
'firefox 3' to 'firefox 4'?

Hi Paul,

On 31 Aug 2011, at 20:26, Paul McGrath wrote:

 All the firefox versions just upgrade by uninstalling the older version 
 during the self contained installation.  We have only ever had one 'firefox', 
 'adode reader', 'flash player' etc package.  You just create a 
 'firefoxv2' package for your test system and once I've proven it installs 
 then rename it to 'firefox'.

Yes, in hindsight, that is 100% what we should have done. But back in the 
firefox 1 and 2 and 3 days it was actually 'common' to be on a specific version 
and to have different groups of users on different versions because of 
add-on/extension dependencies etc. 
And in some ways that problem is still with us. We can usually upgrade some 
(most!) of our users to the latest firefox, but some workplaces are dependant 
on add-ons or extensions that aren't always available in a timely fashion for 
the latest version.

 As another reply stated you can put an uninstall 'msiexec /x {???}' as an 
 install line to remove the previous versions with error trapping if they 
 don't exist.

Yes, thanks, that should work for adobe reader switch from 9 to X, thanks. But 
I don't think thunderbird and firefox are msi installs.

Regards,


-- 
Urs Rau

-
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 - how to upgrade between different products like 'firefox 3' to 'firefox 4'?

2011-08-31 Thread Paul McGrath
All the firefox versions just upgrade by uninstalling the older version during 
the self contained installation.  We have only ever had one 'firefox', 'adode 
reader', 'flash player' etc package.  You just create a 'firefoxv2' package 
for your test system and once I've proven it installs then rename it to 
'firefox'.

As another reply stated you can put an uninstall 'msiexec /x {???}' as an 
install line to remove the previous versions with error trapping if they don't 
exist.

From: wpkg-users-boun...@lists.wpkg.org [wpkg-users-boun...@lists.wpkg.org] On 
Behalf Of Urs Rau (UK) [urs@om.org]
Sent: 31 August 2011 18:03
To: wpkg-users@lists.wpkg.org
Subject: [wpkg-users] wpkg - how to upgrade between different products like 
'firefox 3' to 'firefox 4'?

Friends,

Has anybody mastered how to upgrade between versions  of firefox or thunderbird 
or even nod32?

We currently have a nod32 v3 wpkg package and a nod32 v4 wpkg package, or a 
firefox 3 and a firefox 4 and firefox 5 and firefox 6 wpkg package.

Has anybody worked out a clean way of upgrading between versions that wpkg 
considers to be non-related?

Something along the lines of a upgrade section in the xml that will actively 
edit the wpkg.xml db file pn the machine and do something along the lines of

sed -e 's/firefox 3/firefox 4/' on the wpkg.xml file and so consolidate 
different packages and make sure they can be upgraded in this way?

Thanks for any pointers or solutions to this problem.

Regards,

--

Urs Rau
-
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] hosts.xml problem

2011-08-22 Thread Paul McGrath
Hi,
  I have just updated our wpkg.js system to 1.2.  We have encountered a 
problem.  Using debug it says that only '1 profile' applies to the host and 
ignores all hosts.xml profiles listed below the default one.
I would normally have:
host name=limm-pc1133 profile-id=limm 
  profile id=olympusdss/
  profile id=pidgin/
  profile id=CRB-AdminOffice-2420/
  profile id=pdfconverterpro/
/host

On a debug it says that only the 'limm' profile is applied and ignores the 
others.

I have had to roll back to my previous wpkg.js 1.1.2 as software was 
uninstalling from all clients.

  Can someone please advise how I change this?
Thanks
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.ukmailto: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] wpkg not installing packages for user, only using default

2011-08-22 Thread Paul McGrath
Okay, just realised my problem is the same as this one.

Where can we get this release candidate as I cannot see a link on the webpage.
Thanks
Paul

-Original Message-
From: wpkg-users-boun...@lists.wpkg.org 
[mailto:wpkg-users-boun...@lists.wpkg.org] On Behalf Of Stefan Pendl
Sent: 18 August 2011 23:20
To: wpkg-users@lists.wpkg.org
Subject: Re: [wpkg-users] wpkg not installing packages for user, only using 
default

 
 I have a batch of new Windows 7 computers I am setting up. 
 However when 
 I setup wpkg on the clients they are not pulling the profiles I setup 
 for them. They all are getting the default packages. I have 
 poured over 
 the logs but I cannot seem to find anything wrong. I am using wpkg 
 client x64 1.3.9 and wpkg.js 1.2. I have this working for previous 
 installs so it is either something on these pc's or something 
 has broken 
 on the wpkg machine. Where can I look to see why it is pulling the 
 default instead of the users xml file?
 

WPKG 1.2.0 has a broken profile matching.

Use the latest release candidate of WPKG 1.2.1, which has this corrected.

I am currently running WPKG 1.2.1-RC7 without problems.

---
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 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] FW: hosts.xml problem

2011-08-22 Thread Paul McGrath
Thanks Stefan,
  The way we configured our hosts xmls in the hosts folder has served us well 
up to now.  
We used the 'catch all' originally before learning about hosts xml files.  For 
the last few years we have used the hosts xmls as well and this problem has 
only now started with WPKG.JS 1.2.
Paul

-Original Message-
From: wpkg-users-boun...@lists.wpkg.org 
[mailto:wpkg-users-boun...@lists.wpkg.org] On Behalf Of Stefan Pendl
Sent: 22 August 2011 10:47
To: wpkg-users@lists.wpkg.org
Subject: [wpkg-users] FW: hosts.xml problem

Paul,

Would you mind replying to the group, so Rainer, the maintainer of WPKG, will 
know about this problem too.

I am just a regular user, nothing else.



You do have many catch all definitions at the top of your list, so I think this 
is the problem.

quote
Hosts file contains 585 hosts:
'name=limm-pc3175','profile-id=limm-win7'
'name=limm-pc4239','profile-id=limm-win7'
'name=limm-vm4078','profile-id=limm'
'name=limm-onc.+','profile-id=default'  this one is used, I think
'name=limm-pc.+','profile-id=limm'
'name=limm-csb.+','profile-id=limm'
'name=limm-cah.+','profile-id=limm'
'name=limm-vm.+','profile-id=limm'
'name=limm-setup.+','profile-id=limmsetup'
'name=cham.+','profile-id=limm'
'name=limm-rpc.+','profile-id=limmrefman'
'name=limm-basic.+','profile-id=limmbasic'
'name=vm.+','profile-id=testsystem'
'name=vbox.+','profile-id=testsystem'
'name=msdata','profile-id=proteomics'
'name=msanal1','profile-id=proteomics'
'name=limm-ged4153','profile-id=vista'
'name=vista.+','profile-id=vista'
'name=CSJ-PC54','profile-id=labstaff'
/quote

Make sure to have them all in one file, which gets read at last.
I would place them (all containing .+) into the hosts.xml file in the folder 
containing wpkg.js, since this is always read at last.

---
Stefan 

-Original Message-
From: Paul McGrath [mailto:j.p.mcgr...@leeds.ac.uk]
Sent: Monday, August 22, 2011 11:21 AM
To: 'Stefan Pendl'
Subject: [wpkg-users] hosts.xml problem

Hi Stefan,
  I haven't replied to the list as I didn't think it necessary to involve 
everyone!
I have just tried your new release candidate and the problem is still there.  
The only things I copy are the XSD folder and wpkg.js, so maybe I am missing 
something else.
  I've attached the two log files for each version for you to compare.
Paul

-Original Message-
From: wpkg-users-boun...@lists.wpkg.org 
[mailto:wpkg-users-boun...@lists.wpkg.org] On Behalf Of Stefan Pendl
Sent: 22 August 2011 10:14
To: wpkg-users@lists.wpkg.org
Subject: Re: [wpkg-users] hosts.xml problem


 I have just updated our wpkg.js system to 1.2.  We have encountered a 
 problem. 
 Using debug it says that only '1 profile' applies to the host and 
 ignores all hosts.xml profiles listed below the default one.


This has been corrected in one of the release candidates for v1.2.1

Get the latest RC from 
http://wpkg.svn.sourceforge.net/viewvc/wpkg/wpkg/stable/1.2/


---
Stefan

WPKG Server v1.2.1-RC08, Client 1.3.14

Windows 7 Home Premium 64-bit SP1
AMD Turion X2 RM-70 2GHz, 4GB RAM

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

-
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 not installing packages for user, only using default

2011-08-22 Thread Paul McGrath
Hi Rainer,
  I tried the latest wpkg.js with the same problem end result.  If it isn't 
your code then I'll have to try and put online a test server and work out which 
of my XMLs is the problem.
Paul

-Original Message-
From: Rainer Meier [mailto:r.me...@wpkg.org] 
Sent: 22 August 2011 11:00
To: Paul McGrath
Cc: 'Stefan Pendl'; wpkg-users@lists.wpkg.org
Subject: Re: [wpkg-users] wpkg not installing packages for user, only using 
default

Hi Paul,

 Okay, just realised my problem is the same as this one.

 Where can we get this release candidate as I cannot see a link on the webpage.

You can always get the latest code from the code repository:

http://wpkg.svn.sourceforge.net/viewvc/wpkg/wpkg/stable/1.2/

Please note that this code is not tested very well and therefore might lead to 
other issues.

However at the current stage WPKG 1.2.1-RC8 available in the repository seems 
to 
be quite stable and I am planning a release soon.

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 over multiple sites using local storage

2011-08-16 Thread Paul McGrath
Hi Dave
  create a few settings xml files and corresponding settings merge/update 
packages, one for each site.  The difference between each setting xml will only 
be the value of the $SOFTWARE% var, equaling a software distribution 
point/server for each site.  Then make corresponding profile xmls and then test 
with PCs in your hosts file that represent each site.
  This way your european offices will still get their settings from the central 
London server but install software from their local server.
  Hope that helps
Paul 

From: wpkg-users-boun...@lists.wpkg.org [wpkg-users-boun...@lists.wpkg.org] On 
Behalf Of Dave Goodbourn [dave.goodbo...@u-fx.co.uk]
Sent: 16 August 2011 18:12
To: wpkg-users@lists.wpkg.org
Subject: [wpkg-users] WPKG over multiple sites using local storage

Hi,

I'm looking at how's best to setup multiple WAN locations with our WPKG server. 
We currently have a WPKG server in London and are setting up an office in 
Europe. The two sites will be VPN'd together fine and the WPKG server will work 
fine over the WAN, but is there a way to ease the file transfer by having 
another server in the second office just to store the files/software to update 
to reduce the amount of traffic between the two offices? Kind of like a proxy 
server in the second office but using the same WPKG server and database as in 
London.

Cheers,
Dave.
-
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] FW: [Bug 214] profiles.xsd file uses example.org insted of wpkg.org

2011-07-04 Thread Paul McGrath
Hi,
  I am now getting dozens of these messages a day.  Can someone explain why and 
tell me how to stop it?
Thanks
Paul

-Original Message-
From: wpkg-users-boun...@lists.wpkg.org 
[mailto:wpkg-users-boun...@lists.wpkg.org] On Behalf Of 
bugzilla-dae...@bugzilla.wpkg.org
Sent: 04 July 2011 10:32
To: wpkg-users@lists.wpkg.org
Subject: [wpkg-users] [Bug 214] profiles.xsd file uses example.org insted of 
wpkg.org

http://bugzilla.wpkg.org/show_bug.cgi?id=214

--- Comment #1 from Stefan Pendl pendl2mega...@yahoo.de  ---
Created attachment 191
  -- http://bugzilla.wpkg.org/attachment.cgi?id=191
patch against SVN revision 139

-- 
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
-
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] Using WPKG on Win7

2011-06-29 Thread Paul McGrath

Hi Simon,
  I was wondering why you don't run WPKG as a service as it is designed?  We 
are in the middle of migrating to Windows 7 and all I've had to do is add in 
file checking lines and error codes for %programfiles(x86)%.  
  None of my users have admin rights and I haven't changed the UAC.  All my 
systems are in a domain.
  Most if not all of your installers should only reference environment 
variables like %software% and %programfiles%.
Paul

-Original Message-
From: wpkg-users-boun...@lists.wpkg.org 
[mailto:wpkg-users-boun...@lists.wpkg.org] On Behalf Of simplesi
Sent: 29 June 2011 12:15
To: wpkg-users@lists.wpkg.org
Subject: [wpkg-users] Using WPKG on Win7


Hi - long time since I last posted here (as WPKG just works :) )
I use WPKG in 6 schools but all XP machines.

I'm now trying to use it on Win7 but its a bit of a fight :)

I run WPKG on logon from shortcut in allusers program startup folder.
(All users have administrator rights)

I've created a shortcut to my existing wpkg startup bat file (and altered
advanced properties to run as admin)

I've disabled UAC so that things like Office 2003 can be installed without a
UAC prompt.

I'm starting to alter direct references to install.bat files to shortcuts to
them but its going to take some time to get thme all to works (i use a
mixture of msiexec, bat files, vbscripts and straight cmd lines!)

Is there a magic method to save me a lot of work? :)

regards

Simon 
-- 
View this message in context: 
http://old.nabble.com/Using-WPKG-on-Win7-tp31953827p31953827.html
Sent from the WPKG - Users mailing list archive at Nabble.com.

-
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] prevent upgrade on one host

2011-06-15 Thread Paul McGrath
Andrew,
  an ugly way to fix this would be to manually edit that particular hosts 
wpkg.xml file in system32 and increment the jre package version to an inflated 
number well beyond 6.0.23.  As long as you don't have a downgrade line in your 
jre package definition then it won't install the latest version.
Paul

From: wpkg-users-boun...@lists.wpkg.org [wpkg-users-boun...@lists.wpkg.org] On 
Behalf Of Andrew Struiksma [astruik...@nwesd.org]
Sent: 15 June 2011 21:25
To: wpkg-users@lists.wpkg.org
Subject: [wpkg-users] prevent upgrade on one host

I encountered an issue today with WPKG and am not sure how best to deal with 
it. I have a desktop profile that includes our standard suite of apps including 
Java RE. One of our users needs to stay on release 6.0.23. How can I prevent 
java from updating on that one host without create another profile just for 
that one workstation?

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 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] Dropbox autoit script problems

2011-03-18 Thread Paul McGrath
Hi,
  I followed the really good DropBox install package using AutoIt.  The problem 
I have is that I cannot get it to complete in WPKG.  It just hangs.
If I run it from a DOS box it completes.  I have tried using both the SOFTWARE 
variable and replacing that with my full UNC path and manually it completes but 
using the WPKG client it doesn't.
  Anyone got any ideas?
Thanks
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.ukmailto: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


[wpkg-users] Dropbox autoit script problems

2011-03-18 Thread Paul McGrath

Hi Martin,
  I added the debug line and this is the result.  

2011-03-18 10:20:00 - Starting WPKG on startup
2011-03-18 10:20:00 - Before create shared memory: successfuly done.
2011-03-18 10:20:00 - Create shared memory: successfuly done.
2011-03-18 10:20:00 - Set script security context: successfuly done.
2011-03-18 10:20:00 - Network resource required
2011-03-18 10:20:00 - Network resource: successfuly connected
2011-03-18 10:20:00 - Starting script action execution
2011-03-18 10:25:14 - Script action execution done.
2011-03-18 10:25:14 - Script execution: successfuly done
2011-03-18 10:25:14 - Network resource: successfuly disconnected

You will see that it was sat on installing dropbox.  After 5 mins I killed 
autoit and the dropbox installer wpkg continued with an exit code returned 
non-successful value (1) on the command.

Paul

-Original Message-
From: wpkg-users-boun...@lists.wpkg.org 
[mailto:wpkg-users-boun...@lists.wpkg.org] On Behalf Of Martin Tille
Sent: 18 March 2011 09:43
To: wpkg-users@lists.wpkg.org
Subject: Re: [wpkg-users] Dropbox autoit script problems

 Hi,
 
   I followed the really good DropBox install package using AutoIt.  The
 problem I have is that I cannot get it to complete in WPKG.  It just hangs.
 
 If I run it from a DOS box it completes.  I have tried using both the
 SOFTWARE variable and replacing that with my full UNC path and manually
 it completes but using the WPKG client it doesn't.
 
   Anyone got any ideas?
 
 Thanks
 
 Paul
Hi Paul,

not without any debug messages. If you use the wpgk-client programm you
can set up debug and a debug file with wpgkinst.exe. If you use a self
scripted solution use the /debug flag and see about what it complains.

Martin
-
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] Dropbox autoit script problems

2011-03-18 Thread Paul McGrath
Hi Martin,
  Yes it appears that the autoit clicking isn't working when using wpkg.  I've 
checked event viewer log and cannot see any problems.  Is it possible to get a 
more detailed log from wpkg?
Thanks
Paul

-Original Message-
From: Martin Tille [mailto:e...@gruene.de] 
Sent: 18 March 2011 11:27
To: Paul McGrath
Subject: Re: [wpkg-users] Dropbox autoit script problems

Hi Paul,

please answer to the mailinglist too.
If I understand it right, the script is starting but autoit isn't
klicking the way it should be? Have you checked the event log, there
are additional informations when wpkg is running quiet (Start - Run
eventvwr.exe).

Martin

 Hi Martin,
   I added the debug line and this is the result.  
 
 2011-03-18 10:20:00 - Starting WPKG on startup
 2011-03-18 10:20:00 - Before create shared memory: successfuly done.
 2011-03-18 10:20:00 - Create shared memory: successfuly done.
 2011-03-18 10:20:00 - Set script security context: successfuly done.
 2011-03-18 10:20:00 - Network resource required
 2011-03-18 10:20:00 - Network resource: successfuly connected
 2011-03-18 10:20:00 - Starting script action execution
 2011-03-18 10:25:14 - Script action execution done.
 2011-03-18 10:25:14 - Script execution: successfuly done
 2011-03-18 10:25:14 - Network resource: successfuly disconnected
 
 You will see that it was sat on installing dropbox.  After 5 mins I killed 
 autoit and the dropbox installer wpkg continued with an exit code returned 
 non-successful value (1) on the command.
 
 Paul
 
 -Original Message-
 From: wpkg-users-boun...@lists.wpkg.org 
 [mailto:wpkg-users-boun...@lists.wpkg.org] On Behalf Of Martin Tille
 Sent: 18 March 2011 09:43
 To: wpkg-users@lists.wpkg.org
 Subject: Re: [wpkg-users] Dropbox autoit script problems
 
 Hi,

   I followed the really good DropBox install package using AutoIt.  The
 problem I have is that I cannot get it to complete in WPKG.  It just hangs.

 If I run it from a DOS box it completes.  I have tried using both the
 SOFTWARE variable and replacing that with my full UNC path and manually
 it completes but using the WPKG client it doesn't.

   Anyone got any ideas?

 Thanks

 Paul
 Hi Paul,
 
 not without any debug messages. If you use the wpgk-client programm you
 can set up debug and a debug file with wpgkinst.exe. If you use a self
 scripted solution use the /debug flag and see about what it complains.
 
 Martin
 -
 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] Dropbox autoit script problems

2011-03-18 Thread Paul McGrath
Okay, I see what you are saying.  Ho hum.
Thanks
Paul

-Original Message-
From: Malte Starostik [mailto:ma...@malte.homeip.net] 
Sent: 18 March 2011 12:13
To: wpkg-users@lists.wpkg.org
Cc: Paul McGrath
Subject: Re: [wpkg-users] Dropbox autoit script problems

Am Freitag, 18. März 2011, 12:30:24 schrieb Paul McGrath:
 Hi Martin,
   Yes it appears that the autoit clicking isn't working when using wpkg. 
 I've checked event viewer log and cannot see any problems.  Is it possible
 to get a more detailed log from wpkg? Thanks
 Paul

Hi Paul,

such things only work when the service is configured to be allowed to interact 
with the desktop - otherwise processes started from the service cannot create 
windows and all such autoit stuff is bound to fail.
Either way, this is rather dirty hackery and the Right Thing (tm) would be to 
get the Dropbox folks to release a real silent installer.  Starting with 
Windows Vista, it's no longer possible to allow such service to desktop 
interaction at all - breaking any package that uses autoit clickery from WPKG 
Client or WPKG-GP.

Cheers,
Malte
-
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] Dropbox autoit script problems

2011-03-18 Thread Paul McGrath
Great job Jean-Jacques,
  That worked a treat.  I've used Inno myself so I can recompile the updates in 
the future.  I couldn't see the uninstall.cmd file so I used the registry 
uninstall string
remove cmd='%PROGRAMFILES%\dropbox\unins000.exe /silent' 

Thanks again
Paul

-Original Message-
From: j...@isy.liu.se [mailto:j...@isy.liu.se] 
Sent: 18 March 2011 13:44
To: Paul McGrath; wpkg-users@lists.wpkg.org
Subject: Re[2]: [wpkg-users] Dropbox autoit script problems

On Fri, 18 Mar 2011 13:12:59 + Paul McGrath j.p.mcgr...@leeds.ac.uk wrote:

PM Okay, I see what you are saying.  Ho hum.
PM Thanks
PM Paul

PM -Original Message-
PM From: Malte Starostik [mailto:ma...@malte.homeip.net] 
PM Sent: 18 March 2011 12:13
PM To: wpkg-users@lists.wpkg.org
PM Cc: Paul McGrath
PM Subject: Re: [wpkg-users] Dropbox autoit script problems

PM Am Freitag, 18. März 2011, 12:30:24 schrieb Paul McGrath:
PM  Hi Martin,
PMYes it appears that the autoit clicking isn't working when using wpkg. 
PM  I've checked event viewer log and cannot see any problems.  Is it possible
PM  to get a more detailed log from wpkg? Thanks
PM  Paul

PM Hi Paul,

PM such things only work when the service is configured to be allowed to 
interact 
PM with the desktop - otherwise processes started from the service cannot 
create 
PM windows and all such autoit stuff is bound to fail.
PM Either way, this is rather dirty hackery and the Right Thing (tm) would be 
to 
PM get the Dropbox folks to release a real silent installer.  Starting with 
PM Windows Vista, it's no longer possible to allow such service to desktop 
PM interaction at all - breaking any package that uses autoit clickery from 
WPKG 
PM Client or WPKG-GP.

PM Cheers,
PM Malte


I repackaged Dropbox with innosetup to alleviate those problems.

package id=dropbox name=Dropbox revision=3 reboot=false 
priority=97
check type=uninstall condition=exists path=Dropbox 
1.0.20 /
install cmd='%WpkgRoot%\Packages\Dropbox\Dropbox-setup.exe 
/silent' /
upgrade cmd='%WpkgRoot%\Packages\Dropbox\Dropbox-setup.exe 
/silent' /
remove cmd='%WpkgRoot%\Packages\Dropbox\Uninstall.cmd' /
/package

you can replace /silent with /verysilent

Download:
http://users.isy.liu.se/en/tus/jj/Fichiers/Dropbox.zip
or
http://dl.dropbox.com/u/14248069/Dropbox.zip

it contains the iss script, the compiled installer (in Output), and the needed 
files 

if you want to compile it yourself or make some changes
download and install InnoSetup with innoIDE (ispack-5.4.1.exe)
http://www.jrsoftware.org/

open install_script.iss with innoIDE
press Compile

best Regards!

-- 
Jean-Jacques   Moulis  Tel:  (013) 281684
ISYFax:  (013) 139282
Linköping UniversityE-mail: j...@isy.liu.se
581 83 Linköping
-
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] Package limit in a single profile

2011-02-01 Thread Paul McGrath
Hi Jeff,
  your problem must lie elsewhere as I have dozens of packages in a few 
profiles and it works fine.  Try changing their order and see what happens.  It 
may be that package 8 or 9 is not completing properly and holding up the wpkg 
service.
Paul

From: wpkg-users-boun...@lists.wpkg.org [wpkg-users-boun...@lists.wpkg.org] On 
Behalf Of jeff_appleg...@fws.gov [jeff_appleg...@fws.gov]
Sent: 01 February 2011 18:30
To: wpkg-users@lists.wpkg.org
Subject: [wpkg-users] Package limit in a single profile

Is there a package limit for a specific profile?  What I am seeing is, as an 
example, in my defautl.xml I have the following:

?xml version=1.0 encoding=UTF-8?

profiles

profile id=default
package package-id=1 /
package package-id=2 /
package package-id=3 /
package package-id=4 /
package package-id=5 /
package package-id=6 /
package package-id=7 /
package package-id=8 /
package package-id=9 /
package package-id=10 /
package package-id=11 /
/profile

/profiles

Packages 9 - 11 are not showing up in the wpkg.xml in the system32 directory.  
This shows me that the last 3 packages are not being sent over to the desktop.  
Could it be that after setting up the first 8 that the next packages will not 
be seen by the desktop?  I have seen this with XP (32bit) and Win 7 (64bit).

Any and all help is greatly appreciated!

Jeff Applegate
ASRC Management Services
Contracted To:
USFWS
Fort Collins Science Center
2150 Centre Ave., Bldg C
Fort Collins, CO 80526
Phone: 970-226-9178
Fax: 970-226-9230
Email: jeff_appleg...@fws.gov
-
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] TrueCrypt again

2010-09-27 Thread Paul McGrath
This is a message for Marco who mailed back in May about Truecrypt.  I've 
cracked a silent installer for TrueCrypt 7.0a and posted instructions on the 
wpkg.org site which should be approved soon.
Regards
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.ukmailto: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] check conditions and or

2010-06-16 Thread Paul McGrath
Stefan,
  Thank you I understand now.  The documentation does not go into it in that 
much detail.
Regards
Paul

-Original Message-
From: wpkg-users-boun...@lists.wpkg.org 
[mailto:wpkg-users-boun...@lists.wpkg.org] On Behalf Of Pendl Stefan
Sent: 15 June 2010 16:50
To: wpkg-users@lists.wpkg.org
Subject: Re: [wpkg-users] check conditions and or


 Hi,
   Is it possible to combine check conditions?  I ask because with the advent 
 of Windows 7 64bit the %programfiles%
 variable becomes inaccurate for file location between XP and Win7 64.  I'll 
 show you what I would like to achieve

 check type=logical condition=and
 check type=uninstall condition=exists path=McAfee VirusScan 
 Enterprise /
check type=logical condition=or
 check type=file condition=versiongreaterorequal 
 path=%programfiles%\mcafee\virusscan enterprise\mcupdate.exe 
 value=8.7.0.659 /
 check type=file condition=versiongreaterorequal 
 path=%programfiles(x86)%\mcafee\virusscan enterprise\mcupdate.exe 
 value=8.7.0.659 /
  /check

 If this is not possible now could it be possible in the future?

 I would prefer this to creating multiple packages and profiles for multiple 
 OS.


Paul,

If you use multiple checks without a logical condition, they must all be true, 
since AND is the default.

This is not specific to Win7, but to 64-bit Windows in general, since 32-bit 
applications are always installed into %ProgramFiles(x86)%.

The correct check for your package is below:

check type=uninstall condition=exists path=McAfee VirusScan Enterprise /
check type=logical condition=or
  check type=file condition=versiongreaterorequal 
path=%programfiles%\mcafee\virusscan enterprise\mcupdate.exe 
value=8.7.0.659 /
  check type=file condition=versiongreaterorequal 
path=%programfiles(x86)%\mcafee\virusscan enterprise\mcupdate.exe 
value=8.7.0.659 /
/check

As an example, for the following all three checks must return true:

check type=uninstall condition=exists path=McAfee VirusScan Enterprise /
check type=registry condition=exists path=HKLM\SOFTWARE\MyCheck\TestMe 
value=true /
check type=file condition=versiongreaterorequal 
path=%programfiles(x86)%\mcafee\virusscan enterprise\mcupdate.exe 
value=8.7.0.659 /

Nested checks must be done as below:

check type=logical condition=or
  check type=logical condition=not
check type=file /
  /check

  check type=registry /
/check

---
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 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] check conditions and or

2010-06-15 Thread Paul McGrath
Hi,
  Is it possible to combine check conditions?  I ask because with the advent of 
Windows 7 64bit the %programfiles% variable becomes inaccurate for file 
location between XP and Win7 64.  I'll show you what I would like to achieve

check type=logical condition=and
check type=uninstall condition=exists path=McAfee VirusScan 
Enterprise /
   check type=logical condition=or
check type=file condition=versiongreaterorequal 
path=%programfiles%\mcafee\virusscan enterprise\mcupdate.exe 
value=8.7.0.659 /
check type=file condition=versiongreaterorequal 
path=%programfiles(x86)%\mcafee\virusscan enterprise\mcupdate.exe 
value=8.7.0.659 /
 /check

If this is not possible now could it be possible in the future?

I would prefer this to creating multiple packages and profiles for multiple OS.

Thanks
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.ukmailto: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] Error while Installing BullZip

2010-05-17 Thread Paul McGrath
Christian,
  I just did this one myself last Thursday.  Want to try mine

package
 id=bullzip
 name=Bullzip PDF Printer 7.1.0.1186
 revision=7.1.0.1186
 reboot=false
 priority=0
 check type=logical condition=and
   check type=uninstall condition=exists path=Bullzip PDF Printer 
7.1.0.1186 /
   check type=uninstall condition=exists path=GPL Ghostscript Lite 
8.70 /
 /check
 downgrade cmd='%SOFTWARE%\bullzip\BullzipPDFPrinter_7_1_0_1186.exe /sp- 
/verysilent /SUPPRESSMSGBOXES /norestart /nocancel ' /
 install cmd='%SOFTWARE%\bullzip\BullzipPDFPrinter_7_1_0_1186.exe /sp- 
/verysilent /SUPPRESSMSGBOXES /norestart /nocancel ' /
 upgrade cmd='%SOFTWARE%\bullzip\BullzipPDFPrinter_7_1_0_1186.exe /sp- 
/verysilent /SUPPRESSMSGBOXES /norestart /nocancel ' /
 remove cmd='%PROGRAMFILES%\Bullzip\PDF Printer\unins000.exe /silent' /
/package

Make sure you put the latest gslite.exe in the same source folder

Paul

From: wpkg-users-boun...@lists.wpkg.org 
[mailto:wpkg-users-boun...@lists.wpkg.org] On Behalf Of Christian Becker
Sent: 17 May 2010 10:27
To: wpkg-users@lists.wpkg.org
Subject: [wpkg-users] Error while Installing BullZip

Hi,

I'm using this Script while installing BullZip:
package id=bullzip name=BullzipPDFPrinter revision=2 priority=10 
reboot=false
check type=uninstall condition=exists path=Bullzip PDF Printer 
7.1.0.1181/check
install 
cmd=\\iwifile2k3\Deployment\wpkg\tools\bullzip\BullzipPDFPrinter_7_1_0_1181.exe
 /sp /silent /norestart /nocancel/install
upgrade 
cmd=\\iwifile2k3\Deployment\wpkg\tools\bullzip\BullzipPDFPrinter_7_1_0_1181.exe
 /sp /silent /norestart /nocancel/upgrade
remove cmd='%COMSPEC% /c if exist %ProgramFiles%\Bullzip\PDF 
Printer\unins000.exe %PROGRAMFILES%\Bullzip\PDF Printer\unins000.exe 
/silent'/remove
remove cmd='%COMSPEC% /c if exist %ProgramFiles(x86)%\Bullzip\PDF 
Printer\unins000.exe %PROGRAMFILES(x86)%\Bullzip\PDF Printer\unins000.exe 
/silent'/remove
/package

Installing returns -1 and the Bullzip Printer isnt's installed. The Tool 
itself installs fine - but without the printer driver it's unusable.

When trying to install it byHand on the same system I tested WPKG it works fine 
...

Any Ideas?

regards
Chris
-
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.

package 
id=mirrordrv 
name=UltraVNC Mirror Driver 
revision=1.0.2.2 
priority=16
install cmd='cmd /c mkdir %PROGRAMFILES%\ultravnc ' 
  exit code='1' /
/install
install cmd='cmd /c copy /y %SOFTWARE%\ultravnc\drivers.zip 
%PROGRAMFILES%\ultravnc ' 
  exit code='1' /
/install
install cmd='cmd /c %SETTINGS%\tools\unzip.exe -o 
%PROGRAMFILES%\ultravnc\drivers.zip -d %PROGRAMFILES%\ultravnc ' /

!-- HERE ARE MY THREE LINES WHICH I HAVE TRIED --
!--   install cmd='%comspec% /c start /WAIT Mirror Driver Install 
/D%ProgramFiles%\UltraVNC\driver\XP 
%ProgramFiles%\UltraVNC\driver\XP\setupdrv.exe installs ' /  --
install cmd='cmd /c %PROGRAMFILES%\ultravnc\driver\xp\setupdrv.exe 
install ' /   
!--  install cmd='cmd /c 
%PROGRAMFILES%\ultravnc\driver\xp\install_silent.bat ' /   --


install cmd='cmd /c del /q %PROGRAMFILES%\ultravnc\drivers.zip ' /
remove cmd='sc delete mv2' /
/package

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] Window OS Version check?

2010-01-23 Thread Paul McGrath
That is a really sophisticated method, I go for the simple method ;-)

Using the logical checks that the OS is a particular version and the bit type 
matches 32 or 64bit from the registry

check type='logical' condition 'and'
   check type=registry condition=equals 
path=HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\CurrentVersion 
value=6.0 /  
   check type=registry condition=equals 
path=HKLM\SYSTEM\CurrentControlSet\Control\Session 
Manager\Environment\PROCESSOR_ARCHITECTURE value=x86 /
/check

XP = 5.1, Vista = 6.0 and Windows 7 = 6.1
Processor Architecture is use x86 or AMD64, I havent put 64bit OS on an Intel 
dual core so I dont know that variable

I have separate packages for XP and Vista (32 or 64) but put them all in the 
same profile and they'll install based on the checks.
Paul

From: wpkg-users-boun...@lists.wpkg.org [wpkg-users-boun...@lists.wpkg.org] On 
Behalf Of Rainer Meier [r.me...@wpkg.org]
Sent: 23 January 2010 09:51
To: Sean Kennedy
Cc: wpkg-users@lists.wpkg.org
Subject: Re: [wpkg-users] Window OS Version check?

Hi Sean,

On 23.01.2010 09:31, Sean Kennedy wrote:
 How has everyone else handled version checks with wpkg? For example, I
 would install some packages differently in Vista than I would in XP; is
 there a quick and simple way of handling this?

Sure.


 What I'd like to see is a method by which most of the config files stay
 the same, but wpkg check for different package definition files based on
 the OS version it's running on. So I might have acroread.xml, but if it
 runs under 7 it might look for acroread.6.1.7600.xml ( or something ).

Well, for the checks there are multiple possibilities. Personally I usually just
add appropriate checks to the package and use a logical OR grouping. For 
example:

check type='logical' condition 'or'
  check type='uninstall' condition='exists' path='XP entry' /
  check type='uninstall' condition='exists' path='Vista entry' /
/check

This will make WPKG to detect the package to be installed correctly on both
systems depending on system state.

An alternative solution would be to use a check of type execute which allows
you to point to a script which performs various checks depending on OS, registry
values or anything else and then returns 0 if the application is correctly
installed or returns 1 if the application is not installed correctly.


Regarding installation commands. I am usually pointing WPKG to execute a script
called unattended.cmd. This script can of course detect the OS it is running
on and perform the right operations.
You might have a look at my example attached. It's my script to install Internet
Explorer 8.

My package directory includes the following files:
checkIEVersion.cmd:
I am not using this script now but you might use a similar script if you need to
perform extensive checks based on operating system version. So you might call it
within an execute type check.

IE8-WindowsVista-x64-DEU.exe:
IE 8 Installer for Vista x64, German

IE8-WindowsVista-x64-ENU.exe:
IE 8 Installer for Vista x64, English

IE8-WindowsVista-x86-DEU.exe:
IE 8 Installer for Vista 32-bit, German

IE8-WindowsVista-x86-ENU.exe:
IE 8 Installer for Vista 32-bit, English

IE8-WindowsXP-x86-DEU.exe:
IE 8 Installer for XP 32-bit, German

IE8-WindowsXP-x86-ENU.exe:
IE 8 Installer for XP 32-bit, English

install.cmd:
My generic installer helper - it's able to run many silent installers.

unattended.cmd:
The script I am calling from WPKG. It detects the language and calls
unattended-[lang].cmd depending on system language. So I can support multiple OS
languages with one script easily.

unattended-de.cmd:
Detects OS version and runs correct installer depending on OS version. German
installers are run from within this script.

unattended-en.cmd:
Detects OS version and runs correct installer depending on OS version. English
installers are run from within this script.

unattended-uninstall.cmd:
Is called by WPKG to uninstall the application.



This set of scripts can be easily adapted to almost any application.

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] Window OS Version check?

2010-01-23 Thread Paul McGrath
Yes, I see what you are saying.
Paul

-Original Message-
From: Rainer Meier [mailto:r.me...@wpkg.org] 
Sent: 23 January 2010 10:27
To: Paul McGrath
Cc: Sean Kennedy; wpkg-users@lists.wpkg.org
Subject: Re: [wpkg-users] Window OS Version check?

Hi Paul,

On 23.01.2010 11:04, Paul McGrath wrote:
 That is a really sophisticated method, I go for the simple method ;-)
 
 Using the logical checks that the OS is a particular version and the bit type 
 matches 32 or 64bit from the registry
 
 check type='logical' condition 'and'
check type=registry condition=equals 
 path=HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\CurrentVersion 
 value=6.0 /  
check type=registry condition=equals 
 path=HKLM\SYSTEM\CurrentControlSet\Control\Session 
 Manager\Environment\PROCESSOR_ARCHITECTURE value=x86 /
 /check
 
 XP = 5.1, Vista = 6.0 and Windows 7 = 6.1
 Processor Architecture is use x86 or AMD64, I havent put 64bit OS on an Intel 
 dual core so I dont know that variable
 
 I have separate packages for XP and Vista (32 or 64) but put them all in the 
 same profile and they'll install based on the checks.

I would not recommend this method. Personally I even feel that you might have
misunderstood the purpose of checks in WPKG.
Checks are there to verify that a package is installed properly on a system.
Using your checks WPKG will detect all packages with Vista-checks (example
above) to be installed already on the system.

For example if you assign the following two packages to all hosts:


package id='InternetExplorerVistax86' name='Internet Explorer' revision='800' 

check type='logical' condition 'and'
   check type=registry condition=equals
path=HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\CurrentVersion
value=6.0 /
   check type=registry condition=equals
path=HKLM\SYSTEM\CurrentControlSet\Control\Session
Manager\Environment\PROCESSOR_ARCHITECTURE value=x86 /

...

/check

package id='InternetExplorerXPx86' name='Internet Explorer' revision='800' 

check type='logical' condition 'and'
   check type=registry condition=equals
path=HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\CurrentVersion
value=5.1 /
   check type=registry condition=equals
path=HKLM\SYSTEM\CurrentControlSet\Control\Session
Manager\Environment\PROCESSOR_ARCHITECTURE value=x86 /
..

/check


Then XP hosts will detect InternetExplorerXPx86 to be installed already since
all registry entries are already there - as a result WPKG will not install
anything. Even worse it will execute the commands from the
InternetExplorerVistax86 because WPKG detects that the checks failed. So it will
try to install it. Of course the commands will fail and WPKG reports a failed
to check after installation error to event log. On each re-synchronization WPKG
will try to re-install all packages where the checks do not succeed.

So please remember that checks are NOT there to check if a package applies to
the system if the checks are true. Checks are there to verify that a package is
installed properly and WPKG will run the commands over and over again until
checks become true. In case of your checks they will never become true since the
package will for sure not change the PROCESSOR_ARCHITECTURE or CurrentVersion 
value.

More over such checks are completely unrelated to the software you're installing
WPKG will be unable to detect if something happens to the application (e.g. user
uninstalled it). So I really recommend using checks which verify that the
software is properly installed. This allows WPKG to detect any broken piece of
software on the machine and re-install 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] multiple profiles question

2009-10-22 Thread Paul McGrath
Hi,
  I am trying to apply a number of profiles to the same host.  I have the 
profiles configured in the profiles directory and they each work if applied 
singularly to a host.
  In my hosts file I have defined this
!-- Jenny Barrett --
host name=limm-onc4068 profile-id=default 
  profile id=nopowersave/
/host

'nopowersave' is a profile containing a package 'nopowersave' but it doesn't 
seem to be working.

Any ideas?
Thanks
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] serial numbers / license keys ?

2009-10-16 Thread Paul McGrath
Other software has command line switches like Paint Shop Pro X 
Serialnumber=xxx-xxx-xxx, SPSS ISX_SERIALNUM=, Corel Draw 
SERIALNUMBER=x-x-x



-Original Message-
From: wpkg-users-boun...@lists.wpkg.org 
[mailto:wpkg-users-boun...@lists.wpkg.org] On Behalf Of Kevin Keane
Sent: 16 October 2009 09:15
Cc: wpkg-users@lists.wpkg.org
Subject: Re: [wpkg-users] serial numbers / license keys ?

This is really highly specific to the application you are installing. 
For instance, in Microsoft Office with Volume License, you have two 
options for handling license keys: an administrative install (run setup 
/admin on the server) that creates a .MSP file for you. You simply put 
it into the Update folder. Or you can modify the config.xml file - I 
found this the preferable solution.

On the other hand, Microsoft Office retail licenses can't legally be 
installed with WPKG (although I believe in practical terms the 
config.xml approach will still work, it's just against the Microsoft 
license agreement).

Adobe Acrobat is an example for an application that, if memory serves me 
right, uses an MSI transform.

Simon Kelsall wrote:

 Hi all,

 I'm very new to all this silent install and have got WPKG working for 
 our ICT suite, but have question ( well a few actually ).

 Whats the best way of dealing with license keys / serial numbers ?

 Do I need to be looking at MSI transforms ? If so any pointer to a 
 guide for dummies, what I've found on the net so far seems to assume 
 you know all about packaging already.

 Thanks in advance



-- 
Kevin Keane
Owner
The NetTech
Find the Uncommon: Expert Solutions for a Network You Never Have to Think About

Office: 866-642-7116
http://www.4nettech.com

This e-mail and attachments, if any, may contain confidential and/or 
proprietary information. Please be advised that the unauthorized use or 
disclosure of the information is strictly prohibited. The information herein is 
intended only for use by the intended recipient(s) named above. If you have 
received this transmission in error, please notify the sender immediately and 
permanently delete the e-mail and any copies, printouts or attachments thereof.

-
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] strange windows appearing during install

2009-10-12 Thread Paul McGrath
Hi,
  I have setup the server and clients with the two latest versions and now 
during software installation ghost installation windows are appearing, they are 
feint and don't have buttons or progress bars but appear when an app installs 
and disappears when they are finished.  I have not been able to determine yet 
which particular install wrappers are running at the time like installshield.
  Anyone experiencing this as well?
Thanks
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] local WPKG settings

2009-10-08 Thread Paul McGrath
Unfortunately if you make a mistake like I did and have different server paths 
in your settings.xml and update all your clients then you have to revisit them 
all to repair them.
70 down, 350 to go!



-Original Message-
From: wpkg-users-boun...@lists.wpkg.org 
[mailto:wpkg-users-boun...@lists.wpkg.org] On Behalf Of Rainer Meier
Sent: 08 October 2009 13:12
To: Pendl Stefan
Cc: wpkg-users@lists.wpkg.org
Subject: Re: [wpkg-users] local WPKG settings

Hi Stefan + Hugo,

Pendl Stefan wrote:
 Hello list,

 I was wondering where does WPKG store the settings from
 settings.xml in
 each workstation. The C:\WINDOWS\System32\wpkg.xml file only
 saves the
 packages metadata and i see no references in the registry.

 Could someone shed some light over this?

 Thanks,

 Hugo Monteiro.

 
 Tomasz once mentioned, that this is saved in a save place.

The file wpkg.xml is written by wpkg.js and respresents the current state. All
other XML files used by wpkg.js do not have to be stored on client side and are
fetched at each run (config.xml, packages.xml, hosts.xml and profiles.xml).

The settings of the client are stored within a Windows secure store. It's the
same mechanism which is in use by Internet Explorer and other applications to
keep saved passwords secured. Especially this protects some sensitive data like
connection passwords or URLs which contain usernames/passwords.

It's quite easy to erase/change a password of a Windows user on the local disk
by boot utilities. However if the password is reset you will lose the contents
of the secure store as well as access to EFS encrypted files. It's not 100%
secure but it's sufficient for most purposes.

The drawback is that you cannot see these settings within the registry directly.
But WPKG client offers an easy way to re-read the settings from XML.

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] wrapper settings path mismatch problem

2009-10-05 Thread Paul McGrath
Hi,
  I need some help to try and rectify a problem, of my making!
I manually edited the settings.xml to change from server1 to server2 but missed 
the wrapper path and only changed the settings paths.
Now I have the path for the wrapper \\server1\wpkg\wpkg.js and the 
settings/software as \\server2\wpkg\settings.xml so wpkg fails.
Has anyone got a suggestion on how to change these?
Where are the wpkgservice settings stored? Registry? Xml file? As I could try 
and change it via a DS group policy.

BTW, thanks to everyone for the help on the downgrade version stuff, it worked 
great.


Thanks
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] revision number problem

2009-10-02 Thread Paul McGrath
Arrrghh... okay.  I will bear that in mind in the future
Thanks
Paul




-Original Message-
From: Malte Starostik [mailto:ma...@malte.homeip.net] 
Sent: 02 October 2009 15:56
To: wpkg-users@lists.wpkg.org
Cc: Paul McGrath
Subject: Re: [wpkg-users] revision number problem

Hi Paul,

Am Freitag, 2. Oktober 2009 16:42:03 schrieb Paul McGrath:
 I have discovered a revision number issue with my packages.  It happened
  with Firfox.
 
 There was a security fix to Firefox 3.5.1 which I made as revision 3511 in
  my package.  When 3.5.3 came out I changed my revision to 353 but it has
  not updated a single PC.
 
 I thought that the revision setting was supposed to be based on 'different'
  and not on 'greater'.  I have revised a few packages were I have used
  smaller numbers for the revision but I haven't checked whether they have
  updated.  Do I presume now that they haven't?
 
 Please advise.
 Thanks
 Paul

When the revision number decreases, WPKG performs a downgrade.  For that to 
work, you need to add downgrade cmd=.../ actions to your package.  But as 
this isn't really a downgrade, I'd recommend to use the real version numbers 
as revisions.  Sth. like 3.5.1.1 = 3.5.3 will be correctly interpreted as 
an upgrade while 3511 = 353 will not.

Cheers,
Malte
-
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] Power preferences

2009-03-16 Thread Paul McGrath
Anders,
  I tried that a long time ago as well and discovered exactly what Tomasz has 
said.  If you don't have an AD controller then you have to set the properties 
at user level.  The easiest thing to do is to take a snapshot of the registry 
before changing the settings you want and then change the power settings then 
compare the snapshots.  You will end up with something like this.  Then stick 
it in a logon script that merges into the user reg.

Paul

[HKEY_CURRENT_USER\Control Panel\PowerCfg\PowerPolicies]

[HKEY_CURRENT_USER\Control Panel\PowerCfg\PowerPolicies\0]
Name=Home/Office Desk
Description=This scheme is suited to most home or desktop computers that are 
left plugged in all the time.
Policies=hex:01,00,00,00,02,00,00,00,01,00,00,00,00,00,00,00,02,00,00,00,00,\
  00,00,00,00,00,00,00,00,00,00,00,2c,01,00,00,32,32,00,03,04,00,00,00,04,00,\
  00,00,00,00,00,00,00,00,00,00,b0,04,00,00,2c,01,00,00,00,00,00,00,58,02,00,\
  00,01,01,64,50,64,64,00,00

[HKEY_CURRENT_USER\Control Panel\PowerCfg\PowerPolicies\1]
Name=Portable/Laptop
Description=This scheme is designed for extended battery life for portable 
computers on the road.
Policies=hex:01,00,00,00,02,00,00,00,01,00,00,00,00,00,00,00,02,00,00,00,01,\
  00,00,00,00,00,00,00,b0,04,00,00,2c,01,00,00,32,32,03,03,04,00,00,00,04,00,\
  00,00,00,00,00,00,00,00,00,00,84,03,00,00,2c,01,00,00,08,07,00,00,2c,01,00,\
  00,01,01,64,50,64,64,00,00

[HKEY_CURRENT_USER\Control Panel\PowerCfg\PowerPolicies\2]
Name=Presentation
Description=This scheme keeps the monitor on for doing presentations.
Policies=hex:01,00,00,00,02,00,00,00,01,00,00,00,00,00,00,00,02,00,00,00,01,\
  00,00,00,00,00,00,00,00,00,00,00,84,03,00,00,32,32,03,02,04,00,00,00,04,00,\
  00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,2c,01,00,\
  00,01,01,50,50,64,64,00,00

[HKEY_CURRENT_USER\Control Panel\PowerCfg\PowerPolicies\3]
Name=Always On
Description=This scheme keeps the computer running so that it can be 
accessed from the network.  Use this scheme if you do not have network wakeup 
hardware.
Policies=hex:01,00,00,00,02,00,00,00,01,00,00,00,00,00,00,00,02,00,00,00,00,\
  00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,32,32,00,00,04,00,00,00,04,00,\
  00,00,00,00,00,00,00,00,00,00,b0,04,00,00,84,03,00,00,00,00,00,00,08,07,00,\
  00,00,01,64,64,64,64,00,00

[HKEY_CURRENT_USER\Control Panel\PowerCfg\PowerPolicies\4]
Name=Minimal Power Management
Description=This scheme keeps the computer on and optimizes it for high 
performance.
Policies=hex:01,00,00,00,02,00,00,00,01,00,00,00,00,00,00,00,02,00,00,00,00,\
  00,00,00,00,00,00,00,00,00,00,00,2c,01,00,00,32,32,03,03,04,00,00,00,04,00,\
  00,00,00,00,00,00,00,00,00,00,84,03,00,00,2c,01,00,00,00,00,00,00,84,03,00,\
  00,00,01,64,64,64,64,00,00

[HKEY_CURRENT_USER\Control Panel\PowerCfg\PowerPolicies\5]
Name=Max Battery
Description=This scheme is extremely aggressive for saving power.
Policies=hex:01,00,00,00,02,00,00,00,01,00,00,00,00,00,00,00,02,00,00,00,05,\
  00,00,00,00,00,00,00,b0,04,00,00,78,00,00,00,32,32,03,02,04,00,00,00,04,00,\
  00,00,00,00,00,00,00,00,00,00,84,03,00,00,3c,00,00,00,00,00,00,00,b4,00,00,\
  00,01,01,64,32,64,64,00,00 

-Original Message-
From: wpkg-users-boun...@lists.wpkg.org 
[mailto:wpkg-users-boun...@lists.wpkg.org] On Behalf Of Anders Nilsson
Sent: 16 March 2009 16:32
To: wpkg-users@lists.wpkg.org
Subject: [wpkg-users] Power preferences

I run the wpkg.js client from Windows XP startup script, which means
wpkg runs as the system user (I think), and try to install the following
self-made package:

package id=powerproperties
  name=Power properties for monitor and standby
  revision=3
  reboot=false
  priority=10

  install cmd='powercfg /S Home/Office Desk' /
  install cmd='powercfg /X Home/Office Desk /monitor-timeout-ac 15' /
  install cmd='powercfg /X Home/Office Desk /standby-timeout-ac 240' /
  upgrade cmd='powercfg /S Home/Office Desk' /
  upgrade cmd='powercfg /X Home/Office Desk /monitor-timeout-ac 15' /
  upgrade cmd='powercfg /X Home/Office Desk /standby-timeout-ac 240' /
/package

The problem is that the settings don't stick, that is nothing concerning
power properties as changed. The client wpkg log file thinks everything
is OK and that the package is successfully installed (or upgraded when
applicable).

Running the very same commands logged in as Administrator things work
just as expected. When nobody is logged on the monitor shuts down after
15 minutes and the system goes to standby in 4 hours.

As far as I can see these power property settings is not a user
preference, or is that my problem here?

  /Anders
-
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] Registry key import

2008-12-08 Thread Paul McGrath
Bram,
  as Rainer says it is easier to use a cmd or bat file to do it.  I
looked up some info about wsus deployment and found something that said
to use a bat file.  This is my wsus.bat (followed by my wsus wpkg
package).

@echo off
::
Echo Save the batch file as WSUS.bat. This batch file will do the
following:
Echo 1.Stops the Automatic Update Service (wuauserv) service.
Echo 2.Imports WUA settings for workstations in workgroup to
detect/download/install updates from WSUS.
Echo 3.Starts the Automatic Update Service (wuauserv) service.
Echo 4.Force update detection.
Echo 5.More information on http://msmvps.com/Athif
REM INSTRUCTIONS:
REM Place both the files (WSUS.reg and WSUS.bat) in same location
(single folder)
REM Double-click WSUS.bat to import WSUS.reg which contains Windows
Update Agent (WUA) settings.
REM for WUA in a workgroup environment. In this sample, WSUS.reg and
WSUS.bat
REM are placed in 'c:\'.

REM Author:- Mohammed Athif Khaleel :- Date April 30, 2006
rem Pause
Net Stop wuauserv
Echo Importing WSUS.reg
%windir%\Regedit.exe /s \\myserver.com\wpkg\files\wsus\WSUS.reg
Echo WSUS.reg imported succesfully
Net Start wuauserv
Echo Forcing update detection
wuauclt /detectnow
rem Pause
 


package
id=wsus
name=WSUS registration
revision=1
reboot=false
priority=20
execute=once
install cmd='%SOFTWARE%\wsus\wsus.bat' /
/package


Good luck
Paul

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bram Bosboom
Sent: 08 December 2008 11:32
To: wpkg-users@lists.wpkg.org
Subject: [wpkg-users] Registry key import

Howdy,

I just discovered something where registry imports fail if a variable is
used (the software variable which works for normal installs for
example).
I do see some examples on the wiki where a variable is used to import a
key so I guess I am missing something here..

A simple example package I have is where I want to import some WSUS keys
to deploy on some workstations;

*snap*
check type=registry condition=exists
path=HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpda
te
/
   
install cmd='regedit /s %SOFTWARE%\wsus\securewsus.reg' /
*snap*

The regfile itself is working OK. And whole package does get run.

On the debug the command it says the import is done successfully but
actually it doesn't happen! (Now I know 'regedit /s' always returns a
'success' even if the path doesnt excist but I though it would be worth
mentioning)
I tried without the quotes under -%SOFTWARE%\wsus\securewsus.reg- which
shouldn't be necessary but that also fails.

Now when I do use the full unc path to the registry key location it is
working fine?? So I assume it has something to do with the variable.
Now I though their perhaps would be a need of a system variable cause
WPKG is just starting a command prompt or something so I have set a
system variable 'software' to the same path. The variable works, but the
script still fails to import the key.. :[

Searched the bug on the bug tracker but I could not find anything
related. Anyone knows what's up?


I use latest dev release client (1.3.6) and stable server script
(1.0.2).

Summary:
Executing command : regedit /s %SOFTWARE%\securewsus.reg
Command in installation of WSUS Register sleutel set returned exit code
[0]. Suc
cess.

^FAILS^

Executing command : regedit /s \\pathtoregkey\securewsus.reg
Command in installation of WSUS Register sleutel set returned exit code
[0]. Suc
cess.

^WORKS^

Thanks in advance!

Regards,
Bram

-
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] Registry key import

2008-12-08 Thread Paul McGrath


Adam,
  my wsus.reg is:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate]
WUServer=http://MYSERVER.COM:8530;
WUStatusServer=http://MYSERVER.COM:8530;
TargetGroupEnabled=dword:0001
TargetGroup=MY-GROUP
ElevateNonAdmins=dword:

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU
]
NoAutoUpdate=dword:
AUOptions=dword:0004
ScheduledInstallDay=dword:
ScheduledInstallTime=dword:000a
NoAutoRebootWithLoggedOnUsers=dword:0001
AutoInstallMinorUpdates=dword:0001
RebootRelaunchTimeoutEnabled=dword:0001
RebootRelaunchTimeout=dword:003c
RescheduleWaitTimeEnabled=dword:0001
RescheduleWaitTime=dword:000f
DetectionFrequencyEnabled=dword:0001
RebootWarningTimeoutEnabled=dword:0001
RebootWarningTimeout=dword:001e
UseWUServer=dword:0001
NoAUShutdownOption=dword:
NoAUAsDefaultShutdownOption=dword:

Hope this helps
Paul

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Adam Williams
Sent: 08 December 2008 14:19
Cc: wpkg-users@lists.wpkg.org
Subject: Re: [wpkg-users] Registry key import

what are the contents of WSUS.reg?  I can add this to the wiki.




Paul McGrath wrote:
 Bram,
   as Rainer says it is easier to use a cmd or bat file to do it.  I
 looked up some info about wsus deployment and found something that
said
 to use a bat file.  This is my wsus.bat (followed by my wsus wpkg
 package).

 @echo off
 ::
 Echo Save the batch file as WSUS.bat. This batch file will do the
 following:
 Echo 1.Stops the Automatic Update Service (wuauserv) service.
 Echo 2.Imports WUA settings for workstations in workgroup to
 detect/download/install updates from WSUS.
 Echo 3.Starts the Automatic Update Service (wuauserv) service.
 Echo 4.Force update detection.
 Echo 5.More information on http://msmvps.com/Athif
 REM INSTRUCTIONS:
 REM Place both the files (WSUS.reg and WSUS.bat) in same location
 (single folder)
 REM Double-click WSUS.bat to import WSUS.reg which contains Windows
 Update Agent (WUA) settings.
 REM for WUA in a workgroup environment. In this sample, WSUS.reg and
 WSUS.bat
 REM are placed in 'c:\'.

 REM Author:- Mohammed Athif Khaleel :- Date April 30, 2006
 rem Pause
 Net Stop wuauserv
 Echo Importing WSUS.reg
 %windir%\Regedit.exe /s \\myserver.com\wpkg\files\wsus\WSUS.reg
 Echo WSUS.reg imported succesfully
 Net Start wuauserv
 Echo Forcing update detection
 wuauclt /detectnow
 rem Pause
  


 package
 id=wsus
 name=WSUS registration
 revision=1
 reboot=false
 priority=20
 execute=once
 install cmd='%SOFTWARE%\wsus\wsus.bat' /
 /package


 Good luck
 Paul

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Bram Bosboom
 Sent: 08 December 2008 11:32
 To: wpkg-users@lists.wpkg.org
 Subject: [wpkg-users] Registry key import

 Howdy,

 I just discovered something where registry imports fail if a variable
is
 used (the software variable which works for normal installs for
 example).
 I do see some examples on the wiki where a variable is used to import
a
 key so I guess I am missing something here..

 A simple example package I have is where I want to import some WSUS
keys
 to deploy on some workstations;

 *snap*
 check type=registry condition=exists

path=HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpda
 te
 /

 install cmd='regedit /s %SOFTWARE%\wsus\securewsus.reg' /
 *snap*

 The regfile itself is working OK. And whole package does get run.

 On the debug the command it says the import is done successfully but
 actually it doesn't happen! (Now I know 'regedit /s' always returns a
 'success' even if the path doesnt excist but I though it would be
worth
 mentioning)
 I tried without the quotes under -%SOFTWARE%\wsus\securewsus.reg-
which
 shouldn't be necessary but that also fails.

 Now when I do use the full unc path to the registry key location it is
 working fine?? So I assume it has something to do with the variable.
 Now I though their perhaps would be a need of a system variable cause
 WPKG is just starting a command prompt or something so I have set a
 system variable 'software' to the same path. The variable works, but
the
 script still fails to import the key.. :[

 Searched the bug on the bug tracker but I could not find anything
 related. Anyone knows what's up?


 I use latest dev release client (1.3.6) and stable server script
 (1.0.2).

 Summary:
 Executing command : regedit /s %SOFTWARE%\securewsus.reg
 Command in installation of WSUS Register sleutel set returned exit
code
 [0]. Suc
 cess.

 ^FAILS^

 Executing command : regedit /s \\pathtoregkey\securewsus.reg
 Command in installation of WSUS Register sleutel set returned exit
code
 [0]. Suc
 cess.

 ^WORKS^

 Thanks in advance!

 Regards,
 Bram

Re: [wpkg-users] truecrypt

2008-12-04 Thread Paul McGrath
I've done it both ways, using shortcut.exe 
This was in a batch file that was copied in a wpkg package to the all users 
desktop, then each user had to run it, but I could have put it in an install cmd
%PROGRAMFILES%\qsr\nvivo 7\shortcut.exe /f:%USERPROFILE%\Desktop\Nvivo.lnk 
/a:c /t:%PROGRAMFILES%\QSR\NVivo 7\Nvivo.exe


but sometimes it is easier to just create a shortcut yourself and then use wpkg 
to copy it wherever
install cmd='cmd /c copy /y %ALLUSERSPROFILE%\Start Menu\Programs\SPSS 
Inc\SPSS 16.0\SPSS 16.0.lnk %ALLUSERSPROFILE%\Desktop ' / 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Marco Gaiarin
Sent: 04 December 2008 08:23
To: wpkg-users@lists.wpkg.org
Subject: Re: [wpkg-users] truecrypt

Mandi! Brian May
  In chel di` si favelave...

 * Not sure how to create shortcuts for the start menu.

Normally i use 'shortcut.exe':

http://www.ss64.com/nt/shortcut.html

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

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

2008-12-04 Thread Paul McGrath
Brian,
  I posted instructions in this thread for how to get it to work

http://forums.truecrypt.org/viewtopic.php?t=13453postdays=0postorder=a
scstart=14

The problem is normal users (non-admins) cannot use truecrypt as it
tries to install a truecrypt device when you run the program.  I
overcame this by editing the registry to change the truecrypt service
start level to 0 (at system startup).  This means it is already running
so users can already use it.

I created an msi which puts files in the right place and the custom
registry settings.  Works a treat.
Paul 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Brian May
Sent: 04 December 2008 02:49
To: wpkg-users@lists.wpkg.org
Subject: [wpkg-users] truecrypt

Hello,

Have had another go at getting this working, based on instructions at
http://forums.truecrypt.org/viewtopic.php?p=11726#11726.

First run the installer, and select the unpack option to unpack the 
files. I put them in %SOFTWARE%\truecrypt\%VERSION%

hq packages # cat truecrypt.xml
packages
package id=truecrypt
  name=Truecrypt 6.1a
  revision=1
  reboot=false
  priority=0
install cmd='%SOFTWARE%\truecrypt\install.cmd 6.1a' /
upgrade cmd='%SOFTWARE%\truecrypt\install.cmd 6.1a' /
remove cmd='%SOFTWARE%\truecrypt\remove.cmd 6.1a' /
/package
/packages

hq truecrypt # cat install.cmd
%SystemRoot%\System32\sc.exe stop truecrypt
copy %SOFTWARE%\truecrypt\%1\truecrypt.sys
%SystemRoot%\System32\Drivers
%SystemRoot%\System32\sc.exe create truecrypt type= kernel start= auto

error= normal binPath= %SystemRoot%\System32\Drivers\truecrypt.sys 
DisplayName= truecrypt
%SystemRoot%\System32\sc.exe start truecrypt
xcopy /E /I /Y %SOFTWARE%\truecrypt\%1 %ProgramFiles%\truecrypt

hq truecrypt # cat remove.cmd
%SystemRoot%\System32\sc.exe delete truecrypt
del %SystemRoot%\System32\Drivers\truecrypt.sys
rmdir /S /Q %ProgramFiles%\truecrypt


Issues:

* Not sure how to create shortcuts for the start menu.
* The above may not work for 64bit installations. There is a supplied 
truecrypt-x64.sys, maybe this is meant to be used instead of 
truecrypt.sys - if so I wouldn't know how to tell wpkg to use it
instead.
* The first line in the install script stops the service (maybe this 
should delete the service?) in case it is already running so it can be 
reinstalled. Not absolutely happy with this.
* The SC create command line looks weird with lots of spaces but these 
are required.

Comments?

Brian May


-
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] Problem with consecutive package deployment(ProEngineer)

2008-12-01 Thread Paul McGrath
Brian,
  I would suggest doing depends for the second and third.  This would
mean that version 4 won't install unless 3 exists, and 3 won't install
unless 2 exists.

package
   id=proengineer3
   name=Pro/ENGINEER Wildfire 2.0
   revision=2.0
   reboot=false
   priority=100
   depends package-id=proengineer2 / 


package
   id=proengineer4
   name=Pro/ENGINEER Wildfire 2.0
   revision=2.0
   reboot=false
   priority=100
   depends package-id=proengineer3 / 

Test that out.
Paul

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Brian Reese
Sent: 01 December 2008 15:02
To: wpkg-users@lists.wpkg.org
Subject: [wpkg-users] Problem with consecutive package
deployment(ProEngineer)

Hey all, 

I have an issue when installing 3 packages. I have install packages for
ProEngineer WildFire 2, 3, and 4. On all the Mechanical Engineer seats,
I need to have each of these packages be installed. ProE provides their
own way of doing a silent install, by recording a trail file then
calling it for the silent install. First, I was wondering if anyone has
made a package for these Apps already or has any experience with PTC and
their trailfiles. 

The real Issue is that these 3 installers do not wait for the first one
to finish before starting the next one. Once all the gui options have
been chosen and the installation progress bar initializes (the trail
file finishes), the next ProE installation begins. I want them to wait
until the installation is complete, otherwise there are 3 concurrent
installations and it slows the system and hence the overall length of
the install. Thanks guys, below are my package entries:

package
   id=proengineer2
   name=Pro/ENGINEER Wildfire 2.0
   revision=2.0
   reboot=false
   priority=100
 
   check type=uninstall condition=exists path=Pro/ENGINEER Release
Wildfire 2.0 Datecode M280 /
   install cmd='%Software%\ProE\WildFire2\Disk1of3\setup.exe -uitrail
%Software%\ProE\WildFire2\Disk1of3\WF2TrailFile.txt' /
/package

package
   id=proengineer3
   name=Pro/ENGINEER Wildfire 3.0
   revision=3.0
   reboot=false
   priority=99
 
   check type=uninstall condition=exists path=Pro/ENGINEER Release
Wildfire 3.0 Datecode M170 /
   install cmd='%Software%\ProE\WildFire3\Disk1of3\setup.exe -uitrail
%Software%\ProE\WildFire3\Disk1of3\WF3TrailFile.txt' /
/package

package
   id=proengineer4
   name=Pro/ENGINEER Wildfire 4.0
   revision=4.0
   reboot=false
   priority=98
 
   check type=uninstall condition=exists path=Pro/ENGINEER Release
Wildfire 4.0 Datecode M040 /
   install cmd=%Software%\ProE\WildFire4\Disk1of5\setup.exe -uitrail
%Software%\ProE\WildFire4\Disk1of5\WF4TrailFile.txt /
/package




Brian Reese
IT Desktop Support
Boston Engineering
411 Waverly Oaks Rd. Suite 114
Waltham, MA, 02452
Phone: (781) 314-0753
www.Boston-Engineering.com

-
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] Lots of open connections on Samba server for WPKG user

2008-11-26 Thread Paul McGrath
Thanks to Rainer for fixing my problem.

I did not have a 'deadtime' in my smb.conf.

I have set deadtime = 15 and now all the idle testuser accounts are
disconnected after 15 mins.  Connections have peaked at 55 so far this
morning but are at a more realistic 20ish now.

Much appreciated.
Paul
 

 -Original Message-
 From: Rainer Meier [mailto:[EMAIL PROTECTED] 
 Sent: 25 November 2008 15:30
 To: Paul McGrath
 Subject: Re: [wpkg-users] Lots of open connections on Samba 
 server for WPKG user
 
 Hi Paul,
 
 Paul McGrath wrote:
  Rainer,
thanks for your help.  I suspect it is the version of SAMBA on the
  Panther server that is at fault.  There are no open 
 connection on the
  client PC and even when it is OFF the server still sees a connection
  (which never clears!).
I will try it on a newer Mac server.
 
 If the server is faulty you might have some possibilities to tweak its
 settings at least (e.g. idle timeout) in order to wipe out unused
 connections.
 
 At least I can confirm that I never had such problems with Samba in
 general (but running on Linux).
 
 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] Lots of open connections on Samba server for WPKG user

2008-11-25 Thread Paul McGrath
I was wondering if anyone else has this problem.

I have a Mac Panther server which has a share with my WPKG files on, it
is also a windows domain controller.  I have an account called testuser
which is used by WPKG.

WPKG successfully installs packages onto all my PCs in my domain.  My
problem is that the connection is kept open for testuser on every PC in
my domain that has run WPKG.

I can restart the windows service on the Panther server which closes all
the testuser connections but after a day I have another 100+ open
connections.

Anyone know how I can force testuser to logoff after the WPKG process
has completed?

Thanks
Paul
-
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] Registry check condition equals asterix

2008-11-24 Thread Paul McGrath
Could someone please advise if it is possible to use the registry equals
a wildcard?

I want to compare the registry value 'computername' against a list,
CSJ*, IMM* and others

package
id=delprofile
name=Delete redundant profile
revision=1
reboot=false
priority=20
execute=always
check type=registry condition=equals
path=HKLM\SYSTEM\CurrentControlSet\Control\ComputerName\ActiveComputerN
ame\ComputerName value=CSJ* /
install cmd='cmd /c rd /s /q c:\documents and settings\csjjpm
' 
exit code=2 /
/install
/package

It deleted the contents but failed checking after install saying that
the name was CSJ-PC1234 and not CSJ*.

Anyone know how I can use a wildcard?

Thanks
Paul
-
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] Registry check condition equals asterix

2008-11-24 Thread Paul McGrath
It is okay I've done the condition checking in a batch file.

if %Computername:~0,3%==CSJ (goto NAMED) else if
%Computername:~0,3%==MED (goto NAMED) else if
%Computername:~0,3%==IMM (goto  NAMED) else (goto NOTNAMED)

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Paul McGrath
 Sent: 24 November 2008 15:33
 To: wpkg
 Subject: [wpkg-users] Registry check condition equals asterix
 
 Could someone please advise if it is possible to use the 
 registry equals
 a wildcard?
 
 I want to compare the registry value 'computername' against a list,
 CSJ*, IMM* and others
 
 package
 id=delprofile
 name=Delete redundant profile
 revision=1
 reboot=false
 priority=20
   execute=always
   check type=registry condition=equals
 path=HKLM\SYSTEM\CurrentControlSet\Control\ComputerName\Activ
 eComputerN
 ame\ComputerName value=CSJ* /
 install cmd='cmd /c rd /s /q c:\documents and 
 settings\csjjpm
 ' 
   exit code=2 /
   /install
 /package
 
 It deleted the contents but failed checking after install saying that
 the name was CSJ-PC1234 and not CSJ*.
 
 Anyone know how I can use a wildcard?
 
 Thanks
 Paul
 --
 ---
 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] MS Office 2003 problem

2008-07-14 Thread Paul McGrath

I don't want to state the obvious but have you checked that SKU011.CAB exists 
in your installation point?
;-)
Paul
 

 -Original Message-
 From: Jens Geile [mailto:[EMAIL PROTECTED] 
 Sent: Monday 14 July 2008 14:34
 To: wpkg; Paul McGrath
 Subject: Re: [wpkg-users] MS Office 2003 problem
 
 Hi,
 
  It could mean a whole load of things 
 http://uekb.shavlik.com/updateexpert/TroubleShooting/ErrorCode
 s/UE0134.htm
 Hm, after playing around with this POS a little more I added 
 /l*v c:\msoff2k3pro.log to the commandline and was finally 
 able to find out that there seems to be a problem with SKU011.XML.
 
 msoff2k3pro.log:
 [...]
 Completed download for file: PSS10R.CHM_1031.
 Completed download for file: SETUP.CHM_1031.
 Failed to download file: SKU011.XML_0002_1031.
 Error 0x80070017
 Failed to download file.
 Retrying error for resource: SKU011.XML_0002_1031
 Download retry 0 failed: 0x80070017
 Download retry 1 failed: 0x80070017
 Download retry 2 failed: 0x80070017
 Error 0x80070017
 failed to wait for file
 Couldn't perform local caching.
 DWSETUPLOGFILE=c:\msoff2k3pro.log
 DWMSILOGFILE=c:\msoff2k3pro_Task(0002).txt
 Command Line Logging Parameters:  /l*v 
 c:\msoff2k3pro_Task(0002).txt LOGVERBOSE=1
 14.07.2008 15:23:18
 Executing Task:
 Microsoft Office 2003
 C:\WINDOWS\system32\msiexec.exe  /I 
 \\iserv\ci-lernsoftware\2k3\PRO11.MSI ADDLOCAL=ALL 
 ALLUSERS=1 PIDKEY=ABCDE 
 LAUNCHEDFROMSETUP=1 REBOOT=ReallySuppress 
 SETUPEXEPATH=\\iserv\ci-lernsoftware\2k3\ 
 SETUPEXENAME=setup.exe  /qn /l*v 
 c:\msoff2k3pro_Task(0002).txt LOGVERBOSE=1 
 STANDALONEOSE=C:\MSOCache\All 
 Users\9407-6000-11D3-8CFE-0150048383C9\FILES\SETUP\OSE.EXE
  CDCACHE=0 DWSETUPLOGFILE=c:\msoff2k3pro.log 
 DWMSILOGFILE=c:\msoff2k3pro_Task(0002).txt
 Type: msi
 Ignore Return Values: False
 Reboot: False
 
 Successfully launched MsiExec
 14.07.2008 15:23:24  Chained install return code: 1603
 
 Exit code was an error.
 Shutting down chained setup processing.
 Set Verbose logging for subsequent setup.
 
 * Setup exits
 14.07.2008 15:23:24
 (return = 1603)
 
 
 And also here, msoff2k3pro_Task(0001).txt:
 
 Aktion gestartet um 15:23:23: SKURED.
 SKURED:  Source path for skured.xml: 
 \\iserv\ci-lernsoftware\2k3\SKU011.XML
 SKURED:  Error 0x80004005: LicCryptVerityXMLSignature: failed 
 to locate signature
 SKURED:  ERROR: test signature verification failed for 
 \\iserv\ci-lernsoftware\2k3\SKU011.XML
 SKURED:  Error 0x80004005: GetSkuRedRoot: xml signature 
 verification failed
 SKURED:  Failed to read skured data, fatal error
 MSI (s) (A0!C8) [15:23:23:921]: Produkt: Microsoft Office 
 Professional Edition 2003 -- Fehler 25003. Microsoft 
 Office-Setup kann nicht fortgesetzt werden, weil die 
 Installationsquelle beschädigt wurde.
 
 Fehler 25003. Microsoft Office-Setup kann nicht fortgesetzt 
 werden, weil die Installationsquelle beschädigt wurde.
 Aktion beendet um 15:23:23: SKURED. Rückgabewert 3.
 Aktion beendet um 15:23:23: INSTALL. Rückgabewert 3.
 
 
  try making a transform file with the office install admin kit.
 I also already tried that. No luck there either. :/
 
 
 It looks like there is some kind of problem with some kind of 
 signature verification. Though, I have no clue why it fails... :/
 
 -
 jens
 
-
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] New WPKG user

2008-04-02 Thread Paul McGrath
Joel,
  The first thing to address is the sub folders.
You can either use the files.xml or the sub folders or both.
I have each of my packages in a separate xml file in the packages
folder, I had started with them in the single packages.xml in the root
but changed once I got a lot.  I have created a series of host xml files
in the hosts folder which relate to separate groups and units within
those groups.
I just use the profiles.xml in the root only, for no good reason ;-)

You are best looking at the silent installers on the wpkg website and
work from those.  It gets difficult when you are trying to do silent
installer switches on all the different types of packages by nsis or
installshield etc...

There is a constant debate about having a forum on a website or using
the mail threads and the author of wpkg likes the latter so you have to
trawl through quite a lot of messages to find answers.  Also look at
appdeploy.com for answers on specific software.

Paul

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Joel Levin
Sent: 02 April 2008 19:03
To: wpkg-users@lists.wpkg.org
Subject: [wpkg-users] New WPKG user

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.

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? When I am actually running my 
scripts--shold I delete those files? I ask as from reading the debug log

file--WPKG seems to be looking trough those folders as well.

Any help for a very new user--who doesn't have any scripting experience 
would be much appreciated.

Thank you in advance,
Joel


-- 
J o e l   L e v i n
 
 




-
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
-
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] High Definition Audio Codecs

2008-04-01 Thread Paul McGrath
Just did a google, saw on the hp forums to use -s -a -silent
The user said they were still having problems and no one had an answer.
Have you asked realtek?
P.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jens Geile
Sent: 01 April 2008 23:11
To: wpkg-users@lists.wpkg.org; [EMAIL PROTECTED]
Subject: [wpkg-users] High Definition Audio Codecs

Hi,

I've got a little problem here and maybe someone can help me.

I've got quite a few clients (couple hundred actually) (Windows XP) with
a MSI K9VGM-V motherboard and a Realtek ALC883 soundchip onboard.

My problem here is that I cannot get either unattended or WPKG to
install the driver for this soundchip.
Using unattended all the other drivers are installed successfully, only
the soundcard just won't work.
Using WPKG I tried the setup.exe with the /s parameter (the setup.iss
file exists) as written in the readme that comes packaged with the rest
of the driver but no luck. The odd thing is that it works perfectly fine
when starting the setup.exe with /s as administrator when sitting in
front of the machine. Installing as system user doesn't work and doesn't
give any useable error message either. :/
I also already tried using the runas command but I need to specify the
administrator's password in the command which is a no-go (as it is
plaintext and might be different from machine to machine) .. no luck
either.

The driver is available here:
http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=1PNid=14;
PFid=24Level=4Conn=3DownTypeID=3GetDown=false

Anyone got this driver to work with either Unattended or WPKG? Help
would be very much appreciated.

Thanks in advance,

-
jens

-
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
-
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] executing a VB script

2008-03-03 Thread Paul McGrath
Tomasz,
  thank you for the quick reply.
So if I understand you correctly:
1.  wpkg package executes script which creates the IP ports and adds
corresponding printers.
2.  a user logon script adds the printers again to the previously
created ports but only for each user.

I can understand your logic but if I logon to the workstation as a local
administrator and execute the script by hand it makes the IP ports and
printers on the system and then all users can use them without a logon
script making them everytime.  Why should I run it in a logon script?

At the moment thoug my problem is as if WPKG does not actually execute
the VB script.  I have a message in the script which tells you how many
new printers have been created and this does not appear even though
event viewer says the execution was successful.  When I execute by hand
it says '11 new printers created' or how ever many new ones are in the
'add' file.  I have tested by creating a package which is just a msgbox
vbscript and that displayed 'hello world', dont know why mine doesn't.

Thanks
Paul
 

 -Original Message-
 From: Tomasz Chmielewski [mailto:[EMAIL PROTECTED] 
 Sent: Monday 03 March 2008 11:38
 To: Paul McGrath
 Cc: wpkg-users@lists.wpkg.org
 Subject: Re: [wpkg-users] executing a VB script
 
 Paul McGrath schrieb:
  Hi,
I have a package that executes a VB script which installs 
 printers.
  Event viewer says 'Execution of ipprinters successful' but 
 none of the
  printers have been added.  If I run the script from CMD or by double
  clicking on it then it completes successfully.  What am I 
 doing wrong?
  
  package
   id=ipprinters
   name=ipprinters
   revision=2
   priority=0
   execute=always
  install cmd='cscript.exe
  %SOFTWARE%\printers\admin\ipprnadd.vbs' /
  /package
 
 If I'm not wrong, you have to add a printer twice: system-wide (as 
 Administrator or SYSTEM) and for the user (i.e., in his/her 
 logon script).
 
 See also:
 
 http://wpkg.org/Printer_configuration
 
 
 -- 
 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