How to install an assembly in GAC - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

Christian Surieux
Posts: 10
Joined: Mon Aug 17, 2009 11:00 am

How to install an assembly in GAC

Hello,

Is there a special command taking care to insert on install/repair and remove on uninstall an assembly in GAC for w2K3 and w2K8 ?

Thanks

CS
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: How to install an assembly in GAC

Hello,

The Assemblies page in Advanced Installer is responsible for managing assemblies. You can add your assemblies here, they will be properly installed and removed.

Regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
Christian Surieux
Posts: 10
Joined: Mon Aug 17, 2009 11:00 am

Re: How to install an assembly in GAC

Thanks, I was not sure as it speaks of side by side under XP ????

CS
shweta02sharma
Posts: 1
Joined: Mon Aug 31, 2009 7:16 am

Re: How to install an assembly in GAC

how to generate a strong name for an assembly and to install a .dll file in the Global Assembly Cache. The Global Assembly Cache (GAC) enables you to share assemblies across numerous applications. The GAC is automatically installed with the .NET runtime. Components are typically stored in C:\WINNT\Assembly.

In order to install an assembly in the GAC, you must give the assembly a strong (that is, globally unique) name. Actually, it is not a name but a cryptographic hash key, or signature. The strong name ensures correct component versioning, which helps to prevent components that have the same name from conflicting with each other or being incorrectly used by a consuming application...
Christian Surieux
Posts: 10
Joined: Mon Aug 17, 2009 11:00 am

Re: How to install an assembly in GAC

Thanks, I know this :)
CS
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: How to install an assembly in GAC

Hi,
Christian Surieux wrote:Thanks, I was not sure as it speaks of side by side under XP ????
In Windows XP and higher (including Windows Server 2003) assemblies can be installed side by side. This is a feature in Windows which allows different applications to install the same assembly in different locations.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”