Last active
February 25, 2021 02:04
-
-
Save djsmith/b02bb4e970f1beb8ca22 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Boxstarter options - not needed if using the No Reboot (/nr/) URL option | |
#$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? | |
### Windows components: IIS - not needed | |
#cinst -source windowsfeatures IIS-WebServerRole | |
#cinst -source windowsfeatures IIS-WebServer | |
#cinst -source windowsfeatures IIS-Security | |
#cinst -source windowsfeatures IIS-WindowsAuthentication | |
#cinst -source webpi IISExpress_ByPlatform | |
#cinst -source webpi IISManagementConsole | |
#cinst urlrewrite #https://chocolatey.org/packages/UrlRewrite | |
### Various utilities | |
cinst 7zip #https://chocolatey.org/packages/7zip | |
## Manually install bitvise since there is no package https://www.bitvise.com/ssh-client-download | |
#Install-ChocolateyPackage 'bitvise-client' 'exe' '-acceptEULA' 'https://bvdl.s3-eu-west-1.amazonaws.com/BvSshClient-Inst.exe' | |
choco install tunnelier #https://chocolatey.org/packages/Tunnelier | |
cinst btsync #https://chocolatey.org/packages/btsync | |
cinst ccleaner #https://chocolatey.org/packages/ccleaner | |
#cinst cygwin #https://chocolatey.org/packages/cygwin | |
#cinst cyg-get #https://chocolatey.org/packages/cyg-get | |
## dropbox install fails with "unable to find file" error when running in boxstarter | |
#cinst dropbox #https://chocolatey.org/packages/dropbox | |
cinst filezilla #https://chocolatey.org/packages/filezilla | |
cinst googlechrome #https://chocolatey.org/packages/googlechrome | |
cinst googledrive #https://chocolatey.org/packages/googledrive | |
cinst firefox #https://chocolatey.org/packages/firefox | |
cinst imgburn #https://chocolatey.org/packages/imgburn | |
cinst keepass #https://chocolatey.org/packages/keepass | |
cinst keepass-keepasshttp #https://chocolatey.org/packages/keepass-keepasshttp | |
#cinst opera #https://chocolatey.org/packages/opera | |
cinst rdcman #https://chocolatey.org/packages/rdcman | |
cinst teamviewer #https://chocolatey.org/packages/teamviewer | |
cinst treesizefree #https://chocolatey.org/packages/treesizefree | |
cinst sysinternals #https://chocolatey.org/packages/sysinternals | |
cinst virtualbox #https://chocolatey.org/packages/virtualbox | |
cinst virtualclonedrive #https://chocolatey.org/packages/virtualclonedrive | |
cinst winscp #https://chocolatey.org/packages/winscp | |
### Developer apps | |
## atom, brackets and sublimetext are similar | |
#cinst atom #https://chocolatey.org/packages/atom | |
#cinst brackets #https://chocolatey.org/packages/brackets | |
#cinst sublimetext3.packagecontrol #https://chocolatey.org/packages/SublimeText3.PackageControl | |
## Android dev apps | |
cinst adb #https://chocolatey.org/packages/adb | |
cinst androidstudio #https://chocolatey.org/packages/AndroidStudio | |
#### Visual Studio 2013 Premium #https://chocolatey.org/packages/visualstudio2013premium | |
#cinst visualstudio2013premium -InstallArguments "/Features:'VCMFCLibraries SQL WebTools Win8SDK'" | |
### VS2013 (version 12) extensions | |
#Install-ChocolateyVsixPackage GitDiffMargin https://visualstudiogallery.msdn.microsoft.com/cf49cf30-2ca6-4ea0-b7cc-6a8e0dadc1a8/file/101267/13/GitDiffMargin.vsix 12 | |
#Install-ChocolateyVsixPackage MultiEditing https://visualstudiogallery.msdn.microsoft.com/2beb9705-b568-45d1-8550-751e181e3aef/file/93630/10/MultiEdit.vsix 12 | |
#Install-ChocolateyVsixPackage NugetPackageManger2013 https://visualstudiogallery.msdn.microsoft.com/4ec1526c-4a8c-4a84-b702-b21a8f5293ca/file/105933/10/NuGet.Tools.vsix 12 | |
#Install-ChocolateyVsixPackage OpenCommandLine https://visualstudiogallery.msdn.microsoft.com/4e84e2cf-2d6b-472a-b1e2-b84932511379/file/151803/35/Open%20Command%20Line%20v2.0.168.vsix 12 | |
#Install-ChocolateyVsixPackage PowerShellTools2013 https://visualstudiogallery.msdn.microsoft.com/f65f845b-9430-4f72-a182-ae2a7b8999d7/file/166502/10/PowerShellTools.12.0.vsix 12 | |
#Install-ChocolateyVsixPackage RazorGenerator https://visualstudiogallery.msdn.microsoft.com/1f6ec6ff-e89b-4c47-8e79-d2d68df894ec/file/37912/39/RazorGenerator.vsix 12 | |
#Install-ChocolateyVsixPackage TaskRunnerExplorer https://visualstudiogallery.msdn.microsoft.com/8e1b4368-4afb-467a-bc13-9650572db708/file/140636/3/TaskRunnerExplorer.vsix 12 | |
#Install-ChocolateyVsixPackage TelerikSitefinityThunder https://visualstudiogallery.msdn.microsoft.com/381fde64-9898-4a5d-ae20-861e119bbf92/file/67124/60/Telerik.Sitefinity.Thunder.vsix 12 | |
#Install-ChocolateyVsixPackage WebEssentials2013 http://visualstudiogallery.msdn.microsoft.com/56633663-6799-41d7-9df7-0f2a504ca361/file/105627/31/WebEssentials2013.vsix 12 | |
### Visual Studio 2015 Pro #https://chocolatey.org/packages/visualstudio2015professional | |
#### This package doesn't install properly in boxstarter | |
#cinst visualstudio2015professional -packageParameters "--Features SQL,VCMFCLibraries" | |
### VS2015 (version 14) extensions | |
#Install-ChocolateyVsixPackage GitDiffMargin https://visualstudiogallery.msdn.microsoft.com/cf49cf30-2ca6-4ea0-b7cc-6a8e0dadc1a8/file/101267/13/GitDiffMargin.vsix 14 | |
#Install-ChocolateyVsixPackage MultiEditing https://visualstudiogallery.msdn.microsoft.com/2beb9705-b568-45d1-8550-751e181e3aef/file/93630/10/MultiEdit.vsix 14 | |
#Install-ChocolateyVsixPackage NugetPackageManger2015 https://visualstudiogallery.msdn.microsoft.com/5d345edc-2e2d-4a9c-b73b-d53956dc458d/file/146283/9/NuGet.Tools.vsix 14 | |
#Install-ChocolateyVsixPackage OpenCommandLine https://visualstudiogallery.msdn.microsoft.com/4e84e2cf-2d6b-472a-b1e2-b84932511379/file/151803/35/Open%20Command%20Line%20v2.0.168.vsix 14 | |
#Install-ChocolateyVsixPackage PowerShellTools2015 https://visualstudiogallery.msdn.microsoft.com/c9eb3ba8-0c59-4944-9a62-6eee37294597/file/199313/2/PowerShellTools.14.0.vsix 14 | |
#Install-ChocolateyVsixPackage RazorGenerator https://visualstudiogallery.msdn.microsoft.com/1f6ec6ff-e89b-4c47-8e79-d2d68df894ec/file/37912/39/RazorGenerator.vsix 14 | |
#Install-ChocolateyVsixPackage TaskRunnerExplorer https://visualstudiogallery.msdn.microsoft.com/8e1b4368-4afb-467a-bc13-9650572db708/file/140636/3/TaskRunnerExplorer.vsix 14 | |
#Install-ChocolateyVsixPackage NpmScriptsTaskRunner https://visualstudiogallery.msdn.microsoft.com/8f2f2cbc-4da5-43ba-9de2-c9d08ade4941/file/168331/16/NPM%20Scripts%20Task%20Runner%20v1.2.55.vsix 14 | |
#Install-ChocolateyVsixPackage TelerikSitefinityThunder https://visualstudiogallery.msdn.microsoft.com/381fde64-9898-4a5d-ae20-861e119bbf92/file/67124/60/Telerik.Sitefinity.Thunder.vsix 14 | |
#Install-ChocolateyVsixPackage WebEssentials2015 https://visualstudiogallery.msdn.microsoft.com/ee6e6d8c-c837-41fb-886a-6b50ae2d06a2/file/146119/39/Web%20Essentials%202015.1%20v1.0.210.vsix 14 | |
## Install Sql Server 2012 to be compatible with staging server, not Sql Server 2014 | |
#cinst mssqlserver2014express | |
#cinst mssqlservermanagementstudio2014express | |
### Or is Sql Server Express installed with Visual Studio? | |
#cinst mssqlserver2012express #https://chocolatey.org/packages/mssqlserver2012express | |
#cinst ssdt12 #https://chocolatey.org/packages/ssdt12 | |
## Don't need mysql running on dev computer | |
#cinst mysql #https://chocolatey.org/packages/mysql | |
#cinst mysql.workbench #https://chocolatey.org/packages/mysql.workbench | |
### Misc apps and developer utilities | |
## ilspy and dotpeek are similar | |
#cinst dotpeek #https://chocolatey.org/packages/dotpeek | |
cinst ilspy #https://chocolatey.org/packages/ilspy | |
cinst fiddler4 #https://chocolatey.org/packages/fiddler4 | |
### Create setup file for git | |
echo "[Setup]" > $env:TEMP\git.inf | |
echo "Lang=default" >> $env:TEMP\git.inf | |
echo "Dir=C:\Program Files\Git" >> $env:TEMP\git.inf | |
echo "Group=Git" >> $env:TEMP\git.inf | |
echo "NoIcons=1" >> $env:TEMP\git.inf | |
echo "SetupType=default" >> $env:TEMP\git.inf | |
echo "Components=assoc,assoc_sh" >> $env:TEMP\git.inf | |
echo "Tasks=" >> $env:TEMP\git.inf | |
echo "PathOption=Cmd" >> $env:TEMP\git.inf | |
echo "SSHOption=OpenSSH" >> $env:TEMP\git.inf | |
echo "CRLFOption=CRLFAlways" >> $env:TEMP\git.inf | |
echo "BashTerminalOption=MinTTY" >> $env:TEMP\git.inf | |
echo "PerformanceTweaksFSCache=Enabled" >> $env:TEMP\git.inf | |
## Use the above setup file then remove it | |
cinst git -ia '/LOADINF="$env:TEMP\git.inf"' #https://chocolatey.org/packages/git | |
rm "$env:TEMP\git.inf" | |
## Install gitextensions after git | |
cinst gitextensions #https://chocolatey.org/packages/gitextensions | |
cinst jre8 #https://chocolatey.org/packages/jre8 | |
cinst kdiff3 #https://chocolatey.org/packages/kdiff3 | |
## Kdiff config | |
echo "CreateBakFiles=0" > ${env:USERPROFILE}\.kdiff3rc | |
cinst notepadplusplus #https://chocolatey.org/packages/notepadplusplus | |
## Upgrades powershell on Win7 | |
cinst powershell #https://chocolatey.org/packages/PowerShell | |
cinst poshgit #https://chocolatey.org/packages/poshgit | |
cinst nodejs #https://chocolatey.org/packages/nodejs | |
cinst nugetpackageexplorer #https://chocolatey.org/packages/nugetpackageexplorer | |
cinst paint.net #https://chocolatey.org/packages/paint.net | |
#cinst php #https://chocolatey.org/packages/php | |
cinst pscx #https://chocolatey.org/packages/pscx | |
cinst putty #https://chocolatey.org/packages/putty | |
cinst python2 #https://chocolatey.org/packages/python2 | |
cinst ruby #https://chocolatey.org/packages/ruby | |
cinst svn #https://chocolatey.org/packages/svn | |
## webpi install failes with "installation package could not be opened" error | |
#cinst webpi #https://chocolatey.org/packages/webpi | |
cinst winmerge #https://chocolatey.org/packages/winmerge | |
cinst wizmouse #https://chocolatey.org/packages/wizmouse | |
cinst xunit #https://chocolatey.org/packages/xunit | |
## todo: How to install psake-cat? Need git configured with account, ssh key, etc | |
### Reset the path to execute the below commands | |
#$env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User") | |
refreshenv | |
### Install global NPM tools | |
npm install -g gulp | |
npm install -g browser-sync | |
### Update chocolatey at the end | |
cinst chocolatey #https://chocolatey.org/packages/chocolatey | |
### Set execution policy to something safe | |
Set-ExecutionPolicy -Force -Scope CurrentUser RemoteSigned | |
### Windows startup options | |
Set-StartScreenOptions -EnableBootToDesktop -EnableDesktopBackgroundOnStart -EnableShowStartOnActiveScreen | |
### Windows explorer options | |
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowFileExtensions -EnableShowFullPathInTitleBar | |
### Windows taskbar options | |
Set-TaskbarOptions -Size Large -Lock -Dock Left | |
### Disable IE enhanced security | |
Disable-InternetExplorerESC | |
### Disable user access security | |
Disable-UAC | |
pause |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment