Skip to content

Instantly share code, notes, and snippets.

#start http://boxstarter.org/package/nr/url?https://gist.github.com/JEStaubach/b7e05abf08202083f3a9ca3f132dde63/raw
function ignore_checksums($pkgName, $pkgUrl) {
Write-Host "Ignore Checksums: Installing $($pkgName) from $($pkgUrl)."
set-item env:\ChocolateyAllowEmptyChecksums 'true'
set-item env:\ChocolateyAllowEmptyChecksumsSecure 'true'
install-ChocolateyVsixPackage -PackageName $pkgName -VsixUrl $pkgUrl
}
ignore_checksums 'Web Essentials 2015.3' 'https://visualstudiogallery.msdn.microsoft.com/ee6e6d8c-c837-41fb-886a-6b50ae2d06a2/file/146119/48/Web%20Essentials%202015.3%20v3.0.235.vsix'
#$reboot_log = "C:\installation.rbt"
#if ( -not (Test-Path $reboot_log) ) { New-Item $reboot_log -type file }
#$reboots = Get-Content $reboot_log
# Boxstarter options
$Boxstarter.RebootOk=$true # Allow reboots?
$Boxstarter.NoPassword=$false # Is this a machine with no login password?
$Boxstarter.AutoLogin=$true # Save my password securely and auto-login after a reboot
choco install python2 --ignore-checksums -moy --version 2.7.11 --install-arguments '/qn /norestart ALLUSERS=1 TARGETDIR=C:\Python27'
@JEStaubach
JEStaubach / temp
Last active October 18, 2016 01:12
temp_BoxstarterPackage v1.0.0 (forced)
+ Boxstarter starting Calling Chocolatey to install python2. This may take several minutes to complete...
Installing the following packages:
python2
By installing you accept licenses for the packages.
python2 v2.7.11
Get-BinRoot is going to be deprecated in v1 and removed in v2. It has been replaced with Get-ToolsLocation (starting with v0.9.10), however many packages no longer require a special separate directory since package folders no longer have versions on them. Some do though and should continue to use Get-ToolsLocation.
WARNING: Ignoring checksums due to feature checksumFiles turned off or option --ignore-checksums set.
Installing python2...
WARNING: Pro / Business supports a single, ubiquitous install directory option.
#$reboot_log = "C:\installation.rbt"
#if ( -not (Test-Path $reboot_log) ) { New-Item $reboot_log -type file }
#$reboots = Get-Content $reboot_log
# Boxstarter options
$Boxstarter.RebootOk=$true # Allow reboots?
$Boxstarter.NoPassword=$false # Is this a machine with no login password?
$Boxstarter.AutoLogin=$true # Save my password securely and auto-login after a reboot
choco install python2 --ignore-checksums -moy --version 2.7.11 --install-arguments '/qn /norestart ALLUSERS=1 TARGETDIR="C:\Python27"'
@JEStaubach
JEStaubach / VisualStudioAdminDeployment
Last active March 20, 2017 06:31
Configuration File for Visual Studio 2015 Community Deployment
<?xml version="1.0" encoding="utf-8"?>
<AdminDeploymentCustomizations xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/wix/2011/AdminDeployment">
<BundleCustomizations TargetDir="C:\Program Files (x86)\Microsoft Visual Studio 14.0" NoCacheOnlyMode="default" NoWeb="yes" NoRefresh="default" SuppressRefreshPrompt="default" Feed="default" />
<SelectableItemCustomizations>
<SelectableItemCustomization Id="VSUV3RTMV1" Selected="yes" FriendlyName="Visual Studio 2015 Update 3" />
<SelectableItemCustomization Id="MicroUpdateV3" Selected="yes" FriendlyName="MicroUpdate 3.0 for Visual Studio 2015 Update 3" />
<SelectableItemCustomization Id="NativeLanguageSupport_VCV1" Hidden="no" Selected="yes" FriendlyName="Common Tools for Visual C++ 2015" />
<SelectableItemCustomization Id="NativeLanguageSupport_MFCV1" Hidden="no" Selected="yes" FriendlyName="Microsoft Foundation Classes for C++" />
<SelectableItemCustomizat
#START http://boxstarter.org/package/url?https://gist.githubusercontent.com/JEStaubach/8357aa6c1ff31b271c6cba01afcfab19/raw
# Initialize reboot log file
$reboot_log = "C:\installation.rbt"
if ( -not (Test-Path $reboot_log) ) { New-Item $reboot_log -type file }
$reboots = Get-Content $reboot_log
# Boxstarter options
$Boxstarter.RebootOk=$true # Allow reboots?
$Boxstarter.NoPassword=$false # Is this a machine with no login password?