How to create msi file for Visual Studio 2010 solution without Visual Studio 2010?

We have an old Windows Forms application Visual Studio 2010, inside which there is an installation project for creating an msi file. This is the team we call Jenkins:

"C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\devenv.com" "%WORKSAPCE%\RepoManager-v3-TIB3-dev\RepoManager.sln" /build "Release|x86"

Now we only have VS 2013 installed on the build server. We can build the solution using 2013 like this, but the msi file has not been created. We know that it is no longer supported.

 "C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\devenv.com" RepoManager.sln" /build "Release|x86" 

My situation is that we do not have the resource to transfer the entire solution to 2013, this is a big one. So what is the best way for us to create a msi file?

[Posted on June 17] Following PhilDW's suggestion, I installed the Installer Project extension until 2013, it shows as "Visual Studio Installer Extension for Microsoft Visual Studio 2013" in programs and features (how to find it on the file system? Where is it installed?) Now I got this build error and the msi file is still not generated.

 ------ Starting pre-build validation for project 'Setup2.0_Prod' ------ ERROR: An error occurred while validating. HRESULT = '8000000A' ------ Pre-build validation for project 'Setup2.0_Prod' completed ------ 15>------ Build started: Project: Setup2.0_Prod, Configuration: Release ------ 

enter image description here

0
visual-studio-2010 windows-installer visual-studio-setup-proje
Jun 15 '16 at 21:01
source share
2 answers

Finally, I realized the easiest solution is: 1. Install the extension on VS 2013. 2. Add a registry key: An error occurred while checking. HRESULT = '8000000A'

0
Jun 17 '16 at 15:55
source share

Installation projects are supported in VS 2013 and 2015. Have you installed the installer add-in?

https://visualstudiogallery.msdn.microsoft.com/f1cc3f3e-c300-40a7-8797-c509fb8933b9

And there is a 2013 installer version of the add-in, so maybe everything you need is.

https://visualstudiogallery.msdn.microsoft.com/9abe329c-9bba-44a1-be59-0fbf6151054d

It is not required that the code generated with some version of Visual Studio must be installed with the installation project of the same version of Visual Studio. MSI settings do not care about where the files are located, so you can probably use VS2009, VS 2013 or VS 2015 as an add-in to install MSI. Your message says that the MSI file is not created using the VS 2013 build, so there are two possible answers:

  • Your installation is not marked for assembly when building the solution - by default, apparently, projects are not built by default by default.

  • You have not installed the installer project add-on to configure VS 2013.

0
Jun 15 '16 at 21:08
source share



All Articles