Trend Endpoint Install Task Action Script Causing Major Issues

(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

(imported comment written by russwm91)

Hello I’m still waiting on some one from forum support to look at this.

I’m wondering if this is by design that all version on Trend CPM get loaded in case I every get a workstation that needs French. I guess people with say 20-50 relays this is OK to have 520MB loaded to each relay but for folks like us that have 700+ relays on very low bandwidth this new updated task really makes things take forever.

Thanks,

Russ

(imported comment written by BenKus)

Hey Russ,

I know your post triggered a lot of discussion internally, but I don’t know the answer myself… maybe you can contact support to get a direct answer for you.

Thanks,

Ben

(imported comment written by naveedm)

Hi Russ,

Apologies for the delay in responding to your post. We have created content that will enable you to deploy only the language you require, so that relays won’t download the installers for each language. We’re also working on a way to update the Deploy Fixlet to handle this dynamically. In the meantime, I recommend that you open a Support case so that the team can provide you with the custom Tasks. We’ll be posting the Tasks to the forum as well.

Naveed

(imported comment written by SystemAdmin)

Hi Russ, I believe Jason Reimerfrey has reached out to you directly, but I will also post the fixes here. There is a zip file containing separate fixlets for each language which should help resolve the issue. We’re working with Trend to see how we can incorporate these into the CPM site.

Thank you for your patience and my apologies for the difficulties you’ve encountered.

(imported comment written by SystemAdmin)

Trend has released an updated version of the hotfix for this issue which deploys Service Pack 1 for CPM 1.6 which was released today. This updated archive is attached.