How can I create installer with .net - visual-studio-2012

I have a game written in MonoGame in VS2012. How can I create setup file witch will also install .net framework if user doesn't have it?

There are no setup projects in VS 2012, unless you get the InstallShield LE add-in. VS 2010 had setup projects; VS 2013 supports the return of installer projects as an add-in. Therefore you may be stuck looking for a 3rd party solution, like InstallShield LE or any other number of other tools that can build setups and have a VS IDE add-in support (such as WiX). List of tools here:
http://www.installsite.org/pages/en/msi/authoring.htm
If you are keen on VS setup projects and want a simple tool that does the basics without you needing to learn too much, moving to VS 2013 and using the installer projects add-in would probably suit you.
https://visualstudiogallery.msdn.microsoft.com/9abe329c-9bba-44a1-be59-0fbf6151054d

Related

Cant find File System, Registry icon in WIX setup project in Visual Studio

I installed WIX in my machine.
I followed the video of https://www.youtube.com/watch?v=CoFPyIbcqN8enter link description here
I can not find any way to add File Systems, no icon for it, no context menu entry on project.
I am using Visual Studio 2012.
That's the Add-In Express designer for WiX in the video. It's a paid for component.
Installing WiX on your system only adds project templates to Visual Studio. It's a free installer/packaging engine that uses XML (scripting) to build MSI's and etc and doesn't come with a designer.
WiX is quite a steep learning curve, if you want the editor then I suggest you check out the Package & Deployment add-in Microsoft re-introduced for VS2013, it's on VisualStudio Gallery. Brian Harry blogs about it here: http://blogs.msdn.com/b/bharry/archive/2014/04/18/creating-installers-with-visual-studio.aspx
Visual Studio 2013 has a free Community Edition that you can use. You add the Installer add-on:
https://visualstudiogallery.msdn.microsoft.com/9abe329c-9bba-44a1-be59-0fbf6151054d
Then what you have is the same Visual Studio installer setup projects as you had in VS 2010.

Create a setup file in Visual Studio 2012

I have a windows form project and I want to create an installation package for this project. How can I create a setup file in Visual Studio 2012 ? My project is without data base.
How to create a Setup package using Visual Studio 2012.NET?
Microsoft released the Visual Studio Installer Project extension in April of this year, the catch is it's for VS2013, not VS2012.
http://blogs.msdn.com/b/visualstudio/archive/2014/04/17/visual-studio-installer-projects-extension.aspx
The 'lite' InstallShield option remains in VS if you need something with more flexibility.
Advanced Installer also has a free version that includes an extension for VS. This is a commercial tool but the extension is included in the free edition as I said, for more advanced features you need to purchase a Professional or higher licenses and edit the project direct from Advanced Installer GUI, not from VS. (but you can still use the project in the VS solution, so you get the MSI built at the end of your build process)
Visual Studio setup projects (vdproj) are not supplied with VS 2012
There are several solutions for you:
You could use InstallShield instead.
If you don't want or
can't use InstallShield for any reason, you could try WiX. This
toolset builds Windows installation packages from XML source code.
If you only use Windows Presentation Foundation (.xbap), Windows Forms (.exe), console application (.exe), or Office solution (.dll) you could look at ClickOnce. To use this you should right click on the project file in the solution explorer and select "Publish" from the pop-up menu.
Alternatively you can use previous version of Visual Studio (2010).

visual studio 2012 web and desktop

I have visual studio 2012 express for web, now I need to make a desktop app, need I to download visual studio 2012 express for desktop or is there any addon I can install on web edition?
thanks
You can create Class Library projects in the web edition of Visual Studio Express, change the Output Type in the project properties to Console Application or Windows Application, add any library references you'd need (particularly for the Windows application, as none of the forms stuff will be included by default), and go from there.
This works well for console applications, but I imagine you're going to run into issues with Windows applications. The project templates are nonexistent, so you're on your own for setting things up from scratch. The forms designer probably isn't there, or if it is probably won't work as expected. And this won't work at all for Windows Store applications.
It's a lot easier to just download both editions and run them both. I've been running Web, Desktop, Windows 8, and Database editions side-by-side for a while now without problems.
need I to download visual studio 2012 express for desktop
Yes, you do.
That's part of the limitation of express editions.

What installer options are there for Visual Studio 2012 Express for Desktop

So Microsoft released Visual Studio 2012 Express for desktop apps. That's great, but how does one create an installer for open source apps that are built in Visual Studio Express? There are no installer templates available by default, and they have disabled browsing the online gallery. Sure, I could purchase something like InstallShield, but that kind of defeats the purpose of an open source application if you ask me. Any suggestions?
You can use the open source NSIS or WiX tools to create fairly nice installers.
Since both should work without the Visual Studio integration that Express won't give you, they should both be usable (even if not quite as nicely) without problems.
I would use Inno Setup, which is a little easier to learn than most other setup programs.
I have a link here:
http://www.jrsoftware.org/ishelp/

WSPBuilder in Visual Studio 2010 for solution in Sharepoint 2007

I've installed the WSPBuilder extension for Visual Studio 2010 and I'm looking for a walkthrough of how to create a deployment package for my web-part. Can anyone point me to a good resource? Everything I find seems to be directed towards VS 2008 and it creates the folder structure differently.
Thanks!
The documentation you have found already should be close enough - the hive folder is named "SharePointRoot" instead of "12", but aside from that it's all the same for basic usage.
Developing for SharePoint without having SharePoint on the dev box is going to be fairly painful whatever method you use though. I have a PowerShell script that deploys a WSP on another server so I can use the same development environment for 2007 and 2010 - it works but is a lot slower than the local copy to GAC or hive when making small changes. The error you are getting with VS2008 can probably be fixed by running visual studio as administrator.

Resources