title: How to inspect windows application using Appium
body: <p>Is it possible to inspect a Windows application using Appium?
  If yes can someone show me what "Desired Capability" shall be set to launch for example notepad?</p>
  
  <p>What I have done is:</p>
  
  <ul>
  <li>Installed/Started Appium</li>
  <li>Launched server on 0.0.0.0:4723</li>
  <li>Clicked on start inspector</li>
  <li><p>Provided following capabilities:</p>
  
  <p>{
    "platformName": "Windows",
    "deviceName": "WindowsPC",
    "app": "C:\Windows\System32\notepad.exe"
  }</p></li>
  </ul>
  
  <p>What i got back is the following log:</p>
  
  <pre><code>[HTTP] --&gt; POST /wd/hub/session
  [HTTP] {"desiredCapabilities":{"app":"C:\\Windows\\System32\\notepad.exe","deviceName":"WindowsPC","platformName":"Windows","newCommandTimeout":0,"connectHardwareKeyboard":true}}
  [MJSONWP] Calling AppiumDriver.createSession() with args: [{"app":"C:\\Windows\\System32\\notepad.exe","deviceName":"WindowsPC","platformName":"Windows","newCommandTimeout":0,"connectHardwareKeyboard":true},null,null]
  [BaseDriver] Event 'newSessionRequested' logged at 1562752317506 (11:51:57 GMT+0200 (W. Europe Daylight Time))
  [Appium] Appium v1.14.0 creating new WindowsDriver (v1.5.1) session
  [Appium] Capabilities:
  [Appium]   app: C:\Windows\System32\notepad.exe
  [Appium]   deviceName: WindowsPC
  [Appium]   platformName: Windows
  [Appium]   newCommandTimeout: 0
  [Appium]   connectHardwareKeyboard: true
  [BaseDriver] Creating session with MJSONWP desired capabilities: {"app":"C:\\Windows\\System...
  [BaseDriver] The following capabilities were provided, but are not recognized by Appium:
  [BaseDriver]   app
  [BaseDriver]   connectHardwareKeyboard
  [BaseDriver] Session created with session id: b4f9003f-6a56-47b8-b9f3-bf70ac3dc91d
  [WinAppDriver] You must use WinAppDriver version 1.1
  [WinAppDriver] Verifying WinAppDriver version 1.1 is installed via comparing the checksum.
  [WinAppDriver] Deleting WinAppDriver session
  [BaseDriver] Event 'newSessionStarted' logged at 1562752317614 (11:51:57 GMT+0200 (W. Europe Daylight Time))
  [MJSONWP] Encountered internal error running command: Error: Could not verify WinAppDriver install; re-run install
  [MJSONWP]     at C:\Users\myUser\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-windows-driver\lib\winappdriver.js:35:13
  [MJSONWP]     at Generator.next ()
  [MJSONWP]     at asyncGeneratorStep (C:\Users\myUser\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\@babel\runtime\helpers\asyncToGenerator.js:3:24)
  [MJSONWP]     at _next (C:\Users\myUser\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\@babel\runtime\helpers\asyncToGenerator.js:25:9)
  [MJSONWP]     at run (C:\Users\myUser\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\core-js\modules\es6.promise.js:75:22)
  [MJSONWP]     at C:\Users\myUser\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\core-js\modules\es6.promise.js:92:30
  [MJSONWP]     at flush (C:\Users\myUser\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\core-js\modules\_microtask.js:18:9)
  [MJSONWP]     at process._tickCallback (internal/process/next_tick.js:61:11)
  [HTTP] &lt;-- POST /wd/hub/session 500 113 ms - 190
  [HTTP] 
  [HTTP] --&gt; DELETE /wd/hub/session
  [HTTP] {}
  [HTTP] No route found. Setting content type to 'text/plain'
  [HTTP] &lt;-- DELETE /wd/hub/session 404 1 ms - 57
  </code></pre>
  
  <p>Uninstalling and reinstalling did not help.
  Am i doing anything wrong? Shall windows driver be started manually?</p>