Difference between revisions of "14rename"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
m
m
Line 12: Line 12:
  
 
       <check type="file" condition="exists" path="%PROGRAMFILES%\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 %SOFTWARE%\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" ' />
 
       <upgrade cmd='' />
 
       <upgrade cmd='' />
 
   </package>  
 
   </package>  

Revision as of 13:17, 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>