![]() ![]() ![]() As I think about it, you may need to do that no matter what method you use to deal with this issue.Īnother possibility would be to consider using PrivilegesRequired=lowest as I mentioned in an earlier comment. One problem with that is it would prevent a clean uninstall, unless you wanted to loop through each of the HKU folders and remove the key for every user on the machine. reg file would not require admin privileges because it would be applying an entry to the local user's registry hive (HKCU). reg file that a user could run only if Rubberduck does not show up in the VBE. I usually resort to setting these keys via another program that I know will be run by the local user at some point that's not really an option here.Ī quick and dirty option would be to include a. I use Inno-Setup extensively myself, and I've not come up with a reliable way to handle this problem. I'm not sure the best workaround for this. I do think it needs to be tweaked with this situation in mind. I personally use Inno-Setup for all of my own installers, so I'm not suggesting we abandon it. ![]() Please note that Rubberduck installed without problems for me under the previous installer. Remove it from the list of available Add-Ins? If 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: The result is that the install completes without error, but the add-in is simply not available. For some users (like me), this means that it gets installed under a different user account than the one used for development work. The problem is that the installer must run under elevated privileges. This is likely a hard requirement for an Office VBE extension. Design: .The new Inno Setup installer registers the add-in to the HKCU hive. BeforeInstall and AfterInstall Parameters.The Uninstall key is created in the 64-bit view of the registry.The sharedfile flag of the section updates the "SharedDLLs" key in the 64-bit view of the registry by default. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |