14rename

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search

This is a silent installer and uninstaller 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>