I am trying to create an installer for a project, But I don't know much how to do it? I've read some articles here and here
In those steps which describe the procedure of setup installer after adding a new project we should select s Setup and Deployment Projects in the dialog box so my issue was that !! , in My dialog box I don't have setup and Deployment Projects.
I'am using visual studio Community.
Can anyone help me.Thanks
Under Other Project Types you should see Setup and Deployment.
I believe in VS 2013 only the InstallShield Limited Edition is included so you can get the Installer Projects extension here
Related
I have read similar questions on SO and other forums but can't what I want. I have obfuscated my binaries using 3rd party tools, and want to use these binaries in the setup.
Visual Studio Installer lets us choose the projects we want to deploy, and creates the installer using the outputs of those projects.
WiX creates a setup using the files I want but does not have an option to install .NET framework, if it doesn't already exists.
Is there a way I can use my own assemblies in Visual Studio Installer ? Or a similar alternative ?
EDIT:
I have already packed all dependencies in the binary. I don't want the installer to find the dependencies for linking them. I just want it to install .net (if not already installed) and place the binaries in a directory.
Not exactly the answer you'd hope for, but you mentioned WIX and dependency to .net framework. For that reason people write bootstrappers (i.e. a binary compiled to native win32) using something like Autoit which makes sure of the framework. All you may have to do is read registry key of corresponding framework and if required it pull down the file and install. Then execute the msi !
You can use the good old Visual Studio Setup Project (Installer Project) template.
To do so, you need to download the Microsoft Visual Studio Installer Projects depending to your VS version from one of the following links:
Microsoft Visual Studio Installer Projects 2013
Microsoft Visual Studio Installer Projects 2015
Microsoft Visual Studio Installer Projects 2017 and 2019
Microsoft Visual Studio Installer Projects 2022
The project could be used to deploy anything, including your project or instead of adding Project Output you can simply right click on your setup project node in solution explorer and under Add menu, add File or Assembly.
Then all dependencies will be added automatically. You can also add other files and artifacts that you need to be installed on target machine.
I have a wpf application which needs to generate an installer file. The IDE for this project is vs2012. I found there was no setup project template at all in vs2012. I googled the solution and I found template below which was for vs2013.
enter link description here
Is there any setup solution for vs2012?
You can go with clickonce solution to deploy your application. It is quite easy to use clickonce. Just google this.
If you want to generate the installer using setup project than you will definitely require the Setup and Deployment template in Visual studio but unfortunately Microsoft has removed the Setup project template from VS2012.
In this case you can go with WIX which is a free open source alternative, far more functional, but tricky to set up.
See the link for more details.
VS2013 Windows Service - How to make installer?
I've a windows application project developed in c# and VS2010 environment. Now I need to prepare a setup for it. I've prepared it via creating "setup project" within VS2010 and it works fine.
The problem is, when I wanted to migrate my project to VS2012, I noticed that Microsoft is no longer supporting "setup projects" inside VS2012 anymore. InstallShield technology seems to appear.
My question is, has anyone tried to use an existing setup project which is created by VS2010 in VS2012? Does it work? Any problems? Is that still supported for VS2012?
By the way, I researched in web and found out that WiX is another solution for preperation on setups. Does anyone use that? Can I integrate my VS2010 .SLN file into ViX? Will that work when I migrate my project to VS2012? If so, how?
My project will be commercial so that any another well 3rd party solutions are fine by me.
I think you should migrate to WiX, as it is available both for Visual Studio 2010 and the later versions of Visual Studio. It also creates MSI installers and is much more customizable than the setups created by the Visual Studio 2010 template.
Actually it is the other way: You don't integrate a solution with WiX, but a WiX installation project will be just like any other project in your solution. Pretty much the same a with the Visual Studio setup project type.
I have a solution with .NET projects and a setup project(Visual Studio Installer 2010). My previous version of the same project was 1.7.9 and the new version is 1.8.4. I also create a shortcut on the desktop to one application in my MSI. I changed all the versions in the assemblyinfo.cs and also changed the product version in the Setup Project, the product code got changed automatically and the upgrade code is the same. The problem I'm facing is that the Targetdir is updated with 1.8.4 files. But on the desktop I see 2 shortcuts (1.7.9 & 1.8.4) and in control panel I see two versions of the same application. I have set the RemovePreviousVersion flag to true and also set the DetectNewerVersion to true. Can someone please help me out with this? After changing the assemblyinfo file why isn't it upgrading properly?
Visual Studio Setup Projects are a deprecated feature that hasn't seen any love since before Visual Studio 2008 was released. I understand it's a feature that ships with Visual Studio all the way up to 2010, but it's probably a much better idea to switch to another product, such as WiX (free and open source), NullSoft Installer a 3rd party commercial solution.
From what I gather, you did the correct things building your installer and setting up the configuration. You might want to check that the previous installer really has the same GUID you're expecting it to have.
In my project i want to run somesetup.msi.But in source base I have find only somesetup.vdproj
How to resolve this?
When building a setup, you need to specify the primary output and build the setup project afterwards.
This can be used even for VS 2010: http://vijirajkumar.blogspot.de/2010/03/create-setup-and-deployment-project.html