Difference between revisions of "Geany"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
m (Remove unnecessary commands.)
 
Line 3: Line 3:
 
<source lang="xml">
 
<source lang="xml">
 
<?xml version="1.0" encoding="UTF-8"?>
 
<?xml version="1.0" encoding="UTF-8"?>
<packages>
+
<packages:packages xmlns:packages="http://www.wpkg.org/packages" xmlns:wpkg="http://www.wpkg.org/wpkg" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.wpkg.org/packages xsd/packages.xsd">
    <package
+
<package id="geany" name="Geany Source Code Editor" revision="%version%" reboot="false" priority="1">
        id="geany"
+
<variable name="version" value="1.33" />
        name="Geany Source Code Editor"
+
        revision="0.19.2"
+
         <check type="uninstall" condition="exists" path="Geany %version%" />
        reboot="false"
+
        priority="1">
+
         <check type="uninstall" condition="exists" path="Geany 0.19.2" />
+
  
         <install cmd='%COMSPEC% /c start "Installer" /min /wait "%SOFTWARE%\geany\geany-0.19.2_setup.exe" /S' />
+
         <install cmd='"%SOFTWARE%\geany\geany-%version%_setup.exe" /S' />
 
         <install cmd='%COMSPEC% /c del /q /s "%ALLUSERSPROFILE%\Desktop\Geany.lnk"'><exit code="1" /></install>
 
         <install cmd='%COMSPEC% /c del /q /s "%ALLUSERSPROFILE%\Desktop\Geany.lnk"'><exit code="1" /></install>
  
         <upgrade cmd='%COMSPEC% /c start "Installer" /min /wait "%SOFTWARE%\geany\geany-0.19.2_setup.exe" /S' />
+
         <upgrade include="install" />
        <upgrade cmd='%COMSPEC% /c del /q /s "%ALLUSERSPROFILE%\Desktop\Geany.lnk"'><exit code="1" /></upgrade>
+
  
         <remove cmd='%COMSPEC% /c start "Uninstaller" /min /wait "%PROGRAMFILES%\Geany\uninst.exe" /S' />
+
         <remove cmd='"%PROGRAMFILES%\Geany\uninst.exe" /S' architecture="x86" />
 +
<remove cmd='"%PROGRAMFILES(x86)%\Geany\uninst.exe" /S' architecture="x64" />
 
     </package>
 
     </package>
</packages>
+
</packages:packages>
 
</source>
 
</source>
  
 
[[Category:Silent Installers]]
 
[[Category:Silent Installers]]

Latest revision as of 11:57, 19 August 2018

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

<?xml version="1.0" encoding="UTF-8"?>
<packages:packages xmlns:packages="http://www.wpkg.org/packages" xmlns:wpkg="http://www.wpkg.org/wpkg" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.wpkg.org/packages xsd/packages.xsd">
	 <package id="geany" name="Geany Source Code Editor" revision="%version%" reboot="false" priority="1">
	 <variable name="version" value="1.33" />
		
        <check type="uninstall" condition="exists" path="Geany %version%" />

        <install cmd='"%SOFTWARE%\geany\geany-%version%_setup.exe" /S' />
        <install cmd='%COMSPEC% /c del /q /s "%ALLUSERSPROFILE%\Desktop\Geany.lnk"'><exit code="1" /></install>

        <upgrade include="install" />

        <remove cmd='"%PROGRAMFILES%\Geany\uninst.exe" /S' architecture="x86" />
	<remove cmd='"%PROGRAMFILES(x86)%\Geany\uninst.exe" /S' architecture="x64" />
    </package>
</packages:packages>