     return false unless isWin32()
 
     vsPath = path.join x86ProgramFilesDirectory(), "Microsoft Visual Studio 10.0", "Common7", "IDE", "devenv.exe"
-    fileExistsAndIsAccessible vsPath
+    fs.existsSync vsPath
 
   isVs2012Installed: ->
     return false unless isWin32()
 
     vsPath = path.join x86ProgramFilesDirectory(), "Microsoft Visual Studio 11.0", "Common7", "IDE", "devenv.exe"
-    fileExistsAndIsAccessible vsPath
+    fs.existsSync vsPath

    !!process.platform.match(/^win/)

  isWindows64Bit: ->
    fileExistsAndIsAccessible "C:\\Windows\\SysWow64\\Notepad.exe"

  x86ProgramFilesDirectory: ->
    process.env["ProgramFiles(x86)"] || process.env["ProgramFiles"]

path = require 'path'
fs = require 'fs'

module.exports =
  getHomeDirectory: ->
