Use Addigy Smart Software to detect and remotely update Vectorworks 2025 across managed Macs, with condition and remediation scripts for fleet deployment.

As per the “install” post, this is also executed via Addigy Smart Software.

Condition Script

Script
#====app_exists====#
checkFilePath="/Applications/Vectorworks 2025/Vectorworks 2025.app"
if [ -e "$checkFilePath" ]; then
	echo "File $checkFilePath exists"
else
	echo "File $checkFilePath does not exist"
	exit 1
fi
#====process_not_running====#
processName="Vectorworks"
if ps axco comm | grep -q "$processName"; then
	echo "Process $processName running"
	exit 1
else
	echo "Process $processName not running"
fi
#====update_available====#
update=$('/Applications/Vectorworks 2025/Vectorworks 2025 Install Manager.app/Contents/Resources/cli.sh' check-simple)
if [ "$update" = "1" ]; then
    exit 0
else
    echo "no update available..."
    exit 1
fi

Update Script

Script
# Create a timestamp
timestamp=$(date "+%Y-%m-%d_%H-%M")
update_dir="/path/to/folder/$timestamp"
mkdir -p "$update_dir"
# Download the latest updater to that directory
"/Applications/Vectorworks 2025/Vectorworks 2025 Install Manager.app/Contents/Resources/cli.sh" download-latest-updater -p m "$update_dir"
# Move into the updater directory
cd "$update_dir"
# Find the downloaded zip file
zip_file=( *.zip )
# Extract silently to the application directory
if [[ -e "${zip_file}" ]]; then
    unzip -oqq "${zip_file}" -d "/Applications/Vectorworks 2025"
else
    echo "zip file not found"
    exit 1
fi
cat <<EOF > "/path/to/folder/vw2025_update_script.sh"
#!/bin/bash
# Exit script on any error
set -e
# Run as AddigySSH user
su AddigySSH -c '
# Apply the update with elevated privileges
"/Applications/Vectorworks 2025/Vectorworks 2025 Install Manager.app/Contents/Resources/cli.sh" update 
  --installdir "/Applications/Vectorworks 2025" 
  --serial "xxxxx-...."
'
EOF
# Make the script executable
chmod +x "/path/to/folder/vw2025_update_script.sh"
# Run the script
sh "/path/to/folder/vw2025_update_script.sh"
# Check and update permissions
if [ -d '/Applications/Vectorworks 2025/Libraries' ]; then
    chmod -R 0777 '/Applications/Vectorworks 2025/Libraries'
fi

TIP > Permissions have to be spot on everywhere for this to work.