11# Installation, Diagnostic and Repair Script for the N-Central Agent
22# Original Script Created by Tim Wiser
3- # Maintained by the N-Able Community
3+ # Maintained by the N-able Community
44
55# ###############################
66# ######### Change Log ##########
@@ -195,7 +195,7 @@ if ($DebugMode.IsPresent) {
195195 if (Get-Module InstallAgent- Core) {
196196 Remove-Module InstallAgent- Core
197197 }
198- $AgentRegPath = " HKLM:\SOFTWARE\N-Able Community\InstallAgent"
198+ $AgentRegPath = " HKLM:\SOFTWARE\N-able Community\InstallAgent"
199199 if (Test-Path $AgentRegPath ) {
200200 Remove-Item $AgentRegPath - Recurse - Force
201201 }
@@ -219,8 +219,8 @@ $NC.InstallParameters = @{
219219}
220220# Path Constants
221221$NC.Paths = @ {
222- " BinFolder" = " N-Able Technologies\Windows Agent\bin"
223- " ConfigFolder" = " N-Able Technologies\Windows Agent\config"
222+ " BinFolder" = " N-able Technologies\Windows Agent\bin"
223+ " ConfigFolder" = " N-able Technologies\Windows Agent\config"
224224 " UninstallKey32" = " HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall"
225225 " UninstallKey64" = " HKLM:\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall"
226226}
@@ -486,7 +486,7 @@ $SC.Names = @{
486486}
487487# Path Constants
488488$SC.Paths = @ {
489- " ExecutionKey" = " HKLM:\SOFTWARE\N-Able Community"
489+ " ExecutionKey" = " HKLM:\SOFTWARE\N-able Community"
490490 " ServiceKey" = " HKLM:\SYSTEM\CurrentControlSet\Services"
491491 " TempFolder" = Split-Path $MyInvocation.MyCommand.Path - Parent
492492}
0 commit comments