LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Register a .net dll in GAC with installer

Solved!
Go to solution

Hi everyone,

 

we have a self-made .NET DLL which is signed and registered in GAC. This DLL is used in an application.

Now I want to deploy my application and on the target computer also register this DLL in GAC.

 

Is there an option in the LabVIEW installer to do that for me? Or do I have to include e.g. gacutil.exe and run it with command line?

0 Kudos
Message 1 of 3
(2,792 Views)
Solution
Accepted by topic author Tesla1977

Copying the DLL into the GAC directory can be done by defining an appropriate Destination (assuming that the GAC directory is always the same!). Include the DLL as "Always Included" and put that into the correct Destination.

Running the registration can be done by adding a post-install function (Run executable at end of installation in Advanced tab).

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
Message 2 of 3
(2,781 Views)

Ok, thx.

 

So I will include the gacutil.exe and run it post install with command line parameters. After that I will delete the dll from the temp install directory.

0 Kudos
Message 3 of 3
(2,775 Views)