Cannot register Codebase Dlls

Common questions about using Actual Installer.
Post Reply
Scad
Posts: 11
Joined: Thu Aug 03, 2017 6:53 am

Cannot register Codebase Dlls

Post by Scad »

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.

Thanks,

Scad
Leo
Site Admin
Posts: 455
Joined: Fri Jan 22, 2010 12:40 pm

Re: Cannot register Codebase Dlls

Post by Leo »

You can find the feature to register assembly-Dlls on the page Register \ Others - .NET Assembly.
Leo,
Actual Installer Team
https://www.actualinstaller.com
Scad
Posts: 11
Joined: Thu Aug 03, 2017 6:53 am

Re: Cannot register Codebase Dlls

Post by Scad »

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 (https://msdn.microsoft.com/de-de/librar ... .110).aspx):
Option:
/codebase
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.
Leo
Site Admin
Posts: 455
Joined: Fri Jan 22, 2010 12:40 pm

Re: Cannot register Codebase Dlls

Post by Leo »

New version of Actual Installer supports registration of .Net assembly with codebase.
Read more:
http://www.actualinstaller.com/help/deploy-dll.html
Leo,
Actual Installer Team
https://www.actualinstaller.com
Post Reply