Difference between revisions of "14rename"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
m
Line 19: Line 19:
 
       <upgrade cmd='' />
 
       <upgrade cmd='' />
 
   </package>  
 
   </package>  
</package>
+
</packages>
 
</pre>
 
</pre>
 
[[category:Silent Installers|14rename]]
 
[[category:Silent Installers|14rename]]

Revision as of 17:21, 2 January 2007

This is a silent installer and deinstaller for 14rename (bulk renaming tool).

<?xml version="1.0" encoding="UTF-8"?>
<packages>
   <package
      id="14rename"
      name="14rename (bulk renaming tool)"
      revision="1"
      priority="0"
      reboot="false">

      <check type="file" condition="exists" path="%PROGRAMFILES%\14rename\rename.exe" />
      <install cmd='cmd /c md "%PROGRAMFILES%\14rename"' />
      <install cmd='cmd /c copy %SOFTWARE%\14rename\* "%PROGRAMFILES%\14rename" ' />
      <install cmd='c:\perl\bin\perl.exe \\spd\wpkg\tools\shortcut.pl "%PROGRAMFILES%\14rename\rename.exe" "%AllUsersProfile%\Start Menu\Programs\Utilities\Rename"' />
      <remove cmd='cmd /c del /s /q "%AllUsersProfile%\Start Menu\Programs\Utilities\Rename"' />
      <remove cmd='cmd /c del /s /q "%PROGRAMFILES%\14rename" ' />
      <upgrade cmd='' />
   </package> 
</packages>