I got this script working on a Few apps but having issues on 3 apps with the same error msg.. Im guessing 1 fix will fix them all.. Would anyone be able to assist and guide me with what im doing wrong.. Examples are below..
Adobe is a pkg file
Googledrive is pkg file inside a dmg
Vonage is .app file inside a dmg..
Mon Nov 15 20:52:34 EST 2021 | Copying app files to /Applications/Google Drive.app
rsync: link_stat "/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.vQSXll83/Google Drive/*.app/." failed: No such file or directory (2)
rsync error: some files could not be transferred (code 23) at /System/Volumes/Data/SWE/macOS/BuildRoots/220e8a1b79/Library/Caches/com.apple.xbs/Sources/rsync/rsync-55/rsync/main.c(996) [sender=2.6.9]
Mon Nov 15 20:52:34 EST 2021 | Un-mounting [/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.vQSXll83/Google Drive]
Mon Nov 15 20:52:35 EST 2021 | Failed to install [Google Drive]
Mon Nov 15 20:53:24 EST 2021 | Copying app files to /Applications/Vonage Business.app
rsync: link_stat "/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.DfX4hybE/VonageBusiness/*.app/." failed: No such file or directory (2)
rsync error: some files could not be transferred (code 23) at /System/Volumes/Data/SWE/macOS/BuildRoots/220e8a1b79/Library/Caches/com.apple.xbs/Sources/rsync/rsync-55/rsync/main.c(996) [sender=2.6.9]
Mon Nov 15 20:53:24 EST 2021 | Un-mounting [/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.DfX4hybE/VonageBusiness]
Mon Nov 15 20:53:24 EST 2021 | Failed to install [VonageBusiness]
Mon Nov 15 20:45:51 EST 2021 | Copying app files to /Applications/Adobe Acrobat Reader DC.app
rsync: link_stat "/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.oO1vDTqk/AdobeAcrobatDC/*.app/." failed: No such file or directory (2)
rsync error: some files could not be transferred (code 23) at /System/Volumes/Data/SWE/macOS/BuildRoots/220e8a1b79/Library/Caches/com.apple.xbs/Sources/rsync/rsync-55/rsync/main.c(996) [sender=2.6.9]
Mon Nov 15 20:45:51 EST 2021 | Un-mounting [/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.oO1vDTqk/AdobeAcrobatDC]
Mon Nov 15 20:45:51 EST 2021 | Failed to install [AdobeAcrobatDC]
# User Defined variables
weburl="https://vbc-downloads.vonage.com/mac/VonageBusinessSetup.dmg" # What is the Azure Blob Storage URL?
appname="VonageBusiness" # The name of our App deployment script (also used for Octory monitor)
app="Vonage Business.app" # The actual name of our App once installed
logandmetadir="/Library/Logs/Microsoft/IntuneScripts/installVonageBusiness" # The location of our logs and last updated data
processpath="/Applications/Vonage Business.app/Contents/MacOS/Vonage Business" # The process name of the App we are installing
terminateprocess="false" # Do we want to terminate the running process? If false we'll wait until its not running
autoUpdate="false" # Application updates itself, if already installed we should exit