Skip to main content

Hello JAMF Nation,



Has anyone been able to successfully create and package with the WFBS Trend client to be pushed out via policy in JAMF every single attempt I have made as resulted in failure or corrupted installations.



I have found several posts here, that have helped with potential ideas but unable to get anything going successfully.



Keep in mind I am a JAMF NOOB but am learning more and more each day. I have 30 machines that are out in the field and have been tasked to creating packages for:




  • Skype for Business

  • WFBS TrendMicro



That are a bit of a challenge any assistance would be greatly appreciated.



Thank You

@CorpIT_eB Sorry man.. Lets get this thing figured out. Yes, permissions are all root/admin for mines. Give that a try.


@mack525 I got it to work, i revisited the script and was missing syntax, Once I fixed that it worked like a charm.



Thank You so much for all your help my friend truly a pleasure working with you and all the JAMF Nation on this.


@CorpIT_eB What did you miss? Which script?


@mack525 I had forgot to re-activate the variable for the IDENTIFIER so essentially what was happening was that the installer would run try to find Trends ID and then error out. It was not evident to me till I relived the script and caught the syntax error.



Now on to the next adventure Parallels!! lol


Glad it worked out! Nice catch! @CorpIT_eB


Where exactly was the syntax error. I think I am running into the same issue. The plist file comes down to the var_temp folder, then nothing happens.


@achristoforatos in my case it was at the string the variable was off. Went from



#!/bin/sh
<string>$youridentifierhere</string>


to the proper string and variable of:



#!/bin/sh
<string>$IDENTIFIER</string>


And I only caught it because, this was a piece of a much larger script.


So at the top of the script where IDENTIFIER="" I should place my identifier there then place $IDENTIFIER where you've placed it?


@achristoforatos That is correct. Essentially the ID comes from TrendMicro. you copy and paste that in between the "" so it will look something like:



#!/bin/sh
IDENTIFER="oiwdhcwjnbephrw12w34iodshfphpodhpdncpoe"


So when you call it in the string $IDENTIFER it just grabs the ID.


Do you have a correct copy of the script with placings for where the ID string should go?


Thanks for your help!


#!/bin/sh
IDENTIFIER="TrendMicroIDgoeshere"

rm /var/tmp/TrendMicro/Identifier.plist > /dev/null
mkdir /var/tmp/TrendMicro > /dev/null

cat > /var/tmp/TrendMicro/Identifier.plist << EOF
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Identifier</key>
<string>$IDENTIFIER</string>
</dict>
</plist>
EOF

OH! I see what I'm doing wrong! Thanks so much for everyones help! And especially you helping me see what I was doing wrong.


@mack525 @CorpIT_eB Thank you for all the help!


@CorpIT_eB @achristoforatos Unfortunately, None of these steps are documented by Trend. Could've saved all of us a lot of head pounding. Glad its working for you.. If you ever noticed that its not running.. you may need to update/repackage the installer agent thats dropped in the /var/tmp that may fix your issue.


@mack525 I hate to bring back an old post man but have you had any issues with your TrendMicro installation?



After having this install successfully on more than a dozen times with out issue, I am now getting errors at the package lvl. The only thing I have changed has been the categories in JAMF Pro in order to keep our instance clean. Categories should not have any influence on packages correct?



Executing Policy WFBS TrenMicro Installation
Downloading https://server.services.jamfcloud.com//download/19727f945eb74fb797d9d257fa52498e/TrendMicro.dmg?token=mytokengoeshere
Verifying DMG...
Error: Could not verify the downloaded package. 1
Error: TrendMicro.dmg is corrupt.
Running script TrendMicro Installation...
Script exit code: 0
Script result: mkdir: /var/tmp/TrendMicro: File exists
Running command installer -pkg /var/tmp/TrendMicro/WFBS-SVC_Agent_installer.pkg -target /...
Result of command:
installer: Error - the package path specified was invalid: '/var/tmp/TrendMicro/WFBS-SVC_Agent_installer.pkg'.
Relaunching dock(s)...
Running Recon...
Retrieving inventory preferences from https://mycompanyname.jamfcloud.com/...
Locating accounts...
Locating package receipts...
Searching path: /Applications
Locating software updates...
Locating printers...
Locating hardware information (Mac OS X 10.14.5)...
Gathering application usage information...
Blessing i386 macOS System on /...
Creating Reboot Script...


I have not changed or modified anything on the package since we compiled for creation.


@CorpIT_eB Have you tried re-packaging the installer app?


@mack525 No, man I have not didn't want to mess with it since it was working so well. I will try and repackage it again next week and get back to you.



Just for self knowledge though Changing categories for policies and certain things in JAMF should not break any of your configurations correct?


@CorpIT_eB Changing policy categories should have no effect to this issue.


May want to check with the Vendor. I ran into a similar issue with Avast, reached out to them let them know I was looking to have Jamf push out the package and they made a special package.


@derrad Thanks it looks like it was just that sole machine that was added recently to the DEP as I created a new user today and it worked fine. But I have reached out to trend on multiple events for such an a reason, and was sent the link for mass deployment like x3 times.



They where not very helpful at all.


Glad to hear you got it resolved. Sorry to hear they were not very helpful 😞


NOTE: This is officially broken on Catalina as it turns out that the "Security Agent" install is a x32 Bit installer. Therefore no longer working on Catalina Macs I have reached out to trend support on the matter.



TrendSupport:



Hi,

Not to sure about what the equivalent version and build would be for the Mac variants as that information is decided by our back-end team.

But as for now, the software in general is not compatible with the latest MacOS update.

Best Regards,
Timothy | Systems Engineer
Global Support Services
Trend Micro, Inc. "Securing Your Journey to the Cloud"


ETA on a new client, is being said to be sometime next month.


@mack525



Hey Mac I was trying to update and the package and redeploy this again and I am ow getting the following error any ideas:



Executing Policy WFBS TrenMicro Installation
Downloading TrendMicro.pkg...
Downloading https://use1-jcds.services.jamfcloud.com//download/19727f945eb74fb797d9d257fa52498e/TrendMicro.pkg?token=mytokenID
Verifying package integrity...
Installation failed. The package could not be verified.
Running script TrendMicro Installation...
Script exit code: 0
Script result: rm: /var/tmp/TrendMicro/Identifier.plist: No such file or directory
Running command installer -pkg /var/tmp/TrendMicro/WFBS-SVC_Agent_installer.pkg -target /...
Result of command:
installer: Error - the package path specified was invalid: '/var/tmp/TrendMicro/WFBS-SVC_Agent_installer.pkg'.
Relaunching dock(s)...
Running Recon...
Retrieving inventory preferences from https://mycloud.jamfcloud.com/...
Locating accounts...
Locating package receipts...
Searching path: /System/Applications
Locating software updates...
Locating printers...
Locating hardware information (Mac OS X 10.15.1)...
Gathering application usage information...
Searching path: /Applications
Blessing i386 macOS System on /...
Creating Reboot Script...

10.15.1 has not been verified by Trend. It may be throwing this error @JarvisUno


Reply