App crashing or needs reinstall

Skill: software-reinstall · Risk: high · Steps: 18

Diagnoses application integrity issues and performs clean software reinstallation. Covers signature verification, thorough uninstallation, installer download with checksum validation, silent installation, and MDM-managed reinstalls.

What it does, step by step

Step 1. Checks whether the app is already installed and notes its version and location. read-only · list_installed_apps

Step 2. Verifies the app’s code signature is intact to determine if the bundle is corrupted. read-only · check_app_integrity

Step 3. Checks whether the app has the system permissions it needs to run properly. read-only · check_app_permissions

Step 4. Checks whether the device is managed by MDM to determine the best install route. read-only · check_mdm_enrollment

Step 4b. Asks whether to try safe fixes first or go straight to a clean reinstall. asks the user · wait_for_user_ack

Step 5. Resets the app’s saved preferences as a safe first attempt to fix the problem. deletes data, asks permission, preview first · reset_app_preferences

Step 5b. Clears the app’s cached data as a safe first attempt to fix the problem. makes a change, preview first · clear_app_cache

Step 6. Asks the user to relaunch the app and reports whether the safe fixes resolved it. asks the user · wait_for_user_ack

Step 7. Looks up the company’s app store to see if the app can be reinstalled through it. read-only · query_self_service_catalog

Step 8. Opens the company app store directly to the app’s install screen for the user. read-only · trigger_self_service_install

Step 9. Asks the user to complete the install through the company app store and reports the outcome. asks the user · wait_for_user_ack

Step 10. Removes the app and its leftover files completely to prepare for a clean reinstall. deletes data, asks permission, preview first · uninstall_app

Step 11. Asks the user for the official vendor download link for the app. asks the user · request_user_input

Step 12. Downloads the installer from the vendor and verifies it hasn’t been tampered with. read-only · download_installer

Step 13. Runs the downloaded installer to install the app without further prompts. deletes data, asks permission, preview first, conditional · run_installer

Step 14. Confirms the newly installed app version is properly registered on the device. read-only · list_installed_apps

Step 15. Asks the user to re-grant permissions and confirm the app now opens successfully. asks the user · wait_for_user_ack

Step 16. Summarizes the issue found, the fix applied, and any follow-up actions needed. no tools

Tools it may use

list_installed_apps, check_app_integrity, check_app_permissions, check_mdm_enrollment, query_self_service_catalog, trigger_self_service_install, uninstall_app, download_installer, run_installer, reset_app_preferences, clear_app_cache, wait_for_user_ack, request_user_input