In order to install my add-in the users need administrator access on their machines to register the dll in the registry using regasm.exe is there a way to enable users who have no admin access to use install the add-in?

PS. There is a way, but it requires messing about a lot in the registry. I was working on an add-in manager that was meant to install add-ins on the fly and without admin-access. The core functionality worked, I just never gotten around to finishing it. You can see (and use) the code on in my github repository: https://github.com/GeertBellekens/Enterprise-Architect-Toolpack/tree/master/EAAddinManager The idea behind it is that you only touch the HKCU section of the registry, for which you don't need admin access.

Error40Cannot implicitly convert type 'System.Collections.Generic.HashSet<SchemaType>' to 'System.Collections.Generic.HashSet<EA.SchemaType>'C:\Workset\GIT\Enterprise-Architect-Add-in-Framework\EAAddinFramework\SchemaBuilder\EASchema.cs6920EAAddinFrameworkError9Metadata file 'C:\Workset\GIT\Enterprise-Architect-Add-in-Framework\EAAddinFramework\bin\Debug\EAAddinFramework.dll' could not be foundC:\Workset\GIT\Enterprise-Architect-Add-in-Framework\MyAddin\CSCMyAddinError10Metadata file 'C:\Workset\GIT\Enterprise-Architect-Add-in-Framework\EAAddinFramework\bin\Debug\EAAddinFramework.dll' could not be foundC:\Workset\GIT\Enterprise-Architect-Toolpack\EAAddinManager\CSCEAAddinManagerError11Metadata file 'C:\Workset\GIT\Enterprise-Architect-Add-in-Framework\EAAddinFramework\bin\Debug\EAAddinFramework.dll' could not be foundC:\Workset\GIT\Enterprise-Architect-Toolpack\BalsamiqConnector\CSCBalsamiqConnectorError12Metadata file 'C:\Workset\GIT\Enterprise-Architect-Add-in-Framework\EAAddinFramework\bin\Debug\EAAddinFramework.dll' could not be foundC:\Workset\GIT\Enterprise-Architect-Toolpack\EANavigator\CSCEANavigatorError13Metadata file 'C:\Workset\GIT\Enterprise-Architect-Add-in-Framework\EAAddinFramework\bin\Debug\EAAddinFramework.dll' could not be foundC:\Workset\GIT\Enterprise-Architect-Toolpack\EAWorksetSharing\CSCEAWorksetSharingError14Metadata file 'C:\Workset\GIT\Enterprise-Architect-Add-in-Framework\EAAddinFramework\bin\Debug\EAAddinFramework.dll' could not be foundC:\Workset\GIT\Enterprise-Architect-Toolpack\EAScriptAddin\CSCEAScriptAddinError15Metadata file 'C:\Workset\GIT\Enterprise-Architect-Add-in-Framework\EAAddinFramework\bin\Debug\EAAddinFramework.dll' could not be foundC:\Workset\GIT\Enterprise-Architect-Toolpack\ECDMMessageComposer\CSCECDMMessageComposerError16Metadata file 'C:\Workset\GIT\Enterprise-Architect-Add-in-Framework\EAAddinFramework\bin\Debug\EAAddinFramework.dll' could not be foundC:\Workset\GIT\Enterprise-Architect-Toolpack\LicensekeyGenerator\CSCLicensekeyGeneratorError18Metadata file 'C:\Workset\GIT\Enterprise-Architect-Add-in-Framework\EAAddinFramework\bin\Debug\EAAddinFramework.dll' could not be foundC:\Workset\GIT\Enterprise-Architect-Add-in-Framework\EAAddinTester\CSCEAAddinTesterError23Metadata file 'C:\Workset\GIT\Enterprise-Architect-Add-in-Framework\MyAddin\bin\Debug\MyAddin.dll' could not be foundC:\Workset\GIT\Enterprise-Architect-Add-in-Framework\EAAddinTester\CSCEAAddinTesterError17Metadata file 'C:\Workset\GIT\Enterprise-Architect-Toolpack\BalsamiqConnector\bin\Debug\BalsamiqConnector.dll' could not be foundC:\Workset\GIT\Enterprise-Architect-Add-in-Framework\EAAddinTester\CSCEAAddinTesterError19Metadata file 'C:\Workset\GIT\Enterprise-Architect-Toolpack\EANavigator\bin\Debug\EANavigator.dll' could not be foundC:\Workset\GIT\Enterprise-Architect-Add-in-Framework\EAAddinTester\CSCEAAddinTesterError20Metadata file 'C:\Workset\GIT\Enterprise-Architect-Toolpack\EAScriptAddin\bin\Debug\EAScriptAddin.dll' could not be foundC:\Workset\GIT\Enterprise-Architect-Add-in-Framework\EAAddinTester\CSCEAAddinTesterError21Metadata file 'C:\Workset\GIT\Enterprise-Architect-Toolpack\EAWorksetSharing\bin\Debug\EAWorksetSharing.dll' could not be foundC:\Workset\GIT\Enterprise-Architect-Add-in-Framework\EAAddinTester\CSCEAAddinTesterError22Metadata file 'C:\Workset\GIT\Enterprise-Architect-Toolpack\ECDMMessageComposer\bin\Debug\ECDMMessageComposer.dll' could not be foundC:\Workset\GIT\Enterprise-Architect-Add-in-Framework\EAAddinTester\CSCEAAddinTesterError25The type or namespace name 'SchemaComposer' does not exist in the namespace 'EA' (are you missing an assembly reference?)C:\Workset\GIT\Enterprise-Architect-Add-in-Framework\EAAddinFramework\EAAddinBase.cs126475EAAddinFrameworkError26The type or namespace name 'SchemaComposer' does not exist in the namespace 'EA' (are you missing an assembly reference?)C:\Workset\GIT\Enterprise-Architect-Add-in-Framework\EAAddinFramework\SchemaBuilder\EASchemaBuilderFactory.cs4156EAAddinFrameworkError32The type or namespace name 'SchemaComposer' does not exist in the namespace 'EA' (are you missing an assembly reference?)C:\Workset\GIT\Enterprise-Architect-Add-in-Framework\EAAddinFramework\SchemaBuilder\EASchema.cs1914EAAddinFrameworkError33The type or namespace name 'SchemaComposer' does not exist in the namespace 'EA' (are you missing an assembly reference?)C:\Workset\GIT\Enterprise-Architect-Add-in-Framework\EAAddinFramework\SchemaBuilder\EASchema.cs2944EAAddinFrameworkError24The type or namespace name 'SchemaProfile' does not exist in the namespace 'EA' (are you missing an assembly reference?)C:\Workset\GIT\Enterprise-Architect-Add-in-Framework\EAAddinFramework\EAAddinBase.cs125671EAAddinFrameworkError2The type or namespace name 'SchemaProperty' does not exist in the namespace 'EA' (are you missing an assembly reference?)C:\Workset\GIT\Enterprise-Architect-Add-in-Framework\EAAddinFramework\SchemaBuilder\EASchemaPropertyWrapper.cs1822EAAddinFrameworkError3The type or namespace name 'SchemaProperty' does not exist in the namespace 'EA' (are you missing an assembly reference?)C:\Workset\GIT\Enterprise-Architect-Add-in-Framework\EAAddinFramework\SchemaBuilder\EASchemaLiteral.cs2271EAAddinFrameworkError4The type or namespace name 'SchemaProperty' does not exist in the namespace 'EA' (are you missing an assembly reference?)C:\Workset\GIT\Enterprise-Architect-Add-in-Framework\EAAddinFramework\SchemaBuilder\EASchemaProperty.cs2272EAAddinFrameworkError5The type or namespace name 'SchemaProperty' does not exist in the namespace 'EA' (are you missing an assembly reference?)C:\Workset\GIT\Enterprise-Architect-Add-in-Framework\EAAddinFramework\SchemaBuilder\EASchemaAssociation.cs2482EAAddinFrameworkError7The type or namespace name 'SchemaProperty' does not exist in the namespace 'EA' (are you missing an assembly reference?)C:\Workset\GIT\Enterprise-Architect-Add-in-Framework\EAAddinFramework\SchemaBuilder\EASchemaPropertyWrapper.cs2686EAAddinFrameworkError8The type or namespace name 'SchemaProperty' does not exist in the namespace 'EA' (are you missing an assembly reference?)C:\Workset\GIT\Enterprise-Architect-Add-in-Framework\EAAddinFramework\SchemaBuilder\EASchemaElement.cs9819EAAddinFrameworkError27The type or namespace name 'SchemaProperty' does not exist in the namespace 'EA' (are you missing an assembly reference?)C:\Workset\GIT\Enterprise-Architect-Add-in-Framework\EAAddinFramework\SchemaBuilder\EASchemaBuilderFactory.cs4590EAAddinFrameworkError28The type or namespace name 'SchemaProperty' does not exist in the namespace 'EA' (are you missing an assembly reference?)C:\Workset\GIT\Enterprise-Architect-Add-in-Framework\EAAddinFramework\SchemaBuilder\EASchemaBuilderFactory.cs6774EAAddinFrameworkError30The type or namespace name 'SchemaProperty' does not exist in the namespace 'EA' (are you missing an assembly reference?)C:\Workset\GIT\Enterprise-Architect-Add-in-Framework\EAAddinFramework\SchemaBuilder\EASchemaBuilderFactory.cs7777EAAddinFrameworkError31The type or namespace name 'SchemaProperty' does not exist in the namespace 'EA' (are you missing an assembly reference?)C:\Workset\GIT\Enterprise-Architect-Add-in-Framework\EAAddinFramework\SchemaBuilder\EASchemaBuilderFactory.cs8273EAAddinFrameworkError1The type or namespace name 'SchemaType' does not exist in the namespace 'EA' (are you missing an assembly reference?)C:\Workset\GIT\Enterprise-Architect-Add-in-Framework\EAAddinFramework\SchemaBuilder\EASchemaElement.cs1715EAAddinFrameworkError6The type or namespace name 'SchemaType' does not exist in the namespace 'EA' (are you missing an assembly reference?)C:\Workset\GIT\Enterprise-Architect-Add-in-Framework\EAAddinFramework\SchemaBuilder\EASchemaElement.cs2564EAAddinFrameworkError29The type or namespace name 'SchemaType' does not exist in the namespace 'EA' (are you missing an assembly reference?)C:\Workset\GIT\Enterprise-Architect-Add-in-Framework\EAAddinFramework\SchemaBuilder\EASchemaBuilderFactory.cs7266EAAddinFrameworkError34The type or namespace name 'SchemaType' does not exist in the namespace 'EA' (are you missing an assembly reference?)C:\Workset\GIT\Enterprise-Architect-Add-in-Framework\EAAddinFramework\SchemaBuilder\EASchema.cs4418EAAddinFrameworkError35The type or namespace name 'SchemaType' does not exist in the namespace 'EA' (are you missing an assembly reference?)C:\Workset\GIT\Enterprise-Architect-Add-in-Framework\EAAddinFramework\SchemaBuilder\EASchema.cs5922EAAddinFrameworkError36The type or namespace name 'SchemaType' does not exist in the namespace 'EA' (are you missing an assembly reference?)C:\Workset\GIT\Enterprise-Architect-Add-in-Framework\EAAddinFramework\SchemaBuilder\EASchema.cs6115EAAddinFrameworkError37The type or namespace name 'SchemaType' does not exist in the namespace 'EA' (are you missing an assembly reference?)C:\Workset\GIT\Enterprise-Architect-Add-in-Framework\EAAddinFramework\SchemaBuilder\EASchema.cs6156EAAddinFrameworkError39The type or namespace name 'SchemaType' does not exist in the namespace 'EA' (are you missing an assembly reference?)C:\Workset\GIT\Enterprise-Architect-Add-in-Framework\EAAddinFramework\SchemaBuilder\EASchema.cs6316EAAddinFrameworkError38The type or namespace name 'SchemaTypeEnum' does not exist in the namespace 'EA' (are you missing an assembly reference?)C:\Workset\GIT\Enterprise-Architect-Add-in-Framework\EAAddinFramework\SchemaBuilder\EASchema.cs627EAAddinFramework

I would really appreciate it, If you can guide me what I am doing wrong.

EDIT: Never mind I manage to understand your code and I did a program which do the same steps your code does, and it works fine now, thanks a lot.

Error40Cannot implicitly convert type 'System.Collections.Generic.HashSet<SchemaType>' to 'System.Collections.Generic.HashSet<EA.SchemaType>'C:\Workset\GIT\Enterprise-Architect-Add-in-Framework\EAAddinFramework\SchemaBuilder\EASchema.cs6920EAAddinFrameworkError9Metadata file 'C:\Workset\GIT\Enterprise-Architect-Add-in-Framework\EAAddinFramework\bin\Debug\EAAddinFramework.dll' could not be foundC:\Workset\GIT\Enterprise-Architect-Add-in-Framework\MyAddin\CSCMyAddinError10Metadata file 'C:\Workset\GIT\Enterprise-Architect-Add-in-Framework\EAAddinFramework\bin\Debug\EAAddinFramework.dll' could not be foundC:\Workset\GIT\Enterprise-Architect-Toolpack\EAAddinManager\CSCEAAddinManagerError11Metadata file 'C:\Workset\GIT\Enterprise-Architect-Add-in-Framework\EAAddinFramework\bin\Debug\EAAddinFramework.dll' could not be foundC:\Workset\GIT\Enterprise-Architect-Toolpack\BalsamiqConnector\CSCBalsamiqConnectorError12Metadata file 'C:\Workset\GIT\Enterprise-Architect-Add-in-Framework\EAAddinFramework\bin\Debug\EAAddinFramework.dll' could not be foundC:\Workset\GIT\Enterprise-Architect-Toolpack\EANavigator\CSCEANavigatorError13Metadata file 'C:\Workset\GIT\Enterprise-Architect-Add-in-Framework\EAAddinFramework\bin\Debug\EAAddinFramework.dll' could not be foundC:\Workset\GIT\Enterprise-Architect-Toolpack\EAWorksetSharing\CSCEAWorksetSharingError14Metadata file 'C:\Workset\GIT\Enterprise-Architect-Add-in-Framework\EAAddinFramework\bin\Debug\EAAddinFramework.dll' could not be foundC:\Workset\GIT\Enterprise-Architect-Toolpack\EAScriptAddin\CSCEAScriptAddinError15Metadata file 'C:\Workset\GIT\Enterprise-Architect-Add-in-Framework\EAAddinFramework\bin\Debug\EAAddinFramework.dll' could not be foundC:\Workset\GIT\Enterprise-Architect-Toolpack\ECDMMessageComposer\CSCECDMMessageComposerError16Metadata file 'C:\Workset\GIT\Enterprise-Architect-Add-in-Framework\EAAddinFramework\bin\Debug\EAAddinFramework.dll' could not be foundC:\Workset\GIT\Enterprise-Architect-Toolpack\LicensekeyGenerator\CSCLicensekeyGeneratorError18Metadata file 'C:\Workset\GIT\Enterprise-Architect-Add-in-Framework\EAAddinFramework\bin\Debug\EAAddinFramework.dll' could not be foundC:\Workset\GIT\Enterprise-Architect-Add-in-Framework\EAAddinTester\CSCEAAddinTesterError23Metadata file 'C:\Workset\GIT\Enterprise-Architect-Add-in-Framework\MyAddin\bin\Debug\MyAddin.dll' could not be foundC:\Workset\GIT\Enterprise-Architect-Add-in-Framework\EAAddinTester\CSCEAAddinTesterError17Metadata file 'C:\Workset\GIT\Enterprise-Architect-Toolpack\BalsamiqConnector\bin\Debug\BalsamiqConnector.dll' could not be foundC:\Workset\GIT\Enterprise-Architect-Add-in-Framework\EAAddinTester\CSCEAAddinTesterError19Metadata file 'C:\Workset\GIT\Enterprise-Architect-Toolpack\EANavigator\bin\Debug\EANavigator.dll' could not be foundC:\Workset\GIT\Enterprise-Architect-Add-in-Framework\EAAddinTester\CSCEAAddinTesterError20Metadata file 'C:\Workset\GIT\Enterprise-Architect-Toolpack\EAScriptAddin\bin\Debug\EAScriptAddin.dll' could not be foundC:\Workset\GIT\Enterprise-Architect-Add-in-Framework\EAAddinTester\CSCEAAddinTesterError21Metadata file 'C:\Workset\GIT\Enterprise-Architect-Toolpack\EAWorksetSharing\bin\Debug\EAWorksetSharing.dll' could not be foundC:\Workset\GIT\Enterprise-Architect-Add-in-Framework\EAAddinTester\CSCEAAddinTesterError22Metadata file 'C:\Workset\GIT\Enterprise-Architect-Toolpack\ECDMMessageComposer\bin\Debug\ECDMMessageComposer.dll' could not be foundC:\Workset\GIT\Enterprise-Architect-Add-in-Framework\EAAddinTester\CSCEAAddinTesterError25The type or namespace name 'SchemaComposer' does not exist in the namespace 'EA' (are you missing an assembly reference?)C:\Workset\GIT\Enterprise-Architect-Add-in-Framework\EAAddinFramework\EAAddinBase.cs126475EAAddinFrameworkError26The type or namespace name 'SchemaComposer' does not exist in the namespace 'EA' (are you missing an assembly reference?)C:\Workset\GIT\Enterprise-Architect-Add-in-Framework\EAAddinFramework\SchemaBuilder\EASchemaBuilderFactory.cs4156EAAddinFrameworkError32The type or namespace name 'SchemaComposer' does not exist in the namespace 'EA' (are you missing an assembly reference?)C:\Workset\GIT\Enterprise-Architect-Add-in-Framework\EAAddinFramework\SchemaBuilder\EASchema.cs1914EAAddinFrameworkError33The type or namespace name 'SchemaComposer' does not exist in the namespace 'EA' (are you missing an assembly reference?)C:\Workset\GIT\Enterprise-Architect-Add-in-Framework\EAAddinFramework\SchemaBuilder\EASchema.cs2944EAAddinFrameworkError24The type or namespace name 'SchemaProfile' does not exist in the namespace 'EA' (are you missing an assembly reference?)C:\Workset\GIT\Enterprise-Architect-Add-in-Framework\EAAddinFramework\EAAddinBase.cs125671EAAddinFrameworkError2The type or namespace name 'SchemaProperty' does not exist in the namespace 'EA' (are you missing an assembly reference?)C:\Workset\GIT\Enterprise-Architect-Add-in-Framework\EAAddinFramework\SchemaBuilder\EASchemaPropertyWrapper.cs1822EAAddinFrameworkError3The type or namespace name 'SchemaProperty' does not exist in the namespace 'EA' (are you missing an assembly reference?)C:\Workset\GIT\Enterprise-Architect-Add-in-Framework\EAAddinFramework\SchemaBuilder\EASchemaLiteral.cs2271EAAddinFrameworkError4The type or namespace name 'SchemaProperty' does not exist in the namespace 'EA' (are you missing an assembly reference?)C:\Workset\GIT\Enterprise-Architect-Add-in-Framework\EAAddinFramework\SchemaBuilder\EASchemaProperty.cs2272EAAddinFrameworkError5The type or namespace name 'SchemaProperty' does not exist in the namespace 'EA' (are you missing an assembly reference?)C:\Workset\GIT\Enterprise-Architect-Add-in-Framework\EAAddinFramework\SchemaBuilder\EASchemaAssociation.cs2482EAAddinFrameworkError7The type or namespace name 'SchemaProperty' does not exist in the namespace 'EA' (are you missing an assembly reference?)C:\Workset\GIT\Enterprise-Architect-Add-in-Framework\EAAddinFramework\SchemaBuilder\EASchemaPropertyWrapper.cs2686EAAddinFrameworkError8The type or namespace name 'SchemaProperty' does not exist in the namespace 'EA' (are you missing an assembly reference?)C:\Workset\GIT\Enterprise-Architect-Add-in-Framework\EAAddinFramework\SchemaBuilder\EASchemaElement.cs9819EAAddinFrameworkError27The type or namespace name 'SchemaProperty' does not exist in the namespace 'EA' (are you missing an assembly reference?)C:\Workset\GIT\Enterprise-Architect-Add-in-Framework\EAAddinFramework\SchemaBuilder\EASchemaBuilderFactory.cs4590EAAddinFrameworkError28The type or namespace name 'SchemaProperty' does not exist in the namespace 'EA' (are you missing an assembly reference?)C:\Workset\GIT\Enterprise-Architect-Add-in-Framework\EAAddinFramework\SchemaBuilder\EASchemaBuilderFactory.cs6774EAAddinFrameworkError30The type or namespace name 'SchemaProperty' does not exist in the namespace 'EA' (are you missing an assembly reference?)C:\Workset\GIT\Enterprise-Architect-Add-in-Framework\EAAddinFramework\SchemaBuilder\EASchemaBuilderFactory.cs7777EAAddinFrameworkError31The type or namespace name 'SchemaProperty' does not exist in the namespace 'EA' (are you missing an assembly reference?)C:\Workset\GIT\Enterprise-Architect-Add-in-Framework\EAAddinFramework\SchemaBuilder\EASchemaBuilderFactory.cs8273EAAddinFrameworkError1The type or namespace name 'SchemaType' does not exist in the namespace 'EA' (are you missing an assembly reference?)C:\Workset\GIT\Enterprise-Architect-Add-in-Framework\EAAddinFramework\SchemaBuilder\EASchemaElement.cs1715EAAddinFrameworkError6The type or namespace name 'SchemaType' does not exist in the namespace 'EA' (are you missing an assembly reference?)C:\Workset\GIT\Enterprise-Architect-Add-in-Framework\EAAddinFramework\SchemaBuilder\EASchemaElement.cs2564EAAddinFrameworkError29The type or namespace name 'SchemaType' does not exist in the namespace 'EA' (are you missing an assembly reference?)C:\Workset\GIT\Enterprise-Architect-Add-in-Framework\EAAddinFramework\SchemaBuilder\EASchemaBuilderFactory.cs7266EAAddinFrameworkError34The type or namespace name 'SchemaType' does not exist in the namespace 'EA' (are you missing an assembly reference?)C:\Workset\GIT\Enterprise-Architect-Add-in-Framework\EAAddinFramework\SchemaBuilder\EASchema.cs4418EAAddinFrameworkError35The type or namespace name 'SchemaType' does not exist in the namespace 'EA' (are you missing an assembly reference?)C:\Workset\GIT\Enterprise-Architect-Add-in-Framework\EAAddinFramework\SchemaBuilder\EASchema.cs5922EAAddinFrameworkError36The type or namespace name 'SchemaType' does not exist in the namespace 'EA' (are you missing an assembly reference?)C:\Workset\GIT\Enterprise-Architect-Add-in-Framework\EAAddinFramework\SchemaBuilder\EASchema.cs6115EAAddinFrameworkError37The type or namespace name 'SchemaType' does not exist in the namespace 'EA' (are you missing an assembly reference?)C:\Workset\GIT\Enterprise-Architect-Add-in-Framework\EAAddinFramework\SchemaBuilder\EASchema.cs6156EAAddinFrameworkError39The type or namespace name 'SchemaType' does not exist in the namespace 'EA' (are you missing an assembly reference?)C:\Workset\GIT\Enterprise-Architect-Add-in-Framework\EAAddinFramework\SchemaBuilder\EASchema.cs6316EAAddinFrameworkError38The type or namespace name 'SchemaTypeEnum' does not exist in the namespace 'EA' (are you missing an assembly reference?)C:\Workset\GIT\Enterprise-Architect-Add-in-Framework\EAAddinFramework\SchemaBuilder\EASchema.cs627EAAddinFramework

I would really appreciate it, If you can guide me what I am doing wrong.

EDIT: Never mind I manage to understand your code and I did a program which do the same steps your code does, and it works fine now, thanks a lot.

Just a quick hit to say I've done Add-In WiX installers before. I don't have one here, but I'll have a look tonight.

I spent this weekend trying to create a Visual Studio template for EA Add-Ins. It almost almost works -- but Studio creates an extraneous directory between the solution directory and the two projects that I create (for the Add-In DLL and the WiX installer). If anyone's got any input on that, it'd be a lot of help.

Thanks for your reply. Please note that I have a working Wix installer and I'm looking at a way to publish a portable version as a number of EA users don't have admin rights on their PC (e.g. especially in large/industrial companies).

Making progress, I managed getting the addin to be installed on a local folder (appdata, local) and some of the registry values set.Testing it on a blank PC, I found out that the DLL is not registered i.e. the result from the regasm /codebase is missing.

I wrongly thought that I had fixed it on my main PC since the addin DLL is registered by compiling new versions.