This new article shows a sample of a setup for an add-in for the VBA editor of Microsoft Office using InnoSetup. In this sample I show two interesting techniques:
- How to create a dual setup that can run as a 32-bit setup on Windows 32-bit, and as a 64-bit setup on Windows 64-bit.
- How to register a COM-component for the current user (using HKEY_CURRENT_USER), not requiring admin rights. Notice that an application cannot see per-user COM registrations if the User Account Control feature is activated and the application runs elevated. Fortunately Microsoft Office doesn’t run elevated by default (no need), so the VBA editor can see COM add-ins registered only for the current user.
HOWTO: Create a setup for an add-in for the VBA editor of Microsoft Office for the current user (not requiring admin rights) using Inno Setup
http://www.mztools.com/articles/2012/MZ2012019.aspx