Changes

Eclipse

1,408 bytes added, 19:37, 16 May 2008
create eclipse package file
[http://www.eclipse.org/ Eclipse] is an open-source and free IDE.

In order to do a silent installation, you'll have to:
# [http://www.eclipse.org/downloads Download the Eclipse bundle] that suits your needs (we are installing the [http://wiki.eclipse.org/PDT/Installation PDT bundle] here)
# Proceed with the silent installation by using the eclipse.xml file below:
<source lang="xml">
<?xml version="1.0" encoding="UTF-8"?>
<packages>
<package id="eclipse-pdt"
name="eclipse-pdt"
revision="10202"
reboot="false"
priority="0">
<!-- see http://wpkg.org/7-Zip -->
<depends package-id="7zip"/>
<!-- This software requires a JDK in order to run. Please, see http://wpkg.org/Java on how to install one -->
<depends package-id="jdk"/>
<check type="file" condition="exists" path="%PROGRAMFILES%\eclipse\eclipse.exe" />

<install cmd='%COMSPEC% /c "start "title" /wait "%PROGRAMFILES%\7-Zip\7z.exe" x -o"%PROGRAMFILES%" "%SOFTWARE%\eclipse\pdt-all-in-one-R20080103-win32.zip""' />

<upgrade cmd='%COMSPEC% /c "start "title" /wait "%PROGRAMFILES%\7-Zip\7z.exe" x -o"%PROGRAMFILES%" "%SOFTWARE%\eclipse\pdt-all-in-one-R20080103-win32.zip""' />

<remove cmd='%COMSPEC% /c taskkill /F /IM eclipse.Exe'/>
<remove cmd='%COMSPEC% /c rd /Q /S "%PROGRAMFILES%\eclipse"' />
</package>
</packages>
</source>

[[category:Silent Installers]]
15
edits