fix static link to msi

This commit is contained in:
2022-11-11 13:41:42 -05:00
parent 54d90ee99a
commit 73f976c38a
+1 -1
View File
@@ -25,7 +25,7 @@ If ( Is64bit ) { $AGENTNAME = "agent_x64.msi" } Else { $AGENTNAME = "agent_x86.m
# Download the installer
$INSTALLER = "${TEMPDIR}\${AGENTNAME}"
#$URL = 'https://download.eset.com/com/eset/apps/business/era/agent/latest/{0}' -f $AGENTNAME
$URL = 'https://dev.emberkom.com/emberkom/management-scripts/src/branch/master/resources/eset_protect_{0}' -f $AGENTNAME
$URL = 'https://dev.emberkom.com/emberkom/management-scripts/raw/branch/master/resources/eset_protect_{0}' -f $AGENTNAME
LogMsg "Downloading ESET Management Agent"
Download-File -URL $URL -File $INSTALLER