Hi there. I can't offer any help with the TrendMicro package, but I can tell you that Skype for Business already comes in a handy package format ready for deployment through Jamf or any other management tool that can push .pkg installers. No need to create anything for it.
You can grab the latest installer for it here: https://macadmins.software
@mm2270 Thanks yes I was able to get Skype going last night just need to figure out trend.
Thank You.
@CorpIT_eB I have a policy that installs trend micro via 2 packages.
The first package installs the identifier.plist (which has a custom string you need to set prior to packing up). Use composer to package this up at /var/tmp/TrendMicro. The seconds package in the policy is the WFBS-SVC_Agent_Installer.pkg.
@discounteggroll That would be great to try the problem I am having as a NOOB i have never really dabbled with plists so a small step by step in your part would go a really long way so I can start to understand what future application deployments will look like. Unfortunately I am a visual and hands on learner.
Also thank you so much for replying.
@CorpIT_eB Give This page a look I typed up some things on how we deploy trend. Tricky thing is that machine GUID. Trend has to be able to not only register each device but assign an individual GUID. Take a look and let me know if you like some better documentation. I know sharing is caring
@mack525 I actually read this post a couple days back and attempted to try this but was uncertain on how you composed it all. The WFBS Installer is already a .dmg so what did you do to modify it. And set in the Var directory's like mentioned in step one.
Did you use JAMF Composer snapshots to create another .dmg?
I saw that you even listed an option for uninstallation as well very cool.
let me know if you like some better documentation.
Most definitely "Hook a brother up" this thing has taken way to long to mass deploy on my macs. I would greatly appreciate it.
@mack525 Man this is perfect but I am using Composer 10.11.0 when I download the WFBS installer and I open Composer how do I create the .dmg file without the snapshot I would have to create a snapshot first to accomplish this correct?
@CorpIT_eB Yes. You can run a snapshot and then modify it.
@mack525 I am apologize man can you give me a bit of clarity on how you got your results on step one.
On my end when I open composer (using snapshot) I take the installer and drop into /var/tmp/TrendMicro (had to create this folder) from there I ran the installer and then capture but when it comes back to me the sources reads user, libarary, users, applications do I delete or modify any of these files as the user here is clearly not the user that would be on future machines.
From here build a .dmg and then?
If you have a simpler way of doing it please let me know I think if I get this final piece of the puzzle I might be able to get this working on our end as well.
Thank you for everything!!
No need for a snapshot for that.
Just open /private/tmp/
in the Finder and create a folder in it called "TrendMicro" and then copy the installer into it. Then in Composer, drag the "TrendMicro" folder (not the .pkg) into Composer's sidebar and it will copy it in and create a new source. Done.
Also, it shouldn't be a requirement to build it as a dmg since it's just dropping the pkg into that location. Unless it's just not shown in your screenshots, I don't see anything that would need the FEU or FUT options enabled. A package style installer will also do the job, but either one should work fine for this.
What the all mighty@mm2270 said
Also, i built it as a DMG because i had previous installations with the same sort of files and wanted them replaced with these correct ones within the directory.
@mack525 Yep I got Skype working just need Trend and Parallels and I am all set on Deployments for now.
I am going to try your method test and get back to you I really appreciate all your help on this one.
@mack525 Toss me you a screen shot of you your Uninstaller script as well so I can save it for the future.
@mack525 The Uninstaller script works flawlessly.
However the installation portion of it still fails to complete. (No ERRORS) && No Trend Icon or Application in site.
#!/bin/bash
IDENTIFIER="pulled from trend"
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>Your Identifier</string>
</dict>
</plist>
EOF
Details
Executing Policy WFBS TrenMicro Installation
Downloading https://use1-jcds.services.jamfcloud.com//download/19727f945eb74fb797d9d257fa52498e/TrendMicro.dmg?token=downloadsatoken
Verifying DMG...
Verifying package integrity...
Installing TrendMicro.dmg...
Closing package...
Running script TrendMicro Installation...
Script exit code: 0
Script result: rm: /var/tmp/TrendMicro/Identifier.plist: No such file or directory
mkdir: /var/tmp/TrendMicro: File exists
Running command installer -verbose -pkg /var/tmp/TrendMicro/WFBS-SVC_Agent_installer.pkg -target /...
Result of command:
installer: Package name is Trend Micro Security Agent
installer: Upgrading at base path /
installer: Preparing for installation….....
installer: Preparing the disk….....
installer: Preparing Trend Micro Security Agent….....
installer: Waiting for other installations to complete….....
installer: Configuring the installation….....
installer:
installer: Writing files….....
installer: Running package scripts….....
installer: Running package scripts….....
installer: Running package scripts….....
installer: Running package scripts….....
installer: Running package scripts….....
installer: Running package scripts….....
installer: Running package scripts….....
installer: Validating packages….....
installer: The upgrade failed (The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.)
Running Recon...
Retrieving inventory preferences from https://mycompany.jamfcloud.com/...
Locating package receipts...
Locating accounts...
Locating software updates...
Searching path: /Applications
Locating printers...
Locating hardware information (Mac OS X 10.14.4)...
Gathering application usage information...
@mack525 Any Ideas? I am stumped.
hmmm... how are you deploying? Did you get/ add company Identifier to the script?
@mack525 I surly did I pulled it directly from Trend. As you can see it does not error out it completes but no Icons or Applications install on the machine it's self. It's as if all the JAMF configs are fine but the Installation itself is failing on the machine.
@mack525 It's definitely not executing the installation on the local machine I ran the .pkg manually from the tmp folder created and it installs without a problem.
So it has to do something with the execute command: installer -verbose -pkg /var/tmp/TrendMicro/WFBS-SVC_Agent_installer.pkg -target /
hmm.. may need to tune that execute command.. odd that its giving you an error.
Ok @mack525 so now it's giving me this.
Executing Policy WFBS TrenMicro Installation
Downloading https://use1-jcds.services.jamfcloud.com//download/19727f945eb74fb797d9d257fa52498e/TrendMicro.dmg?token=downloadedtokengoeshere
Verifying DMG...
Verifying package integrity...
Installing TrendMicro.dmg...
Closing package...
Running script TrendMicro Installation...
Script exit code: 0
Script result: rm: /var/tmp/TrendMicro/Identifier.plist: No such file or directory
mkdir: /var/tmp/TrendMicro: File exists
Running command installer -pkg /var/tmp/TrendMicro/WFBS-SVC_Agent_installer.pkg -target /...
Result of command:
installer: Package name is Trend Micro Security Agent
installer: Upgrading at base path /
installer: The upgrade failed (The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.)
Running Recon...
Retrieving inventory preferences from https://mycompany.jamfcloud.com/...
Locating package receipts...
Searching path: /Applications
Locating accounts...
Locating software updates...
Locating printers...
Locating hardware information (Mac OS X 10.14.4)...
Gathering application usage information...
@mack525 what ever is happening is happening during installation:
installer: Package name is Trend Micro Security Agent
installer: Upgrading at base path /
installer: The upgrade failed (The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.)
@CorpIT_eB hmmm.. let me search through some of our logs and match them up with yours..
@mack525 Any luck at all I have been unsuccessful at the installation at every test. I have opened up a ticket with trend as well to see if they might have any insight on this processes.
I feel like this may have something to do with the permissions the Agent is trying to run off, of even though I followed your instructions and set the user to root (0) & Group to Admin (80) Read and Write. I feel like it's trying to execute at the hidden private folder and throwing an Error I cant see first hand on the back end.
How do you have your permissions setup during creation at composer. Is it all root/admin from the top at the Private folder lvl or just at the Execution of the package?