Difference between revisions of "Retina Scan Identd"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
Line 18: Line 18:
  
 
<?xml version="1.0" encoding="UTF-8"?>
 
<?xml version="1.0" encoding="UTF-8"?>
 
 
<!-- CHANGE LOG -----------------------------------------------  
 
<!-- CHANGE LOG -----------------------------------------------  
 
         DATE            USER    EDIT
 
         DATE            USER    EDIT
 
--------------------------------------------------------------->
 
--------------------------------------------------------------->
 
 
<packages:packages xmlns:packages="http://www.wpkg.org/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"
+
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">
+
xsi:schemaLocation="http://www.wpkg.org/packages xsd/packages.xsd">
 
+
<package  
        <package  
+
id="identd"  
                id="identd"  
+
name="retina_scan_identd"  
                name="retina_scan_identd"  
+
revision="%version%"  
                revision="%version%"  
+
priority="10"  
                priority="10"  
+
reboot="false">
                reboot="false">
+
  <variable name="version" value="0.3.0" /> <!-- for easier upgrading -->
 
+
  <variable name="PKG_DESTINATION"      value="%PROGRAMFILES%\Nockmaar\Retina Scan" />
                <variable name="version" value="0.3.0" /> <!-- for easier upgrading -->
+
  <variable name="PKG_DESTINATION"      value="%PROGRAMFILES(x86)%\Nockmaar\Retina Scan" $
 
+
<check type="uninstall" condition="exists" path="Retina Scan Version 0.3.0" />
                <variable name="PKG_DESTINATION"      value="%PROGRAMFILES%\Nockmaar\Retina Scan" />
+
<!-- install the software -->
                <variable name="PKG_DESTINATION"      value="%PROGRAMFILES(x86)%\Nockmaar\Retina Scan" $
+
<install cmd='"%SOFTWARE%\identd\retina-scan-%version%.exe" /sp- /silent /norestart' />
 
+
<!-- add identd to the firewall -->
                <check type="uninstall" condition="exists" path="Retina Scan Version 0.3.0" />
+
<install cmd='netsh advfirewall firewall add rule name="ident" dir=in action=allow prog$
 
+
<!-- add service -->
                <!-- install the software -->
+
<install cmd='sc create identd binpath= "%PKG_DESTINATION%\identd.exe" start= auto' />
                <install cmd='"%SOFTWARE%\identd\retina-scan-%version%.exe" /sp- /silent /norestart' />
+
<install cmd='net start identd' />
                <!-- add identd to the firewall -->
+
<upgrade cmd='"%SOFTWARE%\identd\retina-scan-%version%.exe" /sp- /silent /norestart'  />
                <install cmd='netsh advfirewall firewall add rule name="ident" dir=in action=allow prog$
+
<remove cmd='"%PKG_DESTINATION%\unins000.exe" /sp- /silent /norestart' />
                <!-- add service -->
+
</package>
                <install cmd='sc create identd binpath= "%PKG_DESTINATION%\identd.exe" start= auto' />
+
                <install cmd='net start identd' />
+
 
+
                <upgrade cmd='"%SOFTWARE%\identd\retina-scan-%version%.exe" /sp- /silent /norestart'  />
+
 
+
                <remove cmd='"%PKG_DESTINATION%\unins000.exe" /sp- /silent /norestart' />
+
 
+
        </package>
+
 
</packages:packages>
 
</packages:packages>
  
 
[[Category:Silent Installers]]
 
[[Category:Silent Installers]]

Revision as of 10:08, 31 July 2014

This is a silent installer and uninstaller for Retina Scan Identd.

Retina Scan Identd is a RFC 1413 Ident Server for Windows XP. You may use it with Dansguardian, Squid, IRC, etc.

You may have to manually configure Windows firewall (not tested).

<package id="retina_scan_identd" name="retina_scan_identd" revision="1" priority="0" reboot="false">
 <check type="uninstall" condition="exists" path="Retina Scan Version 0.3.0" />
 <install cmd='"%SOFTWARE%\retina-scan-0.3.0.exe" /sp- /silent' />
 <upgrade cmd='"%SOFTWARE%\retina-scan-0.3.0.exe" /sp- /silent' />
 <remove cmd='"%PROGRAMFILES%\Nockmaar\Retina Scan\unins000.exe" /sp- /silent /norestart' />
</package>


For windows 7 installs, we have written the following code. It will add the software to the firewall and make an autostart service (it should not need restarting after first install either)

<?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="identd" 
name="retina_scan_identd" 
revision="%version%" 
priority="10" 
reboot="false">
 <variable name="version" value="0.3.0" /> 
 <variable name="PKG_DESTINATION"      value="%PROGRAMFILES%\Nockmaar\Retina Scan" />
 <variable name="PKG_DESTINATION"      value="%PROGRAMFILES(x86)%\Nockmaar\Retina Scan" $
<check type="uninstall" condition="exists" path="Retina Scan Version 0.3.0" />
<install cmd='"%SOFTWARE%\identd\retina-scan-%version%.exe" /sp- /silent /norestart' />
<install cmd='netsh advfirewall firewall add rule name="ident" dir=in action=allow prog$
<install cmd='sc create identd binpath= "%PKG_DESTINATION%\identd.exe" start= auto' />
<install cmd='net start identd' />
<upgrade cmd='"%SOFTWARE%\identd\retina-scan-%version%.exe" /sp- /silent /norestart'  />
<remove cmd='"%PKG_DESTINATION%\unins000.exe" /sp- /silent /norestart' />

</package> </packages:packages>