Skip to content

Instantly share code, notes, and snippets.

@phillip-haydon
Last active October 1, 2023 22:02
Show Gist options
  • Save phillip-haydon/b7dec246f0ad953ad65c to your computer and use it in GitHub Desktop.
Save phillip-haydon/b7dec246f0ad953ad65c to your computer and use it in GitHub Desktop.
My Boxstarter Script
Set-ExplorerOptions -showHidenFilesFoldersDrives -showProtectedOSFiles -showFileExtensions
Set-StartScreenOptions -EnableBootToDesktop -EnableDesktopBackgroundOnStart -EnableShowStartOnActiveScreen -EnableShowAppsViewOnStartScreen -EnableSearchEverywhereInAppsView -EnableListDesktopAppsFirst
Install-WindowsUpdate -acceptEula
cinst notepad2
cinst SublimeText3
cinst sublimetext3-contextmenu
cinst git-credential-winstore
cinst ConEmu
cinst poshgit
# cinst Firefox
# cinst GoogleChrome
# cinst Opera
cinst vlc
cinst DotNet4.5
cinst VisualStudio2013Professional -InstallArguments "/Features:'WebTools Win8SDK'"
# cinst visualstudio2013-update2 <-- looks for VS Premium...
# cinst VS2013.2
# cinst visualstudio2013-webessentials.vsix
cinst resharper
cinst trillian
cinst skype
cinst markdownpad2
#cinst NugetPackageExplorer
cinst spotify
cinst 7zip.install
cinst nodejs.install
cinst uTorrent
cinst steam
cinst terminals
cinst dropbox
cinst ransack
cinst python
cinst 1password
# Install-ChocolateyPinnedTaskBarItem "$env:programfiles\console\console.exe"
# Install-ChocolateyPinnedTaskBarItem "$($Boxstarter.programFiles86)\Google\Chrome\Application\chrome.exe"
# Install-ChocolateyPinnedTaskBarItem "$($Boxstarter.programFiles86)\Microsoft Visual Studio 12.0\Common7\IDE\devenv.exe"
Install-WindowsUpdate -acceptEula
URL Setup
http://boxstarter.org/package/nr/url?*url to raw gist*
Run in Powershell
START *URL above*
@adamralph
Copy link

Looks good! Questions:

  • Why sublimetext2 and not SublimeText3?
  • Do you need DotNet4.5 after VisualStudio2013Professional?

@phillip-haydon
Copy link
Author

@adamralph - DotNet4.5 is meant to install 4.5.2 but it fails.

VisualStudio2013Professional, Firefox and postgit also fail, they get the same error:

C:\Program Files\Console>cinst firefox
Chocolatey (v0.9.8.24) is installing 'firefox' and dependencies. By installing you accept the license for 'firefox' and each dependency you are installing.

Firefox v30.0
Downloading locales list for Firefox 32 bit
  from 'https://www.mozilla.org/en-US/firefox/all/'
Write-Error : Firefox did not finish successfully. Boo to the chocolatey gods!
-----------------------
[ERROR] Chocolatey expected a file at 'C:\Users\phillip\AppData\Local\Temp\2\ch
ocolatey\Firefox\availableLocales.html' to be of length '' but the length was '
107268'.
-----------------------
At C:\ProgramData\chocolatey\chocolateyinstall\helpers\functions\Write-Chocolat
eyFailure.ps1:30 char:3
+   Write-Error $errorMessage
+   ~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorExcep
   tion
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorExceptio
   n,Write-Error

Write-Error : Package 'Firefox v30.0' did not install successfully: Chocolatey
expected a file at 'C:\Users\phillip\AppData\Local\Temp\2\chocolatey\Firefox\av
ailableLocales.html' to be of length '' but the length was '107268'.
At C:\ProgramData\chocolatey\chocolateyinstall\functions\Chocolatey-NuGet.ps1:9
0 char:17
+                 Write-Error "Package `'$installedPackageName v$installedPacka
geV ...
+ 
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorExcep
   tion
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorExceptio
   n,Write-Error

The term 'true' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
Command 'install' failed (sometimes this indicates a partial failure). Additional info/packages: firefox

C:\Program Files\Console>

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