Downloads:

6,104

Downloads of v 2.02:

962

Last Update:

5/22/2018

Package Maintainer(s):

Software Author(s):

  • Bill Curran

Tags:

bcurran3 instchoco choco chocolatey unofficial installer portable

(unofficial) InstChoco (Portable)

This is not the latest version of (unofficial) InstChoco (Portable) available.

2.02 | Updated: 5/22/2018

Downloads:

6,104

Downloads of v 2.02:

962

Maintainer(s):

Software Author(s):

  • Bill Curran

(unofficial) InstChoco (Portable) 2.02

This is not the latest version of (unofficial) InstChoco (Portable) available.

All Checks are Passing

2 Passing Test


Validation Testing Passed


Verification Testing Passed

Details

To install (unofficial) InstChoco (Portable), run the following command from the command line or from PowerShell:

>

To upgrade (unofficial) InstChoco (Portable), run the following command from the command line or from PowerShell:

>

To uninstall (unofficial) InstChoco (Portable), 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 instchoco -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 instchoco -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 instchoco installed
  win_chocolatey:
    name: instchoco
    state: present
    version: 2.02
    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 'instchoco' do
  action    :install
  version  '2.02'
  source   'STEP 3 URL'
end

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


Chocolatey::Ensure-Package
(
    Name: instchoco,
    Version: 2.02,
    Source: STEP 3 URL
);

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


cChocoPackageInstaller instchoco
{
   Name     = 'instchoco'
   Ensure   = 'Present'
   Version  = '2.02'
   Source   = 'STEP 3 URL'
}

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


package { 'instchoco':
  provider => 'chocolatey',
  ensure   => '2.02',
  source   => 'STEP 3 URL',
}

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


salt '*' chocolatey.install instchoco version="2.02" 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 7/6/2018.

Description

Screenshot of InstChoco in use

InstChoco - The ULTIMATE Chocolatey and Chocolatey packages (re)installer!

QUESTION: "Why do I need an installer for Chocolatey when I already have Chocolatey installed?"

ANSWER: You need InstChoco for the NEXT time you want to install Chocolatey and automate package (re)installation!

InstChoco is the evolution of an old batch file I used over the years to automate installing Chocolatey followed by a bunch of "choco install program -y" commands to install my standard set of packages. I eventually decided to make it a program and add many additional features as well as integrate with other Chocolatey packages I've created. What you see now is the culmination of many long days of work. I think InstChoco is the best it can be, but I'm always open to new features. Feel free to contact me with feedback. You can find InstChoco.exe in \ProgramData\chocolatey\lib\instchoco\tools.

FEATURES:

  • InstChoco uses ferventcoder/Rob's "Install with cmd.exe" method for installing Chocolatey.
  • InstChoco will enable up to four choco features if you pass them as parameters, i.e. allowGlobalConfirmation, failOnAutoUninstaller, allowEmptyChecksums, useRememberedArgumentsForUpgrades, etc.
  • InstChoco can download a packages.config file from the Internet and install packages from that downloaded file.
  • InstChoco will automatically search for a PACKAGES.CONFIG file in various locations on your computer and install packages from it if found.
  • InstChoco has baked in support for Choco Package List Backup to Local and Cloud. InstChoco will use the first found PACKAGES.CONFIG in the following order: current directory, Documents folder, HOMESHARE, Box, Dropbox, Google Drive, iCloudDrive, OneDrive, ReadyCLOUD, Nextcloud, Resilio Sync, Seafile, or Tonido Sync.
  • InstChoco has baked in support for Choco Persistent Packages. InstChoco will use PERSISTANTPACKAGES.CONFIG and install packages from it if found.
  • InstChoco has a baked in mini version of Choco Package List Backup to Local and Cloud to backup a list of your installed Chocolatey packages.
  • InstChoco has baked in support for Windows Active Directory domains. InstChoco will use various PACKAGES.CONFIG files based on domain and user account to install packages from them if found. Now you can easily standardize your organization with base Chocolatey package installs.

SPECIAL FEATURES FOR WINDOWS ACTIVE DIRECTORY DOMAINS:

  • InstChoco will use DOMAINNAMEPACKAGES.CONFIG and install packages from it if found. This allows Windows AD domain joined computers to have a commonly installed base setup of Chocolatey packages across all organizational computers. To use this feature, system administrators of Windows AD domains need to create a DOMAINNAMEPACKAGES.CONFIG file and put it in your logon server's NETLOGON directory; i.e. \LOGONSERVER\NETLOGON\DOMAINNAMEPACKAGES.CONFIG
  • InstChoco will use USERNAMEPACKAGES.CONFIG and install packages from it if found. This allows users of Windows AD domain joined computers to have their own specific Chocolatey packages installed for them, useful for first time setup and roaming users. To use this feature, system administrators or users of Windows AD domains need to create a USERNAMEPACKAGES.CONFIG file and put it in the root of the user's HOMESHARE; i.e. \LOGONSERVER\HOMESHARE\USERNAMEPACKAGES.CONFIG

Usage - please see Release Notes below (ran out of space).

PACKAGE NOTES


tools\InstChoco.exe
md5: EB57DE68555A5324BE854D09ACDF2180 | sha1: 6AAE08A72031CF74A8599E8B3C0A70FB6E09D27A | sha256: 811FBE3BD37F40A4253B2D54DD940C9B67F321B94240FC82E63DA37728097E46 | sha512: F779F1962CCFF57101466928F36FB5D9464BB86DD568DB2EC22732D12DBB446BBC55F00A0A40E961368FC915626AD8FD9F7A06B5671633F92D3F3D0E3A68E7AC
tools\LICENSE.txt
==================== InstChoco ====================

InstChoco is Copyright 2018 Bill Curran and is free
for personal use, though donations are appreciated. 

Commercial use of InstChoco is forbidden without 
a paid license. Organizations who purchase an 
InstChoco license will receive a customized 
version of InstChoco with their organization's 
name embedded in the program and without 
corporate nag screens. 

To inquire about purchasing a license, please 
contact [email protected]

==================== InstChoco ====================
tools\VERIFICATION.txt
==================== InstChoco ====================

This InstChoco Chocolatey package was uploaded by the author, Bill Curran aka BCURRAN3.

v2.02 sha256: 811FBE3BD37F40A4253B2D54DD940C9B67F321B94240FC82E63DA37728097E46
v2.01 sha256: 3E89A851FB69070D09D80CF409C45612CE7678221ADE6AA248844C599D347256
v2.00 sha256: 87AC9E9E30193268058476E72DDA9593E4FDB795AC76029B70A5217FB63A436E
v1.30 sha256: D9B593CF4EBC390360DE1BA801103D0A3208F1602C2B10072500D80E09FF74DE
v1.21 sha256: 59498D9BB5AECB5EFE022F544D3537C5C3886C4478B1711FFDE2666AF0F83D75
v1.20 sha256: C41F13CDDA1B147F3B41E5C9F9FE4B9A5BFA8C9AFD722A23DF579D485F241354
v1.10 sha256: 4FD57C57A7F7BEC7891AD8CB8D645126336965F7151EB0B514E8A6F49DDF4076
v1.00 sha256: 99366BD182946F7AAAF0070244F8F96CC160274E85892F5AD3D54F658444908B

==================== InstChoco ====================

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
(unofficial) InstChoco (Portable) 2.10 931 Sunday, February 24, 2019 Approved
(unofficial) InstChoco (Portable) 2.02 962 Tuesday, May 22, 2018 Approved
(unofficial) InstChoco (Portable) 2.01 180 Sunday, May 20, 2018 Approved
(unofficial) InstChoco (Portable) 2.00 198 Thursday, May 17, 2018 Approved

Usage:

OPTIONS AND SWITCHES:

-help, -?, /?

Displays this information.

-y

Installs Chocolatey and packages if a PACKAGES.CONFIG file is found.

-y -s URL

Installs Chocolatey and packages from specificed URL, i.e. http://website.com/directory/packagefilename.config

-y -browse

Installs Chocolatey and packages from a file you choose via Window's browser, interaction required.

-y -popular

Installs Chocolatey and a few popular packages.

-ynp, -np

Installs Chocolatey but no packages.

-b, -backup

Makes a backup list of your currently installed Chocolatey packages.

-bwv, -backupwithversions

Makes a backup list of your currently installed Chocolatey packages with versions.

-info

Displays InstChoco program information.

-license

Displays InstChoco license information.

Optional - You may pass up to 4 choco features to enable after other options and switches,
i.e. allowGlobalConfirmation failOnAutoUninstaller allowEmptyChecksums useRememberedArgumentsForUpgrades

CHANGELOG:

  • 2.02 - removed legacy date checking and connectivity checking which only worked in English environments
  • 2.01 - fixed bug with non-domain joined computers
  • 2.00 - Added -browse, -popular, -backup, -backupwithversions, -license options as well as many cosmetic changes. Added iCloudDrive support. Commercial use of InstChoco v2+ requires a paid license.
  • 1.30 - Added ability to download a packages.config file from the web and install packages from it.
  • 1.21 - Added Box, Nextcloud, and Seafile support to catch up with choco-package-list-backup.
  • 1.20 - Added domain support to install predefined packages for domain joined computers and user specific packages.
  • 1.11 - (unreleased) Added -ynp switch to skip installation of packages. (Install Chocolatey only)
  • 1.10 - Added Choco Package List Backup to Local and Cloud and choco persistent packages support for package (re)installation. Cosmetic changes. Checks for year 2018 or greater instead of 2017 or greater. Updated donation info. :)
  • 1.00 - initial release

This package has no dependencies.

Discussion for the (unofficial) InstChoco (Portable) Package

Ground Rules:

  • This discussion is only about (unofficial) InstChoco (Portable) and the (unofficial) InstChoco (Portable) 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 (unofficial) InstChoco (Portable), 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