# Launch this script manually by navigating to http://boxstarter.org/package/url?URL_OF_THIS_SCRIPT # Prelude Install-WindowsUpdate # Directories md -Force C:\bin [Environment]::SetEnvironmentVariable("Path", $env:Path + ";C:\bin", [EnvironmentVariableTarget]::Machine) # Desktop environment configuration Set-TaskbarOptions -Size Small -Lock -Combine Never Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtension # IDEs cinst visualstudio2017community # Alternatives: visualstudio2017professional, visualstudio2017enterprise cinst visualstudiocode cinst androidstudio # IDE enhancements # Manual (does not find VS installation): resharper-ultimate-all # Manual (until this cmdlet is fixed): Install-ChocolateyVsixPackage 'Comment Reflower' https://visualstudiogallery.msdn.microsoft.com/1290e058-33da-485f-9b75-1891abc947b3/file/174284/5/CommentReflower.vsix # Manual (until this cmdlet is fixed): Install-ChocolateyVsixPackage 'Editor Guidelines' https://visualstudiogallery.msdn.microsoft.com/da227a0b-0e31-4a11-8f6b-3a149cf2e459/file/66920/14/Editor%20Guidelines.vsix # Databases # manual: PostgreSQL: https://www.postgresql.org/ # manual: SQL Server 2017: http://downloadsqlserverexpress.com/ # manual: Oracle Database 11g Release 2: http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html # Database tools cinst datagrip # Manual (fails with installation error code 1626): cinst sql-server-management-studio # Application servers cinst IIS-WebServerRole -source WindowsFeatures # Application server tools cinst webpi # Common development tools cinst git --package-parameters='"/GitOnlyOnPath /NoShellIntegration"' cinst conemu cinst notepadplusplus --x86 # Only x86 supports plugin manager cinst 7zip cinst winmerge cinst balsamiqmockups3 cinst slack cinst mirc cinst putty cinst filezilla cinst cyberduck cinst nmap cinst whois cinst postman cinst memprofiler cinst terraform cinst rdcman cinst screentogif cinst hugo # HHD Hex Editor Neo 6 (installs asynchronously) (new-object System.Net.WebClient).DownloadFile("http://www.hhdsoftware.com/Download/hex-editor-neo.exe", "$env:temp\hex-editor-neo.exe") &"$env:temp\hex-editor-neo.exe" -silent # Common build tools cinst ruby cinst nodejs cinst nsis cinst chocolatey # manual: npm install -g create-react-app # manual: npm install -g npm-check-updates # Specific dotnet build toolchains are not included in this script. It is # expected that projects have their own dev environment setup scripts. This # decision was made to simplify maintenance of this script and to reduce the # likelihood of installing outdated or unused dotnet build toolchains. In # the past, this setup script would include things like: # # cinst netfx-4.6.2-devpack # cinst dotnetcore-sdk -version 1.0.3 # manual: dotnet core VS tools https://www.microsoft.com/net/download/core # NuGet 3.5.0 # (new-object System.Net.WebClient).DownloadFile("https://dist.nuget.org/win-x86-commandline/v3.5.0/nuget.exe", "C:\bin\nuget.exe") # Windows enhancements cinst classic-shell -installArgs ADDLOCAL=ClassicStartMenu cinst windirstat cinst sysinternals # includes procexp and procmon cinst rdcman cinst coretemp cinst agentransack cinst listary # manual: Activate listary license # Applications cinst googlechrome # manual: PrivacyBadger # manual: uBlock Origin # manual: Full page screen capture # manual: React Developer Tools cinst thunderbird cinst foobar2000 cinst vlc cinst keepass cinst miktex # manual: Office 365 # manual: Affinity Designer # manual: Affinity Photo # Configuration # ConEmu (new-object System.Net.WebClient).DownloadFile("https://raw.githubusercontent.com/hoflogic/conemu-i3-config/master/conemu.xml", $env:APPDATA + "\ConEmu.xml") # manual: Conemu settings -> Integration -> Register shell integration # Visual Studio # manual: Tools -> External Tools # Title: ConEmu # Command: CONEMU_DIRECTORY\conemu64.exe # Arguments: {cmd} -cur_console:n # Initial directory: $(SolutionDir) # manual: Font: Fira Code # Android Studio # manual: Font Fira Code + Colours # Copy: C:\Users\root\.AndroidStudio2.2\config\colors and idea.properties # Copy old appdata\roaming\foobar2000 to new for playback stats and playlists. # Set up thunderbird profiles.ini like this: http://www-archive.mozilla.org/support/thunderbird/profile # [Profile0] # Name=root # IsRelative=0 # Path=D:\Documents\email\thunderbird-profile # Default=1 # Other manual tasks (some could be automated) # set default apps: chrome, foobar, vlc # remove ie and windows store from taskbar # add android studio, vs, vs code, chrome, conemu to taskbar pinned # reload VS settings from backup # set hostname # set chrome default search engine to ddg # set up slack logins # set up power settings (don't sleep when lid closes, don't turn off screens quickly, ramming speed). # "Console lock display timeout" - don't sleep after 1 minute locked: https://www.eightforums.com/tutorials/8267-power-options-add-console-lock-display-off-timeout.html # 7-zip associations # turn off windows defender (it kills performance) # win+R > gpedit.msc # Computer Configuration > Administrative Templates > Windows Components > Windows Defender # On the right, double-click Turn off Windows Defender # set npp show whitespace and default indentation to spaces # set "Editor Guidelines" for Visual Studio at 80 chars (where the VS cursor position will be reported as "81" in bottom right of screen) # download and extract rsync to c:\bin https://itefix.net/cwrsync # instantwiki # restore RDCMan config Return <#> <#>