Skip to content

Commit b2cd1c9

Browse files
Fixed bug with w/7 support
Fixed minor bug with custom service that would lead to a null path
1 parent 7cc2e7a commit b2cd1c9

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Agent/Lib/InstallAgent-Core.psm1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -656,7 +656,7 @@ function ValidatePartnerConfig {
656656
$Config.LocalFolder = $Partner.Config.Deployment.LocalFolder
657657
$Config.NetworkFolder = $Partner.Config.Deployment.NetworkFolder
658658
# Installer Values
659-
if ($Device.OSBuild -gt "6.1") {
659+
if ($Device.OSBuild -ge "6.1") {
660660
# Use Typical (Latest) Agent
661661
$InstallInfo = $Partner.Config.Deployment.Typical
662662
}

Custom Service Package/CustomService.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ $AgentRegPath = "HKLM:\SOFTWARE\N-Able Community\InstallAgent"
1616
$OldAgentRegPath = "HKLM:\SOFTWARE\SolarWinds MSP Community\InstallAgent"
1717
if (Test-Path $AgentRegPath){
1818
$Path = $AgentRegPath
19-
} elseif (Test-Path $OldAgentRegPath) {
19+
} else {
2020
$Path = $OldAgentRegPath
2121
}
2222

0 commit comments

Comments
 (0)