{"action":"created","issue":{"url":"https://api.github.com/repos/retailcoder/Rubberduck/issues/458","labels_url":"https://api.github.com/repos/retailcoder/Rubberduck/issues/458/labels{/name}","comments_url":"https://api.github.com/repos/retailcoder/Rubberduck/issues/458/comments","events_url":"https://api.github.com/repos/retailcoder/Rubberduck/issues/458/events","html_url":"https://github.com/retailcoder/Rubberduck/issues/458","id":75675593,"number":458,"title":"Inno Setup installs to the HKCU of the administrator account","user":{"login":"mwolfe02","id":305213,"avatar_url":"https://avatars.githubusercontent.com/u/305213?v=3","gravatar_id":"","url":"https://api.github.com/users/mwolfe02","html_url":"https://github.com/mwolfe02","followers_url":"https://api.github.com/users/mwolfe02/followers","following_url":"https://api.github.com/users/mwolfe02/following{/other_user}","gists_url":"https://api.github.com/users/mwolfe02/gists{/gist_id}","starred_url":"https://api.github.com/users/mwolfe02/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwolfe02/subscriptions","organizations_url":"https://api.github.com/users/mwolfe02/orgs","repos_url":"https://api.github.com/users/mwolfe02/repos","events_url":"https://api.github.com/users/mwolfe02/events{/privacy}","received_events_url":"https://api.github.com/users/mwolfe02/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-12T17:25:01Z","updated_at":"2015-05-12T18:00:04Z","closed_at":null,"body":"The new Inno Setup installer registers the add-in to the HKCU hive. This is likely a hard requirement for an Office VBE extension.\r\n\r\nThe problem is that the installer must run under elevated privileges.  For some users (like me), this means that it gets installed under a different user account than the one used for development work.  The result is that the install completes without error, but the add-in is simply not available.\r\n\r\nIf I try running Access or Excel as an administrator (i.e., under the account I used to run the installer), I get the following error when I try to switch to the VBA IDE:\r\n\r\n>  'Rubberduck' could not be loaded.\r\n>  Remove it from the list of available Add-Ins?\r\n\r\nPlease note that Rubberduck installed without problems for me under the previous installer.  I personally use Inno-Setup for all of my own installers, so I'm not suggesting we abandon it.  I do think it needs to be tweaked with this situation in mind.\r\n\r\nMy environment:\r\nWindows 7 (64-bit)\r\nMS Access 2002 (aka, Access XP; 32-bit)\r\nMS Excel 2007 (32-bit)"},"comment":{"url":"https://api.github.com/repos/retailcoder/Rubberduck/issues/comments/101366484","html_url":"https://github.com/retailcoder/Rubberduck/issues/458#issuecomment-101366484","issue_url":"https://api.github.com/repos/retailcoder/Rubberduck/issues/458","id":101366484,"user":{"login":"christophocles","id":5281163,"avatar_url":"https://avatars.githubusercontent.com/u/5281163?v=3","gravatar_id":"","url":"https://api.github.com/users/christophocles","html_url":"https://github.com/christophocles","followers_url":"https://api.github.com/users/christophocles/followers","following_url":"https://api.github.com/users/christophocles/following{/other_user}","gists_url":"https://api.github.com/users/christophocles/gists{/gist_id}","starred_url":"https://api.github.com/users/christophocles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christophocles/subscriptions","organizations_url":"https://api.github.com/users/christophocles/orgs","repos_url":"https://api.github.com/users/christophocles/repos","events_url":"https://api.github.com/users/christophocles/events{/privacy}","received_events_url":"https://api.github.com/users/christophocles/received_events","type":"User","site_admin":false},"created_at":"2015-05-12T18:00:04Z","updated_at":"2015-05-12T18:00:04Z","body":"HKCU is definitely NOT a requirement.  HKLM is the default for registration of any DLL, including Excel addins.\r\n\r\nThe entire point of registering the addin in the per-user HKCU registry hive is so that the installer would NOT require elevation, and individual users could install the addin for themselves without any administrator privileges.  However, the installer currently still requires elevation.  I really hope to see this corrected, but I have not yet had time to delve into the installer configuration myself."}}