Difference between revisions of "Geany"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
Line 17: Line 17:
  
 
         <install cmd='"%SOFTWARE%\geany\geany-0.15_setup.exe" /S' />
 
         <install cmd='"%SOFTWARE%\geany\geany-0.15_setup.exe" /S' />
         <install cmd='cmd /c del "%USERPROFILE%\Desktop\Geany.lnk"' />
+
         <install cmd='cmd /c del /q /s "%USERPROFILE%\Desktop\Geany.lnk"' />
 
         <install cmd='cmd /c del /q /s "%APPDATA%\Microsoft\Internet Explorer\Quick Launch\Geany.lnk"' />
 
         <install cmd='cmd /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 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' />
 
         <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 /q /s "%ALLUSERSPROFILE%\Start Menu\Programs\Geany"' />
 
         <upgrade cmd='"%PROGRAMFILES%\Geany\uninst.exe" /S' />
 
         <upgrade cmd='"%PROGRAMFILES%\Geany\uninst.exe" /S' />
 
         <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 /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 del /q /s "%APPDATA%\Microsoft\Internet Explorer\Quick Launch\Geany.lnk"' />
 
         <upgrade cmd='cmd /c rmdir /s /q "%USERPROFILE%\Start Menu\Programs\Geany"' />
 
         <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 /q /s "%ALLUSERSPROFILE%\Start Menu\Programs\Geany"' />
 
         <remove cmd='"%PROGRAMFILES%\Geany\uninst.exe" /S' />
 
         <remove cmd='"%PROGRAMFILES%\Geany\uninst.exe" /S' />
 
     </package>
 
     </package>

Revision as of 16:58, 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:

<?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 /q /s "%USERPROFILE%\Desktop\Geany.lnk"' />
        <install cmd='cmd /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='"%PROGRAMFILES%\Geany\uninst.exe" /S' />
        <upgrade cmd='"%SOFTWARE%\geany\geany-0.15_setup.exe" /S' />
        <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 rmdir /s /q "%USERPROFILE%\Start Menu\Programs\Geany"' />

        <remove cmd='cmd /c del /q /s "%ALLUSERSPROFILE%\Start Menu\Programs\Geany"' />
        <remove cmd='"%PROGRAMFILES%\Geany\uninst.exe" /S' />
    </package>
</packages>