[wpkg-users] install the wpkg client manually [SEC=UNCLASSIFIED]

Michael Chinn Michael.Chinn at gbrmpa.gov.au
Thu Mar 27 02:33:35 CET 2008


As long as wpkg.js hasnt changed too much (I am still using 0.9.7) you 
can simply add a command to the target machine and then setup either a 
scheduled task or service to run the 'cscript \\path\\to\wpkg.js /quiet 
/norestart' command line. Keep in mind that when you run it you MUST run 
it in the context of the user who has permission to install the software 
AND has access the packages.
To run as a service you can use srvany.exe 
(http://support.microsoft.com/kb/137890) to run the command
and SC.exe to create the service (sc.exe create wpkg binpath= "srvany 
cscript \\etc" start= auto DisplayName= wpkg obj=Admin password= *******)
To run as a scheduled task just add the command "cscript wpkg.js etc etc"

-- 
Michael Chinn
User Support Officer - Information Technology

Great Barrier Reef Marine Park Authority
PO Box 1379
TOWNSVILLE, QLD 4810

Ph 07 47500874 Fax 07 4772 6093
michaelc at gbrmpa.gov.au 

================================================================================
If you have received this transmission in error please notify us immediately
by return email and delete all copies. Any unauthorised use, disclosure or
distribution of this email is prohibited.
================================================================================



Rainer Meier wrote, On 27/03/2008 11:19:
> Kent Tong wrote:
>   
>> Hi,
>>
>> Is it possible to install the wpkg client manually (as opposed to running
>> the msi file)?
>>     
>
> Hmm, it might work if you just copy all the %ProgramFiles%\wpkg files to 
> the host. Additionally you need to add the service to start WPKG at 
> Windows startup. To achieve this you might be able to export 
> HKLM\SYSTEM\CurrentControlSet\Services\WpkgService and import it on the 
> target machine. I am not sure if WPKG client adds this entry by itself 
> or if there is a switch to the wpkginst.exe binary to achieve this. 
> Probably Tomasz Chmielewski can answer this.
>
>
>   
>> I am asking because trying to install the wpkg client v1.2.0 on our Windows
>> 2003 
>> Terminal Server failed with the error "This application has requested the
>> Runtime to 
>> terminate it in an unusual way".
>>     
>
> Whatever "unusual way" means. Well, a WPKG client developer might give 
> some comments to this as well.
>
> br,
> Rainer
> -------------------------------------------------------------------------
> Do you use WPKG? Tell us how! >> http://wpkg.org/Testimonials
> _______________________________________________
> wpkg-users mailing list
> wpkg-users at lists.wpkg.org
> http://lists.wpkg.org/mailman/listinfo/wpkg-users
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wpkg.org/pipermail/wpkg-users/attachments/20080327/f583b5c7/attachment-0002.html>


More information about the wpkg-users mailing list