foxit_pdf_editor_plus_install.ps1 - limehawk/rmm-scripts GitHub Wiki
foxit_pdf_editor_plus_install.ps1
Installs Foxit PDF Editor from Microsoft Store via winget.
Overview
| Property | Value |
|---|---|
| Platform | Windows |
| Version | 1.0 |
| Category | Application Installers |
Purpose
Installs Foxit PDF Editor from Microsoft Store source via winget. The MS Store version validates licenses server-side, supporting all Foxit subscription types including PDF Editor+, Suite Pro Teams, and other subscription SKUs.
Requirements
- Windows 10/11 with winget installed
- Administrator/SYSTEM privileges
- Internet connectivity to Microsoft Store
Inputs
None - package ID is hardcoded (XPDNZD76FP5JR7)
Behavior
- Verifies winget is available
- Installs Foxit PDF Editor from Microsoft Store source
- Reports installation result based on exit code
Exit Codes
| Code | Description |
|---|---|
| 0 | Success |
| 1 | Failure (winget not found or installation error) |
Notes
- Silent install with automatic agreement acceptance
- Uses msstore source for proper subscription license validation
- User must sign into Foxit account post-install to activate license
Example Output
[ SETUP ]
--------------------------------------------------------------
Winget found at C:\Users\admin\AppData\Local\Microsoft\WindowsApps\winget.exe
[ INSTALLATION ]
--------------------------------------------------------------
Package ID : XPDNZD76FP5JR7
Source : msstore
Installing Foxit PDF Editor from Microsoft Store...
Installation completed successfully
Exit Code : 0
[ FINAL STATUS ]
--------------------------------------------------------------
Result : SUCCESS
Foxit PDF Editor installed successfully
User must sign into Foxit account to activate license
[ SCRIPT COMPLETED ]
--------------------------------------------------------------
Changelog
- 2025-06-15 v1.0 Initial release - MS Store installation method