Just a tip, you may want to run the service as a power user or above 
rather than SYSTEM for a few reasons.
  * You can use the account as the sole logon to a deployment share 
removing the need to have nobody/guest logon access.
  * Many scripted installs publish data to the %userprofile%, whilst 
using SYSTEM I found a couple that publish to 'Default Profile' and some 
that fail for this reason
  * The event log is easier to parse (search by username)
  * For interactive installers you can use the wpkg user and autologon 
in a script (although there are some big security problems if you do this)
can anyone think of some more?
You can also wrap the wpkg.js in a .bat this allows you to run other checks
  * Network location tests (for mobile users, eg Dont run wpkg if your 
on dial-up)
  * Loops (eg: run wpkg, sleep 600, run again;)
 



Mark Cairney wrote:
> Hi Daniel,
>
> I think the point in setting it up as a service is to allow package 
> deployment even in environments where users don't have Admin rights.
> Running it from a registry key in the manner you've described would mean 
> any software installation/uninstallation would be performed with the 
> privileges of the user logging in.
>
> Hope this helps :)
>
> Petcher, Daniel wrote:
>   
>> The website's Installation Instructions
>> <http://wpkg.org/index.php/Installation_instructions> try to set-up services
>> or scheduled tasks, but wouldn't a plain-old registry key be easier:
>>  
>> <package
>>  id="wpkg-start"
>>  name="Install WPKG to run on each startup"
>>  revision="1"
>>  reboot="false"
>>  priority="100"
>>  notify="false"
>>  execute="once">
>>  <install cmd="\\server\wpkg\software\WPKG-start\install.bat" />
>>  <remove  cmd='\\server\wpkg\software\WPKG-start\uninstall.bat' />
>> </package>
>>  
>>
>> ::wpkg\software\WPKG-start\install.bat:
>> REG ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run /v WPKG /t REG_SZ
>> /d "\\server\wpkg\wpkg-start.bat"
>>
>> ::wpkg\software\WPKG-start\uninstall.bat:
>> REG DELETE HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run /v WPKG
>>
>> Am I missing something? 
>>
>> -dP
>>
>> Using Tomcat but need to do more? Need to support web services, security?
>> Get stuff done quickly with pre-integrated technology to make your job easier
>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>> _______________________________________________
>> wpkg-users mailing list
>> wpkg-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wpkg-users
>>     
>
>
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> wpkg-users mailing list
> wpkg-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wpkg-users
>   

-- 
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
[EMAIL PROTECTED] 

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


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
wpkg-users mailing list
wpkg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wpkg-users

Reply via email to