|
|
Question : installing radmin on a users computer
|
|
I have radmin 3 and want the user to download an exe that contains the radmin server, a reg file with the server settings that I preconfigured and exported as a reg file, and a bat file that tells the radmin server to install and then tells the reg file to install silently. I also want to open the port 4899 as well. I will use ieexpress exe to wrap it all up. What is the best way to do this? Is there a better approach than using a bat file?
|
Answer : installing radmin on a users computer
|
|
If you use AutoIT, you could compile the script to an exe, and you could include the radmin program in the compiled script.
See http://www.autoitscript.com/autoit3/ - free dev environment and all.
rough example script might be: #cs ----------------------------------------------------------------------------
AutoIt Version: 3.2.2.0 Author: jp10558
Script Function: Example AutoIT Source for radmin install.
#ce ----------------------------------------------------------------------------
; Script Start - Add your code below here FileInstall("source for radmin",@TempDir,1) FileInstall("batch file if desired",@TempDir,1) ; grab batch file too RunAsSet("admin","domain","password");run as admin credentials if desired. THis is compiled so users won't be able to get the credentials. RunWait(@ComSpec & " /c " & '"batch file or dos command"',"",@SW_HIDE);wait for this to complete, use RUN to run and continue RunWait(@ComSpec & " /c " & '"netsh firewall add portopening ALL 4899 radmin enable any"',"",@SW_HIDE);firewall setting RunWait(@ComSpec & " /c " & @TempDir & '"radmininstall.exe"',"",@SW_HIDE);example running the included exe file from the tempdir.
|
|
|
|
|