Skip to content

Instantly share code, notes, and snippets.

@ko2ic
Last active February 5, 2020 20:17
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ko2ic/dba4ddd35a653080c913 to your computer and use it in GitHub Desktop.
Save ko2ic/dba4ddd35a653080c913 to your computer and use it in GitHub Desktop.
00-chocolatey-install.batだけでOK。古い今は大丈夫→ windowsの環境構築をバッチファイルでやる。chocolatey-install.batで別プロセスでcinst を呼んでも駄目だった。https://github.com/chocolatey/chocolatey/issues/371
powershell Set-ExecutionPolicy RemoteSigned
powershell iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))
powershell Set-ExecutionPolicy Restricted
set PATH=%PATH%;C:\Chocolatey\bin;
call cinst .\packages.config
pause
powershell Set-ExecutionPolicy RemoteSigned
powershell iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))
powershell Set-ExecutionPolicy Restricted
pause
cd /d %~dp0
set PATH=%PATH%;C:\Chocolatey\bin;
call cinst .\packages.config
pause
REGEDIT4
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout]
"Scancode Map"=hex:00,00,00,00,00,00,00,00,02,00,00,00,1d,00,3a,00,00,00,00,00
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="jdk8"/>
<package id="launchy"/>
<package id="maven"/>
<package id="apache.ant"/>
<package id="gradle"/>
<package id="virtualbox" version="4.3.12"/> <!-- これより上のバージョンだと動作しなかった -->
<package id="vagrant"/>
<package id="nodejs" version="0.10.33"/> <!--0.10.34は次の原因による動作せず-> https://github.com/joyent/node/issues/8894 -->
<package id="python2"/>
<package id="npm"/>
<package id="GoogleChrome"/>
<!--
<package id="dropbox"/>
<package id="tortoisesvn"/>
<package id="evernote"/>
<package id="skype"/>
-->
</packages>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment