Author Topic: Register add-in for all users on a computer?  (Read 3226 times)

Paulus

  • EA User
  • **
  • Posts: 152
  • Karma: +0/-0
    • View Profile
Register add-in for all users on a computer?
« 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>

« Last Edit: January 02, 2013, 01:38:49 am by pmaessen »

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: Register add-in for all users on a computer?
« Reply #1 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.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13404
  • Karma: +567/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Register add-in for all users on a computer?
« Reply #2 on: January 02, 2013, 05:52:34 pm »
Paulus,

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

Geert