|
| 1 | +# BOINC BUDA Runner WSL Installer |
| 2 | + |
| 3 | +A Windows desktop installer that prepares your system to run BOINC BUDA Runner under Windows Subsystem for Linux (WSL) and installs or updates BUDA Runner for you. |
| 4 | + |
| 5 | +The app is a WPF application targeting .NET Framework 4.8. |
| 6 | + |
| 7 | +## What it does |
| 8 | + |
| 9 | +The installer performs a sequence of checks and guided actions: |
| 10 | + |
| 11 | +- Check installer update |
| 12 | + - Queries the latest GitHub release of this installer and informs you if a newer version exists. |
| 13 | + - Note: The installer does not self-update. If an update is available, please download it from the [Releases page](https://github.com/BOINC/boinc-buda-runner-wsl-installer/releases). |
| 14 | +- Check Windows version |
| 15 | + - Verifies that your Windows version supports WSL2. |
| 16 | +- Check Windows features |
| 17 | + - Ensures required Windows features (e.g., Virtual Machine Platform, WSL) are enabled. |
| 18 | + - Attempts to enable missing features. A restart may be required. |
| 19 | +- Check WSL installation and configuration |
| 20 | + - Installs WSL if missing, or fixes common configuration issues. |
| 21 | + - Sets the default WSL version to 2. |
| 22 | +- Check BOINC process |
| 23 | + - Detects if a BOINC client is currently running. If running, you�ll be asked to stop it before continuing. |
| 24 | +- Check BUDA Runner |
| 25 | + - Installs or updates BUDA Runner to the latest version, or confirms that it�s up to date. |
| 26 | + |
| 27 | +## Requirements |
| 28 | + |
| 29 | +- Supported OS: |
| 30 | + - Windows 11 (recommended) |
| 31 | + - Windows 10 version 2004 (build 19041) or newer (WSL2 support required) |
| 32 | +- Administrator privileges |
| 33 | + - Enabling Windows features and installing WSL require elevation. Run the installer as Administrator. |
| 34 | +- Internet access |
| 35 | + - Required to query GitHub releases, download WSL (when needed), and download BUDA Runner. |
| 36 | + |
| 37 | +## Quick start |
| 38 | + |
| 39 | +1. Download the latest release of the installer: |
| 40 | + - https://github.com/BOINC/boinc-buda-runner-wsl-installer/releases |
| 41 | +2. Right-click the downloaded installer executable and choose "Run as administrator". |
| 42 | +3. Click "Install". |
| 43 | +4. Follow on-screen prompts. If a restart is required after enabling Windows features, restart and re-run the installer. |
| 44 | +5. When all checks pass, BUDA Runner will be installed and ready to use. |
| 45 | + |
| 46 | +## UI overview |
| 47 | + |
| 48 | +- `Install` |
| 49 | + - Starts the full check-and-install sequence described above. |
| 50 | +- `Exit` |
| 51 | + - Closes the application. A confirmation dialog is shown. The same confirmation appears when closing the window via the system close button (X). |
| 52 | +- `Open Log` |
| 53 | + - Opens the current debug log file in your system�s default editor. |
| 54 | + |
| 55 | +The main view shows a list of steps with a status icon and text updated as the installer runs. |
| 56 | + |
| 57 | +## Logging and support |
| 58 | + |
| 59 | +- Debug logging is enabled by default. |
| 60 | +- Click `Open Log` to view the current log file. |
| 61 | +- If an error occurs, the app can help you open a pre-filled GitHub issue. Attach the log file to help with troubleshooting. |
| 62 | +- Report issues here: https://github.com/BOINC/boinc-buda-runner-wsl-installer/issues |
| 63 | + |
| 64 | +## Network endpoints used |
| 65 | + |
| 66 | +- GitHub Releases API to check for updates to this installer. |
| 67 | +- Official sources to download WSL and BUDA Runner artifacts when needed. |
| 68 | + |
| 69 | +## Build from source |
| 70 | + |
| 71 | +Prerequisites: |
| 72 | +- Windows 10/11 |
| 73 | +- Visual Studio 2022 with the ".NET desktop development" workload |
| 74 | +- .NET Framework 4.8 Developer Pack |
| 75 | + |
| 76 | +Steps: |
| 77 | +- Clone this repository |
| 78 | +- Open the solution/project in Visual Studio 2022 |
| 79 | +- Build and run the `boinc-buda-runner-wsl-installer` project |
| 80 | + |
| 81 | +Project notes: |
| 82 | +- Language version: C# 7.3 |
| 83 | +- UI: WPF |
| 84 | + |
| 85 | +## Limitations |
| 86 | + |
| 87 | +- The installer does not self-update. When a newer installer is available, you�ll be informed and can download it from the Releases page. |
| 88 | +- If BOINC is running, installation is paused until the user stops BOINC. |
| 89 | + |
| 90 | +## Contributing |
| 91 | + |
| 92 | +Contributions are welcome! |
| 93 | +- Open issues for bugs and feature requests: https://github.com/BOINC/boinc-buda-runner-wsl-installer/issues |
| 94 | +- Submit pull requests with clear descriptions and testing notes. |
| 95 | + |
| 96 | +## License |
| 97 | + |
| 98 | +This project is licensed under the GNU Lesser General Public License v3.0 or later (LGPL-3.0-or-later). |
| 99 | + |
| 100 | +- SPDX: LGPL-3.0-or-later |
| 101 | +- Full text: https://www.gnu.org/licenses/lgpl-3.0.html |
| 102 | + |
| 103 | +## Acknowledgements |
| 104 | + |
| 105 | +- BOINC community © https://boinc.berkeley.edu |
| 106 | +- Microsoft WSL © https://learn.microsoft.com/windows/wsl/ |
0 commit comments