{"action":"created","issue":{"url":"https://api.github.com/repos/chrsmith/windows-package-manager/issues/185","labels_url":"https://api.github.com/repos/chrsmith/windows-package-manager/issues/185/labels{/name}","comments_url":"https://api.github.com/repos/chrsmith/windows-package-manager/issues/185/comments","events_url":"https://api.github.com/repos/chrsmith/windows-package-manager/issues/185/events","html_url":"https://github.com/chrsmith/windows-package-manager/issues/185","id":59267022,"number":185,"title":"npackdcl does not lock open applications","user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/chrsmith/windows-package-manager/labels/auto-migrated","name":"auto-migrated","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/windows-package-manager/labels/Milestone-1.17","name":"Milestone-1.17","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/windows-package-manager/labels/Type-Enhancement","name":"Type-Enhancement","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-02-27T17:27:26Z","updated_at":"2015-02-27T17:27:28Z","closed_at":"2015-02-27T17:27:27Z","body":"```\nWhat steps will reproduce the problem?\n1. npackdcl.exe add --package=Firefox --version=15\n2. Launch Firefox\n3. npackdcl.exe update --package=Firefox\n\nWhat is the expected output? What do you see instead?\nExpected: The package(s) cannot be uninstalled because the following files are \nin use...\n\nActual: Error updating Firefox: Cannot rename Firefox to .NpackdTrash\\Firefox_0 \nin C:/Program Files (x86)\n\nand, if you next try 'npackdcl.exe remove --package=Firefox --version=15' (or \nupdate again) after closing Firefox:\n\nError updating Firefox: Process C:\\Windows\\Sysnative\\cmd.exe exited with the \ncode 1\n\nC:\\Program Files (x86)\\Firefox>uninstall\\helper.exe /S\nThe system cannot find the path specified.\n\nWhat version of the product are you using? On what operating system?\nnpackdcl 1.16.4, Win7\n\nPlease provide any additional information below.\n\nSeems none of the lock mechanisms from the GUI version are enforced in the CL \nversion. Additionally, trying to uninstall a package with a running process \nleaves that package in an inconsistent state; it is impossible to remove it (or \nreinstall it) without clearing out the registry keys for it. \n\n```\n\nOriginal issue reported on code.google.com by `badg0...@umn.edu` on 28 Dec 2012 at 4:49"},"comment":{"url":"https://api.github.com/repos/chrsmith/windows-package-manager/issues/comments/76434806","html_url":"https://github.com/chrsmith/windows-package-manager/issues/185#issuecomment-76434806","issue_url":"https://api.github.com/repos/chrsmith/windows-package-manager/issues/185","id":76434806,"user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"created_at":"2015-02-27T17:27:28Z","updated_at":"2015-02-27T17:27:28Z","body":"```\nThis appears to be fixed. \n```\n\nOriginal comment by `badg0...@umn.edu` on 14 Jan 2013 at 10:55"}}