An offline installer for Bash on Windows.
- No Internet access required when installing!
- Install any version of Ubuntu!
- Enable WSL.
RunOptionalFeatures.exe
, checkWindows Subsystem for Linux (Beta)
, clickOK
. - Download the binaries. (stable/latest)
Important: You have to unblock the zip file before you extract it because of a security mechanism of Windows! - Prepare an Ubuntu pre-installed disk image.
- Download the icon file: https://wsldownload.azureedge.net/ubuntu.ico.
- Run
LxRunOffline /install
. Or use other arguments you need, just like you're usingLxRun.exe
. - Enter the paths of the two files you prepared when prompted.
- Finish the installation.
LxRun.exe
uses InternetOpenUrl()
in wininet.dll
to download the files required. This application uses EasyHook to inject code to its process , and hooks this function and some others related. Then the download requests can be redirected to local files.