GoLand is an IDE by JetBrains aimed at providing an ergonomic environment for Go development. This article will serve as an informative guide and give you a clear understanding of how to perform a silent installation of GoLand 2022 from the command line using the EXE installer.
After a few minutes you should see the GoLand 2022 Desktop Shortcut appear. You will also find entries in the Start Menu, Installation Directory, and Programs and Features in the Control Panel.
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 GoLand Installation Log File
The GoLand 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.
; 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
; Regenerating the Shared Archive
; https://docs.oracle.com/en/java/javase/11/vm/class-data-sharing.html
regenerationSharedArchive=1
; List of associations. To create an association change value to 1.
.go=0
Suppress JetBrains GoLand 2022 EULA
Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
Disable GoLand Data Sharing (Usage Statistics) Prompt
OpenNotepad 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”:
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.