onlyoffice_install.ps1 - limehawk/rmm-scripts GitHub Wiki
onlyoffice_install.ps1
Downloads and silently installs OnlyOffice Desktop Editors, a free office suite compatible with Microsoft Office formats.
Overview
Downloads and silently installs OnlyOffice Desktop Editors, a free office suite compatible with Microsoft Office formats.
Purpose
Downloads and silently installs OnlyOffice Desktop Editors, a free office suite compatible with Microsoft Office formats.
Prerequisites
- Windows OS (64-bit)
- Administrator privileges
- Internet connectivity
Configuration
Required Inputs
$downloadUrl: URL to download OnlyOffice MSI installer
Behavior
- Validates input parameters
- Downloads OnlyOffice MSI installer to temp directory
- Installs silently using msiexec
- Cleans up installer file
Security Notes
- No secrets in logs
- Downloads from official OnlyOffice website
Exit Codes
- 0 = Success
- 1 = Failure
Example Output
[ INPUT VALIDATION ]
--------------------------------------------------------------
Download URL : https://download.onlyoffice.com/install/desktop/...
Inputs validated successfully
[ DOWNLOAD ]
--------------------------------------------------------------
Downloading OnlyOffice Desktop Editors...
Download completed successfully
[ INSTALLATION ]
--------------------------------------------------------------
Installing OnlyOffice silently...
Installation completed successfully
[ CLEANUP ]
--------------------------------------------------------------
Removing installer file...
Cleanup completed
[ FINAL STATUS ]
--------------------------------------------------------------
Result : SUCCESS
OnlyOffice Desktop Editors installed successfully
[ SCRIPT COMPLETED ]
--------------------------------------------------------------
Version History
- 2024-12-01 v1.0.0 - Initial release - migrated from SuperOps
Links
- View Script Source
- Scripts - Back to script index