(imported topic written by russwm91)
Hello I just noticed this and thought others should see this too.
After deploying using this updated version with different languages there is an issue causing every single version to be downloaded to my selected relays. Instead of it being a single download of 60+MB I’m getting 520MB being downloaded to all 20 relays.
Here is what the action script is doing this is the one from Trend not a custom one from me. I compared it to a previous one before the different languages and you can see where the code seems to have failed.
// action script to deploy CPM Endpoint application
begin prefetch block
if {x64 of operating system}
// add prefetch item for x64 installer
if {version of client < "}
add prefetch item name=TMCPMInstaller.exe sha1=9439d2b734007fce3cc3003f962a985ca16d0080 size=74226616 url=http://software.bigfix.com/download/bes/cpm/TMCPMInstaller_x64_1.6.0.1040_en.exe
else
if {system language as lowercase contains “german”}
add prefetch item name=TMCPMInstaller.exe sha1=6a676cd3bc96ca587f4966d8db90c77b7396c589 size=74233072 url=http://software.bigfix.com/download/bes/cpm/TMCPMInstaller_x64_1.6.0.1040_de.exe
elseif {system language as lowercase contains “french”}
add prefetch item name=TMCPMInstaller.exe sha1=ff61caa6c15c2dabe88f28db22f01090a6ea99dc size=74228847 url=http://software.bigfix.com/download/bes/cpm/TMCPMInstaller_x64_1.6.0.1040_fr.exe
else
add prefetch item name=TMCPMInstaller.exe sha1=9439d2b734007fce3cc3003f962a985ca16d0080 size=74226616 url=http://software.bigfix.com/download/bes/cpm/TMCPMInstaller_x64_1.6.0.1040_en.exe
endif
endif
else
// add prefetch item for 32-bit installer
if {version of client < “8.0”}
add prefetch item name=TMCPMInstaller.exe sha1=816ede6533be5847e683c9b4808c9d4167bbe12f size=56720466 url=http://software.bigfix.com/download/bes/cpm/TMCPMInstaller_x86_1.6.0.1040_en.exe
else
if {system language as lowercase contains “german”}
add prefetch item name=TMCPMInstaller.exe sha1=7ed64d15314d9ecad45b14f5739e0ae86c8e2ce6 size=56726943 url=http://software.bigfix.com/download/bes/cpm/TMCPMInstaller_x86_1.6.0.1040_de.exe
elseif {system language as lowercase contains “french”}
add prefetch item name=TMCPMInstaller.exe sha1=de36a55c8f4808c676ed16a763c99f2bed016e2e size=56722718 url=http://software.bigfix.com/download/bes/cpm/TMCPMInstaller_x86_1.6.0.1040_fr.exe
else
add prefetch item name=TMCPMInstaller.exe sha1=816ede6533be5847e683c9b4808c9d4167bbe12f size=56720466 url=http://software.bigfix.com/download/bes/cpm/TMCPMInstaller_x86_1.6.0.1040_en.exe
endif
endif
endif
end prefetch block
----Previous code before the new languages----------
// action script to deploy CPM Endpoint application
begin prefetch block
if {x64 of operating system}
// add prefetch item for x64 installer
add prefetch item name=TMCPMInstaller.exe sha1=307151cab44ccf0dc790a679249569c8e1008639 size=73791750 url=http://software.bigfix.com/download/bes/cpm/TMCPMInstaller_x64_1.6.0.1020.exe
else
// add prefetch item for 32-bit installer
add prefetch item name=TMCPMInstaller.exe sha1=867d5770983dea04e3c62bfdaf069f28befa985e size=56416575 url=http://software.bigfix.com/download/bes/cpm/TMCPMInstaller_x86_1.6.0.1020.exe
endif
end prefetch block
Thanks,
Russ