From e95ac6ad8e62cd1fbab21597ab190b6581c47c02 Mon Sep 17 00:00:00 2001 From: Mark Mihevc Date: Mon, 30 Sep 2024 08:49:20 -0600 Subject: [PATCH] resetting log location path --- scripts/windows/InstallWindowsAgent.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/windows/InstallWindowsAgent.ps1 b/scripts/windows/InstallWindowsAgent.ps1 index 197ee9c67..018c9b7f4 100644 --- a/scripts/windows/InstallWindowsAgent.ps1 +++ b/scripts/windows/InstallWindowsAgent.ps1 @@ -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}")