Difference between revisions of "14rename"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
m (Made more readable and added url)
m
Line 11: Line 11:
 
       reboot="false">
 
       reboot="false">
  
       <check type="file" condition="exists" path="c:\program files\14rename\rename.exe" />
+
       <check type="file" condition="exists" path="%PROGRAMFILES%\14rename\rename.exe" />
 
       <install cmd='cmd /c md "%ProgramFiles%\14rename"' />
 
       <install cmd='cmd /c md "%ProgramFiles%\14rename"' />
       <install cmd='cmd /c copy \\server\share\14rename\* "%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"' />
+
       <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 "%AllUsersProfile%\Start Menu\Programs\Utilities\Rename"' />
 
       <remove cmd='cmd /c del /s /q "%ProgramFiles%\14rename" ' />
 
       <remove cmd='cmd /c del /s /q "%ProgramFiles%\14rename" ' />

Revision as of 13:16, 27 September 2006

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> 
</package>