Visual Studio Code Insiders (Install)

  • 1
  • 2
  • 3

1.68.0.20220527 | Updated: 27 May 2022

Downloads:

45,657

Downloads of v 1.68.0.20220527:

46

Maintainer(s):

Software Author(s):

  • Microsoft

  • 1
  • 2
  • 3
Visual Studio Code Insiders (Install) 1.68.0.20220527

  • 1
  • 2
  • 3

All Checks are Passing

3 Passing Tests


Validation Testing Passed


Verification Testing Passed

Details

Scan Testing Successful:

No detections found in any package files

Details
Learn More

Deployment Method: Individual Install, Upgrade, & Uninstall

To install Visual Studio Code Insiders (Install), run the following command from the command line or from PowerShell:

>

To upgrade Visual Studio Code Insiders (Install), run the following command from the command line or from PowerShell:

>

To uninstall Visual Studio Code Insiders (Install), 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 vscode-insiders.install -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 vscode-insiders.install -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 vscode-insiders.install
  win_chocolatey:
    name: vscode-insiders.install
    version: '1.68.0.20220527'
    source: INTERNAL REPO URL
    state: present

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


chocolatey_package 'vscode-insiders.install' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '1.68.0.20220527'
end

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


cChocoPackageInstaller vscode-insiders.install
{
    Name     = "vscode-insiders.install"
    Version  = "1.68.0.20220527"
    Source   = "INTERNAL REPO URL"
}

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


package { 'vscode-insiders.install':
  ensure   => '1.68.0.20220527',
  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.

This package is likely a meta/virtual (*) or an installer (*.install) or portable (*.portable) application package.

  • Meta/virtual (*) - has a dependency on the *.install or the *.portable package - it is provided for discoverability and for other packages to take a dependency on.
  • Portable (*.portable/*.commandline (deprecated naming convention)/*.tool (deprecated naming convention)) - usually zips or archives that require no administrative access to install.
  • Install (*.install/*.app (deprecated naming convention)) - uses native installers, usually requires administrative access to install.

Learn more about chocolatey's distinction of installed versus portable apps and/or learn about this kind of package.

This package was approved as a trusted package on 27 May 2022.

Description

Visual Studio Code Insiders is the pre-release build of Visual Studio Code.

Visual Studio Code is a code editor redefined and optimized for building and debugging modern web and cloud applications. It's free, build on open source and available on your favorite platform - Linux, macOS, and Windows.

Features

  • Meet IntelliSense: Go beyond syntax highlighting and autocomplete with IntelliSense, which provides smart completions based on variable types, function definitions, and imported modules.
  • Print statement debugging is a thing of the past: Debug code right from the editor. Launch or attach to your running apps and debug with break points, call stacks, and an interactive console.
  • Git commands built-in: Working with Git and other SCM providers has never been easier. Review diffs, stage files, and make commits right from the editor. Push and pull from any hosted SCM service.
  • Extensible and customizable: Want even more features? Install extensions to add new languages, themes, debuggers, and to connect to additional services. Extensions run in separate processes, ensuring they won't slow down your editor. Learn more about extensions.
  • Deploy with confidence and ease: With Microsoft Azure you can deploy and host your React, Angular, Vue, Node, Python (and more!) sites, store and query relational and document based data, and scale with serverless computing, all with ease, all from within VS Code.

Package parameters

  • /NoDesktopIcon - Don't add a desktop icon.
  • /NoQuicklaunchIcon - Don't add an icon to the QuickLaunch area.
  • /NoContextMenuFiles - Don't add an Open with Code Insiders entry to the context menu for files.
  • /NoContextMenuFolders - Dont't add an Open with Code Insiders entry to the context menu for folders.
  • /DontAssociateWithFiles - Dont't associate Visual Studio Code Insiders with supported files.
  • /DontAddToPath - Don't add Visual Studio Code Insiders to the system PATH.

Example: choco install vscode-insiders.install --params "/NoDesktopIcon /DontAddToPath"

Notes

screenshot


tools\chocolateyInstall.ps1
$ErrorActionPreference = 'Stop'

$toolsPath = Split-Path $MyInvocation.MyCommand.Definition
. $toolsPath\helpers.ps1

Close-VSCodeInsiders

$pp = Get-PackageParameters
function Get-MergeTasks {
  $t = "!runCode"
  $t += ', ' + '!' * $pp.NoDesktopIcon + 'desktopicon'
  $t += ', ' + '!' * $pp.NoQuicklaunchIcon + 'quicklaunchicon'
  $t += ', ' + '!' * $pp.NoContextMenuFiles + 'addcontextmenufiles'
  $t += ', ' + '!' * $pp.NoContextMenuFolders + 'addcontextmenufolders'
  $t += ', ' + '!' * $pp.DontAssociateWithFiles + 'associatewithfiles'
  $t += ', ' + '!' * $pp.DontAddToPath + 'addtopath'

  Write-Host "Merge Tasks: $t"
  $t
}

$packageArgs = @{
  packageName    = "$env:ChocolateyPackageName"
  fileType       = 'exe'
  url            = 'https://az764295.vo.msecnd.net/insider/6428d0fc7dae5801cdaf2d160ac39a3dfc8f0c06/VSCodeSetup-ia32-1.68.0-insider.exe'
  url64bit       = 'https://az764295.vo.msecnd.net/insider/6428d0fc7dae5801cdaf2d160ac39a3dfc8f0c06/VSCodeSetup-x64-1.68.0-insider.exe'

  softwareName   = 'Microsoft Visual Studio Code Insiders'

  checksum       = '02abe1ee120b028f734bb5ce6c46e548c4a26400d3673cb2aed7d94856b2c1b19acb8c538911f9822671e05ad8b2d24359b0ea6ffdb10d7ce792f0c4a175c28e'
  checksumType   = 'sha512'
  checksum64     = 'c2286e1ce8fc13b3c964766868f851506a4b004b1e3d8cf8095cf7cde9dac9494829d64f654846b56474f7879a8cb3d70eab3ca788671397cff545fcfb2cfb18'
  checksumType64 = 'sha512'

  silentArgs     = '/verysilent /suppressmsgboxes /mergetasks="{0}" /log="{1}\install.log"' -f (Get-MergeTasks), (Get-PackageCacheLocation)
  validExitCodes = @(0, 3010, 1641)
}

Install-ChocolateyPackage @packageArgs
tools\chocolateyUninstall.ps1
$toolsPath = Split-Path $MyInvocation.MyCommand.Definition
. $toolsPath\helpers.ps1

Close-VSCodeInsiders
tools\helpers.ps1
function Close-VSCodeInsiders {
  $processName = 'Code - Insiders'
  if (Get-Process $processName -ErrorAction SilentlyContinue) {
    Write-Host "Closing $processName"
    Get-Process $processName -ErrorAction SilentlyContinue | ForEach-Object { $_.CloseMainWindow() | Out-Null }
    Start-Sleep 1
    Get-Process $processName -ErrorAction SilentlyContinue | Stop-Process  #in case gracefull shutdown did not succeed, try hard kill
  }
}

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
Visual Studio Code Insiders (Install) 1.68.0.20220526 54 Thursday, May 26, 2022 Approved
Visual Studio Code Insiders (Install) 1.68.0.20220525 73 Wednesday, May 25, 2022 Approved
Visual Studio Code Insiders (Install) 1.68.0.20220524 67 Tuesday, May 24, 2022 Approved
Visual Studio Code Insiders (Install) 1.68.0.20220523 74 Monday, May 23, 2022 Approved
Visual Studio Code Insiders (Install) 1.68.0.20220520 134 Friday, May 20, 2022 Approved
Visual Studio Code Insiders (Install) 1.68.0.20220519 78 Thursday, May 19, 2022 Approved
Visual Studio Code Insiders (Install) 1.68.0.20220518 86 Wednesday, May 18, 2022 Approved
Visual Studio Code Insiders (Install) 1.68.0.20220517 46 Tuesday, May 17, 2022 Approved
Visual Studio Code Insiders (Install) 1.68.0.20220516 85 Monday, May 16, 2022 Approved

Discussion for the Visual Studio Code Insiders (Install) Package

Ground Rules:

  • This discussion is only about Visual Studio Code Insiders (Install) and the Visual Studio Code Insiders (Install) 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 Visual Studio Code Insiders (Install), 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