Difference between revisions of "Geany"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
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 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">
 
 
<?xml version="1.0" encoding="UTF-8"?>
 
<?xml version="1.0" encoding="UTF-8"?>
 
<packages>
 
<packages>
Line 11: Line 6:
 
         id="geany"
 
         id="geany"
 
         name="Geany Source Code Editor"
 
         name="Geany Source Code Editor"
         revision="015"
+
         revision="016"
 
         reboot="false"
 
         reboot="false"
 
         priority="1">
 
         priority="1">
         <check type="uninstall" condition="exists" path="Geany 0.15" />
+
         <check type="uninstall" condition="exists" path="Geany 0.16" />
  
         <install cmd='"%SOFTWARE%\geany\geany-0.15_setup.exe" /S' />
+
         <install cmd='"%SOFTWARE%\geany\geany-0.16_setup.exe" /S' />
         <install cmd='cmd /c del /q /s "%USERPROFILE%\Desktop\Geany.lnk"' />
+
         <install cmd='%COMSPEC% /c del /q /s "%ALLUSERSPROFILE%\Desktop\Geany.lnk"' />
         <install cmd='cmd /c del /q /s "%APPDATA%\Microsoft\Internet Explorer\Quick Launch\Geany.lnk"' />
+
         <install cmd='%COMSPEC% /c del /q /s "%APPDATA%\Microsoft\Internet Explorer\Quick Launch\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 /q /s "%ALLUSERSPROFILE%\Start Menu\Programs\Geany"' />
+
         <upgrade cmd='"%SOFTWARE%\geany\geany-0.16_setup.exe" /S' />
        <upgrade cmd='"%PROGRAMFILES%\Geany\uninst.exe" /S' />
+
         <upgrade cmd='%COMSPEC% /c del /q /s "%USERPROFILE%\Desktop\Geany.lnk"' />
         <upgrade cmd='"%SOFTWARE%\geany\geany-0.15_setup.exe" /S' />
+
         <upgrade cmd='%COMSPEC% /c del /q /s "%APPDATA%\Microsoft\Internet Explorer\Quick Launch\Geany.lnk"' />
         <upgrade cmd='cmd /c del /q /s "%USERPROFILE%\Desktop\Geany.lnk"' />
+
         <upgrade cmd='cmd /c del /q /s "%APPDATA%\Microsoft\Internet Explorer\Quick Launch\Geany.lnk"' />
+
        <upgrade cmd='cmd /c move /y "%USERPROFILE%\Start Menu\Programs\Geany" "%ALLUSERSPROFILE%\Start Menu\Programs"' />
+
        <upgrade cmd='cmd /c cacls "%ALLUSERSPROFILE%\Start Menu\Programs\Geany" /t /e /g everyone:r' />
+
  
         <remove cmd='cmd /c del /q /s "%ALLUSERSPROFILE%\Start Menu\Programs\Geany"' />
+
         <remove cmd='%COMSPEC% /c start "Uninstaller" /min /wait "%PROGRAMFILES%\Geany\uninst.exe" /S' />
        <remove cmd='"%PROGRAMFILES%\Geany\uninst.exe" /S' />
+
 
     </package>
 
     </package>
 
</packages>
 
</packages>
</source>
 
  
 
[[Category:Silent Installers]]
 
[[Category:Silent Installers]]

Revision as of 14:52, 23 February 2009

Silent installer for Geany, a source code editor using GTK+. http://www.geany.org/

<?xml version="1.0" encoding="UTF-8"?> <packages>

   <package
       id="geany"
       name="Geany Source Code Editor"
       revision="016"
       reboot="false"
       priority="1">
       <check type="uninstall" condition="exists" path="Geany 0.16" />
       <install cmd='"%SOFTWARE%\geany\geany-0.16_setup.exe" /S' />
       <install cmd='%COMSPEC% /c del /q /s "%ALLUSERSPROFILE%\Desktop\Geany.lnk"' />
       <install cmd='%COMSPEC% /c del /q /s "%APPDATA%\Microsoft\Internet Explorer\Quick Launch\Geany.lnk"' />
       <upgrade cmd='"%SOFTWARE%\geany\geany-0.16_setup.exe" /S' />
       <upgrade cmd='%COMSPEC% /c del /q /s "%USERPROFILE%\Desktop\Geany.lnk"' />
       <upgrade cmd='%COMSPEC% /c del /q /s "%APPDATA%\Microsoft\Internet Explorer\Quick Launch\Geany.lnk"' />
       <remove cmd='%COMSPEC% /c start "Uninstaller" /min /wait "%PROGRAMFILES%\Geany\uninst.exe" /S' />
   </package>

</packages>