Difference between revisions of "Ledit Student Version"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
m
 
m
Line 2: Line 2:
  
 
  <package id="ledit" name="Ledit Student Version" revision="1" priority="0" reboot="false">
 
  <package id="ledit" name="Ledit Student Version" revision="1" priority="0" reboot="false">
  <check type="file" condition="exists" path='C:\Program Files\L-edit\ledit.exe' />
+
  <check type="file" condition="exists" path='%PROGRAMFILES%\L-edit\ledit.exe' />
 
  <install cmd='cmd /c mkdir "%ProgramFiles%\\L-edit" ' />
 
  <install cmd='cmd /c mkdir "%ProgramFiles%\\L-edit" ' />
  <install cmd='cmd /c xcopy /S \\server\share\l-edit\Stu-7\*.* "%ProgramFiles%\L-edit" ' />
+
  <install cmd='cmd /c xcopy /S %SOFTWARE%\l-edit\Stu-7\*.* "%ProgramFiles%\L-edit" ' />
<install cmd='c:\perl\bin\perl.exe \\spd\wpkg\tools\shortcut.pl --description "L-edit Student Edition" --workingdirectory "%ProgramFiles%\L-edit" "%ProgramFiles%\L-edit\ledit.exe" "%AllUsersProfile%\Start Menu\Programs\L-edit.lnk" ' />
+
 
  <remove cmd='cmd /c del "%AllUsersProfile%\Start Menu\Programs\L-edit.lnk" ' />
 
  <remove cmd='cmd /c del "%AllUsersProfile%\Start Menu\Programs\L-edit.lnk" ' />
 
  <remove cmd='cmd /c del /s /q "%ProgramFiles%\L-edit" ' />
 
  <remove cmd='cmd /c del /s /q "%ProgramFiles%\L-edit" ' />
<upgrade cmd='' />
 
 
  </package>  
 
  </package>  
  
[[category:Silent Installers|Ledit Student Version]]
+
[[category:Silent Installers]]

Revision as of 19:58, 2 October 2006

This is a silent installer and uninstaller for Ledit Student Version.

<package id="ledit" name="Ledit Student Version" revision="1" priority="0" reboot="false">
<check type="file" condition="exists" path='%PROGRAMFILES%\L-edit\ledit.exe' />
<install cmd='cmd /c mkdir "%ProgramFiles%\\L-edit" ' />
<install cmd='cmd /c xcopy /S %SOFTWARE%\l-edit\Stu-7\*.* "%ProgramFiles%\L-edit" ' />
<remove cmd='cmd /c del "%AllUsersProfile%\Start Menu\Programs\L-edit.lnk" ' />
<remove cmd='cmd /c del /s /q "%ProgramFiles%\L-edit" ' />
</package>