Unpacking Software Livestream

Join our monthly Unpacking Software livestream to hear about the latest news, chat and opinion on packaging, software deployment and lifecycle management!

Learn More

Chocolatey Product Spotlight

Join the Chocolatey Team on our regular monthly stream where we put a spotlight on the most recent Chocolatey product releases. You'll have a chance to have your questions answered in a live Ask Me Anything format.

Learn More

Chocolatey Coding Livestream

Join us for the Chocolatey Coding Livestream, where members of our team dive into the heart of open source development by coding live on various Chocolatey projects. Tune in to witness real-time coding, ask questions, and gain insights into the world of package management. Don't miss this opportunity to engage with our team and contribute to the future of Chocolatey!

Learn More

Calling All Chocolatiers! Whipping Up Windows Automation with Chocolatey Central Management

Webinar from
Wednesday, 17 January 2024

We are delighted to announce the release of Chocolatey Central Management v0.12.0, featuring seamless Deployment Plan creation, time-saving duplications, insightful Group Details, an upgraded Dashboard, bug fixes, user interface polishing, and refined documentation. As an added bonus we'll have members of our Solutions Engineering team on-hand to dive into some interesting ways you can leverage the new features available!

Watch On-Demand
Chocolatey Community Coffee Break

Join the Chocolatey Team as we discuss all things Community, what we do, how you can get involved and answer your Chocolatey questions.

Watch The Replays
Chocolatey and Intune Overview

Webinar Replay from
Wednesday, 30 March 2022

At Chocolatey Software we strive for simple, and teaching others. Let us teach you just how simple it could be to keep your 3rd party applications updated across your devices, all with Intune!

Watch On-Demand
Chocolatey For Business. In Azure. In One Click.

Livestream from
Thursday, 9 June 2022

Join James and Josh to show you how you can get the Chocolatey For Business recommended infrastructure and workflow, created, in Azure, in around 20 minutes.

Watch On-Demand
The Future of Chocolatey CLI

Livestream from
Thursday, 04 August 2022

Join Paul and Gary to hear more about the plans for the Chocolatey CLI in the not so distant future. We'll talk about some cool new features, long term asks from Customers and Community and how you can get involved!

Watch On-Demand
Hacktoberfest Tuesdays 2022

Livestreams from
October 2022

For Hacktoberfest, Chocolatey ran a livestream every Tuesday! Re-watch Cory, James, Gary, and Rain as they share knowledge on how to contribute to open-source projects such as Chocolatey CLI.

Watch On-Demand

Downloads:

248,975

Downloads of v 10.5.122.52971:

8,444

Last Update:

17 Mar 2023

Package Maintainer(s):

Software Author(s):

  • Electronic Arts

Tags:

origin ea games gaming dlc

Origin

  • 1
  • 2
  • 3

10.5.122.52971 | Updated: 17 Mar 2023

Downloads:

248,975

Downloads of v 10.5.122.52971:

8,444

Software Author(s):

  • Electronic Arts

Origin 10.5.122.52971

  • 1
  • 2
  • 3

This Package Contains an Exempted Check

Not All Tests Have Passed


Validation Testing Passed


Verification Testing Exemption:

Exempted: Installation of dependency KB2919355 times out on verifier

Details

Scan Testing Successful:

No detections found in any package files

Details
Learn More

Deployment Method: Individual Install, Upgrade, & Uninstall

To install Origin, run the following command from the command line or from PowerShell:

>

To upgrade Origin, run the following command from the command line or from PowerShell:

>

To uninstall Origin, run the following command from the command line or from PowerShell:

>

Deployment Method:

NOTE

This applies to both open source and commercial editions of Chocolatey.

1. Enter Your Internal Repository Url

(this should look similar to https://community.chocolatey.org/api/v2/)


2. Setup Your Environment

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

2. Get the package into your environment

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://community.chocolatey.org/api/v2/. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Copy Your Script

choco upgrade origin -y --source="'INTERNAL REPO URL'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:


choco upgrade origin -y --source="'INTERNAL REPO URL'" 
$exitCode = $LASTEXITCODE

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0
}

Exit $exitCode

- name: Install origin
  win_chocolatey:
    name: origin
    version: '10.5.122.52971'
    source: INTERNAL REPO URL
    state: present

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.


chocolatey_package 'origin' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '10.5.122.52971'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


cChocoPackageInstaller origin
{
    Name     = "origin"
    Version  = "10.5.122.52971"
    Source   = "INTERNAL REPO URL"
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'origin':
  ensure   => '10.5.122.52971',
  provider => 'chocolatey',
  source   => 'INTERNAL REPO URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


4. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

Package Approved

This package was approved as a trusted package on 17 Mar 2023.

Description

Origin is an online gaming, digital distribution and digital rights management (DRM) platform developed by Electronic Arts that allows users to purchase games on the internet for PC and mobile platforms, and download them with the Origin client (formerly EA Download Manager, EA Downloader and EA Link).

Origin contains social features such as profile management, networking with friends with chat and direct game joining along with an in-game overlay, streaming via TwitchTV and sharing of game library and community integration with networking sites like Facebook, Xbox Live, PlayStation Network, and Nintendo Network.

Package Parameters

  • /NoAutoUpdate - Disable the auto updating of the origin client. NOTE: May also disable auto updating of installed games, but that is not tested
  • /InstallDir: - Select the location to where the origin client should be installed (Defaults to C:\Program Files\Origin (32bit), C:\Program Files (x86)\Origin (64bit), or the previously installed location)
  • /LaunchOrigin - Start Origin Client after installation
  • /StartOrigin - Alias for /LaunchOrigin
  • /NoStartMenuIcon - Don't create a shortcut on the start menu
  • /DesktopIcon - Create a shortcut on the desktop

tools\.skipAutoUninstaller
 
tools\chocolateyBeforeModify.ps1
$ErrorActionPreference = 'Stop'

Get-Process -Name 'OriginWebHelperService' -ErrorAction SilentlyContinue | Stop-Process -Force
tools\chocolateyInstall.ps1
$ErrorActionPreference = 'Stop'

$toolsDir = Split-Path -Parent $MyInvocation.MyCommand.Definition
. "$toolsDir\helpers.ps1"

$packageArgs = @{
  packageName  = $env:ChocolateyPackageName
  url          = 'https://download.dm.origin.com/origin/live/OriginSetup.exe'
  softwareName = 'Origin*' # Probably not needed, but we add registry keys so we keep it
  checksum     = '63C7428DCCF37DC4A5F548907E9862ABD1D99501DC6D04433D8331F52057D380EDE32E9C44926EBC005DA46BA1F47151DF47DF1DA96C1C078078AAE426E6485D'
  checksumType = 'sha512'
  destination  = Get-PackageCacheLocation
}

if ($env:ChocolateyForce -ne $true) {
  try {
    $InstalledVersion = Get-UninstallRegistryKey $packageArgs['softwareName'] | Select-Object -First 1 -Expand 'DisplayVersion'

    if ([Version]::Parse($InstalledVersion) -ge [Version]::Parse('10.5.122.52971'))
    {
      Write-Host "Skipping installation because version $InstalledVersion is already installed."
      return
    }
  } catch {
    # Installed version couldn't be checked, attempt installation
    Write-Warning "Unable to check for existing origin version, assuming it do not exist..."
  }
}

Install-ChocolateyZipPackage @packageArgs

$pp = Get-PackageParameters
$zipFile = Get-ChildItem "$($packageArgs['destination'])" "*.zip" -Recurse | Select-Object -first 1 -expand FullName
$packageArgs['file'] = $zipFile
$packageArgs['destination'] = GetInstallLocation $pp

if ($pp.NoAutoUpdate) {
  CreateRegistrySettings -installPath $packageArgs['destination'] -autoUpdate $false -version '10.5.122.52971'
}
else {
  CreateRegistrySettings -installPath $packageArgs['destination'] -autoUpdate $true -version '10.5.122.52971'
}

Get-ChocolateyUnzip @packageArgs

CreateShortcuts -pp $pp -installDir $packageArgs['destination']

if ($pp.LaunchOrigin -or $pp.StartOrigin) {
  $exe = "$($packageArgs["destination"])\Origin.exe"
  Start-Process $exe
}
tools\chocolateyUninstall.ps1
$ErrorActionPreference = 'Stop'
$toolsDir = Split-Path -Parent $MyInvocation.MyCommand.Definition
. "$toolsDir\helpers.ps1"

$packageArgs = @{
  packageName    = $env:ChocolateyPackageName
  softwareName   = 'Origin*'
  fileType       = 'exe'
  silentArgs     = '/noUpdate /uninstall /silent'
  validExitCodes = @(0)
}

$uninstalled = $false

[array]$key = Get-UninstallRegistryKey @packageArgs

if ($key.Count -eq 1) {
  $key | ForEach-Object {
    $packageArgs['file'] = "$($_.UninstallString)"

    Uninstall-ChocolateyPackage @packageArgs
  }
}
elseif ($key.Count -eq 0) {
  Write-Warning "$packageName has already been uninstalled by other means."
}
elseif ($key.Count -gt 1) {
  Write-Warning "$($key.Count) matches found!"
  Write-Warning "To prevent accidental data loss, no programs will be uninstalled."
  Write-Warning "Please alert the package maintainer that the following keys were matched:"
  $key | ForEach-Object { Write-Warning "- $($_.DisplayName)" }
}

RemoveShortcuts
tools\helpers.ps1
function GetInstallLocation() {
  param($pp)

  # First check if origin is already installed
  $installPath = GetInstallLocationFromRegistry

  if ($installPath) { return $installPath }
  elseif ($pp.InstallDir) { return $pp.InstallDir }
  elseif (Get-OSArchitectureWidth -Compare 32) { return "C:\Program Files\Origin" }
  else { return "C:\Program Files (x86)\Origin" }
}

function GetInstallLocationFromRegistry() {
  $key = Get-UninstallRegistryKey -SoftwareName 'Origin' | Select-Object -first 1

  if ($key) {
    return $key.InstallLocation
  }
}

function CreateRegistrySettings() {
  param([string]$installPath, [bool]$autoUpdate, [string]$version)
  if ($installPath.EndsWith('\')) {
    $installPath = $installPath.TrimEnd('\')
  }

  $originSettings = @{
    AutopatchGlobal   = 'true'
    Autoupdate        = if ($autoUpdate) { 'true' } else { 'false' }
    ClientPath        = "$installPath\Origin.exe"
    ClientVersion     = $version
    InstallSuccesfull = 'true'
    IsBeta            = 'false'
    TelemOO           = 'false'
  }

  $uninstallSettings = @{
    DisplayIcon     = "$installPath\OriginUninstall.exe"
    DisplayName     = 'Origin'
    DisplayVersion  = $version
    InstallLocation = $installPath
    Publisher       = 'Electronic Arts, Inc.'
    UninstallString = "$installPath\OriginUninstall.exe"
    URLInfoAbout    = 'http://www.ea.com'
  }

  if (Get-OSArchitectureWidth -Compare 32) {
    $originRegPath = 'HKLM:\SOFTWARE\Origin'
    $uninstallRegPath = 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Origin'
  }
  else {
    $originRegPath = 'HKLM:\SOFTWARE\WOW6432Node\Origin'
    $uninstallRegPath = 'HKLM:\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Origin'
  }

  if (!(Test-Path $originRegPath)) {
    New-Item -Path $originRegPath -Force | Out-Null
  }
  if (!(Test-Path $uninstallRegPath)) {
    New-Item -Path $uninstallRegPath -Force | Out-Null
  }

  Write-Host "Creating/Updating Origin Client registry settings..."
  $originSettings.Keys | ForEach-Object {
    New-ItemProperty -Path $originRegPath -Name $_ -Value $originSettings[$_] -Force | Out-Null
  }

  Write-Host "Creating/Updating Origin Client uninstall registry settings..."
  $uninstallSettings.Keys | ForEach-Object {
    New-ItemProperty -Path $uninstallRegPath -Name $_ -Value $uninstallSettings[$_] -Force | Out-Null
  }
}

function CreateShortcuts() {
  param($pp, $installDir)

  $originExec = Resolve-Path "$installDir/origin.exe"

  if (!($pp.NoStartMenuIcon)) {
    $startMenu = [System.Environment]::GetFolderPath('CommonPrograms')
    $link = "$startMenu\Origin.lnk"

    Write-Host "Creating Origin Start Menu shortcut..."
    Install-ChocolateyShortcut -ShortcutFilePath $link -TargetPath $originExec
  }

  if ($pp.DesktopIcon) {
    $desktop = [System.Environment]::GetFolderPath("CommonDesktop")
    $link = "$desktop\Origin.lnk"

    Write-Host "Creating Origin Desktop shortcut..."
    Install-ChocolateyShortcut -ShortcutFilePath $link -TargetPath $originExec
  }
}

function RemoveShortcuts() {
  @(
    [System.Environment]::GetFolderPath('CommonPrograms')
    [System.Environment]::GetFolderPath('CommonDesktop')
  ) | ForEach-Object {
    if (Test-Path "$_\Origin.lnk") { Remove-Item -Force "$_\Origin.lnk" }
  }
}

Log in or click on link to see number of positives.

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Add to Builder Version Downloads Last Updated Status
Origin 10.5.119.52718 3237 Thursday, February 9, 2023 Approved
Origin 10.5.118.52644 1463 Friday, February 3, 2023 Approved
Origin 10.5.117.52593 590 Wednesday, February 1, 2023 Approved
Origin 10.5.116.52126 4911 Monday, November 14, 2022 Approved
Origin 10.5.115.51547 6564 Thursday, August 11, 2022 Approved
Origin 10.5.114.51455 1718 Friday, August 5, 2022 Approved
Origin 10.5.113.50894 7141 Thursday, June 2, 2022 Approved
Origin 10.5.112.50486 7181 Wednesday, April 6, 2022 Approved
Origin 10.5.111.50299 2917 Monday, February 28, 2022 Exempted
Origin 10.5.110.50000 8977 Wednesday, January 19, 2022 Exempted
Origin 10.5.109.49920 2092 Wednesday, January 12, 2022 Approved
Origin 10.5.108.49699 5024 Wednesday, December 8, 2021 Exempted
Origin 10.5.107.49426 4799 Monday, November 8, 2021 Exempted
Origin 10.5.106.49298 3440 Wednesday, October 20, 2021 Exempted
Origin 10.5.106.49214 1691 Thursday, October 14, 2021 Approved
Origin 10.5.106.49189 935 Tuesday, October 12, 2021 Exempted
Origin 10.5.105.49133 1907 Monday, October 4, 2021 Exempted
Origin 10.5.104.48966 3350 Wednesday, September 15, 2021 Approved
Origin 10.5.103.48818 3176 Wednesday, August 25, 2021 Exempted
Origin 10.5.102.48654 2179 Tuesday, July 20, 2021 Exempted
Origin 10.5.101.48500 5522 Thursday, June 24, 2021 Exempted
Origin 10.5.100.48178 5858 Wednesday, May 26, 2021 Exempted
Origin 10.5.99.47918 335 Wednesday, May 12, 2021 Exempted
Origin 10.5.98.47688 5098 Wednesday, April 28, 2021 Exempted
Origin 10.5.97.47554 2607 Wednesday, April 14, 2021 Approved
Origin 10.5.96.47512 1762 Thursday, April 8, 2021 Approved
Origin 10.5.96.47386 2104 Tuesday, March 30, 2021 Approved
Origin 10.5.95.47231 2036 Monday, March 22, 2021 Approved
Origin 10.5.94.46774 2914 Wednesday, March 3, 2021 Approved
Origin 10.5.93.46608 2679 Wednesday, February 17, 2021 Approved
Origin 10.5.92.46430 2502 Thursday, February 4, 2021 Approved
Origin 10.5.91.46291 2623 Friday, January 22, 2021 Approved
Origin 10.5.90.46284 491 Thursday, January 21, 2021 Approved
Origin 10.5.90.45798 4471 Tuesday, December 8, 2020 Approved
Origin 10.5.89.45622 2426 Wednesday, November 25, 2020 Approved
Origin 10.5.88.45577 1422 Friday, November 20, 2020 Approved
Origin 10.5.88.45385 1258 Monday, November 16, 2020 Approved
Origin 10.5.87.45080 2905 Thursday, October 29, 2020 Approved
Origin 10.5.86.45038 662 Wednesday, October 28, 2020 Approved
Origin 10.5.85.44831 2335 Wednesday, October 14, 2020 Approved
Origin 10.5.84.43868 3069 Wednesday, September 16, 2020 Approved
Origin 10.5.83.43781 1574 Wednesday, September 9, 2020 Approved
Origin 10.5.82.43225 2375 Friday, August 21, 2020 Approved
Origin 10.5.81.43142 457 Tuesday, August 18, 2020 Approved
Origin 10.5.80.42860 130 Tuesday, August 11, 2020 Approved
Origin 10.5.79.42672 139 Tuesday, August 4, 2020 Approved
Origin 10.5.78.42537 3449 Tuesday, July 28, 2020 Approved
Origin 10.5.76.42222 2197 Thursday, July 16, 2020 Approved
Origin 10.5.74.41754 2787 Wednesday, June 24, 2020 Approved
Origin 10.5.72.41341 4531 Tuesday, June 9, 2020 Approved
Origin 10.5.71.40931 2184 Wednesday, May 27, 2020 Approved
Origin 10.5.70.40362 2397 Tuesday, May 12, 2020 Approved
Origin 10.5.69.40136 1418 Thursday, April 30, 2020 Approved
Origin 10.5.68.39605 2720 Thursday, April 16, 2020 Approved
Origin 10.5.67.39484 1317 Friday, April 10, 2020 Approved
Origin 10.5.67.39100 1292 Monday, March 30, 2020 Approved
Origin 10.5.66.38849 2335 Thursday, March 19, 2020 Approved
Origin 10.5.65.38147 2065 Tuesday, March 3, 2020 Approved
Origin 10.5.63.37653 2574 Saturday, February 8, 2020 Approved
Origin 10.5.61.37414 567 Thursday, January 30, 2020 Approved
Origin 10.5.61.37300 1781 Tuesday, January 28, 2020 Approved
Origin 10.5.60.37244 659 Saturday, January 25, 2020 Approved
Origin 10.5.59.36848 1599 Thursday, January 16, 2020 Approved
Origin 10.5.58.36192 1402 Monday, January 6, 2020 Approved
Origin 10.5.57.35162 2409 Friday, December 13, 2019 Approved
Origin 10.5.56.33908 2214 Wednesday, November 20, 2019 Approved
Origin 10.5.55.33574 1361 Wednesday, November 13, 2019 Approved
Origin 10.5.54.33067 1224 Tuesday, November 5, 2019 Approved
Origin 10.5.52.32372 1494 Thursday, October 24, 2019 Approved
Origin 10.5.50.31938 1245 Wednesday, October 16, 2019 Approved
Origin 10.5.48.31055 1518 Thursday, October 3, 2019 Approved
Origin 10.5.47.29954 1810 Friday, September 13, 2019 Approved
Origin 10.5.45.29542 1979 Tuesday, August 20, 2019 Approved
Origin 10.5.44.29072 1356 Thursday, August 8, 2019 Approved
Origin 10.5.43.28287 1078 Tuesday, July 16, 2019 Approved
Origin 10.5.42.27950 2259 Tuesday, July 9, 2019 Approved
Origin 10.5.41.27263 1681 Tuesday, June 18, 2019 Approved
Origin 10.5.40.26928 1286 Saturday, June 1, 2019 Approved
Origin 10.5.39.26720 1635 Thursday, May 30, 2019 Approved
Origin 10.5.38.26728 489 Tuesday, May 28, 2019 Approved
Origin 10.5.38.25027 2256 Wednesday, April 24, 2019 Approved
Origin 10.5.37.24524 989 Tuesday, April 16, 2019 Approved
Origin 10.5.36.23506 1886 Tuesday, March 19, 2019 Approved
Origin 10.5.35.22222 1673 Tuesday, February 26, 2019 Approved
Origin 10.5.34.21025 3247 Thursday, January 24, 2019 Approved
Origin 10.5.34.20908 422 Wednesday, January 23, 2019 Approved
Origin 10.5.33.19463 1128 Tuesday, January 8, 2019 Approved
Origin 10.5.32.18460 1806 Wednesday, December 12, 2018 Approved
Origin 10.5.31.17411 1062 Wednesday, November 28, 2018 Approved
Origin 10.5.30.15625 1332 Tuesday, October 30, 2018 Approved
Origin 10.5.29.14153 910 Tuesday, October 16, 2018 Approved
Origin 10.5.27.11381 1258 Tuesday, September 18, 2018 Approved
Origin 10.5.26.8488 991 Wednesday, September 5, 2018 Approved
Origin 10.5.25.7131 915 Thursday, August 23, 2018 Approved
Origin 10.5.24.5022 1102 Tuesday, July 24, 2018 Approved
Origin 10.5.22.1331 755 Thursday, July 12, 2018 Approved
Origin 10.5.21.179 702 Tuesday, June 19, 2018 Approved
Origin 10.5.20.63112 996 Tuesday, June 5, 2018 Approved
Origin 10.5.18.58059 1606 Tuesday, May 8, 2018 Approved
Origin 10.5.17.52805 1056 Tuesday, April 24, 2018 Approved
Origin 10.5.16.492990100 606 Wednesday, April 18, 2018 Approved
Origin 10.5.16.49299 331 Tuesday, April 10, 2018 Approved
Origin 10.5.14.38647 2295 Tuesday, March 13, 2018 Approved
Origin 10.5.12.32066 997 Wednesday, February 28, 2018 Approved
Origin 10.5.11.27975 957 Wednesday, February 14, 2018 Approved
Origin 10.5.10.24870 340 Tuesday, January 30, 2018 Approved
Origin 10.5.8.17910 2266 Thursday, December 21, 2017 Approved
Origin 10.5.8.11002 2535 Wednesday, December 6, 2017 Approved
Origin 10.5.6.6235 1948 Saturday, November 18, 2017 Approved
Origin 1.0.0.0 6156 Sunday, March 24, 2013 Approved

Discussion for the Origin Package

Ground Rules:

  • This discussion is only about Origin and the Origin package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or Origin, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus