Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: Paulus on January 02, 2013, 01:37:58 am

Title: Register add-in for all users on a computer?
Post by: Paulus on January 02, 2013, 01:37:58 am
I thought this would be as simple as replacing HKCU with HKCR in the Wix snippet below but that didn't work.

Is it possible to install an add-in on a computer making it available to anyone who uses EA on that computer?

Code: [Select]
<Component Id="EAScriptingToolsRegEntries" Guid="8E98D5E2-5DC9-4A53-ADC0-021CA6D8E273">
      <RegistryKey Root="[highlight]HKCU[/highlight]" Key="Software\Sparx Systems\EAAddins\EAScriptingTools" Action="createAndRemoveOnUninstall">
            <RegistryValue Type="string" Value="EAScriptingTools.EventDelegator" />
      </RegistryKey>
</Component>

Title: Re: Register add-in for all users on a computer?
Post by: qwerty on January 02, 2013, 06:49:23 am
Geert posted a solution a short time ago. Either good luck with the search or Geert will be faster.

q.
Title: Re: Register add-in for all users on a computer?
Post by: Geert Bellekens on January 02, 2013, 05:52:34 pm
Paulus,

You should use HKLM. That will work for all users.

Geert