Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > Registering dll in global assembly catch without using utility
 

Registering dll in global assembly catch without using utility

hi All
     I  am  registering  an dll in global assembly catch  manually  by running a batch file after the application setup is installed.
      is it possible to create an setup  that does this process without running an batch file manually.
     thanks
     sarav
    

saravanakumar26  Tuesday, October 06, 2009 6:56 AM
First, people often use the term "register in the GAC" when they mean "install in the GAC". If that's all you want, then use Add Special Folder in the File System view, add the GAC, and put your assembly there using the IDE.

If you want to register it for COM, right-click the file in the File System view and there's a Register property, just set that.

You don't need it in the GAC for it to be registered for COM.
Phil Wilson
PhilWilson  Tuesday, October 06, 2009 7:07 PM
Did you right-click on the file in the File System view ? There's a properties window choice wiuth a Register property that you set. That basically gets the COM class registration out of the assembly and at install time will create the registry entries on the target system.
Phil Wilson
PhilWilson  Wednesday, October 07, 2009 7:44 PM
First, people often use the term "register in the GAC" when they mean "install in the GAC". If that's all you want, then use Add Special Folder in the File System view, add the GAC, and put your assembly there using the IDE.

If you want to register it for COM, right-click the file in the File System view and there's a Register property, just set that.

You don't need it in the GAC for it to be registered for COM.
Phil Wilson
PhilWilson  Tuesday, October 06, 2009 7:07 PM
hi phil
          thanks for thae reply i used the special  and its working.  can u give a some more explination or guidence in registering it for com.
 thanks
 sarav

saravanakumar26  Wednesday, October 07, 2009 2:03 PM
Did you right-click on the file in the File System view ? There's a properties window choice wiuth a Register property that you set. That basically gets the COM class registration out of the assembly and at install time will create the registry entries on the target system.
Phil Wilson
PhilWilson  Wednesday, October 07, 2009 7:44 PM

You can use google to search for other answers

Custom Search

More Threads

• Want to add a registry entry while installation
• including dll in setup
• Prompt for registration key
• How to backup before install
• parsing paramaters to the click clickonce .Net 2.0 framework from a network share
• Automatic deployment with click'once : possible ?
• clickonce issue on vista
• running 2 .msi's at the same time.
• Click Once deployment Issue
• Problems trying to include 3.0 framework with msbuild