Skip to content

onlyoffice_install.ps1

Corey Watson edited this page Dec 1, 2025 · 1 revision

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

  1. Validates input parameters
  2. Downloads OnlyOffice MSI installer to temp directory
  3. Installs silently using msiexec
  4. 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

Clone this wiki locally