Difference between revisions of "Schtasks for XP Home"
From WPKG | Open Source Software Deployment and Distribution
m |
m |
||
Line 10: | Line 10: | ||
priority="8"> | priority="8"> | ||
<check type="file" condition="exists" path="C:\WINDOWS\system32\schtasks.exe" /> | <check type="file" condition="exists" path="C:\WINDOWS\system32\schtasks.exe" /> | ||
− | <install cmd='cmd /c "copy | + | <install cmd='cmd /c "copy %SOFTWARE%\schtasks\schtasks.exe C:\WINDOWS\system32\"' /> |
<remove cmd='cmd /c "del c:\windows\system32\schtasks.exe"' /> | <remove cmd='cmd /c "del c:\windows\system32\schtasks.exe"' /> | ||
</package> | </package> |
Revision as of 14:23, 3 October 2006
schtasks.exe is in Windows XP Professional by default; in Windows XP Home Edition it is not available.
This entry copies schtasks.exe from the server to c:\windows\system32\ folder on XP HE.
<package id="schtasks" name="schtasks for XPHome" revision="1" reboot="false" priority="8"> <check type="file" condition="exists" path="C:\WINDOWS\system32\schtasks.exe" /> <install cmd='cmd /c "copy %SOFTWARE%\schtasks\schtasks.exe C:\WINDOWS\system32\"' /> <remove cmd='cmd /c "del c:\windows\system32\schtasks.exe"' /> </package>