Create a setup to install an assembly

  • Thread starter Thread starter João Santa Bárbara
  • Start date Start date
J

João Santa Bárbara

hi all
i need to create an setup package that registers an assembly
can some one tell me how to start ??

thks
JSB
 
Hi João

Did you look at the deployment project, the instruction is not real clear,
however when you used to it, it works nice. Some booby traps.

- your product information you get by selecting the setupproject, not to
rightclick but click your property window.

- in the View window is an editor tab which is only visible when you are
in a setupproject.

I hope this helps?

Cor
 
thks
but it can´t install in the GAC ...

i have tryed in other computer, the DLL is in the correct path, but is not
instaled in GAC.

thks
 
João, let me try and help you out here, I will provide you with the steps
to get a dll into the GAC and hopefully this will answer your question if
not just reply to this message with a little more information on your
problem.
1. Add a Setup Project to you solution
2. Add the Global Assembly Cache folder to the setup project by right
clicking on File System on Target Machine -> Add Special Folder -> Global
Assembly Cache folder
3. Add the file you wish to placed in the GAC to the setup project (as a
file or project output)
4. Move the file into the GAC folder
5. Set the file property register = vsdraCOMRelativePath

That should work for you, let me know if it doesn't.
 
Back
Top