JetBrains Rider 2022 Silent Install (How-To Guide)

JetBrains Rider is a cross-platform .NET IDE based on the IntelliJ platform and ReSharper. This article will serve as an informative guide and give you a clear understanding of how to perform a silent installation of JetBrains Rider 2022 from the command line using the EXE installer.

How to Install JetBrains Rider 2022 Silently

JetBrains Rider 2022 Silent Install (EXE)

  1. Navigate to: https://www.jetbrains.com/rider/download/other.html
  2. Under Version 2022.x, select the Windows EXE
  3. Download the JetBrains.Rider-2022.x.x.exe to a folder created at (C:\Downloads)
  4. Open Notepad or your favorite text editor
  5. Add the following lines:
mode=admin
launcher64=1
  1. Save the file to the C:\Downloads directory and name it: silent.config
  2. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  3. Navigate to the C:\Downloads folder
  4. Enter the following command:
    • JetBrains.Rider-2022.x.x.exe /S /CONFIG=.\silent.config /D=C:\Program Files\JetBrains Rider 2022
  5. Press Enter

After a few minutes you should see the JetBrains Rider 2022 Desktop Shortcut appear. You will also find entries in the Start Menu, Installation Directory, and Programs and Features in the Control Panel.

Software Title:JetBrains Rider 2022
Vendor:JetBrains s.r.o
Architecture:x86_x64
Installer Type:EXE
Silent Install Switch:JetBrains.Rider-2022.x.x.exe /S /CONFIG=.\silent.config /D=C:\Program Files\JetBrains Rider 2022
Silent Uninstall Switch:"%ProgramFiles%\JetBrains Rider 2022\bin\Uninstall.exe" /S
Download Link:https://www.jetbrains.com/rider/download/#section=windows
PowerShell Script:https://silentinstallhq.com/jetbrains-rider-2022-install-and-uninstall-powershell/
Detection Script:https://silentinstallhq.com/create-a-custom-detection-script-for-jetbrains-rider-powershell/

The information above provides a quick overview of the software title, vendor, silent install, and silent uninstall switches. The download link provided take you directly to the vendors website. Continue reading if you are interested in additional details and configurations.


Additional Configurations

Create a JetBrains Rider Installation Log File

The JetBrains Rider installer offers the option to generate a log file during installation to assist with troubleshooting should any problems arise. You can use the following commands to create a verbose log file with details about the installation.

JetBrains Rider 2022 Silent Install with Logging

JetBrains.Rider-2022.x.x.exe /S /CONFIG=.\silent.config /LOG=C:\Windows\Temp\Rider-Install.log /D=C:\Program Files\JetBrains Rider 2022

Exclude Desktop Shortcut During JetBrains Rider Install

  1. Open the silent.config file mentioned above with Notepad
  2. Modify the following line or exclude it all together
launcher64=0
  1. Save the file to update the changes
  2. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  3. Navigate to the C:\Downloads folder
  4. Enter the following command:
    • JetBrains.Rider-2022.x.x.exe /S /CONFIG=.\silent.config /D=C:\Program Files\JetBrains Rider 2022
  5. Press Enter

Add the Launchers Path to the PATH Environment Variable

  1. Open the silent.config file mentioned above with Notepad
  2. Add the following line:
updatePATH=1
  1. Save the file to update the changes
  2. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  3. Navigate to the C:\Downloads folder
  4. Enter the following command:
    • JetBrains.Rider-2022.x.x.exe /S /CONFIG=.\silent.config /D=C:\Program Files\JetBrains Rider 2022
  5. Press Enter

Add “Open Folder as Project” to Context Menu

  1. Open the silent.config file mentioned above with Notepad
  2. Add the following line:
updateContextMenu=1
  1. Save the file to update the changes
  2. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  3. Navigate to the C:\Downloads folder
  4. Enter the following command:
    • JetBrains.Rider-2022.x.x.exe /S /CONFIG=.\silent.config /D=C:\Program Files\JetBrains Rider 2022
  5. Press Enter

Register File Associations

  • Open the silent.config file mentioned above with Notepad
  • Add the following line for .sln file association:
.sln=1
  • Add the following line for .cs file association:
.cs=1
  • Add the following line for .cshtml file association:
.cshtml=1
  • Add the following line for .csproj file association:
.csproj=1
  • Save the file to update the changes
  • Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  • Navigate to the C:\Downloads folder
  • Enter the following command:
    • JetBrains.Rider-2022.x.x.exe /S /CONFIG=.\silent.config /D=C:\Program Files\JetBrains Rider 2022
  • Press Enter

JetBrains Rider Silent Configuration Template (silent.config)

; Installation mode. It can be user or admin.
; NOTE: for admin mode please use "Run as Administrator" for command prompt to avoid UAC dialog.
mode=admin

; Desktop shortcut for launchers
launcher32=0
launcher64=1

; Add launchers path to PATH env variable
updatePATH=0

; Add "Open Folder as Project" to context menu
updateContextMenu=1

; Download and install jre32
jre32=0

; List of associations. To create an association change value to 1.
.sln=0
.cs=0
.cshtml=0
.csproj=0

Suppress JetBrains Rider 2022 EULA

  • Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  • Enter the following command:
REG ADD "HKCU\Software\JavaSoft\Prefs\jetbrains\privacy_policy" /v "eua_accepted_version" /t REG_SZ /d "1.4"

Disable JetBrains Rider Data Sharing (Usage Statistics) Prompt

  • Open Notepad or your favorite text editor
  • Add the following line:
rsch.send.usage.stat:1.1:0:1111111111111

Save the file to C:\Downloads\ and name it: accepted (No File Extension)
Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
Navigate to the C:\Downloads\ folder
Enter the following command to copy the accepted file to “C:\Users\%Username%\AppData\Roaming\JetBrains\consentOptions”:

xcopy /y ".\accepted" "%AppData%\JetBrains\consentOptions\"

How to Uninstall JetBrains Rider 2022 Silently

Check out the following posts for a scripted solution:

JetBrains Rider 2022 Install and Uninstall (PowerShell)
JetBrains Rider 2022 Silent Uninstall (PowerShell)
  1. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  2. Enter the following command:

JetBrains Rider 2022 Silent Uninstall (EXE)

"%ProgramFiles%\JetBrains Rider 2022\bin\Uninstall.exe" /S

Always make sure to test everything in a development environment prior to implementing anything into production. The information in this article is provided “As Is” without warranty of any kind.