Eclipse IDE for C/C++ Developers 2022 Silent Install (How-To Guide)

This Eclipse package is an IDE for C/C++ Developers. This article will serve as an informative guide and give you a clear understanding of how to perform a silent installation of Eclipse IDE for C/C++ Developers from the command line using the ZIP file.

How to Install Eclipse IDE for C/C++ Developers 2022 Silently

Eclipse IDE for C/C++ Developers 2022 Silent Install

  1. Navigate to: https://www.eclipse.org/downloads/packages/
  2. Click the Windows x86_x64 link next to Eclipse IDE for C/C++ Developers to download the zip file
  3. Download the ZIP file to a folder created at (C:\Downloads\Eclipse)
  4. Navigate to: https://www.7-zip.org/download.html
  5. Click the Download link for the 64-bit x64 .exe
  6. Download the EXE to a folder created at (C:\Downloads)
  7. Navigate to: https://adoptopenjdk.net/
  8. Download the Windows x64 version of your choice
  9. Download the MSI to a folder created at (C:\Downloads)
  10. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  11. Navigate to the C:\Downloads folder
  12. Enter the following commands:
7z2107-x64.exe /S
MsiExec.exe /i OpenJDKxxx-jdk_x64_windows_hotspot_x.y.z_x.msi ALLUSERS=1 /qn
"%ProgramFiles%\7-Zip\7z.exe" x -o"%ProgramFiles%\Eclipse\cpp-2022" ".\eclipse-cpp-2022-XX-R-win32-x86_64.zip"

Create an Eclipse Start Menu Shortcut with Windows PowerShell

  • Open Notepad or your favorite text editor
  • Add the following lines:
$TargetFile = "$env:ProgramFiles\Eclipse\cpp-2022\eclipse\eclipse.exe"
$ShortcutFile = "$env:ALLUSERSPROFILE\Microsoft\Windows\Start Menu\Programs\Eclipse IDE for CPP Developers.lnk"
$WScriptShell = New-Object -ComObject WScript.Shell
$Shortcut = $WScriptShell.CreateShortcut($ShortcutFile)
$Shortcut.TargetPath = $TargetFile
$Shortcut.Save()
  • Save the file to C:\Downloads\Eclipse and name it: EclipseStartMenuSC.ps1
  • Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  • Navigate to the C:\Downloads\Eclipse folder
  • Enter the following command:
    • Powershell.exe -ExecutionPolicy ByPass -File ".\EclipseStartMenuSC.ps1"

Create an Eclipse Desktop Shortcut with Windows PowerShell

  • Open Notepad or your favorite text editor
  • Add the following lines:
$TargetFile = "$env:ProgramFiles\Eclipse\cpp-2022\eclipse\eclipse.exe"
$ShortcutFile = "$env:Public\Desktop\Eclipse IDE for CPP Developers.lnk"
$WScriptShell = New-Object -ComObject WScript.Shell
$Shortcut = $WScriptShell.CreateShortcut($ShortcutFile)
$Shortcut.TargetPath = $TargetFile
$Shortcut.Save()
  • Save the file to C:\Downloads\Eclipse and name it: EclipseDesktopSC.ps1
  • Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  • Navigate to the C:\Downloads\Eclipse folder
  • Enter the following command:
    • Powershell.exe -ExecutionPolicy ByPass -File ".\EclipseDesktopSC.ps1"

Software Title:Eclipse IDE for C/C++ Developers
Vendor:Eclipse Foundation, Inc.
Version:2022
Architecture:x86_x64
Installer Type:EXE
Silent Install Switch (Step 1)7z2107-x64.exe /S
Silent Install Switch (Step 2)MsiExec.exe /i OpenJDKxxx-jdk_x64_windows_hotspot_x.y.z_x.msi ALLUSERS=1 /qn
Silent Install Switch (Step 3)"%ProgramFiles%\7-Zip\7z.exe" x -o"%ProgramFiles%\Eclipse\cpp-2022" ".\eclipse-cpp-2022-XX-R-win32-x86_64.zip"
Silent Uninstall Switch:RMDIR /Q /S "%ProgramFiles%\Eclipse\cpp-2022"
Download Link:https://www.eclipse.org/downloads/packages/
PowerShell Script:https://silentinstallhq.com/eclipse-ide-for-c-c-developers-2022-install-and-uninstall-powershell/

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.


How to Uninstall Eclipse IDE for C/C++ Developers 2022 Silently

Check out the Eclipse IDE for C/C++ Developers 2022 Install and Uninstall (PowerShell) post for a scripted solution.

  1. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  2. Enter the following sets of commands:

Eclipse IDE for C/C++ Developers 2022 Silent Uninstall

TASKKILL /F /IM eclipse.exe
RMDIR /Q /S "%ProgramFiles%\Eclipse\cpp-2022"
DEL "%PUBLIC%\Desktop\Eclipse IDE for CPP Developers.lnk"
DEL "%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Eclipse IDE for CPP Developers.lnk"

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.

Jason Bergner

I am an accomplished Software Engineer at Patch My PC, leveraging more than 18 years of hands-on experience in Configuration Manager administration and application packaging. I am driven by a genuine passion for solving complex problems and consistently strive to discover innovative and effective solutions. Sharing my extensive knowledge of application deployments is a true joy for me, and I am honored to contribute to the community here at Silent Install HQ.

Recent Posts