Difference between revisions of "Remote Administrator"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
(Remote Administrator 2.2)
m
 
Line 11: Line 11:
  
 
==package.xml==
 
==package.xml==
<pre>
+
<source lang="xml">
 
<package id="radmin" name="Remote Administrator 2.2" revision="1" reboot="false" priority="0">
 
<package id="radmin" name="Remote Administrator 2.2" revision="1" reboot="false" priority="0">
 
   <check type="logical" condition="or">
 
   <check type="logical" condition="or">
Line 24: Line 24:
 
   <remove cmd='%SOFTWARE%\radmin-2.2\remove.bat' />
 
   <remove cmd='%SOFTWARE%\radmin-2.2\remove.bat' />
 
</package>
 
</package>
</pre>
+
</source>
  
 
==install.bat==
 
==install.bat==
<pre>
+
<source lang="dos">
 
@echo off
 
@echo off
  
Line 38: Line 38:
  
 
exit 0
 
exit 0
</pre>
+
</source>
  
 
==remove.bat==
 
==remove.bat==
<pre>
+
<source lang="dos">
 
@echo off
 
@echo off
  
Line 50: Line 50:
  
 
exit 0
 
exit 0
</pre>
+
</source>
  
 
[[Category:Silent Installers]]
 
[[Category:Silent Installers]]

Latest revision as of 14:21, 7 April 2008

Remote Administrator 2.2

This software is somewhat of a hassle to install as the supplied installer does not support silent installations. This method will install the server only and is based on the method that is recommended by Famatech.

  • Install the software to a test machine.
  • Configure all server settings and install the license file.
  • See the Remote Administrator manual for instructions on how to create a registry settings file. The manual is available from the Famatech web site. You will need the HKEY_LOCAL_MACHINE\SYSTEM\RAdmin (settings.reg) and HKEY_LOCAL_MACHINE\SOFTWARE\RAdmin (license.reg) key stores.
  • Copy r_server.exe, raddrv.dll, settings.reg and license.reg to your software repository.
  • Put install.bat and remove.bat into your software repository.

package.xml

<package id="radmin" name="Remote Administrator 2.2" revision="1" reboot="false" priority="0">
  <check type="logical" condition="or">
    <check type="logical" condition="and">
      <check type="file" condition="exists" path="%WINDIR%\system32\r_server.exe" />
      <check type="file" condition="exists" path="%WINDIR%\system32\raddrv.dll" />
    </check>
    <check type="uninstall" condition="exists" path="Remote Administrator v2.2" />
  </check>

  <install cmd='%SOFTWARE%\radmin-2.2\install.bat' />
  <remove cmd='%SOFTWARE%\radmin-2.2\remove.bat' />
</package>

install.bat

@echo off

copy %SOFTWARE%\radmin-2.2\r_server.exe %windir%\system32
copy %SOFTWARE%\radmin-2.2\raddrv.dll %windir%\system32
%windir%\system32\r_server.exe /install /silence
regedit.exe /s %SOFTWARE%\radmin-2.2\settings.reg
regedit.exe /s %SOFTWARE%\radmin-2.2\license.reg
net start "Remote Administrator Service"

exit 0

remove.bat

@echo off

%windir%\system32\r_server.exe /uninstall /silence

del %windir%\system32\r_server.exe
del %windir%\system32\raddrv.dll

exit 0