Difference between revisions of "Eclipse"
From WPKG | Open Source Software Deployment and Distribution
(create eclipse package file) |
(add Zend Studio for Eclipse) |
||
| Line 25: | Line 25: | ||
<remove cmd='%COMSPEC% /c rd /Q /S "%PROGRAMFILES%\eclipse"' /> | <remove cmd='%COMSPEC% /c rd /Q /S "%PROGRAMFILES%\eclipse"' /> | ||
</package> | </package> | ||
| + | </packages> | ||
| + | </source> | ||
| + | |||
| + | Zend Studio for Eclipse | ||
| + | |||
| + | <source lang="xml"> | ||
| + | <?xml version="1.0" encoding="UTF-8"?> | ||
| + | |||
| + | <packages> | ||
| + | |||
| + | <package | ||
| + | id="zend" | ||
| + | name="Zend Studio For Eclipse" | ||
| + | revision="6010" | ||
| + | reboot="false" | ||
| + | priority="1"> | ||
| + | <check type="uninstall" condition="exists" path="Zend Studio for Eclipse - 6.0.1" /> | ||
| + | <install cmd="%SOFTWARE%\zend\ZendStudioForEclipse-6_0_1.exe -i silent" /> | ||
| + | <upgrade cmd="%SOFTWARE%\zend\ZendStudioForEclipse-6_0_1.exe -i silent" /> | ||
| + | <!-- <remove cmd="%PROGRAMFILES%\Zend\Zend Studio for Eclipse - 6.0.1\Uninstall Zend Studio for Eclipse - 6.0.1.exe -i silent" /> --> | ||
| + | </package> | ||
| + | |||
</packages> | </packages> | ||
</source> | </source> | ||
[[category:Silent Installers]] | [[category:Silent Installers]] | ||
Revision as of 10:01, 24 July 2008
Eclipse is an open-source and free IDE.
In order to do a silent installation, you'll have to:
- Download the Eclipse bundle that suits your needs (we are installing the PDT bundle here)
- Proceed with the silent installation by using the eclipse.xml file below:
<?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>
Zend Studio for Eclipse
<?xml version="1.0" encoding="UTF-8"?>
<packages>
<package
id="zend"
name="Zend Studio For Eclipse"
revision="6010"
reboot="false"
priority="1">
<check type="uninstall" condition="exists" path="Zend Studio for Eclipse - 6.0.1" />
<install cmd="%SOFTWARE%\zend\ZendStudioForEclipse-6_0_1.exe -i silent" />
<upgrade cmd="%SOFTWARE%\zend\ZendStudioForEclipse-6_0_1.exe -i silent" />
<!-- <remove cmd="%PROGRAMFILES%\Zend\Zend Studio for Eclipse - 6.0.1\Uninstall Zend Studio for Eclipse - 6.0.1.exe -i silent" /> -->
</package>
</packages>