Get the source code
Use Git to clone the repository:
git clone https://github.com/rainmeter/rainmeter.git
Alternatively, download the repository contents as a ZIP archive.
Building with Visual Studio
Rainmeter can be built using any version of Visual Studio 2015. If you don't already have VS2015, you can download Visual Studio Community 2015 for free. When installing, be sure to select the following components:
- Programming Languages -> Visual C++ -> Common Tools for Visual C++ 2015
- Programming Languages -> Visual C++ -> Windows XP Support for C++
After Visual Studio has been installed and updated, open Rainmeter.sln at the root of the repository to build. You may have to install .NET Framework 3.5.
Building the installer
First, download and install NSIS 3 or later.
Now you can simply run the Build.bat batch file in the Build folder of your local repository. If you see any "not found" errors, check that the paths in the
set commands at the top of the file match your environment. To build the release (non-beta) installer, use
To digitally sign the installer and the Rainmeter executables, obtain a Windows code signing certificate and create a Certificate.bat file alongside Build.bat with the following contents:
set CERTFILE=/path/to/PFXcert.p12 set CERTKEY=certpassword