Difference between revisions of "QCAD"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
m
 
m
Line 4: Line 4:
 
  <check type="file" condition="exists" path="%ProgramFiles%\QCAD\qcad.exe" />
 
  <check type="file" condition="exists" path="%ProgramFiles%\QCAD\qcad.exe" />
 
  <install cmd='cmd /c mkdir "%ProgramFiles%\QCAD" ' />
 
  <install cmd='cmd /c mkdir "%ProgramFiles%\QCAD" ' />
  <install cmd='cmd /c copy \\server\share\QCAD\Raw\*.* "%ProgramFiles%"\QCAD' />
+
  <install cmd='cmd /c copy %SOFTWARE%\QCAD\Raw\*.* "%ProgramFiles%"\QCAD' />
<install cmd='c:\perl\bin\perl.exe \\spd\wpkg\tools\shortcut.pl "%ProgramFiles%\qcad\qcad.exe" "%AllUsersProfile%\Start Menu\Programs\qcad" ' />
+
 
  <remove cmd='cmd /c del /s /q "%ProgramFiles%"\qcad' />
 
  <remove cmd='cmd /c del /s /q "%ProgramFiles%"\qcad' />
 
  <remove cmd='cmd /c del /s /q "%AllUsersProfile%\Start Menu\Programs\qcad" '/>
 
  <remove cmd='cmd /c del /s /q "%AllUsersProfile%\Start Menu\Programs\qcad" '/>
<upgrade cmd='' />
 
 
  </package>
 
  </package>
  
[[category:Silent Installers|QCAD]]
+
[[category:Silent Installers]]

Revision as of 12:03, 3 October 2006

This is a silent installer and uninstaller for QCAD (CAD package).

<package id="qcad" name="QCAD (CAD package)" revision="1" priority="0" reboot="false">
<check type="file" condition="exists" path="%ProgramFiles%\QCAD\qcad.exe" />
<install cmd='cmd /c mkdir "%ProgramFiles%\QCAD" ' />
<install cmd='cmd /c copy %SOFTWARE%\QCAD\Raw\*.* "%ProgramFiles%"\QCAD' />
<remove cmd='cmd /c del /s /q "%ProgramFiles%"\qcad' />
<remove cmd='cmd /c del /s /q "%AllUsersProfile%\Start Menu\Programs\qcad" '/>
</package>