Difference between revisions of "Remote Administrator"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
Line 6: Line 6:
 
* Install the software to a test machine.
 
* Install the software to a test machine.
 
* Configure all server settings and install the license file.
 
* 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 [http://www.famatech.com/download/manuals.php Famatech] web site.
+
* See the Remote Administrator manual for instructions on how to create a registry settings file.  The manual is available from the [http://www.famatech.com/download/manuals.php 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, and the registry settings, settings.reg, to your software repository.
 
* Copy r_server.exe, raddrv.dll, and the registry settings, settings.reg, to your software repository.
 
* Put install.bat and remove.bat into your software repository.
 
* Put install.bat and remove.bat into your software repository.
  
 
==package.xml==
 
==package.xml==
 
 
<pre>
 
<pre>
<package id="radmin" name="Remote Administrator 2.2" revision="1" reboot="true" 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">
 
     <check type="logical" condition="and">
 
     <check type="logical" condition="and">
Line 21: Line 20:
 
     <check type="uninstall" condition="exists" path="Remote Administrator v2.2" />
 
     <check type="uninstall" condition="exists" path="Remote Administrator v2.2" />
 
   </check>
 
   </check>
   <install cmd='%WINDIR%\system32\cmd /c start /wait /d %WINDIR% %SOFTWARE%\radmin-2.2\install.bat' />
+
 
   <remove cmd='%WINDIR%\system32\cmd /c start /wait /d %WINDIR% %SOFTWARE%\radmin-2.2\remove.bat' />
+
   <install cmd='%SOFTWARE%\radmin-2.2\install.bat' />
 +
   <remove cmd='%SOFTWARE%\radmin-2.2\remove.bat' />
 
</package>
 
</package>
 
</pre>
 
</pre>
  
 
==install.bat==
 
==install.bat==
 
 
<pre>
 
<pre>
 
@echo off
 
@echo off
Line 35: Line 34:
 
%windir%\system32\r_server.exe /install /silence
 
%windir%\system32\r_server.exe /install /silence
 
regedit.exe /s %SOFTWARE%\radmin-2.2\settings.reg
 
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
 
exit 0
Line 40: Line 41:
  
 
==remove.bat==
 
==remove.bat==
 
 
<pre>
 
<pre>
 
@echo off
 
@echo off

Revision as of 13:09, 25 October 2006

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, and the registry settings, settings.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