I created a 'per machine' installer for an addin using the HKLM registry .
I installed the add-in on a 32 bit machine. The user that installed it has administrator permissions.
The registry entry is added under HKLM\SOFTWARE\Sparx Systems\EAAddins\MyAddin
– for all users, but the addin is available only for the user how installed the “per machine” installer.
For all the rest of the users the program is unavailable.
Any ideas?
EDIT:
This is the package definition in the installer :
<Package Description="#Description"
Comments="Comments"
InstallerVersion="200"
Compressed="yes"/>
This is the registry definition:
<Component Id="AdminAddinsRegEntries" Guid="A8B685BF-E4B3-4D8B-A8B1-BAB845812233">
<RegistryKey Root="HKLM" Key="Software\Sparx Systems\EAAddins\AdminAddins" Action="createAndRemoveOnUninstall">
<RegistryValue Type="string" Value="AdminAddins.MyClass" />
</RegistryKey>
</Component>