Difference between revisions of "LT Spice"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
m
 
m
Line 9: Line 9:
 
  <exit code="1" />
 
  <exit code="1" />
 
  </install>
 
  </install>
  <install cmd='cmd /c copy \\server\share\ltspice\Raw\*.* "%ProgramFiles%"\LTC\swcadiii' />
+
  <install cmd='cmd /c copy %SOFTWARE%\ltspice\Raw\*.* "%ProgramFiles%"\LTC\swcadiii' />
<install cmd='c:\perl\bin\perl.exe \\spd\wpkg\tools\shortcut.pl "%ProgramFiles%\LTC\swcadiii\scad3.exe" "%AllUsersProfile%\Start Menu\Programs\SwCADIII" ' />
+
 
  <remove cmd='cmd /c del /s /q "%ProgramFiles%"\LTC\swcadiii' />
 
  <remove cmd='cmd /c del /s /q "%ProgramFiles%"\LTC\swcadiii' />
 
  <remove cmd='cmd /c del /s /q "%AllUsersProfile%\Start Menu\Programs\SwCADIII" '/>
 
  <remove cmd='cmd /c del /s /q "%AllUsersProfile%\Start Menu\Programs\SwCADIII" '/>
<upgrade cmd='' />
 
 
  </package>  
 
  </package>  
  
 
[[category:Silent Installers|LT Spice]]
 
[[category:Silent Installers|LT Spice]]

Revision as of 19:57, 2 October 2006

This is a silent installer and uninstaller for LT Spice.

<package id="swcadiii" name="LT Spice" revision="1" priority="0" reboot="false">
<check type="file" condition="exists" path="%ProgramFiles%\LTC\swcadiii\scad3.exe" />
<install cmd='cmd /c mkdir "%ProgramFiles%\LTC" ' >
<exit code="1" />
</install>
<install cmd='cmd /c mkdir "%ProgramFiles%\LTC\swcadiii" '>
<exit code="1" />
</install>
<install cmd='cmd /c copy %SOFTWARE%\ltspice\Raw\*.* "%ProgramFiles%"\LTC\swcadiii' />
<remove cmd='cmd /c del /s /q "%ProgramFiles%"\LTC\swcadiii' />
<remove cmd='cmd /c del /s /q "%AllUsersProfile%\Start Menu\Programs\SwCADIII" '/>
</package>