Difference between revisions of "GNUplot"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
m (Added web link)
m
Line 1: Line 1:
 
This is a silent installer and uninstaller for [http://www.gnuplot.info/ GNUplot].
 
This is a silent installer and uninstaller for [http://www.gnuplot.info/ GNUplot].
  
 +
<source lang="xml">
 +
<package>
 
  <check type="file" condition="exists" path="c:\program files\gnuplot\wgnupl32.exe" />
 
  <check type="file" condition="exists" path="c:\program files\gnuplot\wgnupl32.exe" />
 
  <install cmd='%WINDIR%\system32\cmd.exe /c if not exist "%ProgramFiles%" mkdir "%ProgramFiles%"' />
 
  <install cmd='%WINDIR%\system32\cmd.exe /c if not exist "%ProgramFiles%" mkdir "%ProgramFiles%"' />
Line 11: Line 13:
 
  <remove cmd='%WINDIR%\system32\cmd.exe /c del /f -q "%AllUsersProfile%\Start Menu\Programs\GNUplot.lnk"' />
 
  <remove cmd='%WINDIR%\system32\cmd.exe /c del /f -q "%AllUsersProfile%\Start Menu\Programs\GNUplot.lnk"' />
 
  <upgrade cmd="" />
 
  <upgrade cmd="" />
</package>
+
</package>
 +
</source>
  
 
[[category:Silent Installers|GNUplot]]
 
[[category:Silent Installers|GNUplot]]

Revision as of 21:16, 13 February 2008

This is a silent installer and uninstaller for GNUplot.

<package>
 <check type="file" condition="exists" path="c:\program files\gnuplot\wgnupl32.exe" />
 <install cmd='%WINDIR%\system32\cmd.exe /c if not exist "%ProgramFiles%" mkdir "%ProgramFiles%"' />
 <install cmd='%WINDIR%\system32\cmd.exe /c if not exist "%ProgramFiles%\gnuplot" mkdir "%ProgramFiles%\gnuplot"' />
 <install cmd='%WINDIR%\system32\cmd.exe /c xcopy %SOFTWARE%\gp373w32\* "%ProgramFiles%\gnuplot" /s /r /y' />
 <install cmd='%WINDIR%\system32\cmd.exe /c if not exist "C:\Documents and Settings\All Users\Start Menu\Programs\GNUplot.lnk" copy %SOFTWARE%\gp373w32\gnuplot.lnk "%AllUsersProfile%\Start Menu\Programs\GNUplot.lnk"' />
 <install cmd='%WINDIR%\system32\cmd.exe /c if not exist "C:\Documents and Settings\All Users\Start Menu\Programs\GNUplot help.lnk" copy %SOFTWARE%\gp373w32\gnuplot.lnk "%AllUsersProfile%\Start Menu\Programs\GNUplot help.lnk"' />
 <remove cmd='%WINDIR%\system32\cmd.exe /c rd /s /q "%ProgramFiles%\gnuplot"' />
 <remove cmd='%WINDIR%\system32\cmd.exe /c del /f /q "%AllUsersProfile%\Start Menu\Programs\GNUplot help.lnk"' />
 <remove cmd='%WINDIR%\system32\cmd.exe /c del /f -q "%AllUsersProfile%\Start Menu\Programs\GNUplot.lnk"' />
 <upgrade cmd="" />
</package>