Update a software's install scripts
Replace the install, uninstall and/or post-install script of ONE custom-package software. Send at least one; omitted scripts are left untouched and nothing else changes (targeting, self-service, auto-update, setup experience). Only custom packages qualify — App Store / VPP, Fleet-maintained apps and IPA are rejected (Fleet re-derives FMA scripts on every update, so an edit there would silently evaporate). The new script runs on EVERY device this software targets, and Fleet cancels all pending installs for the title as soon as a package field changes, so queued installs must be retried. Use it only when the script is wrong for everyone — e.g. an .exe missing its silent-install flag, or an MSI script treating exit 3010/1641 (success, reboot required) as a failure. For one device, use runDeviceScript. Read the current scripts with getSoftware, show the user the exact before/after diff, and get explicit confirmation before calling.