Difference between revisions of "Remote Administrator"
From WPKG | Open Source Software Deployment and Distribution
Line 14: | Line 14: | ||
<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="true" priority="0"> | ||
− | <check type="logical" condition=" | + | <check type="logical" condition="or"> |
− | <check type="file" condition="exists" path="%WINDIR%\system32\r_server.exe" /> | + | <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> | </check> | ||
− | |||
<install cmd='%WINDIR%\system32\cmd /c start /wait /d %WINDIR% %SOFTWARE%\radmin-2.2\install.bat' /> | <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' /> | <remove cmd='%WINDIR%\system32\cmd /c start /wait /d %WINDIR% %SOFTWARE%\radmin-2.2\remove.bat' /> |
Revision as of 17:39, 20 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.
- 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="true" 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='%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' /> </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 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