Create Setup project for MVC4 Application [closed] - c#

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I have MVC4 web application and I need to make an exe installer to deploy the application and the DB on the customer's server
also application should be available online
Update: I have completed web application now i have to start for setup project

Publishing online will depend on the host - what they support but a good place to start would be to see if you can use the publishing wizard - right click on the web project and select publish. This requires some configuration but will work for Azure for example.
The msi/exe creation is altogether a more complex problem there are a number of options including installshield - I believe there is an installshield (light) setup project in visual studio. If you need something more advanced then there is the option of the paid for installshield but there is also the wix toolset http://wixtoolset.org which enables you to build msbuild installation packages. The learning curve is steep and the last time I used wix you weren't able to build a web installer out of the box - there were configuration options and additional tasks require before it would do this. That said it is possible to use Wix to build a very slick and quite powerful installer.

Related

How to create installation wizard for ASP.net web site [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
Actually my question is almost similar to this question.
But I have more demands to satisfy.
Actually my web project is developed with ASP.net and C#.And I build it using a tool call "Nant" because I want to install this web project to DotNetNuke(DNN).
So I can create build file using "Nant" tool and then I want to make intallation wizard to host this web project in another computer.
So following demands should be satisfied
I need to install required databases in client computer.
I need to update the connection string in web.config file based the database.
I need to create ODBC connection and save their names in my project config file.
I need to create an application in application pool of IIS.
I need to host my project in IIS.
So question in the link I provided is suggested to use professional edition of advance installer to do this.Actually I have no idea about Advance installer can satisfy all of my demands.
But I want some other solution to do this? Can't I create my own installation wizard by coding? Aren't there any visual studio libraries which can help me?
Please help me.
Thanking you
You can use install shield to do the basic operation. lets go through your steps one by one.
List item installshield has the db folder path and files to move, you can use installshield directory variables to get the path e.g [TARGETDIR]
There is a work around for this, don't put that connection string in webconfig, make a simple text file and put it inside, this may require a little bid code change as well,where you are accessing it. if you dont want to do so read the details after steps.
same as 2,
supported by installed shield
supported by installed shield
Ok Now, for step 2 and step 3, you can also use the webconfig and project file but for this you need to make a console application and parse the files to replace connectionstring etc. Put it under your project and set the target path via installshield of target machine.
this will act like a batch file and you can run it by adding custom actions to your project.
To see how to run any console app or batch follow this
How to run a ".bat" file during installation?

How does the visual studio team (foundation) project work? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I want to do a visual studio team project with a friend of mine. I looked at the Team Explorer tab in visual studio but I don't understand some of the words / terminologies there. For example, what is Source Control Explorer, Build Definitions etc.? I've already created a team project but how can I work on it? Where do I write code? I'm assuming that after I finish the code, the code is uploaded to something like xxxx.visualstudio.com and others can access my code files there. Am I correct? (I guess not)
On the other hand, How can I add people to my team? Visual Studio Online tells me to enter the username or the sign in address of the user. Is "sign in address" the Microsoft account of the user?
This applies to TFS, if you use Git it will be different:
Source Control Explorer is, well, how you look at source control. The primary thing you will do there is checkout projects.
Build Definitions is were you configure build server builds.
Pending Changes is where you check-in files you have changed locally
To work on your project, you have to create a workspace (using Source Control Explorer) that maps the repository to your local system. Then create your solution there, and to make things easy check "Add to source control". Otherwise, you need to manually mark it for addition (again, using Source Control Explorer).
Check-in using the pending changes tab. If you don't have your own TFS server (sounds like you don't) then the code will be uploaded to an online server. I'm not aware of any web interface, but there could be one.
You will add other users based on their Microsoft account in the online scenario, and via TFS or Active Directory users if you are on a local TFS server.

Visual Studio - How to create a solution from existing solutions/projects including webservices and a web that uses those webservices? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
How do I create the solution in Visual Studio 2008 from which I should be able to press F5 (debug) and get all webservices going aswell as start up Microsoft Internet Explorer with the frontpage of the websolution?
I need to create a solution in which I will add all existing projects for an existing application. The projects are at present located in several diffrent solutions, several for diffrent webservices and one for the main web application, which makes it hard to debug. I have tried to just create a new solution and add all existing projects, but it did not work - the webservices won't start automatically. If there is some configuration that needs to be done in order to get the webservices started, please explain that part too.
Sorry for not being able to include any example code.
If you want to add nothing but existing projects to a solution then you should use the Blank Solution template. You can then use the Add Existing Project option to add the projects to the solution.
As for running multiple projects when debugging, right-click the solution and select Set Startup Projects. You can then select multiple startup projects instead of just one.

Building a Windows Service in VS.NET 2008 [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I am new Windows service in VS.Net 2008.
I need to build a Windows service Application. When I right click the solution in Solution Explorer, a UI opens named Solution 'MySyncService'. Here I can see two major folders Common Properties and Configuration Properties. But I cannot see a general tab.
Secondly, if I right click my project 'MySyncService',select properties(short cut menu), then I can't see Common Properties and Configuration Properties. I see various tabs like Application Build, Build Events, Debug, Resources, Services, Settings, Reference paths etc. As per the link in MSDN I am not able to get the Common properties and General Tab. Please let me know which step I am missing.
This should get you started.Make sure you select VS 2008 from the quasi-dropdown up top
http://msdn.microsoft.com/en-us/library/zt39148a%28v=VS.90%29.aspx
I think you are looking for Application > Startup object under the project settings for the selected service project.

Application update framework for .net? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I have googled over the internet and read some forums, but I could not find a really good solution to suit my requirements. I am looking for an automatic application update framework for my project.
Which do you think the best application update framework for .net?
Requirements:
free
easy to use and integrate with existing .net project
check/download/install updates automatically from a server
if it is needed, update also its referenced new dll-s from the server
if new dll is referenced to the app, should be also downloadad automatically from the server
if new items (e.g. XML files, language resource files) needed for a new version, also download them
UPDATE:
installation folder must be changeable by the user (clickonce is not an option)
check this http://www.codeproject.com/KB/install/DDayUpdate_Part1.aspx out - it combines ClickOnce (Update machnism) + Windows installer (installation) to make possible what you are asking for...
Another (perhaps better?) option: http://www.codeproject.com/KB/cs/DotNetAutoUpdateClient.aspx
Check out ClickOnce Deployment at http://msdn.microsoft.com/en-us/library/t71a733d(v=vs.80).aspx
It works really great. To use it, just open up the project properties in VS and go to the deploy tab.

Categories