Downloads:

114,995

Downloads of v 10.5.52.32372:

1,367

Last Update:

24 Oct 2019

Package Maintainer(s):

Software Author(s):

  • Electronic Arts

Tags:

origin ea games gaming dlc

Origin

This is not the latest version of Origin available.

10.5.52.32372 | Updated: 24 Oct 2019

Downloads:

114,995

Downloads of v 10.5.52.32372:

1,367

Software Author(s):

  • Electronic Arts

Origin 10.5.52.32372

This is not the latest version of Origin available.

All Checks are Passing

2 Passing Test


Validation Testing Passed


Verification Testing Passed

Details

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:

>

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

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

  • 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://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. Enter your internal repository url

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

4. Choose your deployment method:


choco upgrade origin -y --source="'STEP 3 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="'STEP 3 URL'"
$exitCode = $LASTEXITCODE

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

Exit $exitCode

- name: Ensure origin installed
  win_chocolatey:
    name: origin
    state: present
    version: 10.5.52.32372
    source: STEP 3 URL

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

Coming early 2020! Central Managment Reporting available now! More information...


chocolatey_package 'origin' do
  action    :install
  version  '10.5.52.32372'
  source   'STEP 3 URL'
end

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


Chocolatey::Ensure-Package
(
    Name: origin,
    Version: 10.5.52.32372,
    Source: STEP 3 URL
);

Requires Otter Chocolatey Extension. See docs at https://inedo.com/den/otter/chocolatey.


cChocoPackageInstaller origin
{
   Name     = 'origin'
   Ensure   = 'Present'
   Version  = '10.5.52.32372'
   Source   = 'STEP 3 URL'
}

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


package { 'origin':
  provider => 'chocolatey',
  ensure   => '10.5.52.32372',
  source   => 'STEP 3 URL',
}

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


salt '*' chocolatey.install origin version="10.5.52.32372" source="STEP 3 URL"

See docs at https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.chocolatey.html.

5. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

This package was approved as a trusted package on 25 Oct 2019.

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     = '592169AF87E69EA23B318EA29492A6111DC6A42BCF7E589097D666C026C30CC98930F330AC7CC8A6374234278ED38041C2AA5658B24A0CBDF7F02D83569DB968'
  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.52.32372'))
    {
      Write-Host "Skipping installation because version $InstalledVersion is already installed."
      return
    }
  } catch {
    # Installed version couldn't be checked, attempt installation
  }
}

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.52.32372'
}
else {
  CreateRegistrySettings -installPath $packageArgs['destination'] -autoUpdate $true -version '10.5.52.32372'
}

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.

Version Downloads Last Updated Status
Origin 10.5.88.45577 1320 Friday, November 20, 2020 Approved
Origin 10.5.88.45385 1141 Monday, November 16, 2020 Approved
Origin 10.5.87.45080 2795 Thursday, October 29, 2020 Approved
Origin 10.5.86.45038 541 Wednesday, October 28, 2020 Approved
Origin 10.5.85.44831 2210 Wednesday, October 14, 2020 Approved
Origin 10.5.84.43868 2949 Wednesday, September 16, 2020 Approved
Origin 10.5.83.43781 1476 Wednesday, September 9, 2020 Approved
Origin 10.5.82.43225 2259 Friday, August 21, 2020 Approved
Origin 10.5.81.43142 341 Tuesday, August 18, 2020 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