{"action":"created","issue":{"url":"https://api.github.com/repos/git-for-windows/git/issues/682","repository_url":"https://api.github.com/repos/git-for-windows/git","labels_url":"https://api.github.com/repos/git-for-windows/git/issues/682/labels{/name}","comments_url":"https://api.github.com/repos/git-for-windows/git/issues/682/comments","events_url":"https://api.github.com/repos/git-for-windows/git/issues/682/events","html_url":"https://github.com/git-for-windows/git/issues/682","id":137997095,"number":682,"title":"Installer does not roll back properly","user":{"login":"fourpastmidnight","id":6895593,"avatar_url":"https://avatars.githubusercontent.com/u/6895593?v=3","gravatar_id":"","url":"https://api.github.com/users/fourpastmidnight","html_url":"https://github.com/fourpastmidnight","followers_url":"https://api.github.com/users/fourpastmidnight/followers","following_url":"https://api.github.com/users/fourpastmidnight/following{/other_user}","gists_url":"https://api.github.com/users/fourpastmidnight/gists{/gist_id}","starred_url":"https://api.github.com/users/fourpastmidnight/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fourpastmidnight/subscriptions","organizations_url":"https://api.github.com/users/fourpastmidnight/orgs","repos_url":"https://api.github.com/users/fourpastmidnight/repos","events_url":"https://api.github.com/users/fourpastmidnight/events{/privacy}","received_events_url":"https://api.github.com/users/fourpastmidnight/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/git-for-windows/git/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":41,"created_at":"2016-03-02T21:24:17Z","updated_at":"2016-03-25T17:56:40Z","closed_at":null,"body":"While installing Git 2.7.2, an error was encountered where `C:\\Program Files\\Git\\mingw64\\bin` was unable to be deleted. I was given a dialog with three choices: `Abort`, `Retry`, or `Ignore`. Well, it's fairly safe to say that ignoring this is not a good idea, and retrying didn't work (of course), so really, the only sensible option was to `Abort`.\r\n\r\nWhen I clicked `Abort`, the status bar changed and said `Rolling back...`. However, my previous installation was now corrupted--as not all files were restored/rolled back. This is a pretty huge installer bug. The whole point of MSI's is that they're transactional.\r\n\r\nIf you're not going to support rolling back a failed installation, then remove the rollback steps in the installer."},"comment":{"url":"https://api.github.com/repos/git-for-windows/git/issues/comments/201388958","html_url":"https://github.com/git-for-windows/git/issues/682#issuecomment-201388958","issue_url":"https://api.github.com/repos/git-for-windows/git/issues/682","id":201388958,"user":{"login":"fourpastmidnight","id":6895593,"avatar_url":"https://avatars.githubusercontent.com/u/6895593?v=3","gravatar_id":"","url":"https://api.github.com/users/fourpastmidnight","html_url":"https://github.com/fourpastmidnight","followers_url":"https://api.github.com/users/fourpastmidnight/followers","following_url":"https://api.github.com/users/fourpastmidnight/following{/other_user}","gists_url":"https://api.github.com/users/fourpastmidnight/gists{/gist_id}","starred_url":"https://api.github.com/users/fourpastmidnight/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fourpastmidnight/subscriptions","organizations_url":"https://api.github.com/users/fourpastmidnight/orgs","repos_url":"https://api.github.com/users/fourpastmidnight/repos","events_url":"https://api.github.com/users/fourpastmidnight/events{/privacy}","received_events_url":"https://api.github.com/users/fourpastmidnight/received_events","type":"User","site_admin":false},"created_at":"2016-03-25T17:56:40Z","updated_at":"2016-03-25T17:56:40Z","body":"@dscho: You have to run `msiexec` from the command line:\r\n\r\n```she'll\r\n> msiexec /i {package_name.msi} /l[log_options] {path\\to\\logfile.log}\r\n```\r\n\r\nI forget the available options to `/l` save one: `/l*v!` produces that 11MB monstrosity in this case ;). You can find the other options via `msiexec /?`.\r\n\r\nI'll be sure to include that Registry value; thanks for the heads-up."}}