views:

53

answers:

2

I built a vb.net desktop application. it works beautifuuly on my pc. I created an installer and gave it to a co-worker to run. The program does not work.

Question: How can I figure out which .net components i need to provide along with my application?

Thanks

+6  A: 

You should create a Setup Project and add your main Project as a required component. The Setup project should be able to detect all managed dependencies automatically and you can decide to add them to your programm folder.

Here is a quich tutorial I found with Mr. google: http://www.c-sharpcorner.com/UploadFile/vishnuprasad2005/SetupProjects12022005022406AM/SetupProjects.aspx

SchlaWiener
A: 

The quickest and dirtiest way to do this is to create a ClickOnce installer. Just set it up to create an installer for "a UNC path or file share." IIRC it will take care of any bootstrapping that needs to be done. This assumes, of course, the dependencies he needs are all standard .NET components.

If you are referencing assemblies that are not standard, you'll need to select the reference, open the properties window, and set "Copy Local" to true. They will then be included in the ClickOnce installer.

Will