This PowerShell script automates the process of checking for the latest version of WinRAR and updating it silently on your Windows system. No more manual downloads or installations - just run the script and stay up to date!
This repository includes three PowerShell-based approaches to automatically update WinRAR on Windows:
- β Direct from rarlab.com
- π« Using Chocolatey
- πͺ Using Winget
Each method has its own strengths and trade-offs. Choose the one that best fits your system setup and update preferences.
Personally, I like the direct-from-rarlab.com method best.
Feature | Direct from RARLAB | Using Chocolatey (choco ) |
Using Winget (winget ) |
---|---|---|---|
Update speed | π₯π₯π₯ Fastest (same-day) | π₯ Fast (same-day, or with a slight delay of about 1β3 days) | π’ Often delayed (daysβweeks) |
Can install beta versions | β Yes (pulls directly from RARLAB, so you'll get beta versions too) | β No (choco usually sticks to stable releases) |
β No (winget usually sticks to stable releases) |
Consistency | βββ (May break if rarlab.com changes its website or file naming format. But honestly, they've kept things stable for years) | βββββ (Stable via package manager) | βββββ (Stable via package manager) |
Version check before update | β Yes | β Yes | β Yes |
Requires package manager | β No | β
Yes (choco ) |
β
Yes (winget ) |
Auto installs package manager | β No (Because we don't need) | β Yes | β Yes |
Silent install | β Yes | β Yes | β Yes |
Skips if WinRAR is running | β Yes | β Yes | β Yes |
Scheduled task support | β Yes | β Yes | β Yes |
Logging support | β Yes | β Yes | β Yes |