anchor.diff:  :PyCryptoDownloaded
   echo Installing pycrypto-2.6.win32-py2.7.exe
   unzip.exe pycrypto-2.6.win32-py2.7.exe -o -q -d pycrypto
  -xcopy pycrypto\PLATLIB\*.* %BITDUST_HOME%\python\Lib\site-packages /E /I /Q
  +xcopy pycrypto\PLATLIB\*.* %BITDUST_HOME%\python\Lib\site-packages /E /I /Q /Y
   :PyCryptoInstalled
   
   
  
positive.code: 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
  )
  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
  
negative.code: 
  
  echo Update binary extensions
  xcopy deploy\windows\Python2.7.9\* %BITDUST_HOME%\python /E /H /R /Y 
  
  
  cd /D %TMPDIR%
  