[wpkg-users] Packages without checks installing every time

Thomas Wootten jetshopit at o2.co.uk
Thu Mar 11 10:41:54 CET 2010


I've been having trouble with some packages without checks installing 
every time wpkg runs. Here are a couple of the packages:

<package id="drop_admin" name="Remove Administrator privileges from IT 
Technician account" revision="1" reboot="false" priority="1">
<install cmd="\\192.168.2.150\wpkg\drop_admin.bat">
<exit code="0" /><exit code="2" />
</install>
<upgrade cmd="\\192.168.2.150\wpkg\drop_admin.bat">
<exit code="0" /><exit code="2" />
</upgrade>
</package>

<package id="disable_au" name="Disable Windows Automatic Updates" 
revision="1" reboot="false" priority="1">
<install cmd='regedit /s 
"\\192.168.2.150\wpkg\Disable_Windows_Update.reg"' />
</package>

If I add execute=once to the package tag, will that fix the problem. But 
then if I bump the revision number, will the upgrade command be run. (In 
other words, does 'once' mean once ever, or once as long as the revision 
remains the same.)



More information about the wpkg-users mailing list