mirror of
https://github.com/fleetdm/fleet
synced 2026-04-21 21:47:20 +00:00
Closes #31077. - Added logic to wait for the uninstall command to finish running before exiting the script. - Also added the `/norestart` flag so users who click uninstall in self-service aren't at risk of a sudden and unintentional reboot as the result of software uninstalling. # Checklist for submitter If some of the following don't apply, delete the relevant line. <!-- Note that API documentation changes are now addressed by the product design team. --> - [x] Changes file added for user-visible changes in `changes/`, `orbit/changes/` or `ee/fleetd-chrome/changes`. See [Changes files](https://github.com/fleetdm/fleet/blob/main/docs/Contributing/guides/committing-changes.md#changes-files) for more information. --------- Co-authored-by: Ian Littman <iansltx@gmail.com> |
||
|---|---|---|
| .. | ||
| install_deb.sh | ||
| install_exe.ps1 | ||
| install_msi.ps1 | ||
| install_pkg.sh | ||
| install_rpm.sh | ||
| README.md | ||
| remove_deb.sh | ||
| remove_exe.ps1 | ||
| remove_msi.ps1 | ||
| remove_pkg.sh | ||
| remove_rpm.sh | ||
| uninstall_deb.sh | ||
| uninstall_exe.ps1 | ||
| uninstall_msi.ps1 | ||
| uninstall_msi_with_upgrade_code.ps1 | ||
| uninstall_pkg.sh | ||
| uninstall_rpm.sh | ||
File scripts
This folder contains scripts to install/remove software for different types of installers.
Scripts are stored on their own files for two reasons:
- Some of them are read and displayed in the UI.
- It's helpful to have good syntax highlighting and easy ways to run them.
Scripts
install_*.*: Default installer scripts for each platform.uninstall_*.*: Default uinstaller scripts for each platform.remove_*.*: Uninstaller scripts used when the uninstall script is not set (for packages added before the uninstall feature was released) or empty uninstaller scripts.
Variables
The scripts in this folder accept variables like $VAR_NAME that will be replaced/populated by fleetd when they run.
Supported variables are:
$INSTALLER_PATHpath to the installer file.