anchor.diff:  xcopy /E /H /R /Y deploy\windows\Python2.7.9\* %BITDUST_HOME%\python 1>NUL
   
   
  -cd %TMPDIR%
  -
  -
  -if not exist %BITDUST_HOME%\bin echo Prepare command-line aliases
  +cd /D %TMPDIR%
  +
  +
  +if not exist %BITDUST_HOME%\bin echo Create %BITDUST_HOME%\bin folder to make aliases for system commands
   if not exist %BITDUST_HOME%\bin mkdir %BITDUST_HOME%\bin
  +
  +
  +echo Update system commands
   echo @echo off > %BITDUST_HOME%\bin\bitdustd.bat
  -echo cd %BITDUST_HOME%\src >> %BITDUST_HOME%\bin\bitdustd.bat
  +echo cd /D %BITDUST_HOME%\src >> %BITDUST_HOME%\bin\bitdustd.bat
   echo call %BITDUST_HOME%\python\python.exe bitdust.py %%* >> %BITDUST_HOME%\bin\bitdustd.bat
   echo pause >> %BITDUST_HOME%\bin\bitdustd.bat
   echo @echo off > %BITDUST_HOME%\bin\bitdust.bat
  -echo cd %BITDUST_HOME%\src >> %BITDUST_HOME%\bin\bitdust.bat
  +echo cd /D %BITDUST_HOME%\src >> %BITDUST_HOME%\bin\bitdust.bat
   echo start %BITDUST_HOME%\python\pythonw.exe bitdust.py %%* >> %BITDUST_HOME%\bin\bitdust.bat
   echo exit >> %BITDUST_HOME%\bin\bitdust.bat
   echo @echo off > %BITDUST_HOME%\bin\bitdust-sync.bat
  -echo cd %BITDUST_HOME%\src >> %BITDUST_HOME%\bin\bitdust-sync.bat
  +echo cd /D %BITDUST_HOME%\src >> %BITDUST_HOME%\bin\bitdust-sync.bat
   echo echo Running command "git clean" >> %BITDUST_HOME%\bin\bitdust-sync.bat
   echo %BITDUST_HOME%\git\bin\git.exe clean -d -fx "" 1^>NUL >> %BITDUST_HOME%\bin\bitdust-sync.bat
   echo echo Running command "git reset" >> %BITDUST_HOME%\bin\bitdust-sync.bat
   echo %BITDUST_HOME%\git\bin\git.exe reset --hard origin/master >> %BITDUST_HOME%\bin\bitdust-sync.bat
   echo echo Running command "git pull" >> %BITDUST_HOME%\bin\bitdust-sync.bat
   echo %BITDUST_HOME%\git\bin\git.exe pull >> %BITDUST_HOME%\bin\bitdust-sync.bat
  +echo echo Running command "python manage.py syncdb" >> %BITDUST_HOME%\bin\bitdust-sync.bat
  +echo call %BITDUST_HOME%\python\python.exe manage.py syncdb >> %BITDUST_HOME%\bin\bitdust-sync.bat
   echo pause >> %BITDUST_HOME%\bin\bitdust-sync.bat
  -
  -
  -echo Prepare Desktop icons
  +echo @echo off > %BITDUST_HOME%\bin\bitdust-sync-restart.bat
  +echo cd /D %BITDUST_HOME%\src >> %BITDUST_HOME%\bin\bitdust-sync-restart.bat
  +echo call %BITDUST_HOME%\python\python.exe bitdust.py stop >> %BITDUST_HOME%\bin\bitdust-sync-restart.bat
  +echo echo Running command "git clean" >> %BITDUST_HOME%\bin\bitdust-sync-restart.bat
  +echo %BITDUST_HOME%\git\bin\git.exe clean -d -fx "" 1^>NUL >> %BITDUST_HOME%\bin\bitdust-sync-restart.bat
  +echo echo Running command "git reset" >> %BITDUST_HOME%\bin\bitdust-sync-restart.bat
  +echo %BITDUST_HOME%\git\bin\git.exe reset --hard origin/master >> %BITDUST_HOME%\bin\bitdust-sync-restart.bat
  +echo echo Running command "git pull" >> %BITDUST_HOME%\bin\bitdust-sync-restart.bat
  +echo %BITDUST_HOME%\git\bin\git.exe pull >> %BITDUST_HOME%\bin\bitdust-sync-restart.bat
  +echo echo Running command "python manage.py syncdb" >> %BITDUST_HOME%\bin\bitdust-sync-restart.bat
  +echo call %BITDUST_HOME%\python\python.exe manage.py syncdb >> %BITDUST_HOME%\bin\bitdust-sync-restart.bat
  +echo start %BITDUST_HOME%\python\pythonw.exe bitdust.py %%* >> %BITDUST_HOME%\bin\bitdust-sync-restart.bat
  +echo exit >> %BITDUST_HOME%\bin\bitdust-sync-restart.bat
  +
  +
  +echo Prepare Desktop icon
   echo set WshShell = WScript.CreateObject("WScript.Shell") > find_desktop.vbs
   echo strDesktop = WshShell.SpecialFolders("Desktop") >> find_desktop.vbs
   echo wscript.echo(strDesktop) >> find_desktop.vbs
   for /F "usebackq delims=" %%i in (`cscript find_desktop.vbs`) do set DESKTOP_DIR1=%%i
   rem echo Desktop folder is %DESKTOP_DIR1%
  -
  -
   set DESKTOP_REG_ENTRY="HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders"
   set DESKTOP_REG_KEY="Desktop"
   set DESKTOP_DIR=
   for /F "tokens=1,2*" %%a in ('REG QUERY %DESKTOP_REG_ENTRY% /v %DESKTOP_REG_KEY% ^| FINDSTR "REG_SZ"') do (
       set DESKTOP_DIR2=%%c
   )
  -rem echo Desktop folder is %DESKTOP_DIR2%
  +echo Desktop folder is %DESKTOP_DIR1%
  +
  +
  +echo Updating shortcuts
  +echo Set oWS = WScript.CreateObject("WScript.Shell") > CreateShortcut0.vbs
  +echo sLinkFile = "%DESKTOP_DIR2%\BitDust.lnk" >> CreateShortcut0.vbs
  +echo Set oLink = oWS.CreateShortcut(sLinkFile) >> CreateShortcut0.vbs
  +echo oLink.TargetPath = "%BITDUST_HOME%" >> CreateShortcut0.vbs
  +echo oLink.Arguments = "" >> CreateShortcut0.vbs
  +echo oLink.WorkingDirectory = "%BITDUST_HOME%" >> CreateShortcut0.vbs
  +echo oLink.IconLocation = "%BITDUST_HOME%\src\icons\desktop.ico" >> CreateShortcut0.vbs
  +echo oLink.Description = "Open root folder of BitDust Software" >> CreateShortcut0.vbs
  +echo oLink.WindowStyle = "1" >> CreateShortcut0.vbs
  +echo oLink.Save >> CreateShortcut0.vbs
  +cscript //Nologo CreateShortcut0.vbs
   
   
   echo Set oWS = WScript.CreateObject("WScript.Shell") > CreateShortcut1.vbs
  -echo sLinkFile = "%DESKTOP_DIR2%\Start BitDust.lnk" >> CreateShortcut1.vbs
  +echo sLinkFile = "%BITDUST_HOME%\START.lnk" >> CreateShortcut1.vbs
   echo Set oLink = oWS.CreateShortcut(sLinkFile) >> CreateShortcut1.vbs
   echo oLink.TargetPath = "%BITDUST_HOME%\bin\bitdust.bat" >> CreateShortcut1.vbs
   echo oLink.Arguments = "show" >> CreateShortcut1.vbs
  
positive.code: 
  
  :PyWin32Installed
  
  
  REM echo Checking for PyCrypto installed
  REM if exist "%BITDUST_HOME%\python\Lib\site-packages\pycrypto-2.6-py2.7-win32.egg" goto PyCryptoInstalled
  
  
  REM if exist pycrypto-2.6.win32-py2.7.exe goto PyCryptoDownloaded 
  REM echo Downloading pycrypto-2.6.win32-py2.7.exe
  REM wget.exe -nv http://www.voidspace.org.uk/downloads/pycrypto26/pycrypto-2.6.win32-py2.7.exe 2>NUL
  
  
  REM :PyCryptoDownloaded
  
  
  REM echo Installing pycrypto-2.6.win32-py2.7.exe
  REM %BITDUST_HOME%\python\python.exe -m easy_install pycrypto-2.6.win32-py2.7.exe 1>NUL
  
  
  REM :PyCryptoInstalled
  
  
  echo Installing dependencies using "pip" package manager
  
negative.code: 
  echo Installing Git-1.9.5-preview20150319.exe to %BITDUST_HOME%\git
  if not exist %BITDUST_HOME%\git mkdir "%BITDUST_HOME%\git"
  Git-1.9.5-preview20150319.exe /DIR="%BITDUST_HOME%\git" /NOICONS /SILENT /NORESTART /COMPONENTS=""
  
  
  :GitInstalled
  