Open DamagedDingo opened 6 months ago
Here is another application doing the same thing. As i'm typing this I think its when i switched to using latest script so I will need to rewrite it in an older one and see if it goes away.
LatestSampleScript/installIntuneApp4.05.zsh
##############################################################
# Thu May 16 08:53:21 AEST 2024 | Logging install of [JabraDirect] to [/Library/Logs/Microsoft/IntuneScripts/installJabraDirect/JabraDirect.log]
############################################################
Thu May 16 08:53:21 AEST 2024 | Checking if we need Rosetta 2 or not
Thu May 16 08:53:21 AEST 2024 | Waiting for other [/usr/sbin/softwareupdate] processes to end
Thu May 16 08:53:21 AEST 2024 | No instances of [/usr/sbin/softwareupdate] found, safe to proceed
Thu May 16 08:53:22 AEST 2024 | Intel processor installed. No need to install Rosetta.
Thu May 16 08:53:22 AEST 2024 | Aria2 missing, lets download and install
Thu May 16 08:53:23 AEST 2024 | Downloaded aria2
Thu May 16 08:53:23 AEST 2024 | Mounting Aria DMG...
Thu May 16 08:53:32 AEST 2024 | Mounted DMG
installer: Package name is aria1 1.35.0
installer: Installing at base path /
installer: The install was successful.
Thu May 16 09:08:08 AEST 2024 | Aria2 installed
Thu May 16 09:08:19 AEST 2024 | Checking if we need to install or update [JabraDirect]
Thu May 16 09:08:19 AEST 2024 | [JabraDirect] not installed, need to download and install
Thu May 16 09:08:19 AEST 2024 | Dock is here, lets carry on
Thu May 16 09:08:19 AEST 2024 | Starting downlading of [JabraDirect]
Thu May 16 09:08:19 AEST 2024 | Downloading JabraDirect [https://jabraxpressonlineprdstor.blob.core.windows.net/jdo/JabraDirectSetup.dmg]
Thu May 16 09:08:50 AEST 2024 | Found downloaded tempfile [JabraDirectSetup.dmg]
Thu May 16 09:08:50 AEST 2024 | Found DMG, looking inside...
Thu May 16 09:08:50 AEST 2024 | Mounting Image [/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.iYWNOLPDj2/JabraDirect] [JabraDirectSetup.dmg]
Thu May 16 09:09:07 AEST 2024 | Mounted succesfully to [/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.iYWNOLPDj2/JabraDirect]
Thu May 16 09:09:07 AEST 2024 | Detected PKG, setting PackageType to DMGPKG
Thu May 16 09:09:07 AEST 2024 | Un-mounting [/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.iYWNOLPDj2/JabraDirect]
Thu May 16 09:09:13 AEST 2024 | Downloaded [Jabra Direct.app] to [JabraDirectSetup.dmg]
Thu May 16 09:09:13 AEST 2024 | Detected install type as [DMGPKG]
Thu May 16 09:09:13 AEST 2024 | Waiting for other [/Applications/Jabra Direct.app/Contents/MacOS/Jabra Direct] processes to end
Thu May 16 09:09:14 AEST 2024 | No instances of [/Applications/Jabra Direct.app/Contents/MacOS/Jabra Direct] found, safe to proceed
Thu May 16 09:09:14 AEST 2024 | Installing [JabraDirect]
Thu May 16 09:09:14 AEST 2024 | Mounting Image
Thu May 16 09:09:14 AEST 2024 | Starting installer for [/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.iYWNOLPDj2/JabraDirect/JabraDirectSetup.pkg]
installer: Package name is Jabra Direct
installer: Installing at base path /
installer: The install was successful.
installDMGPKG:46: no matches found: /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.iYWNOLPDj2/JabraDirect/*.mpkg
I am trying to install the Nessus agent and it mounts the image, finds the DMG contains a PKG, starts the PKG installer, then fails with no match for *.mpkg.. The app is installed (I think correctly), but the script fails so it doesn't run the last line which is to connect the agent to the server, and it reports as failed in Intune. The agent doesn't install into /Applications so that might also have something to do with it.
NessusAgent.log Nessus_Agent_Install cleaned.txt