Opera GX is a special version of the Opera browser built specifically for gamers. The browser includes unique features like CPU, RAM and Network limiters to help you get the most out of both gaming and browsing. This article will serve as an informative guide and give you a clear understanding of how to perform a silent installation of Opera GX from the command line using the EXE installer.
How to Install the Opera GX Browser Silently
Opera GX Browser Silent Install
- Navigate to: https://get.geo.opera.com/pub/opera_gx/
- Select the version of your choice
- Download the Opera_GX_w.x.y.z_Setup_x64.exe to a folder created at (C:\Downloads)
- 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:
Opera_GX_w.x.y.z_Setup_x64.exe /silent /allusers=1 /setdefaultbrowser=0 /launchbrowser=0 |
After a few moments you should see the Opera GX Desktop Shortcut appear. You will also find entries in the Start Menu, Installation Directory, and Programs and Features in the Control Panel.
| Software Title: | Opera GX |
| Vendor: | Opera Software |
| Architecture: | x64 |
| Installer Type: | EXE |
| Silent Install Switch: | |
| Silent Uninstall Switch: | "%ProgramFiles%\Opera\opera.exe" /uninstall /runimmediately |
| Download Link: | https://get.geo.opera.com/pub/opera_gx/ |
| PowerShell Script: | Opera GX Browser | PowerShell Script |
| PSADT v4: | Opera GX Browser | PSADT v4 |
The information above provides a quick overview of the software title, vendor, silent install, and silent uninstall switches. The download links provided take you directly to the vendors website. Continue reading if you are interested in additional details and configurations.
Additional Configurations
Opera GX Browser Silent Install for Current User Only
|
Change the Opera GX Browser Default Installation Directory
You can change the default installation directory by using the following command line parameters. In this example, I’m installing Opera to “C:\Opera”
|
Set Opera GX as the Default Browser
setdefaultbrowser=[0|1] If true, makes Opera the default browser for the computer. Default value: False
|
Exclude the Opera GX Browser Desktop Shortcut
desktopshortcut=[0|1] If true, creates a shortcut for Opera on the desktop. Default value: True
|
Exclude the Opera GX Browser Start Menu Shortcut
startmenushortcut=[0|1] If true, creates a shortcut for Opera on the start menu. Default value: True
|
Do Not Pin Opera GX Browser to the Taskbar
pintotaskbar=[0|1] If true, pins Opera to the taskbar. Default value: True
|
Do Not Import Browser Data from Previous Default Browser
import-browser-data=[0|1] If true, Opera is set up to import user data from the previous default browser when creating new user profiles. Default value: True
|
Disable Opera GX Browser Crash Reporting
Opera will gather and report crashes by default. Use the following commands to disable them.
|
Disable Opera GX Browser Statistics Reporting
Opera will gather and report statistics by default. Use the following commands to disable them.
|
Disable Opera GX Browser Installer Statistics Reporting
Opera will gather and report installer statistics by default. Use the following commands to disable them.
|
Automatically Launch the Opera GX Browser After Installation
launchbrowser=[0|1] If true, Opera is launched once the installation is completed. Default value: True
|
Enable Opera GX Browser Run at Startup
run-at-startup=[0|1] If true, Opera will enable the run at startup preference by default. Default value: False
|
Disable Opera GX Auto Update Scheduled Tasks
## Disable Opera GX Auto Update Scheduled Tasks
$patterns = @(
"Opera GX scheduled assistant Autoupdate*",
"Opera GX scheduled Autoupdate*"
)
foreach ($pattern in $patterns) {
$tasks = Get-ScheduledTask | Where-Object { $_.TaskName -like $pattern }
if ($tasks) {
foreach ($task in $tasks) {
try {
Disable-ScheduledTask -InputObject $task
Write-Output "Disabled task: $($task.TaskName)"
}
catch {
Write-Output "Failed to disable task: $($task.TaskName). $_"
}
}
}
else {
Write-Output "No tasks matched pattern: $pattern"
}
}
Disable Opera GX Auto Updater
## Disable Opera Auto Updater
$apps = Get-ItemProperty @(
'HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\*',
'HKLM:\Software\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\*'
) | Where-Object { $_.DisplayName -match '^Opera (Stable|Developer|GX|Air|Beta)' }
foreach ($app in $apps) {
if ($app.InstallLocation) {
$path = Join-Path $app.InstallLocation 'autoupdate'
$updater = Join-Path $path 'opera_autoupdate.exe'
if (Test-Path $updater) {
$disabled = "$updater.disabled"
if (Test-Path $disabled) {
Write-Output "Updater already disabled: $disabled"
continue
}
try {
Rename-Item -Path $updater -NewName $disabled -Force
Write-Output "Disabled updater at: $updater"
}
catch {
Write-Output "Failed to rename: $updater"
}
}
}
else {
Write-Output "No InstallLocation found for one entry"
}
}
How to Uninstall the Opera GX Browser Silently
Check out the following posts for a scripted solution:
| Opera GX Browser Install and Uninstall (PSADT v4) |
| Opera GX Browser Install and Uninstall (PowerShell) |
- Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
- Enter one of the following commands:
Opera GX 32-bit Silent Uninstall (EXE) on 32-bit System
"%ProgramFiles%\Opera\opera.exe" /uninstall /runimmediately |
Opera GX 32-bit Silent Uninstall (EXE) on 64-bit System
"%ProgramFiles(x86)%\Opera\opera.exe" /uninstall /runimmediately |
Opera GX 64-bit Silent Uninstall (EXE) on 64-bit System
"%ProgramFiles%\Opera\opera.exe" /uninstall /runimmediately |
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.