3,217
edits
Changes
GNUplot
,no edit summary
This is a silent installer and uninstaller for GNUplot.
<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 \\server\share\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 \\server\share\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 \\server\share\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>
[[category:Silent Installers|GNUplot]]
<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 \\server\share\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 \\server\share\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 \\server\share\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>
[[category:Silent Installers|GNUplot]]