Setup-Manager icon indicating copy to clipboard operation
Setup-Manager copied to clipboard

FR - An ability to verify application install status and report failures at the end

Open master-vodawagner opened this issue 6 months ago • 10 comments

An ability similar Setup your Mac that can locally validate scenarios like application exists or various settings are configured and where things failed validation a report page at the end summarising the state.

master-vodawagner avatar Jun 21 '25 09:06 master-vodawagner

note that you can currently achieve this with custom policy/script that works on the finishedTrigger or finishedScript but I understand the request for having this within the Setup Manager UI.

scriptingosx avatar Jun 26 '25 09:06 scriptingosx

could you specify "various settings are configured"? what kind of "various settings" are you specifically interested in?

scriptingosx avatar Jun 26 '25 09:06 scriptingosx

We have these as checks on the OS to ensure they're applied and on

FileVault enabled/On Firewall enabled/On Rosetta installed although thats getting deprecated so meh

SYM has local abilities to run scripts to validate on status, so those settings maybe something that JSM can already do perhaps?

master-vodawagner avatar Jun 26 '25 13:06 master-vodawagner

FileVault is something Setup Manager cannot do, because FileVault doesn't properly enable until (right after) user creation.

This is where custom verification scripts/policies have to do the reporting.

Also, FileVault (as well as SIP and other security settings) is something that should be continually monitored (extension attributes, Jamf Protect, etc.) anyway

scriptingosx avatar Jun 26 '25 14:06 scriptingosx

Yes those things should be continually checked in MDM, it’s still useful IMO to show those items are configured and/or enabled for the user.

FV2 could be shown as configured but deferred or I’d imagine most orgs have enabled at ADE

master-vodawagner avatar Jun 26 '25 19:06 master-vodawagner

I would love this too:

It would be great if it will deliver an Overview of all Steps (Sucessfull/Failed) at the end and a possibility to start over. Additional it would be great if it will check if an application is already installed and skip them.

phillscholl avatar Jul 09 '25 11:07 phillscholl

Additional it would be great if it will check if an application is already installed and skip them.

Installomator and Jamf App Installers already do this. you can add this to a policy by scoping to a smart group that check for the app being installed or out of date.

scriptingosx avatar Jul 10 '25 14:07 scriptingosx

+1 on the Sucessfull/Failed check at the end and a possibility to start over. We have users in asia with not so reliable home internet and a retry would be much easier than have to erase and restart from scratch.

ooftee avatar Oct 23 '25 00:10 ooftee

Most of our fails are due to network, so this is how we check for network connectivity right now, it would be nice to have something similar built in:

#!/bin/bash

# Max Wait Count for network checks
max_wait_count=5

# Network Check function
wait_for_network() {
	echo "Checking for network..."
	# check for network connection
	nc=1
	while [[ $(ifconfig -a inet 2>/dev/null | sed -n -e '/127.0.0.1/d' -e '/0.0.0.0/d' -e '/inet/p' | wc -l) -lt 1 ]] ; do
		if [[ ${nc} -gt ${max_wait_count} ]] ; then
			echo "Network connection not available after ${max_wait_count} attempts"
			exit 1
		fi
		echo "Waiting for network connection... attempt $nc"
		sleep 3
		(( nc++ ))
	done
	# check for internet connection
	ic=1
	while ! curl --silent http://captive.apple.com/hotspot-detect.html 2>/dev/null | grep -q Success; do
		if [[ ${ic} -gt ${max_wait_count} ]]; then
			echo "Internet connection not available after ${max_wait_count} attempts"
			exit 1
		fi
		echo "Waiting for internet connection... attempt $ic"
		sleep 3
		(( ic++ ))
	done
	echo "Network is connected"
}

ooftee avatar Oct 23 '25 00:10 ooftee

related Network outage handling: #15

scriptingosx avatar Oct 28 '25 07:10 scriptingosx