Downloads:

21,245

Downloads of v 3.1.0.2:

252

Last Update:

8/7/2017

Package Maintainer(s):

Software Author(s):

  • Patch My PC

Tags:

patch-my-pc admin software update updates freeware

Patch my PC

This is not the latest version of Patch my PC available.

3.1.0.2 | Updated: 8/7/2017

Downloads:

21,245

Downloads of v 3.1.0.2:

252

Maintainer(s):

Software Author(s):

  • Patch My PC

Patch my PC 3.1.0.2

This is not the latest version of Patch my PC available.

All Checks are Passing

2 Passing Test


Validation Testing Passed


Verification Testing Passed

Details

To install Patch my PC, run the following command from the command line or from PowerShell:

>

To upgrade Patch my PC, run the following command from the command line or from PowerShell:

>

To uninstall Patch my PC, 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 patch-my-pc -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 patch-my-pc -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 patch-my-pc installed
  win_chocolatey:
    name: patch-my-pc
    state: present
    version: 3.1.0.2
    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 'patch-my-pc' do
  action    :install
  version  '3.1.0.2'
  source   'STEP 3 URL'
end

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


Chocolatey::Ensure-Package
(
    Name: patch-my-pc,
    Version: 3.1.0.2,
    Source: STEP 3 URL
);

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


cChocoPackageInstaller patch-my-pc
{
   Name     = 'patch-my-pc'
   Ensure   = 'Present'
   Version  = '3.1.0.2'
   Source   = 'STEP 3 URL'
}

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


package { 'patch-my-pc':
  provider => 'chocolatey',
  ensure   => '3.1.0.2',
  source   => 'STEP 3 URL',
}

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


salt '*' chocolatey.install patch-my-pc version="3.1.0.2" 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.

Private CDN cached downloads available for licensed customers. Never experience 404 breakages again! Learn more...

This package was approved as a trusted package on 8/7/2017.

Description

A key component of staying safe online is keeping your computer up-to-date. Hackers and virus writers love outdated software. It might contain a security vulnerability or “hole” that can provide them with access to your computer. Outdated software can also be buggy, or have performance issues, which is usually fixed with a newer version of the software. These are two of the main reasons why it is important to keep the software on your computer updated (or “patched”).

Patch My PC Updater is a free, easy-to-use program that keeps over 100 programs up-to-date on your computer. It is also an easy way to install any of these programs on to your computer.When you open Patch My PC Updater, it will scan your system for outdated programs.
- Programs that are outdated will be shown in Red
- Programs that are updated will be shown in Green
- Programs that are not installed will be shown in Black

Whether you are a computer novice, semi-tech savvy, the go-to tech person for your family and friends, or an IT professional, Patch My PC Updater will make patching your PC easy.

Features

  • Easy to use User Interface
  • Outdated software will show in Red
  • Up to date will show in Green
  • Not installed software will show up as Black
  • Patches many common third party products e.g. Reader, Flash, Java, Quicktime and More
  • Portable and very small around 500 Kb.
  • Scan and install needed Windows updates
  • Quickly uninstall multiple programs
  • Enable or disable programs
  • Set updates to happen on a schedule

Notes

  • Link to start menu is no longer working. Looking for a package writer who can fix this.

tools\chocolateyInstall.ps1
$ErrorActionPreference = 'Stop';

$toolsDir = "$(Split-Path -Parent $MyInvocation.MyCommand.Definition)"

# Combatibility - This function has not been merged
if (!(Get-Command Install-ChocolateyPinnedItem -errorAction SilentlyContinue)) {
  . "$toolsDir\helpers.ps1"
}

$packageArgs = @{
  packageName    = 'patch-my-pc'
  file           = "$toolsDir\PatchMyPC.exe"
  url            = 'https://patchmypc.net/freeupdater/PatchMyPC.exe'
  checksum       = 'd34e3c128eeb05a176eed45a1cdd70a448f27685cc85e6d93b4b6a570974ba2b'
  checksumType   = 'sha256'
}

Get-ChocolateyWebFile @packageArgs

Install-ChocolateyPinnedItem $packageArgs.file
tools\helpers.ps1
function Install-ChocolateyPinnedItem {
  param(
    [Parameter(Mandatory = $true)]
    [ValidateNotNullOrEmpty()]
    [string]$target,
    [string]$taskbar
  )

  # We need to know the translation for the Explorer context-menu item for pinning an item to the start-menu or taskbar.
  # Be careful. Commands vary from Windows version to version. E.g. Win7 -> Startmenu; Win8 -> Start;
  # We need loose matching. So we want to match the action (Pin) and the target (Start(menu) or Task(bar)) separately.

  # Translations
  # PLEASE ADD LANGUAGES
  # or even better, figure out a way to pin items to start without using this MONSTROUS trick.

  # Pin (to start)
  $verbPin = @{}
  $verbPin['da-DK'] = "Fastgør"
  $verbPin['en-US'] = "Pin"
  $verbPin['fi-FI'] = "Kiinnitä"
  $verbPin['nb-NO'] = "Fest"
  $verbPin['nl-NL'] = "Vastmaken"
  $verbPin['sv-SE'] = "Fäst"

  # (Pin to) Start
  $verbStart = @{}
  $verbStart['da-DK'] = "Start"
  $verbStart['en-US'] = "Start"
  $verbStart['fi-FI'] = "Käynnistä"
  $verbStart['nb-NO'] = "Start"
  $verbStart['nl-NL'] = "Start"
  $verbStart['sv-SE'] = "Start"

  # (Pin to) Taskbar
  $verbTask = @{}
  $verbTask['da-DK'] = "Proceslinje"
  $verbTask['en-US'] = "Task"
  $verbTask['fi-FI'] = "Tehtävälkkiin"
  $verbTask['nb-NO'] = "Oppgavelinjen"
  $verbTask['nl-NL'] = "Taak"
  $verbTask['sv-SE'] = "Aktivitetsfältet"

  # Get Locale
  $locale = (get-culture).Name
  # Not sure if get-culture < Windows 8, better not use

  # Switch for Taskbar instead of Start
  if ($taskbar -eq "") {
    $verbAction = $verbStart
  } else {
    $verbAction = $verbTask
  }

  # Path exists?
  if (-not (test-path "$target")) {
    Write-Output "No such file: '$target'";
    exit
  }

  $pinned   = $false
  $path     = split-path "$target"
  $file     = split-path "$target" -leaf
  $explorer = new-object -com "Shell.Application"
  $folder   = $explorer.nameSpace($path)
  $item     = $folder.parseName($file)
  $options  = $item.Verbs()	# > $null # This will still output irrelevant warnings for certain context menu items such as github. How to I hide these?

  foreach ($option in $options) {
    $oName = $option.Name.Replace("&","")

    # Be careful. Commands vary from Windows version to version. E.g. Win7 -> Startmenu; Win8 -> Start;
    # We need loose matching.
    # WARNING - This trick might also cause UNpinning if $file was already pinned!

    # First, match Pin
    foreach ($vPin in $verbPin.values) {
      if ($oName -imatch $vPin) {
        # Second, match action (either Start or Task(bar))
        foreach ($vAction in $verbAction.values) {
          if ($oName -imatch $vAction) {
            # Write-Output "Locale detected: $($vAction.key)" # Don't know key in values-foreach
            Write-Output "Command detected: $oName"
            Write-Output "Executing '$oName' for '$target'"
            $option.DoIt()
            $pinned = $true
            break
          }
        }
        if ($pinned) { break }
      }
    }
  }
  if ($pinned) { Write-Output "Succesfully Pinned '$file'" }
  else { Write-Output "Could not pin '$file'" }
}
tools\PatchMyPC.exe.GUI
 

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
Patch my PC 4.1.0.2 1153 Tuesday, January 1, 2019 Approved
Patch my PC 4.1.0.1 499 Friday, September 14, 2018 Approved
Patch my PC 4.1.0.0 236 Tuesday, August 21, 2018 Approved
Patch my PC 4.0.1.5 544 Tuesday, April 10, 2018 Approved
Patch my PC 4.0.1.4 265 Sunday, March 25, 2018 Approved
Patch my PC 4.0.1.3 197 Thursday, March 22, 2018 Approved
Patch my PC 4.0.0.7 593 Friday, March 9, 2018 Approved
Patch my PC 4.0.0.6 221 Saturday, March 3, 2018 Approved
Patch my PC 4.0.0.5 207 Wednesday, February 28, 2018 Approved
Discussion for the Patch my PC Package

Ground Rules:

  • This discussion is only about Patch my PC and the Patch my PC 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 Patch my PC, 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