Cannot register Codebase Dlls

Common questions about using Actual Installer.

Cannot register Codebase Dlls

Postby Scad » Thu Aug 03, 2017 9:24 am

Up to now I could not find a way to register my assembly-Dll codebase, did I miss anything?

As a workaround I wrote myself a little .exe that registers my Dll (2 classes within) and a second one to unregister after uninstallation and used them in commands.
It just provides the funcionality of Regasm.exe (64bit) with codebase option.


Posts: 7
Joined: Thu Aug 03, 2017 6:53 am

Re: Cannot register Codebase Dlls

Postby Leo » Tue Aug 15, 2017 6:16 am

You can find the feature to register assembly-Dlls on the page Register \ Others - .NET Assembly.
Actual Installer Team
Site Admin
Posts: 282
Joined: Fri Jan 22, 2010 12:40 pm

Re: Cannot register Codebase Dlls

Postby Scad » Tue Aug 15, 2017 6:58 am

I know this, but there is no possibility to register codebase! I've already tested every option in there.

May I just add the entry from msdn (
Creates a Codebase entry in the registry. The Codebase entry specifies the file path for an assembly that is not installed in the global assembly cache. You should not specify this option if you will subsequently install the assembly that you are registering into the global assembly cache. The assemblyFile argument that you specify with the /codebase option must be a strong-named assembly.

Inside Register \ Others there is no possibility to do so, register as ".NET assembly" only using the Dll-filename doesn't work this way. And it seems that I can't give it any options there.
I tryed to add to the file: "<InstallDir>\MyProgrammDll.dll /codebase" but that also doesn't work.

By the way: I'm using Windows 10 on my current workplace and if I register manually by correctly using the Regasm.exe with the options added, my dll works fine.

So I hope my question is a bit more clear now.
Posts: 7
Joined: Thu Aug 03, 2017 6:53 am

Return to General Discussions

Who is online

Users browsing this forum: No registered users and 1 guest