Skip to content

Commit

Permalink
resetting log location path
Browse files Browse the repository at this point in the history
  • Loading branch information
mmihevcmm committed Sep 30, 2024
1 parent 8b6c480 commit e95ac6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/windows/InstallWindowsAgent.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Function InstallAgent() {
if (!(Test-Path "C:\ProgramData\JumpCloud\Agent")) {
New-Item -ItemType Directory -Path "C:\ProgramData\JumpCloud\Agent" -Force
}
msiexec /i $AGENT_INSTALLER_PATH /quiet /norestart JCINSTALLERARGUMENTS=`"-k $JumpCloudConnectKey`" /L*V "C:\ProgramData\JumpCloud\Agent\jcUpdate.log"
msiexec /i $AGENT_INSTALLER_PATH /quiet /norestart JCINSTALLERARGUMENTS=`"-k $JumpCloudConnectKey`" /L*V "$TempPath\jcUpdate.log"
}
Function DownloadAgentInstaller() {
(New-Object System.Net.WebClient).DownloadFile("${AGENT_INSTALLER_URL}", "${AGENT_INSTALLER_PATH}")
Expand Down

0 comments on commit e95ac6a

Please sign in to comment.