[wpkg-users] Installing WPKG-start

Michael Chinn m.chinn at gbrmpa.gov.au
Mon Jun 26 01:14:44 CEST 2006


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


>> _______________________________________________
>> wpkg-users mailing list
>> wpkg-users at lists.wpkg.org
>> http://lists.wpkg.org/mailman/listinfo/wpkg-users
>>     
>
>
> 
> 


> _______________________________________________
> wpkg-users mailing list
> wpkg-users at lists.wpkg.org
> http://lists.wpkg.org/mailman/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
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.
================================================================================






_______________________________________________
wpkg-users mailing list
wpkg-users at lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users




More information about the wpkg-users mailing list