{"action":"created","issue":{"url":"https://api.github.com/repos/Squirrel/Squirrel.Windows/issues/498","labels_url":"https://api.github.com/repos/Squirrel/Squirrel.Windows/issues/498/labels{/name}","comments_url":"https://api.github.com/repos/Squirrel/Squirrel.Windows/issues/498/comments","events_url":"https://api.github.com/repos/Squirrel/Squirrel.Windows/issues/498/events","html_url":"https://github.com/Squirrel/Squirrel.Windows/issues/498","id":117895701,"number":498,"title":"Initial Install event is not sent until AFTER attempt to delete RootAppDirectory","user":{"login":"bwardipcommerce","id":15931422,"avatar_url":"https://avatars.githubusercontent.com/u/15931422?v=3","gravatar_id":"","url":"https://api.github.com/users/bwardipcommerce","html_url":"https://github.com/bwardipcommerce","followers_url":"https://api.github.com/users/bwardipcommerce/followers","following_url":"https://api.github.com/users/bwardipcommerce/following{/other_user}","gists_url":"https://api.github.com/users/bwardipcommerce/gists{/gist_id}","starred_url":"https://api.github.com/users/bwardipcommerce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bwardipcommerce/subscriptions","organizations_url":"https://api.github.com/users/bwardipcommerce/orgs","repos_url":"https://api.github.com/users/bwardipcommerce/repos","events_url":"https://api.github.com/users/bwardipcommerce/events{/privacy}","received_events_url":"https://api.github.com/users/bwardipcommerce/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-11-19T20:00:30Z","updated_at":"2015-11-19T21:13:28Z","closed_at":null,"body":"No way to avoid \"Failed to remove existing directory on full install, is the app still running???\" message.\r\n\r\nIf the event happened earlier, it could take care of everything BEFORE giving the installing user that message.\r\n\r\nAlternatively, a command line switch to avoid this deletion behaviour would be helpful.\r\n\r\nReference commit:\r\nhttps://github.com/Squirrel/Squirrel.Windows/commit/1819ec7dd2f8583edbf76521b2fc35eabada4949"},"comment":{"url":"https://api.github.com/repos/Squirrel/Squirrel.Windows/issues/comments/158199811","html_url":"https://github.com/Squirrel/Squirrel.Windows/issues/498#issuecomment-158199811","issue_url":"https://api.github.com/repos/Squirrel/Squirrel.Windows/issues/498","id":158199811,"user":{"login":"paulcbetts","id":1396,"avatar_url":"https://avatars.githubusercontent.com/u/1396?v=3","gravatar_id":"","url":"https://api.github.com/users/paulcbetts","html_url":"https://github.com/paulcbetts","followers_url":"https://api.github.com/users/paulcbetts/followers","following_url":"https://api.github.com/users/paulcbetts/following{/other_user}","gists_url":"https://api.github.com/users/paulcbetts/gists{/gist_id}","starred_url":"https://api.github.com/users/paulcbetts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulcbetts/subscriptions","organizations_url":"https://api.github.com/users/paulcbetts/orgs","repos_url":"https://api.github.com/users/paulcbetts/repos","events_url":"https://api.github.com/users/paulcbetts/events{/privacy}","received_events_url":"https://api.github.com/users/paulcbetts/received_events","type":"User","site_admin":false},"created_at":"2015-11-19T21:13:28Z","updated_at":"2015-11-19T21:13:28Z","body":"The problem is that usually the _reason_ why people are reinstalling is that their existing installation is corrupted or not working, so we have a pretty low likelihood that Squirrel hooks will actually run / do anything useful. \r\n\r\nI understand that this is an issue though, we'll mull over doing what we do on uninstall, force killing any process that is in our directory"}}