Skip to content

Commit

Permalink
Merge pull request #609 from TheJumpCloud/windows_install_script_fix_2
Browse files Browse the repository at this point in the history
Fixing the Windows Install Script
  • Loading branch information
tfoster-jc authored Nov 21, 2024
2 parents 048483c + c5d5fc2 commit 6b80e32
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 @@ -17,7 +17,7 @@ $AGENT_INSTALLER_URL = "https://cdn02.jumpcloud.com/production/jcagent-msi-signe
$AGENT_INSTALLER_PATH = "C:\windows\Temp\jcagent-msi-signed.msi"
# JumpCloud Agent Installation Functions
Function InstallAgent() {
msiexec /i $AGENT_INSTALLER_PATH /quiet JCINSTALLERARGUMENTS=`"-k $JumpCloudConnectKey /VERYSILENT /NORESTART /NOCLOSEAPPLICATIONS /L*V "C:\Windows\Temp\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 6b80e32

Please sign in to comment.