Vladimír Pšenička | 2 Jun 2008 08:51
Picon
Favicon

Error WSH?

In event log I see this error on one machine with WPKG Client (Offline
mode enabled) after sucessfuly conected network resource:

WSH:
> Error when searching registry sub-keys at 'HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkCards\'
> Code: 800a138f; Descriptions: 'sNames' is null or not an object

WPKG is searching registry subkeys for network cards? Is anything wrong?
Everything seems work fine...

--

-- 
Vladimir Psenicka
IT system engineer
Prodeco a.s.

-------------------------------------------------------------------------
Reporting bugs, all WPKG mailing lists >> http://wpkg.org/Support
Jeffery Yap Choon Ming | 2 Jun 2008 09:35

WPKG Web Interface


I'm new to WPKG Web Interface, anyone can have a guide to share?
 
Regards

Jeffery Yap
Information Technology
CIMB-GK Securities Pte. Ltd.
(Co. Reg. No. 198701621D)
65-6225 1228 (Tel)
65-6210 8860 (DID)
65-6225 1522 (Fax)
www.cimb.com.my

Pls note that with effect from 31st Jan 2007, my email address has been changed to <jeffery.yap <at> cimb.com>

 

Disclaimer:

This email may contain privileged and/or confidential information intended only for the use of the addressee. If you are not the addressee, or the person responsible for delivering it to the addressee, you may not use, copy or deliver this to anyone else. If you receive this email by mistake, please immediately notify us.

Opinions contained herein may be the personal opinion of the sender and do not necessarily represent the views of the Company. If you are in any doubt as to whether the opinions are officially endorsed by the Company, please contact our Compliance Dept at (+65) 6225 1228 for clarification.

 

-------------------------------------------------------------------------
Reporting bugs, all WPKG mailing lists >> http://wpkg.org/Support
_______________________________________________
wpkg-users mailing list
wpkg-users <at> lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users
Tomasz Chmielewski | 2 Jun 2008 17:12
Favicon

Re: WPKG Web Interface

Jeffery Yap Choon Ming schrieb:
> 
> I'm new to WPKG Web Interface, anyone can have a guide to share?

Did you read the INSTALL file?

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

--

-- 
Tomasz Chmielewski
http://wpkg.org
-------------------------------------------------------------------------
Reporting bugs, all WPKG mailing lists >> http://wpkg.org/Support
Tomasz Chmielewski | 2 Jun 2008 19:40
Favicon

Re: Error WSH?

Vladimír Pšenička schrieb:
> In event log I see this error on one machine with WPKG Client (Offline
> mode enabled) after sucessfuly conected network resource:
> 
> WSH:
>> Error when searching registry sub-keys at 'HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkCards\'
>> Code: 800a138f; Descriptions: 'sNames' is null or not an object
> 
> 
> WPKG is searching registry subkeys for network cards? Is anything wrong?
> Everything seems work fine...

There is a function in wpkg.js which looks for the IP address - search 
for "NetworkCards" in wpkg.js if you're more curious.

For usage, see http://wpkg.org/files/stable/Changelog-1.0 (search for 
instances of "IP-address"). Perhaps it sould be documented a bit better...

You can see a some more additional info also here:

http://lists.wpkg.org/pipermail/wpkg-users/2008-April/003254.html

--

-- 
Tomasz Chmielewski

-------------------------------------------------------------------------
Reporting bugs, all WPKG mailing lists >> http://wpkg.org/Support
_______________________________________________
wpkg-users mailing list
wpkg-users <at> lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users
Daniel Dehennin | 5 Jun 2008 13:20
Picon
Favicon

Execute check and pipes

Hello,

I'm using the following configuration to add a run of wpkgservice at
12:30 every day of the weekd:

==== wpkg-at ====
<?xml version='1.0' encoding='utf-8'?>
<packages>
  <package
      id='wpkg-at'
      name='Run WPKG at a time'
      revision='1'
      reboot='false'
      priority='100'>

    <variable name='ATTIME' value='12:30 /every:l,ma,me,j,v'/>
    <variable name='ATCMD' value='sc start wpkgservice'/>

    <check type='execute' path='at | %WPKGBIN%\grep "%ATCMD%"'/>

    <install cmd='at %ATTIME% %ATCMD%'/>

    <remove cmd='at | gawk "/%ATCMD%/ { system(\"at \" $1 \" /delete\") }"'/>

  </package>
</packages>
==== END ====

In the log I got:
Execute check for program 'at \| %WPKG%\bin\grep "sc start wpkgservice"' returned '1'. Evaluating
condition 'null' revealed false when comparing to expected value of '0'

Does it fail because of the "\|" ?

I don't know if the "\" is only for the log output or if WPKG try to
run the command as it's shown.

Regards.
--

-- 
Daniel Dehennin
RAIP de l'Orne
-------------------------------------------------------------------------
Reporting bugs, all WPKG mailing lists >> http://wpkg.org/Support
Rainer Meier | 5 Jun 2008 19:05
Favicon

Re: Execute check and pipes

Hi Daniel,

Daniel Dehennin wrote:
> In the log I got:
> Execute check for program 'at \| %WPKG%\bin\grep "sc start wpkgservice"' returned '1'. Evaluating
condition 'null' revealed false when comparing to expected value of '0'

It looks like the exit value of the expression is 1. I did not test with 
the pipe character yet - so I can't tell you if the WScript exec method 
allows it or not. I might do some tests if I have some time left... hmm, 
not so much at the moment...

> Does it fail because of the "\|" ?

Probably because of the pipe character, but not because of the "\" in 
front of it - see below.

> I don't know if the "\" is only for the log output or if WPKG try to
> run the command as it's shown.

Yes, it is only for the output. WPKG prints each log entry onto one 
single line replacing linefeeds by '|'. This makes the log easier to 
follow/read. Of course if somebody wants to use a log-file browser and 
restore the linefeeds then all pipe symbols within the output would 
become linefeeds as well. So it's a basic principle that special 
characters need to be escaped if they are used without their special 
meaning.

So yes, wpkg.js is just adding the \ in front of the | symbol during log 
file writing, not during execution.

br,
Rainer
-------------------------------------------------------------------------
Reporting bugs, all WPKG mailing lists >> http://wpkg.org/Support
Zach Musselman | 6 Jun 2008 18:09

The system cannot find the file specified

Hello,

I am using wpkg to install numerous types of software.  Half of which I 
have been able to install successfully (Firefox, Thunderbird, 7zip, 
Notepad++, and VLC).  There are a hand full in which I cannot for the 
life of me get to execute correctly.  I have followed the unattended 
install codes found on your site (modifying for my path to the package) 
and get the same error.  When I execute the same exact command on the 
client pc in command prompt the package installs, however when I run 
wpkg either by restarting (or by executing cscript \\server\wpkg\wpkg.js 
/synchronize /debug, it will act like it tries to install OpenOffice 2.4 
(installer flashes on the screen) but then skips over it and presents 
"The system cannot find the file specified" for that package and also 
for Adobe Reader 8 and PDFCreator, all of which can be installed with 
the msi command inputed directly on the client.  Any help would be 
greatly appreciated.  Thanks

--

-- 
Zach Musselman
Bank and Trust Co.
IT Support Specialist

Cell: (217)370-3955
Work: (217)854-3554  Ext. 115

-------------------------------------------------------------------------
Reporting bugs, all WPKG mailing lists >> http://wpkg.org/Support
Adam Williams | 6 Jun 2008 18:15
Picon

Re: The system cannot find the file specified

don't paste your packages.xml and profiles.xml so we can't help you out, 
please! :)

Zach Musselman wrote:
> Hello,
>
> I am using wpkg to install numerous types of software.  Half of which I 
> have been able to install successfully (Firefox, Thunderbird, 7zip, 
> Notepad++, and VLC).  There are a hand full in which I cannot for the 
> life of me get to execute correctly.  I have followed the unattended 
> install codes found on your site (modifying for my path to the package) 
> and get the same error.  When I execute the same exact command on the 
> client pc in command prompt the package installs, however when I run 
> wpkg either by restarting (or by executing cscript \\server\wpkg\wpkg.js 
> /synchronize /debug, it will act like it tries to install OpenOffice 2.4 
> (installer flashes on the screen) but then skips over it and presents 
> "The system cannot find the file specified" for that package and also 
> for Adobe Reader 8 and PDFCreator, all of which can be installed with 
> the msi command inputed directly on the client.  Any help would be 
> greatly appreciated.  Thanks
>
>
>   

-------------------------------------------------------------------------
Reporting bugs, all WPKG mailing lists >> http://wpkg.org/Support
Joe | 6 Jun 2008 18:19
Favicon

Re: The system cannot find the file specified

Zach Musselman wrote:
> Hello,
> 
> I am using wpkg to install numerous types of software.  Half of which I 
> have been able to install successfully (Firefox, Thunderbird, 7zip, 
> Notepad++, and VLC).  There are a hand full in which I cannot for the 
> life of me get to execute correctly.  I have followed the unattended 
> install codes found on your site (modifying for my path to the package) 
> and get the same error.  When I execute the same exact command on the 
> client pc in command prompt the package installs, however when I run 
> wpkg either by restarting (or by executing cscript \\server\wpkg\wpkg.js 
> /synchronize /debug, it will act like it tries to install OpenOffice 2.4 
> (installer flashes on the screen) but then skips over it and presents 
> "The system cannot find the file specified" for that package and also 
> for Adobe Reader 8 and PDFCreator, all of which can be installed with 
> the msi command inputed directly on the client.  Any help would be 
> greatly appreciated.  Thanks
> 
> 

I had what seems to be the exact same problem a while ago.  It turned
out to be an extra slash on the path.

msiexec \\R4p17\VOL1\apps\WPKG\Programs\\OpenOffice\openofficeorg24.msi

instead of...

msiexec \\R4p17\VOL1\apps\WPKG\Programs\OpenOffice\openofficeorg24.msi

A regular setup.exe would work ok like...

\\R4p17\VOL1\apps\WPKG\Programs\\OpenOffice\ooosetup.exe but msiexec
will not allow it.

You may want to check that.
-------------------------------------------------------------------------
Reporting bugs, all WPKG mailing lists >> http://wpkg.org/Support
Zach Musselman | 6 Jun 2008 19:58

Edit: The System Cannot Find the Specified File

Hello,

I am using wpkg to install numerous types of software.  Half of which I 
have been able to install successfully (Firefox, Thunderbird, 7zip, 
Notepad++, and VLC).  There are a hand full in which I cannot for the 
life of me get to execute correctly.  I have followed the unattended 
install codes found on your site (modifying for my path to the package) 
and get the same error.  When I execute the same exact command on the 
client pc in command prompt the package installs, however when I run 
wpkg either by restarting (or by executing cscript \\server\wpkg\wpkg.js 
/synchronize /debug, it will act like it tries to install OpenOffice 2.4 
(installer flashes on the screen) but then skips over it and presents 
"The system cannot find the file specified" for that package and also 
for Adobe Reader 8 and PDFCreator, all of which can be installed with 
the msi command inputed directly on the client.  Any help would be 
greatly appreciated.  Thanks

Edit::: I have now posted my profiles.xml and my packages.xml files for 
review.  Thanks

<?xml version="1.0" encoding="UTF-8"?>

<!-- System profile database.

      Lists profiles available to the systems. A profile represents a 
certain
      selection of packages from the packages database. Profiles can 
depend on
      other profiles, the end result being the sum of all required packages.

      THIS IS A SAMPLE FILE

      For more info, see http://wpkg.org/index.php/Category:Documentation

-->

<profiles>

     <profile id="default">
         <package package-id="Firefox"	 	/>
         <package package-id="Thunderbird"	/>
         <package package-id="AcrobatReader" 	/>
	<package package-id="OOO2.4"		/>
	<package package-id="Vlc"		/>
	<package package-id="NotePad"		/>
         <package package-id="PdfCreator095"     />
         <package package-id="7zip"		/>
     </profile>

     <profile id="custom">
         <depends profile-id="default" 		/>
     </profile>

     <profile id="administration">
         <depends profile-id="default" 		/>
     </profile>

     <profile id="other">
         <depends profile-id="default" 		/>
     </profile>

</profiles>

<packages>

<package
     id="7zip"
     name="7-Zip"
     revision="457"
     reboot="false"
     priority="0">
     <check type="uninstall" condition="exists" path="7-Zip 4.57" />
     <install cmd='"%SOFTWARE%\FOSS\7Zip\7z457.exe" /S' />
     <upgrade cmd='"%SOFTWARE%\Foss\7Zip\7z457.exe" /S' />
     <remove cmd='"%PROGRAMFILES%\7-Zip\Uninstall.exe" /S' />
</package>

<package
     id="Firefox"
     name="Firefox 2.0.0.14"
     revision="20014"
     reboot="false"
     priority="0">
     <check type="uninstall" condition="exists" path="Mozilla Firefox 
(2.0.0.14)" />
     <install cmd='"%SOFTWARE%\FOSS\Firefox\Firefox-Setup-2.0.0.14.exe" 
-ms' />
     <upgrade cmd='"%SOFTWARE%\FOSS\Firefox\Firefox-Setup-2.0.0.14.exe" 
-ms' />
     <remove cmd='"%PROGRAMFILES%\Mozilla Firefox\uninstall\helper.exe" 
/S' />
</package>

<package
     id="Thunderbird"
     name="Thunderbird 2.0.0.14"	
     revision="20014"
     reboot="false"		
     priority="0">
     <check type="uninstall" condition="exists" path="Mozilla 
Thunderbird (2.0.0.14)"/>
     <install 
cmd='"%SOFTWARE%\FOSS\Thunderbird\Thunderbird-Setup-2.0.0.14.exe" -ms' />
     <upgrade 
cmd='"%SOFTWARE%\FOSS\Thunderbird\Thunderbird-Setup-2.0.0.14.exe" -ms' />
     <remove cmd='"%PROGRAMFILES%\Mozilla 
Thunderbird\uninstall\uninstall.exe" /S' />
</package>

<package
     id="NotePad"
     name="NotePad +"		
     revision="492"
     reboot="false"		
     priority="0">
     <check type="uninstall" condition="exists" path="Notepad++" />
     <install cmd='"%SOFTWARE%\FOSS\NPP\npp.4.9.2.Installer.exe" /S' />
     <remove cmd='"%PROGRAMFILES%\Notepad++\uninstall\uninstall.exe" /S' />
</package>

<package
     id="OOO2.4"
     name="OpenOffice.org 2.4"
     revision="24"
     reboot="false"
     priority="1">
     <check type="uninstall" condition="exists" path="OpenOffice.org 2.4" />
     <install cmd='start /wait msiexec.exe /qn /i 
"%SOFTWARE%\FOSS\OpenOfficeSuite\2.4\openofficeorg24.msi" ADDLOCAL=ALL 
SELECT_WORD=1 SELECT_EXCEL=1 SELECT_POWERPOINT=1'/>
     <upgrade cmd='msiexec.exe /qb! /I 
"%SOFTWARE%\FOSS\OpenOfficeSuite\2.4\openofficeorg24.msi" ALLUSERS=1 
SELECT_WORD=1 SELECT_EXCEL=1 SELECT_POWERPOINT=1'/>
     <remove cmd='msiexec.exe /qb! /i 
"{2BB8FBB4-CFF9-434E-AA0A-40F5379C1602}"'/>
</package>

<package
     id="Vlc"
     name="Video LAN Client"
     revision="086f"
     reboot="false"
     priority="0">
     <check type="registry" condition="equals" 
path="HKEY_LOCAL_MACHINE\SOFTWARE\VideoLAN\VLC\Version" value="0.8.6f" />
     <install cmd='"%SOFTWARE%\FOSS\VLC\vlc-0.8.6f-win32.exe" /S' />
     <install cmd='%CMD% /c del "%ALLUSERSPROFILE%\Desktop\VLC media 
player.lnk"' />
     <remove cmd='"%PROGRAMFILES%\VideoLAN\VLC\uninstall.exe" /S' />
</package>

<package
     id="PdfCreator095"
     name="PDFCreator 0.9.5"
     revision="095"
     reboot="false"
     priority="0">
     <check type="file" condition="versionequalto" 
path="%PROGRAMFILES%\PDFCreator\PDFCreator.exe" value="0.9.0.5"/>
     <install 
cmd='"%SOFTWARE%\FOSS\PDFCreator\PDFCreator-0_9_5_setup.exe 
/LOADINF="%SOFTWARE%\FOSS\PDFCreator\PDFCreator.inf" /VERYSILENT'/>
     <upgrade 
cmd='"%SOFTWARE%\FOSS\PDFCreator\PDFCreator-0_9_5_setup.exe 
/LOADINF="%SOFTWARE%\FOSS\PDFCreator\PDFCreator.inf" /VERYSILENT'/>
     <remove  cmd='"%PROGRAMFILES%\PDFCreator\unins000.exe" 
/VERYSILENT'/>
  </package>

<package
     id="AcrobatReader"
     name="Adobe Acrobat Reader"
     revision="812"
     priority="0"
     reboot="false">
     <check type="uninstall" condition="exists" path="Adobe Reader 8.1.2" />
     <install cmd='start /wait msiexec.exe /qb! /i 
"%SOFTWARE%\NONFREE\AdobeReader\AR812\AcroRead.msi" allusers=1'>
	<exit code="0" reboot="false" />
	</install>
     <remove cmd='start /wait msiexec.exe /qb! /i /x 
"{AC76BA86-7AD7-1033-7B44-A81200000003}"' />
     <upgrade cmd='msiexec /q /i 
"%SOFTWARE%\NONFREE\AdobeReader\AR812\AcroRead.msi" allusers=1'>
	<exit code="0" reboot="false" />
         </upgrade>
</package>

<package
     id="AVG"
     name="AVG Antivirus"
     reboot="true"
     revision="8.0"
     priority="5">

     <check type="uninstall" condition="exists" path="AVG 7.5" />
     <install cmd='"%SOFTWARE%\NONFREE\AVG\avg_ipw_stf_all_8_93a1283.exe 
/hide /no_welcome /NOAVGTOOOLBAR /REMOVE_FEATURE fea_AVG_SafeSurf 
/REMOVE_FEATURE fea_AVG_SafeSearch /S' />
     <remove cmd='"%PROGRAMFILES%\Grisoft\AVG7\setup.exe" '/>
</package>

</packages>

--

-- 
Zach Musselman
Bank and Trust Co.
IT Support Specialist

Cell: (217)370-3955
Work: (217)854-3554  Ext. 115

-------------------------------------------------------------------------
Reporting bugs, all WPKG mailing lists >> http://wpkg.org/Support

Gmane