Downloads:

6,265

Downloads of v 1.10:

166

Last Update:

1/30/2018

Package Maintainer(s):

Software Author(s):

  • Bill Curran

Tags:

instchoco bcurran3 choco chocolatey unofficial standalone installer portable

(unofficial) InstChoco (Portable)

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

1.10 | Updated: 1/30/2018

Downloads:

6,265

Downloads of v 1.10:

166

Maintainer(s):

Software Author(s):

  • Bill Curran

(unofficial) InstChoco (Portable) 1.10

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: 1.10
    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  '1.10'
  source   'STEP 3 URL'
end

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


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

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


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

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


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

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


salt '*' chocolatey.install instchoco version="1.10" 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 by moderator flcdrg on 2/17/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 it for the NEXT time you want to install Chocolatey and it will make the task much EASIER!

I wrote this as a batch file a couple of years ago so I wouldn't constantly have to reference Chocolatey.org for the VERY long command to install Chocolatey. I put in some basic error checking for administrator privileges, network connectivity, date checking, etc. I then placed the batch file on my local server, on my website, in Dropbox, on USB thumb drives, everywhere I could think of so I'd have easy access to it. I've used it for my computers, friend's computers, client's computers, and almost every Wintel computer I've touched in the last few years. It has served me well and saved me time. I've now stripped out all the annoying pauses, made it no-interaction-required, added a bunch of super duper dandy extra features, and compiled it to an executable program called InstChoco. I've deemed it so useful that I decided to share. My EUREKA! moment in re-creating this as an executable and expanding it's features was after writing my Choco Package List Backup to Local and Cloud script. I realized I could go a step further by integrating Choco Package List Backup to Local and Cloud along with InstChoco for a complete backup and recovery solution of my/your/his/her/their/everyone's Chocolatey packages. I hope InstChoco serves you well and saves you time!

Features:

  • InstChoco uses 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, etc.
  • InstChoco will automatically search for a PACKAGES.CONFIG file in various locations 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, Dropbox, Google Drive, OneDrive, ReadyCLOUD, Resilio Sync, or Tonido Sync. (New in v1.10)
  • InstChoco has baked in support for Choco Persistent Packages. InstChoco will use PERSISTANTPACKAGES.CONFIG and install packages from it if found - always. (New in v1.10)

You can find InstChoco.exe in \programdata\chocolatey\lib\instchoco\tools. I tell you this because I KNOW you want to copy it to your local server, website, Dropbox, USB thumb drives, and everywhere you can think of so you'll have easy access to it.

Usage: InstChoco -y

If you find InstChoco useful, and I suspect you will, please consider donating: https://www.paypal.me/bcurran3donations

PACKAGE NOTES


tools\InstChoco.exe
md5: F7DAC5119E964F3FB85141ECF7A52B93 | sha1: 2CE3563428E9D1438D1A4B99CB74388061181B14 | sha256: 4FD57C57A7F7BEC7891AD8CB8D645126336965F7151EB0B514E8A6F49DDF4076 | sha512: 48785320F9ACF8182813E58D3F5ADA5A7B22E395A62BF9ECC868D4E886E1EAC2DE6B9D948567D4F822F010EA6E8EB51C472B3AF2956496F26193049F328061F9
tools\LICENSE.txt
==================== InstChoco ====================

InstChoco is free and Copylefted by Bill Curran.

SEE:
https://www.gnu.org/licenses/copyleft.en.html
https://www.gnu.org/licenses/gpl.html

bcurran3 08/19/2017

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

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

v1.00 sha256: 99366BD182946F7AAAF0070244F8F96CC160274E85892F5AD3D54F658444908B
v1.10 sha256: 4FD57C57A7F7BEC7891AD8CB8D645126336965F7151EB0B514E8A6F49DDF4076

==================== 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 937 Sunday, February 24, 2019 Approved
(unofficial) InstChoco (Portable) 2.02 968 Tuesday, May 22, 2018 Approved
(unofficial) InstChoco (Portable) 2.01 185 Sunday, May 20, 2018 Approved
(unofficial) InstChoco (Portable) 2.00 201 Thursday, May 17, 2018 Approved

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