Create a setup file in Visual Studio 2012 - 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).

Related

How to enable Web Development feature in Visual Studio 2015?

I am trying to install Microsoft Azure SDK. I downloaded this version (2.9) of the SDK from here. And I am getting the following error in the picture.
I have Visual Studio 2013 and 2015 installed on my PC. Could it be some sort of compatibility issue. I read on some forum that it won't work if I have different versions of the Azure SDK installed on Visual Studio 2013 and 2015.
But I don't have the SDK installed on any of them. And I can't seem to find any Web Development Feature in the IDE either. Does anyone know how to resolve this?
Given the situation, the issue is most probably that the relevant modules for Web Development weren't installed when Visual Studio was installed. Those modules are not selected to be installed by default.
The solution is to simply re-run the setup and select "Modify".
On the list of modules, go to "Windows and Web Development".
You should get Microsoft Web Developer Tools in the list. Just select that and install. That should do the trick.
#alchemist is right but I had deleted the VS2015 installer long ago (right after installing). So I went to the Control Panel > Programs And Features > Microsoft Visual Studio 2015 Community with Updates > (right-click) > Change
This will bring up the visual studio installer. Click on Modify > Check Microsoft Web Developer Tools > Update.
*walks towards the camera in slow motion on an exploding background

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.

Microsoft Visual Studio Express 2012

I recently developed a program in VB.net with Access Database. And I want to create setup file of it.
I'd searched on "How to create setup file". And I got that using "Deployment and Installing" we can. After that I'd install "InstallShield". But that option does not appear inside Visual Studio.
I'm using "VS Express 2012 for Windows Desktop".
Visual Studio Express 2012 does not support extensions, as such 3rd party products will not be able to provide additional functionality. The InstallShield LE page on MSDN spells this out clearly:
InstallShield Limited Edition is free for users of all Visual Studio editions except the Express editions.
Source: https://msdn.microsoft.com/en-us/library/dn531020.aspx
Your options are:
Install Visual Studio 2013 Community Edition (if you are allowed by the license) or buy Visual Studio Professional. These can be extended with either Wix or the Visual Studio Setup Package extension or Installshield.
Create a click-once installer
Use an installation system that is independent of Visual Studio and have it pick up your project output from a specific directory. You would have to author your installer outside of Visual Studio, e.g.:
NSIS
Wix and Wix Editor

Crystal report .rpt file in visual studio 2012 shows binary format instead of design

We developed an application in visual studio 2010 and reports are working fine, when we choose to open the same application through visual studio 2012 Ultimate, reports are not working and when i open .rpt file showing binary format ad also I could not find Crystalreport.rpt in Reporting template in visual studio 2012. After googling it, I have installed
CRforVS_redist_install_32bit_13_0_5 , but doesn't work.
How can i change or edit .rpt file design using visual studio 2012 and want to change the .rpt database name too. Any suggestion or idea to achieve this?
I had the same problem after installing visual studio 2012 and found no answer on the forums. I uninstalled CR yesterday and downloaded again the CRForVS 13.0.5 from here just in case there was a bug in the previous version I downloaded in may and installed it. Then I installed update 3 for Visual studio and everything works fine now.
Cheers
Michael
I figure this one out for me.
From SAP Crystal Reports's download site:
Please note: To integrate "SAP Crystal Reports, developer version for Microsoft > Visual Studio" you must run the Install Executable. Running the MSI will not ? >fully integrate Crystal Reports into VS. MSI files by definition are for runtime >distribution only.
By default Windows 10 does not install the 3.5 framework, CR for VS still needs >it. Select it by "Turn Windows feature on or off" and choose both options.
I downloaded the exe, instead of the MSI packages, and it worked for me finally. Helps to read I guess.

How to get full setup project support in Visual Stuidio 2012?

Can i use any installation software in visual studio 2012 to create setup projects?
Because many options in setup projects with install-shield limited edition is disabled. I cannot customize those?
what can i do to get full customization support in VS 2012?
can i use any other installation software,then how can i do it?
It looks like the following posts do address your setup project support issues:
Where is Visual studio 2012 Setup project template?
Create MSI or setup Project with visual studio 2012
However, if you are looking for a previous "basic setup and deployment project type Visual Studio Installer" - then they are NOT supported anymore :(.

Resources