BATCH installer for the UniFi controller as a Windows Service
Installing is as easy as running the install.bat file as an administrator.
-
To begin, the script allows the UniFi controller to talk to it's APs through the Windows Firewall.
-
The script downloads the UniFi controller software from Ubiquiti's website and the JRE 64bit edition from esperto.com.au (The Java site offers no easy way to do this programitcally) and then install the JRE silently.
-
The UniFi controller is started to generate some needed files and then killed.
-
The UniFi service is installed and all shortcuts to the old controller are removed and replaced with web links to localhost:8443.
Ubiquiti have yet to equip the UniFi controller installer with proper silent install support so it is necessary to click through it as normal.