Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ubiquiti-unifi-controller] Can we customise the install path? #179

Open
flcdrg opened this issue Jul 4, 2024 · 1 comment
Open

[ubiquiti-unifi-controller] Can we customise the install path? #179

flcdrg opened this issue Jul 4, 2024 · 1 comment

Comments

@flcdrg
Copy link
Owner

flcdrg commented Jul 4, 2024

As per package comment

@thezigpc
Copy link

thezigpc commented Jul 4, 2024

The /D parameter works:
Example: UniFi-installer.exe /S /D:C:\Unifi\Ubiquiti UniFi
(must be a capital D, no quotes and the /D parameter must be at the end)
You can also use some logic to use the built-in bundled java if you want to install the service as detailed here ->
https://community.ui.com/questions/Unifi-Controller-Windows-as-a-Service-Improvement/5f7a49b0-a08d-4045-82f5-65462952e9c5

You only would have to check the install directory for the java.exe, root java folder and jvm.dll and use those values to update the settings in the registry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants