Winforms Application Setup Creation in VS2010 - winforms

I know that this is a very stupid question, but I have not been able to find a definitive Guide to creating a basic Installer for my windows forms application. I know we have to use Setup and Deployment Projects in VS2010 but have not been able to find any step by step guide for it.
If possible please guide me regarding the same.
Thanks

Many Winforms projects don't require an installer. Just copy the files in the Release folder, formally named "XCopy deployment". The walkthrough for a Setup and Deployment project is here.

I'm currently learning how to do setup projects as well.. I found a couple of sites that helped me to get off the ground and have a basic installer. I know the first link is from way back in 2005, but it still helped.
http://www.simple-talk.com/dotnet/visual-studio/getting-started-with-setup-projects/
http://www.eggheadcafe.com/tutorials/aspnet/dcc5ab62-b875-4852-9e34-8bc2794e4fb8/c--create-setup-project.aspx

Related

how to Install a DNN module with code instead of the interface?

I am developing a modue for a DNN website and i would like to make a little tool that is able to perform the installation process without having to go trough the CMS and install it with the extension installer.
This would probably be a lot faster. For this i need to know all the steps the installation follows and convert this to code. However Google does not seem to help me out here so far.
Does anyone have any information or code regarding this?
Read this and the referenced links:
http://mitchelsellers.com/blogs/2009/10/14/dotnetnuke-bulk-extension-installation.aspx

Publish Windows form application how change the installation path

I have built one windows forms application and I published for client installation. While installing the setup file, it should ask the user to select the installation directory path; instead, it's installing in default path as below :
C:\Users\Mysys_t\AppData\Local\Apps\2.0\434YBBVC.Z2H\TNYPR09N.1JZ
Is there any settings to do this, so that, while installing, user is able to select the installation directory?
In general, the answer is no. See a related MSDN forums discussion among other online references that explains why: ClickOnce was designed to automatically manage installation directories to prevent deployment collisions.
Now...the referenced MSDN forums discussion also links to one way to possibly work around this. Certainly anything is possible with some ingenuity and work (e.g. publishing a setup wrapper with ClickOnce to leverage ClickOnce's auto updates but use indirection to control where your actual app ultimately gets installed); but this is not possible using ClickOnce "straightforwardly".
this can be achieved by
Creating an MSI Package for C# Windows Application Using a Visual Studio Setup Project
pls follow the link below :
http://www.c-sharpcorner.com/UploadFile/1492b1/creating-an-msi-package-for-C-Sharp-windows-application-using-a-v/

How to create file association in WPF application with ClickOnce?

I have used ClickOne and Set up Project in VS 2010 but it does not working.
I double click on associate file but it does not open in my WPF Application.
Plz help me resolve this issue, step to step....
Thank so much!
This article on MSDN has a good step-by-step approach.
EDIT
If ClickOnce is not working for you, you can try doing the installation with Inno Setup. It is an outstanding (and free) installation utility. It is available here, and this link shows you how to create file associations.
I use Inno Setup for all of my desktop application installations.

Script-Run Silverlight Test Project

I have a solution with several Silverlight Test Projects. I would like to have some kind of script or tool with the ability of running all these test projects and generating some kind of report (any simple output will work)
I googled around for some time but I was unable to find any existent solution other than running the projects one by one from Visual Studio.
Has someone came across this situation before? Any idea on how to implement such a tool?
Regards
If you need automated testing then Test Manager is a tool from Microsoft. http://www.microsoft.com/visualstudio/en-us/products/2010-editions/test-professional/overview
http://msdn.microsoft.com/en-us/library/bb385901.aspx
and use with silverlight
http://jugalpanchal.blogspot.com/2011/09/configure-test-manager-for-silverlight.html
Use StatLight! http://statlight.codeplex.com It's a Silverlight Test Project runner exe that you can invoke from the cmdline. Its great and can be integrated into TFS Workflows as well as Msbuild.

Need better information on how to use VS2008 Setup Project to deploy a .NET Win App

MSDN is a nice place to get vague, general information on this, with just a enough detail to make you wish you had more. The best info on MSDN I found was in the section on Windows Home Server (oddly enough), but it wasn't complete enough to be totally useful.
Is there another source with some DETAIL on how to create an MSI using a VS2008 Setup Project to deploy a Winforms application?
Setup projects have remained relatively unchanged between VS versions. Try these:
http://www.codeproject.com/KB/dotnet/Win_App_Setup_Project.aspx
http://en.csharp-online.net/Deploying_Windows_Applications

Resources