Skip to content

Inno Setup installs to the HKCU of the administrator account #458

@mwolfe02

Description

@mwolfe02

The new Inno Setup installer registers the add-in to the HKCU hive. This is likely a hard requirement for an Office VBE extension.

The 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.

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:

'Rubberduck' could not be loaded.
Remove it from the list of available Add-Ins?

Please 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.

My environment:
Windows 7 (64-bit)
MS Access 2002 (aka, Access XP; 32-bit)
MS Excel 2007 (32-bit)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIdentifies work items for known bugsinstallerstatus-bydesign"It's not a bug, it's a feature!"

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions