Difference between revisions of "Geany"
From WPKG | Open Source Software Deployment and Distribution
Line 1: | Line 1: | ||
Silent installer for Geany, a source code editor using GTK+. http://www.geany.org/ | Silent installer for Geany, a source code editor using GTK+. http://www.geany.org/ | ||
− | This installer would be better | + | This installer would be better installing to %ALLUSERSPROFILE%, so that you don't have to move folders between profiles. Also unfortunately, the 0.15 installer cannot remove/upgrade completely silently. These two probelms have been worked on, and should be solved by the 0.16 release: |
+ | * http://geany.svn.sourceforge.net/geany/?rev=3255&view=rev | ||
+ | * https://sourceforge.net/tracker/?func=detail&atid=787794&aid=2204671&group_id=153444 | ||
<source lang="xml"> | <source lang="xml"> | ||
Line 17: | Line 19: | ||
<install cmd='cmd /c del "%USERPROFILE%\Desktop\Geany.lnk"' /> | <install cmd='cmd /c del "%USERPROFILE%\Desktop\Geany.lnk"' /> | ||
<install cmd='cmd /c move /y "%USERPROFILE%\Start Menu\Programs\Geany" "%ALLUSERSPROFILE%\Start Menu\Programs"' /> | <install cmd='cmd /c move /y "%USERPROFILE%\Start Menu\Programs\Geany" "%ALLUSERSPROFILE%\Start Menu\Programs"' /> | ||
+ | <install cmd='cmd /c cacls "%ALLUSERSPROFILE%\Start Menu\Programs\Geany" /t /e /g everyone:r' /> | ||
<upgrade cmd='cmd /c del "%ALLUSERSPROFILE%\Start Menu\Programs\Geany"' /> | <upgrade cmd='cmd /c del "%ALLUSERSPROFILE%\Start Menu\Programs\Geany"' /> | ||
Line 22: | Line 25: | ||
<upgrade cmd='"%SOFTWARE%\geany\geany-0.15_setup.exe" /S' /> | <upgrade cmd='"%SOFTWARE%\geany\geany-0.15_setup.exe" /S' /> | ||
<upgrade cmd='cmd /c del "%USERPROFILE%\Desktop\Geany.lnk"' /> | <upgrade cmd='cmd /c del "%USERPROFILE%\Desktop\Geany.lnk"' /> | ||
− | <upgrade cmd='cmd /c | + | <upgrade cmd='cmd /c rmdir /s /q "%USERPROFILE%\Start Menu\Programs\Geany"' /> |
<remove cmd='cmd /c del "%ALLUSERSPROFILE%\Start Menu\Programs\Geany"' /> | <remove cmd='cmd /c del "%ALLUSERSPROFILE%\Start Menu\Programs\Geany"' /> |
Revision as of 16:54, 8 December 2008
Silent installer for Geany, a source code editor using GTK+. http://www.geany.org/
This installer would be better installing to %ALLUSERSPROFILE%, so that you don't have to move folders between profiles. Also unfortunately, the 0.15 installer cannot remove/upgrade completely silently. These two probelms have been worked on, and should be solved by the 0.16 release:
- http://geany.svn.sourceforge.net/geany/?rev=3255&view=rev
- https://sourceforge.net/tracker/?func=detail&atid=787794&aid=2204671&group_id=153444
<?xml version="1.0" encoding="UTF-8"?>
<packages>
<package
id="geany"
name="Geany Source Code Editor"
revision="015"
reboot="false"
priority="1">
<check type="uninstall" condition="exists" path="Geany 0.15" />
<install cmd='"%SOFTWARE%\geany\geany-0.15_setup.exe" /S' />
<install cmd='cmd /c del "%USERPROFILE%\Desktop\Geany.lnk"' />
<install cmd='cmd /c move /y "%USERPROFILE%\Start Menu\Programs\Geany" "%ALLUSERSPROFILE%\Start Menu\Programs"' />
<install cmd='cmd /c cacls "%ALLUSERSPROFILE%\Start Menu\Programs\Geany" /t /e /g everyone:r' />
<upgrade cmd='cmd /c del "%ALLUSERSPROFILE%\Start Menu\Programs\Geany"' />
<upgrade cmd='"%PROGRAMFILES%\Geany\uninst.exe" /S' />
<upgrade cmd='"%SOFTWARE%\geany\geany-0.15_setup.exe" /S' />
<upgrade cmd='cmd /c del "%USERPROFILE%\Desktop\Geany.lnk"' />
<upgrade cmd='cmd /c rmdir /s /q "%USERPROFILE%\Start Menu\Programs\Geany"' />
<remove cmd='cmd /c del "%ALLUSERSPROFILE%\Start Menu\Programs\Geany"' />
<remove cmd='"%PROGRAMFILES%\Geany\uninst.exe" /S' />
</package>
</packages>