Difference between revisions of "Schtasks for XP Home"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
(Added explanation what schtasks is and a link to the command line parameters)
m
 
Line 4: Line 4:
  
 
This entry copies schtasks.exe from the server to c:\windows\system32\ folder on XP HE.
 
This entry copies schtasks.exe from the server to c:\windows\system32\ folder on XP HE.
+
 
<package
+
<source lang="xml">
 +
<package
 
         id="schtasks"
 
         id="schtasks"
 
         name="schtasks for XPHome"
 
         name="schtasks for XPHome"
Line 14: Line 15:
 
         <install cmd='cmd /c "copy %SOFTWARE%\schtasks\schtasks.exe C:\WINDOWS\system32\"' />
 
         <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>
 
+
</source>
 
[[category:Silent Installers]]
 
[[category:Silent Installers]]
 
[[Category: Changing Windows settings]]
 
[[Category: Changing Windows settings]]

Latest revision as of 11:01, 11 February 2008

Schtasks is an utility that can create, delete, edit, list, start or stop a scheduled task. Command line parameters are listed e.g. here.

schtasks.exe is in Windows XP Professional by default while 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>