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:

138,001

Downloads of v 5.148.0.174:

78,487

Last Update:

10 Aug 2020

Package Maintainer(s):

Software Author(s):

  • Glarysoft Ltd

Tags:

glaryutilities glarysoft admin glary utilities free

Glary Utilities (Free)

  • 1
  • 2
  • 3

5.148.0.174 | Updated: 10 Aug 2020

Downloads:

138,001

Downloads of v 5.148.0.174:

78,487

Software Author(s):

  • Glarysoft Ltd

Glary Utilities (Free) 5.148.0.174

Legal Disclaimer: Neither this package nor Chocolatey Software, Inc. are affiliated with or endorsed by Glarysoft Ltd. The inclusion of Glarysoft Ltd trademark(s), if any, upon this webpage is solely to identify Glarysoft Ltd goods or services and not for commercial purposes.

  • 1
  • 2
  • 3

Some Checks Have Failed or Are Not Yet Complete

Not All Tests Have Passed


Validation Testing Passed


Verification Testing Passed

Details

Scan Testing Resulted in Flagged:

This package was submitted (and approved) prior to automated virus scanning integration into the package moderation processs.

We recommend clicking the "Details" link to make your own decision on installing this package.

Details
Learn More

Deployment Method: Individual Install, Upgrade, & Uninstall

To install Glary Utilities (Free), run the following command from the command line or from PowerShell:

>

To upgrade Glary Utilities (Free), run the following command from the command line or from PowerShell:

>

To uninstall Glary Utilities (Free), 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 glaryutilities-free -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 glaryutilities-free -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 glaryutilities-free
  win_chocolatey:
    name: glaryutilities-free
    version: '5.148.0.174'
    source: INTERNAL REPO URL
    state: present

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


chocolatey_package 'glaryutilities-free' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '5.148.0.174'
end

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


cChocoPackageInstaller glaryutilities-free
{
    Name     = "glaryutilities-free"
    Version  = "5.148.0.174"
    Source   = "INTERNAL REPO URL"
}

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


package { 'glaryutilities-free':
  ensure   => '5.148.0.174',
  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 by moderator virtualex on 21 Aug 2020.

Description

Glary Utilities is a Free, Powerful and All-in-one utility for cleaning your PC.
with registry and disk cleaning, privacy protection, performance accelerator and amazing multifunctional tools.
It can fix dogged registry errors, wipe off clutters, optimize internet speed, safeguard confidential files and
maintain maximum performance. User-friendly interface shows clear & detailed directions.
For novices, all work can be done with just 1 or 2 clicks, while for professionals, abundant options are available.

Key features:

  • Optimize, clean and boost the speed of your Windows.
  • Protect your privacy and security.
  • Block spyware, trojans, adware, etc.
  • Fix frustrating errors, crashes and freezes.
  • Simple, fast and user-friendly interface.
  • One-click functionality and easy, automated options.
  • Over 20 tools to maximize your Computer's performance.

For private use only.


LICENSE.txt

From: https://www.glarysoft.com/inf/eula/?src=10000&id=1&v=5.148.0.174

LICENSE

Glarysoft License Agreement
Last Updated: April 4, 2018

END-USER LICENSE AGREEMENT

IMPORTANT PLEASE READ THE TERMS AND CONDITIONS OF THIS LICENSE AGREEMENT CAREFULLY BEFORE CONTINUING WITH THIS PROGRAM INSTALL: Glarysoft End-User License Agreement ("EULA") is a legal agreement between you (either an individual or a single entity) and Glarysoft for the Glarysoft software product(s) identified above which may include associated software components, media, printed materials, and "online" or electronic documentation ("SOFTWARE PRODUCT"). By installing, copying, or otherwise using the SOFTWARE PRODUCT, you agree to be bound by the terms of this EULA. This license agreement represents the entire agreement concerning the program between you and Glarysoft, (referred to as "licenser"), and it supersedes any prior proposal, representation, or understanding between the parties. If you do not agree to the terms of this EULA, do not install or use the SOFTWARE PRODUCT.

The SOFTWARE PRODUCT is protected by copyright laws and international copyright treaties, as well as other intellectual property laws and treaties. The SOFTWARE PRODUCT is licensed, not sold.

1. GRANT OF LICENSE.
The SOFTWARE PRODUCT is licensed as follows:
(a) Installation and Use.
Glarysoft grants you the right to install and use copies of the SOFTWARE PRODUCT on your computer running a validly licensed copy of the operating system for which the SOFTWARE PRODUCT was designed [e.g., Windows 2000 ®, Windows 2003, Windows XP, Windows Vista, Windows 7, Windows 8,Windows 8.1,Windows 10].
(b) Backup Copies.
You may also make copies of the SOFTWARE PRODUCT as may be necessary for backup and archival purposes.

2. DESCRIPTION OF OTHER RIGHTS AND LIMITATIONS.
(a) Maintenance of Copyright Notices.
You must not remove or alter any copyright notices on any and all copies of the SOFTWARE PRODUCT.
(b) Distribution.
You may not distribute registered copies of the SOFTWARE PRODUCT to third parties. Evaluation versions available for download from Glarysoft’s websites may be freely distributed.
(c) Prohibition on Reverse Engineering, Decompilation, and Disassembly.
You may not reverse engineer, decompile, or disassemble the SOFTWARE PRODUCT, except and only to the extent that such activity is expressly permitted by applicable law notwithstanding this limitation.
(d) Rental.
You may not rent, lease, or lend the SOFTWARE PRODUCT.
(e) Support Services.
Glarysoft may provide you with support services related to the SOFTWARE PRODUCT ("Support Services"). Any supplemental software code provided to you as part of the Support Services shall be considered part of the SOFTWARE PRODUCT and subject to the terms and conditions of this EULA.
(f) Compliance with Applicable Laws.
You must comply with all applicable laws regarding use of the SOFTWARE PRODUCT.

3. TERMINATION
Without prejudice to any other rights, Glarysoft may terminate this EULA if you fail to comply with the terms and conditions of this EULA. In such event, you must destroy all copies of the SOFTWARE PRODUCT in your possession.

4. COPYRIGHT
All title, including but not limited to copyrights, in and to the SOFTWARE PRODUCT and any copies thereof are owned by Glarysoft or its suppliers. All title and intellectual property rights in and to the content which may be accessed through use of the SOFTWARE PRODUCT is the property of the respective content owner and may be protected by applicable copyright or other intellectual property laws and treaties. This EULA grants you no rights to use such content. All rights not expressly granted are reserved by Glarysoft.

5. SCHEDULE TASKS
By installing this Product, you acknowledge that the product will create and run scheduled tasks on your computer. The scheduled tasks are enabled by default and can be disabled by you at any time from the product settings.

6. LIMITED WARRANTY
Glarysoft warrants and represents to you that the Product will substantially conform to and operate in accordance with its documentation for a period of ninety (90) days from the date you accept the terms of this Agreement and complete the download of the Product ("Warranty Period"). This Limited Warranty applies only if the nonconformance is reported to Glarysoft during the Warranty Period and if Glarysoft is able to confirm the substantial non-conformance. It is void if the non-conformance of the Product is the result of accident, abuse, misapplication, or inappropriate use of the Product. The exclusive remedy for breach of this warranty shall be, at Glarysofts option, either (i) the repair or replacement of the Product; or (ii) a refund of the price, if any, which you paid to license the Product.

7. NO WARRANTIES
Glarysoft expressly disclaims any warranty for the SOFTWARE PRODUCT. The SOFTWARE PRODUCT is provided "As Is" without any express or implied warranty of any kind, including but not limited to any warranties of merchantability, noninfringement, or fitness of a particular purpose. Glarysoft does not warrant or assume responsibility for the accuracy or completeness of any information, text, graphics, links or other items contained within the SOFTWARE PRODUCT. Glarysoft makes no warranties respecting any harm that may be caused by the transmission of a computer virus, worm, time bomb, logic bomb, or other such computer program. Glarysoft further expressly disclaims any warranty or representation to Authorized Users or to any third party.

8. LIMITATION OF LIABILITY
In no event shall Glarysoft be liable for any damages (including, without limitation, lost profits, business interruption, or lost information) rising out of ‘Authorized Users' use of or inability to use the SOFTWARE PRODUCT, even if Glarysoft has been advised of the possibility of such damages. In no event will Glarysoft be liable for loss of data or for indirect, special, incidental, consequential (including lost profit), or other damages based in contract, tort or otherwise. Glarysoft shall have no liability with respect to the content of the SOFTWARE PRODUCT or any part thereof, including but not limited to errors or omissions contained therein, libel, infringements of rights of publicity, privacy, trademark rights, business interruption, personal injury, loss of privacy, moral rights or the disclosure of confidential information.
VERIFICATION.txt

VERIFICATION
Verification is intended to assist the Chocolatey moderators and community
in verifying that this package's contents are trustworthy.

Glarysoft sign their installer executables with their Authenticode certificate.

To assure you that the package creator has not tampered with the installer, confirm that the output of
    Get-AuthenticodeSignature .\tools\gu5setup.exe | Format-List
includes the following
    SignerCertificate      :
        [Subject]
        CN=Glarysoft LTD, O=Glarysoft LTD, S=Beijing, C=CN

        [Issuer]
        CN=DigiCert Assured ID Code Signing CA-1, OU=www.digicert.com, O=DigiCert Inc, C=US
and also
    Status                 : Valid


The latest Glarysoft installer at time of packaging is
    url             =   https://download.glarysoft.com/gu5setup.exe
    version         =   5.148.0.174
    checksum        =   2EE713935593B15A2BA0B01BE96DC549EC431E068890133AB3E2A8A06C4EE30E
    checksumType    =   sha256

Glarysoft do not currently provide a way of downloading old installers,
so the hash of this URL's contents will change if and when a new installer version is released.

However, even if the hash is different on later installers, you can confirm that
the SignerCertificate on the vendor installer matches that on the executable embedded in this package.

update.ps1
import-module au

# convert Windows .ini file contents into a hash
# adapted from Oliver Lipkau's Get-IniContent()
# https://gallery.technet.microsoft.com/scriptcenter/ea40c1ef-c856-434b-b8fb-ebd7a76e8d91
# https://devblogs.microsoft.com/scripting/use-powershell-to-work-with-any-ini-file/
function Get-IniContent ($iniValue)
{
    $ini = @{}
    
    ForEach ($line in $($iniValue -split "\r?\n|\r")) { 
        switch -regex ($line)
        {
            �^\[(.+)\]� # Section
            {
                $section = $matches[1]
                $ini[$section] = @{}
                $CommentCount = 0
            }
            �^(;.*)$� # Comment
            {
                $value = $matches[1]
                $CommentCount = $CommentCount + 1
                $name = �Comment� + $CommentCount
                $ini[$section][$name] = $value.Trim()
            }
            �(.+?)\s*=(.*)� # Key
            {
                $name,$value = $matches[1..2]
                $ini[$section][$name] = $value.Trim()
            }
        }
    }
    return $ini
}


# as used by app when user clicks "Check for updates"
$checkForUpdatesUrl = 'https://www.glarysoft.com/update/update.php?s=glary_utilities&c=10000&ft=std'

function global:au_GetLatest {
    $updateIniValue = Invoke-WebRequest -Uri $checkForUpdatesUrl -UseBasicParsing # returns .ini file layout
    $updateIni = Get-IniContent($updateIniValue)

    $url = $updateIni["Version"]["UpdateUrl"]
    $version = $updateIni["Version"]["Version"]

    $Latest = @{ URL = $url; Version = $version }
    return $Latest

    # TODO: download $exe into tools\
    # TODO: download EULA from https://www.glarysoft.com/inf/eula/?src=10000&id=1&v=5.148.0.174 with updated version
    # $url         = 'http://download.glarysoft.com/gu5setup.exe'
    # TODO: remove all tools\.ignore files
    # TODO: touch tools\${exe}.ignore
    # TODO: consider removing README.md from package
}

function global:au_SearchReplace {
    @{
        'tools\chocolateyInstall.ps1' = @{
            # TODO: Update $exe path just in case it ever changes
            # "(^[$]url\s*=\s*)('.*')"      = "`$1'$($Latest.URL)'"
            #"(^[$]checksum\s*=\s*)('.*')"  = "`$1'$($Latest.Checksum32)'"
        }

        # TODO: update versioned URL in LICENSE.txt
        # is there a standard AU recipeto update packages with embedded exes?

        # TODO: update checksum in VERIFICATION.txt
        # TODO: update version in VERIFICATION.txt
        # TODO: update URL in VERIFICATION.txt
        # TODO: update signing instructions in VERIFICATION.txt

        "$($Latest.PackageName).nuspec" = @{
            "(/release-notes/gu/)(.*)(</releaseNotes>)" = "`${1}$($Latest.Version)`$3"
        }
    }
}

update -ChecksumFor 32
tools\gu5setup.exe.ignore
 
tools\gu5setup.exe
md5: 905D193CB9898BB8083CDBEE2AC3C636 | sha1: 1626A114F3EEB2306B1EA048E41A55AC0FACC9F3 | sha256: 2EE713935593B15A2BA0B01BE96DC549EC431E068890133AB3E2A8A06C4EE30E | sha512: BE2E784CA7CC1E809D1A0CADF6FFC9D72AEAF71EBBA43DD51F4266C69C3B749D4E6C350BB12AFA2462ADF4E66F6E34726689C2509391D0504960F2A6C6B79954
tools\chocolateyinstall.ps1
$ErrorActionPreference = 'Stop'; # stop on all errors

$packageName= 'glaryutilities-free' # arbitrary name for the package, used in messages
$toolsDir   = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$fileLocation = Join-Path $toolsDir 'gu5setup.exe'
# Note https://www.glarysoft.com/inf/eula/ allows redistribution of this freeware installer
# "Evaluation versions available for download from Glarysoft’s websites may be freely distributed."

$packageArgs = @{
  packageName   = $packageName
  fileType      = 'exe'
  file          = $fileLocation
  softwareName  = 'Glary Utilities'

  validExitCodes= @(0, 3010, 1641)
  silentArgs   = '/S  /NORESTART '
}

Install-ChocolateyInstallPackage @packageArgs
README.md
# <img src="https://www.glarysoft.com/images/update/updatelogo.png" width="48" height="48"/> [glaryutilities-free](https://chocolatey.org/packages/glaryutilities-free/)

Glary Utilities is a Free, Powerful and All-in-one utility for cleaning your PC. with registry and disk cleaning, privacy protection, performance accelerator and amazing multifunctional tools. It can fix dogged registry errors, wipe off clutters, optimize internet speed, safeguard confidential files and maintain maximum performance. User-friendly interface shows clear &amp; detailed directions. For novices, all work can be done with just 1 or 2 clicks, while for professionals, abundant options are available.

Key features:
* Optimize, clean and boost the speed of your Windows.
* Protect your privacy and security.
* Block spyware, trojans, adware, etc.
* Fix frustrating errors, crashes and freezes.
* Simple, fast and user-friendly interface.
* One-click functionality and easy, automated options.
* Over 20 tools to maximize your Computer's performance.

For private use only.

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
Glary Utilities (Free) 5.141 3062 Tuesday, May 5, 2020 Approved
Glary Utilities (Free) 5.80 36350 Tuesday, July 25, 2017 Approved
Glary Utilities (Free) 5.79 2061 Tuesday, July 11, 2017 Approved
Glary Utilities (Free) 5.48 17946 Thursday, April 7, 2016 Approved

This package has no dependencies.

Discussion for the Glary Utilities (Free) Package

Ground Rules:

  • This discussion is only about Glary Utilities (Free) and the Glary Utilities (Free) 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 Glary Utilities (Free), 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