This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Hi Alpesh
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 28, 2010
11:32 PM
GAC Registration
Hi All,
I want to register a DLL in GAC. I am using InstallShield2010. Can any one guide me how to do this.
Thank You,
Satyendra
I want to register a DLL in GAC. I am using InstallShield2010. Can any one guide me how to do this.
Thank You,
Satyendra
(6) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 28, 2010
11:59 PM
Hi Satyendra,
Just set the destination of the component containing the dll to GlobalAssemblyCache. Make sure that the dll is the key file of the component.
Thanks,
Alpesh
Just set the destination of the component containing the dll to GlobalAssemblyCache. Make sure that the dll is the key file of the component.
Thanks,
Alpesh
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 29, 2010
12:28 AM
Thanks for your responce.
I added my DLL's and their strong name key files to GAC dir. And tried to rebuild the setup. Then I got the following error.
Error 1 -7104: The destination of the component AllOtherFiles9 is the GlobalAssemblyCache. The component must contain a key file. ISDEV : error : -7104: The destination of the component AllOtherFiles9 is the GlobalAssemblyCache. The component must contain a key file.
Thank You,
Satyendra
I added my DLL's and their strong name key files to GAC dir. And tried to rebuild the setup. Then I got the following error.
Error 1 -7104: The destination of the component AllOtherFiles9 is the GlobalAssemblyCache. The component must contain a key file. ISDEV : error : -7104: The destination of the component AllOtherFiles9 is the GlobalAssemblyCache. The component must contain a key file.
Thank You,
Satyendra
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 29, 2010
08:28 AM
From here, go to section
Problem: The assembly will not install to the Global Assembly Cache
Definitely try to get C working because then you will not have to pull in the properties of the assembly each time you change it in the next rev of the installers. That would become a real pain.
Problem: The assembly will not install to the Global Assembly Cache
Definitely try to get C working because then you will not have to pull in the properties of the assembly each time you change it in the next rev of the installers. That would become a real pain.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 29, 2010
11:00 AM
I can't tell for sure because the "file system" view is shown in the picture, but you might have two key files in one component. You should only have one key file per component. It might also be that teh component wizard created an "AllOtherFilesn" component for your snk files, but didn't assign either one as a key.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 30, 2010
12:55 AM
I removed one DLL and its strong name key and try to build the setup once again. It build successfully. Then when I tried to run this setup in Windows7 OS I am getting the following error.
the assembly is not strongly named or is not signed with the minimal key length
After this error, I created another strong name for my DLL and tried to install once again. Same error I got again again.
Can any one help me please.
the assembly is not strongly named or is not signed with the minimal key length
After this error, I created another strong name for my DLL and tried to install once again. Same error I got again again.
Can any one help me please.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 31, 2010
05:44 AM
You use Microsoft's SN.EXE to apply the SNK file to your DLL. If you are using Visual Studio, this is a project option for the compiler.
You never ever; let me repeat myself; never ever deploy the SNK file. Doing so allows someone to create assemblies and sign them as if they came from you.
You never ever; let me repeat myself; never ever deploy the SNK file. Doing so allows someone to create assemblies and sign them as if they came from you.
![](/skins/images/8C9D13A71C7F7695F3262372C0172D68/responsive_peak/images/icon_anonymous_message.png)