Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
http://boxstarter.org/ script for .net development in a vm - run it by clicking here: https://is.gd/Zt6ziH
# boxstarter script http://boxstarter.org/
# source: https://gist.github.com/timabell/608fb680bfc920f372ac
# originally tested on win7 x64
# wip on win 8.1 build
# dotmatrix (windows branch) https://github.com/timabell/dotmatrix/tree/windows
# powershell profile https://gist.github.com/timabell/56254968905f9066ef88c1ae774a53d1
# This is a start of a build of a box I'm using at the moment.
# Fork this to your own gist, then comment/uncomment/add stuff to suit you.
# Some context: I hate windows, and only use it for work, the rest of the time
# I'm on linux; so when I'm doing client work on my kit that needs windows (I'm
# a .net contract dev) I run windows in virtualbox. As a result this build
# doesn't have a lot of tools you might use like dropbox etc as all that lives
# on my host machine and is all installed with apt-get (see my dotmatrix on
# github for the list).
# I'm also a vim user, so you won't see notepad++ or other common things of that ilk.
# Actually scratch that, notepad++ is too useful for looking into encoding problems.
# To run, click the link in the desription at the top of this gist page.
# This will only work in IE / Edge.
# Alternatively paste this link into internet explorer's address bar and hit enter:
# http://boxstarter.org/package/nr/url?https://gist.githubusercontent.com/timabell/608fb680bfc920f372ac/raw/boxstarter.ps1
# or the shortened version:
# https://is.gd/Zt6ziH
# If IE is your default browser you can simply paste into start > run without firing up IE first.
# Install log ends up in C:\Users\tim\AppData\Local\Boxstarter
# Note: last time I checked boxstarter installed an outdated version of chocolatey.
# I've been giving some thought to this approach, and it seems to me that while it's a good start, the variation
# in the needs for building a dev machine for different circumstances is such that you'll spend half your time
# fiddling with these script files to get them right for whatever situation you have on the day. I think we need
# another layer on top that allows you to pick the bits you want at the time, and add extra bits on demand.
# doesn't seem to work on win 10
# https://forums.virtualbox.org/viewtopic.php?f=2&t=65159
# From Event Log: "Display driver VBoxVideoW8 stopped responding and has been successfully disabled."
# cinst VBoxGuestAdditions.install -version 4.3.20
# - latest version, awaiting moderation so have to specify
# needs updating, my virtualbox install provides v4.3.28 which does work with my win10 vm
### folders
# you can run any powershell in this script as boxstarter just runs this as powershell
# somewhere to put code I'm working on
$repoPath = 'c:\repo'
if(!(Test-Path -Path "$repoPath" )){
mkdir "$repoPath"
}
# Allow running scripts (not needed for boxstarter, just useful) http://superuser.com/a/106363/8271
set-executionpolicy remotesigned -Force
# Windows options: - more options at http://boxstarter.org/WinConfig
### windows UI config
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions
# always show all items in system tray
Set-ItemProperty -Path HKCU:SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer -Name EnableAutoTray -Value 0 -Type DWord
# turn off stupid integrated CILLIT BING! search in start menu
Set-ItemProperty -Path HKCU:SOFTWARE\Microsoft\Windows\CurrentVersion\Search -Name BingSearchEnabled -Value 0 -Type DWord
# turn off annoying snap window suggestion https://www.tekrevue.com/tip/how-to-disable-snap-assist-windows-10/
Set-ItemProperty -Path HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name SnapAssist -Value 0 -Type DWord
# use procmon to find more annoying reg key settings, filter to Operation="RegSetValue"
### windows components & config
cinst -source windowsfeatures IIS-WebServerRole IIS-WebServer IIS-Security IIS-WindowsAuthentication
# information on using raw powershell to install windows features: https://www.simple-talk.com/sysadmin/powershell/an-introduction-to-powershell-modules/
# cinst powershell4
# - shouldn't be needed on win 8, but should be harmless, and will upgrade win 7
### programs
# to see the details of any of the following go to https://chocolatey.org/packages/PACKAGE_NAME_HERE
# find more package names here: https://chocolatey.org/
# and here `choco list`
# and here `choco list -source windowsfeatures`
#
# * 7zip - needed to be able to unzip AES encrypted zip files
cinst 7zip gitextensions vim googlechrome pdfcreator kdiff3 sysinternals rdcman chocolatey windirstat graphviz au eclipse fiddler4
# firefox defaults to US which causes problems with badly configured javascript calendar popups:
cinst firefox -packageParameters "l=en-GB"
# plugin manager and other plugins are not available in 64bit notepad++, force 32bit:
cinst notepadplusplus --x86
# IIS-WindowsAuthentication - enable integrated auth in IIS
### big slow installs
# visual studio #
cinst visualstudio2015professional -packageParameters "--Features SQL"
# cinst VisualStudio2013Ultimate -InstallArguments "/Features:'WebTools SQL'"
# cinst visualstudio2015community -packageParameters "--Features SQL"
# - 2015 community works, but doesn't upgrade to pro when you enter a key
# package options here:
# https://chocolatey.org/packages/visualstudio2013ultimate
# https://chocolatey.org/packages/visualstudio2015community
# visual studio extensions (vsix)
# these aren't specific to a version vs (in name at least)
cinst editorconfig.vs vsvim webessentials2015 ihateregions
# todo: https://visualstudiogallery.msdn.microsoft.com/f3b504c6-0095-42f1-a989-51d5fc2a8459 - web extension pack, used to be part of web essentials
# todo: https://marketplace.visualstudio.com/items?itemName=ErlandR.ReAttach
# vs 2015
# cinst poshtools-visualstudio2015 -version 3.0.177 # install failed, commented on package page
# vs 2013
# cinst visualstudio2013-webessentials.vsxigituh
# cinst poshtools-visualstudio2013
# resharper has to be installed after visual studio otherwise it doesn't show up
cinst resharper
# sql server + tools #
cinst mssqlserver2014express
# .net 3.5 sp1 is a dependency of management studio (not installed by default on win 10, that only has 4.5+)
cinst dotnet3.5 mssqlservermanagementstudio2014express
# Automatically cache github & gist ssh server keys (gitext/putty/plink)
# Workaround for git bash bug http://stackoverflow.com/q/33240137/10245
echo y | & 'C:\Program Files (x86)\GitExtensions\PuTTY\plink.exe' -ssh git@github.com
echo y | & 'C:\Program Files (x86)\GitExtensions\PuTTY\plink.exe' -ssh git@gist.github.com
echo y | & 'C:\Program Files (x86)\GitExtensions\PuTTY\plink.exe' -ssh git@bitbucket.org
### notes
# need packaging
# - visual studio addons
# - ghostdoc
# - color-theme editor
# - ready-roll
# redgate data suite
# - twittered, download is behind registration form :-(
# - response! :-) https://twitter.com/DataMacas/status/635723782645284864
# - sql dev suite direct download http://download.red-gate.com/SQLDeveloperSuite.exe 3dd4b1ed4cddf100a3b0f1a4150b16f5
# latest localdb
# need packaging for VS 2015
# - posh tools - powershell editing support in VS
#todo: https://visualstudiogallery.msdn.microsoft.com/46c0c49e-f825-454b-9f6a-48b216797eb5 - Open in External Browser
#todo: https://visualstudiogallery.msdn.microsoft.com/7f960171-9d87-4143-80ad-9e7edaa0d1f3 - xeam Project Rename Tool (untested)
# also worth a look
# - VS "Roaming Extension Manager" Extension:
# https://visualstudiogallery.msdn.microsoft.com/7b421a95-c32c-4433-a2be-a41b276013ab
#todo: https://github.com/Microsoft/Git-Credential-Manager-for-Windows
# config todo:
# dotmatrix - windows branch, clone, checkout, install vimbundles, install config
# git configuration - partially through dotmatrix, prompts for language, no sh configured
# gvim font and colour
# default file extension handling
# vs keyboard config - resharper, vsvim, other customisations
# vs - reload silently
# customised VS solarized theme, in dotmatrix - needs fixup for vs2015
# disable the screensaver (it's a vm, the host has a timed screen-lock)
# tell windows update to go fuck itself
# set git editor to gvim
# command-prompt-here http://stackoverflow.com/a/7560350/10245
# windows 10
# - knee-cap the privacy destroying auto-web search start box
# host key for github ssh
# ssh key - with putty, not ssh-keygen, add to github
# stuff I can't publish, but not too hard to do manually
# - visual studio sign-in
# - resharper license key
# - firefox sync sign-in - gets all the extensions installed
# - ready-roll license
# - ssh keys: generate with gitextensions/putty, add to bitbucket/github - keep on shared folder outside vm
# - git username / email (could publish it but don't want people committing as me by mistake)
# minor annoyances
# firefox - don't import, set default browser
# setup task bar & start menu
# pin vs to taskbar
# enable kdiff3 quit via esc
# kill crappy IE homepage
# auto-login - password in registry.
# http://www.intowindows.com/how-to-automatically-login-in-windows-10/
# refs and inspirations:
# - http://blog.zerosharp.com/provisioning-a-new-development-machine-with-boxstarter/
# - https://gist.github.com/alexanderfloh/6c53c10a495a41c13388
# - https://gist.github.com/ChaseFlorell/7832733
# - http://www.skylinetechnologies.com/Blog/Blog-Article/Article/2431/Chocolately-and-BoxStarter.aspx
# - https://gist.github.com/jptacek/8099099/
# - http://trycatchfail.com/blog/post/Painless-Workstation-Setup-with-Boxstarter.aspx
# - https://github.com/chocolatey/choco/wiki/DevelopmentEnvironmentSetup
# golang dev requirements
# cinst golang
# cinst mingw
# todo: set $GOPATH
# cinst webpi #broken
cinst git-credential-manager-for-windows
github.com,192.30.252.128 ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAq2A7hRGmdnm9tUDbO9IDSwBK6TbQa+PXYPCPy6rbTrTtw7PHkccKrpp0yVhp5HdEIcKr6pLlVDBfOLX9QUsyCOV0wzfjIJNlGEYsdlLJizHhbn2mUjvSAHQqZETYP81eFzLQNnPHt4EVVUh7VfDESU84KezmD5QlWpXLmvU31/yMf+Se8xhHTvKSCZIFImWwoG6mbUoWf9nzpIoaSjB+weqqUUmpaaasXVal72J+UX2B+2RPW3RcT0eOzQgqlJL3RKrTJvdsjE3JEAvGq3lGHSZXy28G3skua2SmVi/w4yCE6gbODqnTWlg7+wC604ydGXA8VJiS5ap43JXiUFFAaQ==
gist.github.com,192.30.252.141 ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAq2A7hRGmdnm9tUDbO9IDSwBK6TbQa+PXYPCPy6rbTrTtw7PHkccKrpp0yVhp5HdEIcKr6pLlVDBfOLX9QUsyCOV0wzfjIJNlGEYsdlLJizHhbn2mUjvSAHQqZETYP81eFzLQNnPHt4EVVUh7VfDESU84KezmD5QlWpXLmvU31/yMf+Se8xhHTvKSCZIFImWwoG6mbUoWf9nzpIoaSjB+weqqUUmpaaasXVal72J+UX2B+2RPW3RcT0eOzQgqlJL3RKrTJvdsjE3JEAvGq3lGHSZXy28G3skua2SmVi/w4yCE6gbODqnTWlg7+wC604ydGXA8VJiS5ap43JXiUFFAaQ==
bitbucket.org,131.103.20.167 ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAubiN81eDcafrgMeLzaFPsw2kNvEcqTKl/VqLat/MaB33pZy0y3rJZtnqwR2qOOvbwKZYKiEO1O6VqNEBxKvJJelCq0dTXWT5pbO2gDXC6h6QDXCaHo6pOHGPUy+YBaGQRGuSusMEASYiWunYN0vCAI8QaXnWMXNMdFP3jHAJH0eDsoiGnLPBlBp4TNm6rYI74nMzgz3B9IikW4WVK+dc8KZJZWYjAuORU3jc1c/NPskD2ASinf8v3xnfXeukU0sJ5N6m5E8VLjObPEO+mN2t/FZTMZLiFqPWc/ALSqnMnnhwrNi2rbfg/rd/IpL8Le3pSBne8+seeFVBoGqzHM9yXw==
# tesing ground for additions to main boxstarter build script
# To run, paste this into internet explorer's address bar (doen't work in firefox) and hit enter:
# http://boxstarter.org/package/nr/url?https://gist.githubusercontent.com/timabell/608fb680bfc920f372ac/raw/testpad.txt
# or shortened version:
# http://is.gd/jK3dhW
# this is interactive. doh.
# cinst sql2012.localdb
Owner

timabell commented Aug 14, 2015

on second run:

Installing MsSqlServerManagementStudio2014Express...
Write-Error : [ERROR] Running C:\Users\tim\AppData\Local\Temp\chocolatey\MsSqlS
erverManagementStudio2014Express\SQLManagementStudio\setup.exe with /IACCEPTSQL
SERVERLICENSETERMS /Q /ACTION=install /UPDATEENABLED=FALSE was not successful.
Exit code was '-2068643838'.
At C:\Users\tim\AppData\Local\Apps\2.0\6XHOYTKK.BKP\Y1JECQYJ.H53\boxs..tion_4b0
37e62ccd024b7_0002.0005_be57ddd41911ccdf\Chocolatey\chocolateyinstall\helpers\f
unctions\Start-ChocolateyProcessAsAdmin.ps1:46 char:16

  • Write-Error <<<<  $errorMessage
    
    • CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorExcep
      tion
    • FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorExceptio
      n,Write-Error

Write-Error : Package 'MsSqlServerManagementStudio2014Express v12.0.2000.8' did
not install successfully: [ERROR] Running C:\Users\tim\AppData\Local\Temp\choc
olatey\MsSqlServerManagementStudio2014Express\SQLManagementStudio\setup.exe wit
h /IACCEPTSQLSERVERLICENSETERMS /Q /ACTION=install /UPDATEENABLED=FALSE was no
t successful. Exit code was '-2068643838'.
At C:\Users\tim\AppData\Local\Apps\2.0\6XHOYTKK.BKP\Y1JECQYJ.H53\boxs..tion_4b0
37e62ccd024b7_0002.0005_be57ddd41911ccdf\Chocolatey\chocolateyinstall\functions
\Chocolatey-NuGet.ps1:90 char:28

  •             Write-Error <<<<  "Package `'$installedPackageName v$installe
    
    dPackageVersion`' did not install successfully: $($_.Exception.Message)"
    • CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorExcep
      tion
    • FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorExceptio
      n,Write-Error

Finished installing 'mssqlservermanagementstudio2014express' and dependencies -
if errors not shown in console, none detected. Check log for errors if unsure.
Write-Error : Chocolatey reported an unsuccessful exit code of 1
At line:124 char:32

  •                 Write-Error <<<<  "Chocolatey reported an unsuccessful ex
    
    it code of $LastExitCode"
    • CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorExcep
      tion
    • FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorExceptio
      n,Write-Error
Owner

timabell commented Aug 14, 2015

checklist for subsequent runs:

  • kdiff automatically configured in git-ext? (install order) - yes
Owner

timabell commented Aug 16, 2015

example output from win10 build

Boxstarter: Boxstarter will use its own private version of Chocolatey...

7-Zip (A) 9.20 Copyright (c) 1999-2010 Igor Pavlov 2010-11-18

Processing archive: C:\Users\tim\AppData\Local\Temp\chocolatey\chocInstall\chocolatey.zip

Extracting _rels.rels
Extracting chocolatey.nuspec
Extracting tools\chocolateyInstall.ps1
Extracting tools\chocolateysetup.psm1
Extracting tools\init.ps1
Extracting tools\chocolateyInstall\chocolatey.cmd
Extracting tools\chocolateyInstall\chocolatey.config
Extracting tools\chocolateyInstall\chocolatey.ps1
Extracting tools\chocolateyInstall\LICENSE.txt
Extracting tools\chocolateyInstall\NuGet.exe
Extracting tools\chocolateyInstall\NuGet.exe.ignore
Extracting tools\chocolateyInstall\functions\Append-Log.ps1
Extracting tools\chocolateyInstall\functions\Chocolatey-Cygwin.ps1
Extracting tools\chocolateyInstall\functions\Chocolatey-Help.ps1
Extracting tools\chocolateyInstall\functions\Chocolatey-Install.ps1
Extracting tools\chocolateyInstall\functions\Chocolatey-InstallAll.ps1
Extracting tools\chocolateyInstall\functions\Chocolatey-InstallExtension.ps1
Extracting tools\chocolateyInstall\functions\Chocolatey-InstallIfMissing.ps1
Extracting tools\chocolateyInstall\functions\Chocolatey-List.ps1
Extracting tools\chocolateyInstall\functions\Chocolatey-NuGet.ps1
Extracting tools\chocolateyInstall\functions\Chocolatey-Pack.ps1
Extracting tools\chocolateyInstall\functions\Chocolatey-PackagesConfig.ps1
Extracting tools\chocolateyInstall\functions\Chocolatey-Push.ps1
Extracting tools\chocolateyInstall\functions\Chocolatey-Python.ps1
Extracting tools\chocolateyInstall\functions\Chocolatey-RubyGem.ps1
Extracting tools\chocolateyInstall\functions\Chocolatey-Sources.ps1
Extracting tools\chocolateyInstall\functions\Chocolatey-Uninstall.ps1
Extracting tools\chocolateyInstall\functions\Chocolatey-Update.ps1
Extracting tools\chocolateyInstall\functions\Chocolatey-Version.ps1
Extracting tools\chocolateyInstall\functions\Chocolatey-WebPI.ps1
Extracting tools\chocolateyInstall\functions\Chocolatey-WindowsFeatures.ps1
Extracting tools\chocolateyInstall\functions\Create-InstallLogIfNotExists.ps1
Extracting tools\chocolateyInstall\functions\Delete-ExistingErrorLog.ps1
Extracting tools\chocolateyInstall\functions\Generate-BinFile.ps1
Extracting tools\chocolateyInstall\functions\Get-ChocolateyBins.ps1
Extracting tools\chocolateyInstall\functions\Get-ConfigValue.ps1
Extracting tools\chocolateyInstall\functions\Get-GlobalConfigValue.ps1
Extracting tools\chocolateyInstall\functions\Get-LatestPackageVersion.ps1
Extracting tools\chocolateyInstall\functions\Get-LongPackageVersion.ps1
Extracting tools\chocolateyInstall\functions\Get-PackageFoldersForPackage.ps1
Extracting tools\chocolateyInstall\functions\Get-PackageFolderVersions.ps1
Extracting tools\chocolateyInstall\functions\Get-SourceArguments.ps1
Extracting tools\chocolateyInstall\functions\Get-Sources.ps1
Extracting tools\chocolateyInstall\functions\Get-UserConfigValue.ps1
Extracting tools\chocolateyInstall\functions\Get-VersionsForComparison.ps1
Extracting tools\chocolateyInstall\functions\Move-BadInstall.ps1
Extracting tools\chocolateyInstall\functions\Remove-BinFile.ps1
Extracting tools\chocolateyInstall\functions\Remove-LastInstallLog.ps1
Extracting tools\chocolateyInstall\functions\Run-ChocolateyProcess.ps1
Extracting tools\chocolateyInstall\functions\Run-ChocolateyPS1.ps1
Extracting tools\chocolateyInstall\functions\Run-NuGet.ps1
Extracting tools\chocolateyInstall\functions\Write-UserConfig.ps1
Extracting tools\chocolateyInstall\helpers\chocolateyInstaller.psm1
Extracting tools\chocolateyInstall\helpers\functions\Get-BinRoot.ps1
Extracting tools\chocolateyInstall\helpers\functions\Get-CheckSumValid.ps1
Extracting tools\chocolateyInstall\helpers\functions\Get-ChocolateyUnzip.ps1
Extracting tools\chocolateyInstall\helpers\functions\Get-ChocolateyWebFile.ps1
Extracting tools\chocolateyInstall\helpers\functions\Get-EnvironmentVariable.ps1
Extracting tools\chocolateyInstall\helpers\functions\Get-EnvironmentVariableNames.ps1
Extracting tools\chocolateyInstall\helpers\functions\Get-FtpFile.ps1
Extracting tools\chocolateyInstall\helpers\functions\Get-ProcessorBits.ps1
Extracting tools\chocolateyInstall\helpers\functions\Get-UACEnabled.ps1
Extracting tools\chocolateyInstall\helpers\functions\Get-VirusCheckValid.ps1
Extracting tools\chocolateyInstall\helpers\functions\Get-WebFile.ps1
Extracting tools\chocolateyInstall\helpers\functions\Get-WebHeaders.ps1
Extracting tools\chocolateyInstall\helpers\functions\Install-ChocolateyDesktopLink.ps1
Extracting tools\chocolateyInstall\helpers\functions\Install-ChocolateyEnvironmentVariable.ps1
Extracting tools\chocolateyInstall\helpers\functions\Install-ChocolateyExplorerMenuItem.ps1
Extracting tools\chocolateyInstall\helpers\functions\Install-ChocolateyFileAssociation.ps1
Extracting tools\chocolateyInstall\helpers\functions\Install-ChocolateyInstallPackage.ps1
Extracting tools\chocolateyInstall\helpers\functions\Install-ChocolateyPackage.ps1
Extracting tools\chocolateyInstall\helpers\functions\Install-ChocolateyPath.ps1
Extracting tools\chocolateyInstall\helpers\functions\Install-ChocolateyPinnedTaskBarItem.ps1
Extracting tools\chocolateyInstall\helpers\functions\Install-ChocolateyPowershellCommand.ps1
Extracting tools\chocolateyInstall\helpers\functions\Install-ChocolateyVsixPackage.ps1
Extracting tools\chocolateyInstall\helpers\functions\Install-ChocolateyZipPackage.ps1
Extracting tools\chocolateyInstall\helpers\functions\Set-EnvironmentVariable.ps1
Extracting tools\chocolateyInstall\helpers\functions\Start-ChocolateyProcessAsAdmin.ps1
Extracting tools\chocolateyInstall\helpers\functions\Test-ProcessAdminRights.ps1
Extracting tools\chocolateyInstall\helpers\functions\Uninstall-ChocolateyPackage.ps1
Extracting tools\chocolateyInstall\helpers\functions\UnInstall-ChocolateyZipPackage.ps1
Extracting tools\chocolateyInstall\helpers\functions\Update-SessionEnvironment.ps1
Extracting tools\chocolateyInstall\helpers\functions\Write-ChocolateyFailure.ps1
Extracting tools\chocolateyInstall\helpers\functions\Write-ChocolateySuccess.ps1
Extracting tools\chocolateyInstall\helpers\functions\Write-Debug.ps1
Extracting tools\chocolateyInstall\helpers\functions\Write-Error.ps1
Extracting tools\chocolateyInstall\helpers\functions\Write-FileUpdateLog.ps1
Extracting tools\chocolateyInstall\helpers\functions\Write-Host.ps1
Extracting tools\chocolateyInstall\redirects\choco.exe
Extracting tools\chocolateyInstall\redirects\choco.exe.ignore
Extracting tools\chocolateyInstall\redirects\chocolatey.exe
Extracting tools\chocolateyInstall\redirects\chocolatey.exe.ignore
Extracting tools\chocolateyInstall\redirects\cinst.exe
Extracting tools\chocolateyInstall\redirects\cinst.exe.ignore
Extracting tools\chocolateyInstall\redirects\clist.exe
Extracting tools\chocolateyInstall\redirects\clist.exe.ignore
Extracting tools\chocolateyInstall\redirects\cpack.exe
Extracting tools\chocolateyInstall\redirects\cpack.exe.ignore
Extracting tools\chocolateyInstall\redirects\cpush.exe
Extracting tools\chocolateyInstall\redirects\cpush.exe.ignore
Extracting tools\chocolateyInstall\redirects\cuninst.exe
Extracting tools\chocolateyInstall\redirects\cuninst.exe.ignore
Extracting tools\chocolateyInstall\redirects\cup.exe
Extracting tools\chocolateyInstall\redirects\cup.exe.ignore
Extracting tools\chocolateyInstall\redirects\cver.exe
Extracting tools\chocolateyInstall\redirects\cver.exe.ignore
Extracting tools\chocolateyInstall\redirects\RefreshEnv.cmd
Extracting tools\chocolateyInstall\tools\7za.exe
Extracting tools\chocolateyInstall\tools\7za.exe.ignore
Extracting tools\chocolateyInstall\tools\7za.exe.manifest
Extracting tools\chocolateyInstall\tools\7zip.license.txt
Extracting tools\chocolateyInstall\tools\checksum.exe
Extracting tools\chocolateyInstall\tools\checksum.exe.ignore
Extracting tools\chocolateyInstall\tools\checksum.license.txt
Extracting tools\chocolateyInstall\tools\shimgen.exe
Extracting tools\chocolateyInstall\tools\shimgen.exe.ignore
Extracting tools\chocolateyInstall\tools\shimgen.license.txt
Extracting package\services\metadata\core-properties\e1f5c738a3c0485aa4d3dddb618d90c1.psmdcp
Extracting [Content_Types].xml

Everything is Ok

Files: 119
Size: 2741264
Compressed: 1017239
Creating ChocolateyInstall as an Environment variable (targeting 'Machine') and setting it to 'C:\Users\tim\AppData\Local\Apps\2.0\BQHP0V9B.CQ8\RHA45HDA.D5D\boxs..tion_4b037e62ccd024b7_0002.0005_be57ddd41911ccdf\Chocolatey'
We are setting up the Chocolatey repository for NuGet packages that should be at the machine level. Think executables/application packages, not library packages.
That is what Chocolatey NuGet goodness is for. The repository is set up at 'C:\Users\tim\AppData\Local\Apps\2.0\BQHP0V9B.CQ8\RHA45HDA.D5D\boxs..tion_4b037e62ccd024b7_0002.0005_be57ddd41911ccdf\Chocolatey'.
The packages themselves go to 'C:\Users\tim\AppData\Local\Apps\2.0\BQHP0V9B.CQ8\RHA45HDA.D5D\boxs..tion_4b037e62ccd024b7_0002.0005_be57ddd41911ccdf\Chocolatey\lib' (i.e. C:\Users\tim\AppData\Local\Apps\2.0\BQHP0V9B.CQ8\RHA45HDA.D5D\boxs..tion_4b037e62ccd024b7_0002.0005_be57ddd41911ccdf\Chocolatey\lib\yourPackageName).
A shim file for the command line goes to 'C:\Users\tim\AppData\Local\Apps\2.0\BQHP0V9B.CQ8\RHA45HDA.D5D\boxs..tion_4b037e62ccd024b7_0002.0005_be57ddd41911ccdf\Chocolatey\bin' and points to an executable in 'C:\Users\tim\AppData\Local\Apps\2.0\BQHP0V9B.CQ8\RHA45HDA.D5D\boxs..tion_4b037e62ccd024b7_0002.0005_be57ddd41911ccdf\Chocolatey\lib\yourPackageName'.

Creating Chocolatey NuGet folders if they do not already exist.

Copying the contents of 'C:\Users\tim\AppData\Local\Temp\chocolatey\chocInstall\tools\chocolateyInstall' to 'C:\Users\tim\AppData\Local\Apps\2.0\BQHP0V9B.CQ8\RHA45HDA.D5D\boxs..tion_4b037e62ccd024b7_0002.0005_be57ddd41911ccdf\Chocolatey'.
PATH environment variable does not have C:\Users\tim\AppData\Local\Apps\2.0\BQHP0V9B.CQ8\RHA45HDA.D5D\boxs..tion_4b037e62ccd024b7_0002.0005_be57ddd41911ccdf\Chocolatey\bin in it. Adding...
Chocolatey is now ready.
You can call chocolatey from anywhere, command line or powershell by typing choco.
Run choco /? for a list of functions.
You may need to shut down and restart powershell and/or consoles first prior to using chocolatey.
Boxstarter: Installing package https://gist.githubusercontent.com/timabell/608fb680bfc920f372ac/raw/boxstarter.txt
Boxstarter Version 2.5.21
(c) 2015 Matt Wrock. http://boxstarter.org

Boxstarter: Disabling Automatic Updates from Windows Update
Calling 'C:\Users\tim\AppData\Local\Apps\2.0\BQHP0V9B.CQ8\RHA45HDA.D5D\boxs..tion_4b037e62ccd024b7_0002.0005_be57ddd41911ccdf\Chocolatey\chocolateyinstall\nuget.exe pack temp_BoxstarterPackage\temp_BoxstarterPackage.nuspec -NoPackageAnalysis -NonInteractive'.
Attempting to build package from 'temp_BoxstarterPackage.nuspec'.
Successfully created package 'C:\Users\tim\AppData\Local\Apps\2.0\BQHP0V9B.CQ8\RHA45HDA.D5D\boxs..tion_4b037e62ccd024b7_0002.0005_be57ddd41911ccdf\BuildPackages\temp_BoxstarterPackage.1.0.0.nupkg'.
Your package has been built. Using Boxstarter.bat or Install-BoxstarterPackage will run this package.
Boxstarter: Created a temporary package temp_BoxstarterPackage from https://gist.githubusercontent.com/timabell/608fb680bfc920f372ac/raw/boxstarter.txt in C:\Users\tim\AppData\Local\Apps\2.0\BQHP0V9B.CQ8\RHA45HDA.D5D\boxs..tion_4b037e62ccd024b7_0002.0005_be57ddd41911ccdf\BuildPackages

  • Boxstarter starting Calling Boxstarter's vendored Chocolatey to install temp_BoxstarterPackage. This may take several minutes to complete...
    Chocolatey (v0.9.8.33) is installing 'temp_BoxstarterPackage' and dependencies. By installing you accept the license for 'temp_BoxstarterPackage' and each dependency you are installing.

temp_BoxstarterPackage v1.0.0
Boxstarter: Setting Windows Explorer options...
Boxstarter: Restarting the Windows Explorer process...
Boxstarter: Restarting the Windows Explorer process...
++ Boxstarter starting Calling Boxstarter's vendored Chocolatey to install IIS-WebServerRole. This may take several minutes to complete...
!!ATTENTION!!
The next version of Chocolatey (v0.9.9) will require -y to perform
behaviors that change state without prompting for confirmation. Start
using it now in your automated scripts.

For details on the all new Chocolatey, visit http://bit.ly/new_choco
Chocolatey (v0.9.8.33) is installing IIS-WebServerRole and dependencies (from Windows Features). By installing you accept the license for IIS-WebServerRole and each dependency you are installing.
Opening minimized PowerShell window and calling 'cmd.exe /c C:\Windows\System32\dism.exe /Online /NoRestart /Enable-Feature /FeatureName:IIS-WebServerRole'. If progress is taking a long time, please check that window. It also may not be 100% silent...

Deployment Image Servicing and Management tool
Version: 10.0.10240.16384

Image Version: 10.0.10240.16384

Enabling feature(s)
The operation completed successfully.
Finished installing 'IIS-WebServerRole' and dependencies - if errors not shown in console, none detected. Check log for errors if unsure.
++ Boxstarter finished Calling Boxstarter's vendored Chocolatey to install IIS-WebServerRole. This may take several minutes to complete... 00:01:12.8489968
Boxstarter: IIS-WebServer is already installed
++ Boxstarter starting Calling Boxstarter's vendored Chocolatey to install powershell4. This may take several minutes to complete...
!!ATTENTION!!
The next version of Chocolatey (v0.9.9) will require -y to perform
behaviors that change state without prompting for confirmation. Start
using it now in your automated scripts.

For details on the all new Chocolatey, visit http://bit.ly/new_choco
Chocolatey (v0.9.8.33) is installing 'powershell4' and dependencies. By installing you accept the license for 'powershell4' and each dependency you are installing.

DotNet4.5 v4.5.20120822
Microsoft .Net 4.5 Framework is already installed on your machine.

powershell4 v4.0.0.20140724

Mode LastWriteTime Length Name


d----- 08/16/2015 00:11 Powershell4 already installed on your OS
Powershell4 already installed on your OS. has finished successfully! The chocolatey gods have answered your request!
Finished installing 'powershell4' and dependencies - if errors not shown in console, none detected. Check log for errors if unsure.
++ Boxstarter finished Calling Boxstarter's vendored Chocolatey to install powershell4. This may take several minutes to complete... 00:00:09.1888221
++ Boxstarter starting Calling Boxstarter's vendored Chocolatey to install 7zip. This may take several minutes to complete...
!!ATTENTION!!
The next version of Chocolatey (v0.9.9) will require -y to perform
behaviors that change state without prompting for confirmation. Start
using it now in your automated scripts.

For details on the all new Chocolatey, visit http://bit.ly/new_choco
Chocolatey (v0.9.8.33) is installing '7zip' and dependencies. By installing you accept the license for '7zip' and each dependency you are installing.

7zip.install v9.38
WARNING: This installer is known to close the explorer process. This means
you may lose current work.
If it doesn't automatically restart explorer, type 'explorer' on the
command shell to restart it.
Downloading 7zip.install 64 bit
from 'http://www.7-zip.org/a/7z938-x64.msi'
Installing 7zip.install...
7zip.install has been installed.
7zip.install has finished successfully! The chocolatey gods have answered your request!

7zip v9.38
Finished installing '7zip' and dependencies - if errors not shown in console, none detected. Check log for errors if unsure.
++ Boxstarter finished Calling Boxstarter's vendored Chocolatey to install 7zip. This may take several minutes to complete... 00:00:16.9772652
++ Boxstarter starting Calling Boxstarter's vendored Chocolatey to install gitextensions. This may take several minutes
to complete...
!!ATTENTION!!
The next version of Chocolatey (v0.9.9) will require -y to perform
behaviors that change state without prompting for confirmation. Start
using it now in your automated scripts.

For details on the all new Chocolatey, visit http://bit.ly/new_choco
Chocolatey (v0.9.8.33) is installing 'gitextensions' and dependencies. By installing you accept the license for 'gitextensions' and each dependency you are installing.

git.install v1.9.5.20150320
Downloading git.install 32 bit
from 'https://github.com/msysgit/msysgit/releases/download/Git-1.9.5-preview20150319/Git-1.9.5-preview20150319.exe'
Installing git.install...
git.install has been installed.
git.install has finished successfully! The chocolatey gods have answered your request!
PATH environment variable does not have C:\Program Files (x86)\Git\cmd in it. Adding...
WARNING: Git installed - You may need to close and reopen your shell for PATH changes to take effect.

git v1.9.5.20150320

gitextensions v2.48.05
Downloading gitextensions 32 bit
from 'http://sourceforge.net/projects/gitextensions/files/Git%20Extensions/Version%202.48.05/GitExtensions-2.48.05-Set
up.msi/download'
Installing gitextensions...
gitextensions has been installed.
gitextensions has finished successfully! The chocolatey gods have answered your request!
Adding 'C:\Program Files (x86)\GitExtensions' to the PATH so you can call gitex from the command line.
PATH environment variable does not have C:\Program Files (x86)\GitExtensions in it. Adding...
gitextensions has finished successfully! The chocolatey gods have answered your request!
Finished installing 'gitextensions' and dependencies - if errors not shown in console, none detected. Check log for errors if unsure.
++ Boxstarter finished Calling Boxstarter's vendored Chocolatey to install gitextensions. This may take several minutes to complete... 00:03:33.0264232
++ Boxstarter starting Calling Boxstarter's vendored Chocolatey to install vim. This may take several minutes to complete...
!!ATTENTION!!
The next version of Chocolatey (v0.9.9) will require -y to perform
behaviors that change state without prompting for confirmation. Start
using it now in your automated scripts.

For details on the all new Chocolatey, visit http://bit.ly/new_choco
Chocolatey (v0.9.8.33) is installing 'vim' and dependencies. By installing you accept the license for 'vim' and each dependency you are installing.

vim v7.4.711
Downloading vim 32 bit
from 'http://sourceforge.net/projects/cream/files/Vim/7.4.711/gvim-7-4-711.exe/download'
Installing vim...
vim has been installed.
vim has finished successfully! The chocolatey gods have answered your request!
Adding the vim installation directory to PATH …
PATH environment variable does not have C:\Program Files (x86)\vim\vim74 in it. Adding...
Finished installing 'vim' and dependencies - if errors not shown in console, none detected. Check log for errors if unsure.
++ Boxstarter finished Calling Boxstarter's vendored Chocolatey to install vim. This may take several minutes to complete... 00:00:35.1333418
++ Boxstarter starting Calling Boxstarter's vendored Chocolatey to install firefox. This may take several minutes to complete...
!!ATTENTION!!
The next version of Chocolatey (v0.9.9) will require -y to perform
behaviors that change state without prompting for confirmation. Start
using it now in your automated scripts.

For details on the all new Chocolatey, visit http://bit.ly/new_choco
Chocolatey (v0.9.8.33) is installing 'firefox' and dependencies. By installing you accept the license for 'firefox' and each dependency you are installing.

Firefox v40.0.2
Downloading Firefox 32 bit
from 'https://download.mozilla.org/?product=firefox-40.0.2&os=win&lang=en-GB'
Installing Firefox...
Firefox has been installed.
Firefox has finished successfully! The chocolatey gods have answered your request!
Finished installing 'firefox' and dependencies - if errors not shown in console, none detected. Check log for errors if unsure.
++ Boxstarter finished Calling Boxstarter's vendored Chocolatey to install firefox. This may take several minutes to complete... 00:00:46.3637912
++ Boxstarter starting Calling Boxstarter's vendored Chocolatey to install pdfcreator. This may take several minutes to complete...
!!ATTENTION!!
The next version of Chocolatey (v0.9.9) will require -y to perform
behaviors that change state without prompting for confirmation. Start
using it now in your automated scripts.

For details on the all new Chocolatey, visit http://bit.ly/new_choco
Chocolatey (v0.9.8.33) is installing 'pdfcreator' and dependencies. By installing you accept the license for 'pdfcreator' and each dependency you are installing.

PDFCreator v2.1.2
Downloading PDFCreator 32 bit
from 'http://download.pdfforge.org/download/pdfcreator/2.1.2/PDFCreator-2_1_2-setup.exe?file=AMIfv974mZeCr5hH2drg4pnPw
YXD5VlzKZJGNKf6rJukP2-9zBsJDGvLjE1jRPR2EO2-8Vz-6z0OQz8qqw9G0loOs3h4piQ9FHq2RwWmrKXV1CO1mYH1xF7xS4osr6iG2JWKF_5FK6jI2k2hT
vEtgt6pIwrhTG1T0cO0A1RQc8a1vuNZsy7INfw&download'
Installing PDFCreator...
PDFCreator has been installed.
PDFCreator has finished successfully! The chocolatey gods have answered your request!
Finished installing 'pdfcreator' and dependencies - if errors not shown in console, none detected. Check log for errors if unsure.
++ Boxstarter finished Calling Boxstarter's vendored Chocolatey to install pdfcreator. This may take several minutes to complete... 00:00:38.0907760
++ Boxstarter starting Calling Boxstarter's vendored Chocolatey to install kdiff3. This may take several minutes to complete...
!!ATTENTION!!
The next version of Chocolatey (v0.9.9) will require -y to perform
behaviors that change state without prompting for confirmation. Start
using it now in your automated scripts.

For details on the all new Chocolatey, visit http://bit.ly/new_choco
Chocolatey (v0.9.8.33) is installing 'kdiff3' and dependencies. By installing you accept the license for 'kdiff3' and each dependency you are installing.

kdiff3 v0.9.98
Downloading kdiff3 64 bit
from 'http://downloads.sourceforge.net/project/kdiff3/kdiff3/0.9.98/KDiff3-64bit-Setup_0.9.98-2.exe'
Installing kdiff3...
kdiff3 has been installed.
kdiff3 has finished successfully! The chocolatey gods have answered your request!
PATH environment variable does not have C:\Program Files\kdiff3 in it. Adding...
kdiff3 has finished successfully! The chocolatey gods have answered your request!
Finished installing 'kdiff3' and dependencies - if errors not shown in console, none detected. Check log for errors if u
nsure.
++ Boxstarter finished Calling Boxstarter's vendored Chocolatey to install kdiff3. This may take several minutes to comp
lete... 00:00:18.3621797
++ Boxstarter starting Calling Boxstarter's vendored Chocolatey to install visualstudio2015community. This may take several minutes to complete...
!!ATTENTION!!
The next version of Chocolatey (v0.9.9) will require -y to perform
behaviors that change state without prompting for confirmation. Start
using it now in your automated scripts.

For details on the all new Chocolatey, visit http://bit.ly/new_choco
Chocolatey (v0.9.8.33) is installing 'visualstudio2015community' and dependencies. By installing you accept the license for 'visualstudio2015community' and each dependency you are installing.

VisualStudio2015Community v14.0.23107.0

Key : features
Value : SQL
Name : features

Install-ChocolateyPackage VisualStudio2015Community exe /Passive /NoRestart /Log C:\Users\tim\AppData\Local\Temp\vs.log
/AdminFile C:\Users\tim\AppData\Local\Temp\AdminDeployment.xml http://download.microsoft.com/download/0/B/C/0BC321A4-0
13F-479C-84E6-4A2F90B11269/vs_community.exe -validExitCodes 0 3010 2147781575 -2147185721
Downloading VisualStudio2015Community 32 bit
from 'http://download.microsoft.com/download/0/B/C/0BC321A4-013F-479C-84E6-4A2F90B11269/vs_community.exe'
Installing VisualStudio2015Community...
VisualStudio2015Community has been installed.
VisualStudio2015Community has finished successfully! The chocolatey gods have answered your request!
Finished installing 'visualstudio2015community' and dependencies - if errors not shown in console, none detected. Check log for errors if unsure.
++ Boxstarter finished Calling Boxstarter's vendored Chocolatey to install visualstudio2015community. This may take several minutes to complete... 00:44:13.8786960
++ Boxstarter starting Calling Boxstarter's vendored Chocolatey to install resharper. This may take several minutes to complete...
!!ATTENTION!!
The next version of Chocolatey (v0.9.9) will require -y to perform
behaviors that change state without prompting for confirmation. Start
using it now in your automated scripts.

For details on the all new Chocolatey, visit http://bit.ly/new_choco
Chocolatey (v0.9.8.33) is installing 'resharper' and dependencies. By installing you accept the license for 'resharper' and each dependency you are installing.

resharper-platform v1.0.1
Downloading resharper-platform 32 bit
from 'http://download.jetbrains.com/resharper/ReSharperAndToolsPacked01Update1.exe'
d----- 08/16/2015 01:03 resharper-platform
resharper-platform has finished successfully! The chocolatey gods have answered your request!

resharper v9.0.1
d----- 08/16/2015 01:05 ReSharper
ReSharper has finished successfully! The chocolatey gods have answered your request!
Finished installing 'resharper' and dependencies - if errors not shown in console, none detected. Check log for errors if unsure.
++ Boxstarter finished Calling Boxstarter's vendored Chocolatey to install resharper. This may take several minutes to complete... 00:03:29.2120976
++ Boxstarter starting Calling Boxstarter's vendored Chocolatey to install mssqlserver2014express. This may take several minutes to complete...
!!ATTENTION!!
The next version of Chocolatey (v0.9.9) will require -y to perform
behaviors that change state without prompting for confirmation. Start
using it now in your automated scripts.

For details on the all new Chocolatey, visit http://bit.ly/new_choco
Chocolatey (v0.9.8.33) is installing 'mssqlserver2014express' and dependencies. By installing you accept the license for 'mssqlserver2014express' and each dependency you are installing.

MsSqlServer2014Express v1.0.4
Downloading SqlServerExpress2014 32 bit
from 'http://care.dlservice.microsoft.com/dl/download/E/A/E/EAE6F7FC-767A-4038-A954-49B8B05D04EB/Express%2064BIT/SQLEXPR_x64_ENU.exe'
Extracting...
Installing...
Microsoft (R) SQL Server 2014 12.00.2000.08
Copyright (c) Microsoft Corporation. All rights reserved.

Microsoft .NET Framework CasPol 4.6.79.0
for Microsoft .NET Framework version 4.6.79.0
Copyright (C) Microsoft Corporation. All rights reserved.

WARNING: The .NET Framework does not apply CAS policy by default. Any settings shown or modified by CasPol will only
affect applications that opt into using CAS policy.

Please see http://go.microsoft.com/fwlink/?LinkId=131738 for more information.

Success
Microsoft .NET Framework CasPol 4.6.79.0
for Microsoft .NET Framework version 4.6.79.0
Copyright (C) Microsoft Corporation. All rights reserved.

WARNING: The .NET Framework does not apply CAS policy by default. Any settings shown or modified by CasPol will only
affect applications that opt into using CAS policy.

Please see http://go.microsoft.com/fwlink/?LinkId=131738 for more information.

Success
Removing extracted files...
Added C:\ProgramData\chocolatey\bin\SQLEXPR_x64_ENU.exe shim pointed to 'c:\programdata\chocolatey\lib\mssqlserver2014express.1.0.4\tools\sqlexpr_x64_enu.exe'.
Finished installing 'mssqlserver2014express' and dependencies - if errors not shown in console, none detected. Check log for errors if unsure.
++ Boxstarter finished Calling Boxstarter's vendored Chocolatey to install mssqlserver2014express. This may take several minutes to complete... 00:15:41.7515045
++ Boxstarter starting Calling Boxstarter's vendored Chocolatey to install mssqlservermanagementstudio2014express. This may take several minutes to complete...
!!ATTENTION!!
The next version of Chocolatey (v0.9.9) will require -y to perform
behaviors that change state without prompting for confirmation. Start
using it now in your automated scripts.

For details on the all new Chocolatey, visit http://bit.ly/new_choco
Chocolatey (v0.9.8.33) is installing 'mssqlservermanagementstudio2014express' and dependencies. By installing you accept the license for 'mssqlservermanagementstudio2014express' and each dependency you are installing.

MsSqlServerManagementStudio2014Express v12.0.2000.8
Downloading MsSqlServerManagementStudio2014Express 64 bit
from 'http://care.dlservice.microsoft.com/dl/download/E/A/E/EAE6F7FC-767A-4038-A954-49B8B05D04EB/MgmtStudio%2064BIT/SQLManagementStudio_x64_ENU.exe'
Extracting...
Installing...
Installing MsSqlServerManagementStudio2014Express...
MsSqlServerManagementStudio2014Express has been installed.
Removing extracted files...
Finished installing 'mssqlservermanagementstudio2014express' and dependencies - if errors not shown in console, none detected. Check log for errors if unsure.
++ Boxstarter finished Calling Boxstarter's vendored Chocolatey to install mssqlservermanagementstudio2014express. This may take several minutes to complete... 00:20:10.2036754
Finished installing 'temp_BoxstarterPackage' and dependencies - if errors not shown in console, none detected. Check log for errors if unsure.

  • Boxstarter finished Calling Boxstarter's vendored Chocolatey to install temp_BoxstarterPackage. This may take several minutes to complete... 01:31:29.0719359
    True
    Boxstarter: Enabling Automatic Updates from Windows Update
    Type ENTER to exit:
Owner

timabell commented Sep 24, 2015

fresh run:

MsSqlServerManagementStudio2014Express v12.0.2000.8
Downloading MsSqlServerManagementStudio2014Express 64 bit
  from 'http://care.dlservice.microsoft.com/dl/download/E/A/E/EAE6F7FC-767A-4038-A954-49B8B05D04EB/MgmtStudio%2064BIT/SQLManagementStudio_x64_ENU.exe'
Extracting...
Installing...
Installing MsSqlServerManagementStudio2014Express...
Write-Error : [ERROR] Running C:\Users\tim\AppData\Local\Temp\chocolatey\MsSqlServerManagementStudio2014Express\SQLManagemen
tStudio\setup.exe with /IACCEPTSQLSERVERLICENSETERMS /Q /ACTION=install /UPDATEENABLED=FALSE  was not successful. Exit code
was '-2067919934'.
At C:\Users\tim\AppData\Local\Apps\2.0\TCYZM55V.W8Z\NZA1EC6E.CB9\boxs..tion_4b037e62ccd024b7_0002.0005_be57ddd41911ccdf\Choc
olatey\chocolateyinstall\helpers\functions\Start-ChocolateyProcessAsAdmin.ps1:46 char:5
+     Write-Error $errorMessage
+     ~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Write-Error

Write-Error : Package 'MsSqlServerManagementStudio2014Express v12.0.2000.8' did not install successfully: [ERROR] Running C:
\Users\tim\AppData\Local\Temp\chocolatey\MsSqlServerManagementStudio2014Express\SQLManagementStudio\setup.exe with /IACCEPTS
QLSERVERLICENSETERMS /Q /ACTION=install /UPDATEENABLED=FALSE  was not successful. Exit code was '-2067919934'.
At C:\Users\tim\AppData\Local\Apps\2.0\TCYZM55V.W8Z\NZA1EC6E.CB9\boxs..tion_4b037e62ccd024b7_0002.0005_be57ddd41911ccdf\Choc
olatey\chocolateyinstall\functions\Chocolatey-NuGet.ps1:90 char:17
+ ...             Write-Error "Package `'$installedPackageName v$installedP ...
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Write-Error

Finished installing 'mssqlservermanagementstudio2014express' and dependencies - if errors not shown in console, none detected. Check log for errors if unsure.
Write-Error : Chocolatey reported an unsuccessful exit code of 1
At line:124 char:21
+ ...             Write-Error "Chocolatey reported an unsuccessful exit cod ...
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Write-Error

++ Boxstarter finished Calling Boxstarter's vendored Chocolatey to install mssqlservermanagementstudio2014express. This may take several minutes to complete... 00:06:43.6288827
Owner

timabell commented Sep 24, 2015

looks like sql server express 2014 is installed and running. no idea what the error is. maybe it was already installed? - not in the base image, but maybe VS pulled it in.

Owner

timabell commented Oct 20, 2015

subsequent run -
resharper v9.2.0.0
Write-Error : Package 'resharper v9.2.0.0' did not install successfully: Exception calling "Start" with "1" argument(s)
: "The system cannot find the file specified"
At C:\Users\tim\AppData\Local\Apps\2.0\54ZX42N8.NDG\YDGT9TW4.5H3\boxs..tion_4b037e62ccd024b7_0002.0005_be57ddd41911ccdf
\Chocolatey\chocolateyinstall\functions\Chocolatey-NuGet.ps1:90 char:17

  • ... Write-Error "Package `'$installedPackageName v$installedP ...
  •             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
    • FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Write-Error

Finished installing 'resharper' and dependencies - if errors not shown in console, none detected. Check log for errors if unsure.
Write-Error : Chocolatey reported an unsuccessful exit code of 1
At line:124 char:21

  • ... Write-Error "Chocolatey reported an unsuccessful exit cod ...
  •             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
    • FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Write-Error

++ Boxstarter finished Calling Boxstarter's vendored Chocolatey to install resharper. This may take several minutes to complete... 00:00:16.6724608

Owner

timabell commented Oct 31, 2016

On azure vm

Windows PowerShell updated your execution policy successfully, but the setting is overridden by a policy defined at a more specific scope. Due to the override, your shell will retain its current effective execution policy of Bypass.

http://stackoverflow.com/questions/27753917/how-do-you-successfully-change-execution-policy-and-enable-execution-of-powershe

run manually in admin powershell first

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment