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

MON-154332 fix installer test #1955

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/scripts/agent_installer_test.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ if ($key_found) {
exit 1
}

Start-Sleep -Seconds 10

Write-Host "############################ installer test ############################"

Expand Down
7 changes: 6 additions & 1 deletion agent/installer/silent.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,11 @@ Function cmd_line_to_registry
Call silent_fatal_error
${EndIf}
WriteRegStr HKLM ${CMA_REG_KEY} "host" "$0"
${If} ${Errors}
StrCpy $1 "Failed to write registry key for host"
Call silent_fatal_error
${EndIf}

ClearErrors
${GetOptions} $cmdline_parameters "--endpoint" $0
${If} ${Errors}
Expand Down Expand Up @@ -474,4 +479,4 @@ Function un.silent_verify_admin
SetErrorLevel 1
Quit
${EndIf}
FunctionEnd
FunctionEnd