Solved

Visual Studio 2012 Setup Files using InstallSheild LE

Posted on 2014-03-24
4
723 Views
Last Modified: 2014-03-25
Dear Experts,

I migrated a .net 4.0 windows service application from Visual Studio 2010 to 2012 last week. When I tried to create a set up project, I learnt that the standards setup projects are no longer supported by Microsoft. So I used the InstallShield LE setup project. After playing with the tool for a few minutes, I was able to create a setup file and install the windows service. But the output folder of the project includes a bunch of files (application's exe and config files, set.ini and setup.exe ) . Is there a way to configure the setup project to generate just one msi file? In Visual Studio 2010, I could generate an msi file from a setup project and distribute just that one file to install the application anywhere. Its seems like I need to distribute a bunch of files for installation. Is there a way to create an installation package comprising of just one msi file without upgrading to the fully paid version of InstallSheild?

I have played with this tool for a few minutes and so I do not claim to be an expert in the InstallSheild product by any means. If generating an msi file is not possible, it seems like Microsoft took away a feature that existed before, something very unfortunate.

Thanks in advance for your help.
0
Comment
Question by:shekhar_shashi
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 23

Expert Comment

by:Snarf0001
ID: 39951463
You can, not the most straightforward installation package...
And it's going to be an .exe, not an .msi, hope that's not a huge problem.

If you go to the solution -> Configuration Manager in vs2012, the installation project will have a dropdown beside it.  Pick the "SingleImage" option from there.
You can then build the installation project, and barried in the folder structure

Express -> SingleImage -> DiskImages -> Disk1 -> finally the exe
0
 
LVL 23

Accepted Solution

by:
Snarf0001 earned 500 total points
ID: 39951485
Just re-read that and realized what a horrid explanation it was...

Right click the solution, and go to Configuration Manager.
Pick SingleImage from the dropdown beside your installation project.
Rebuild the installer project.
Open the path in Windows Explorer, and the single exe will be around the path I mentioned above:

Express -> SingleImage -> DiskImages -> Disk1 -> setup.exe
0
 
LVL 3

Author Comment

by:shekhar_shashi
ID: 39951565
Thanks @Snarf0001. Excellent answer and explanation.
0
 
LVL 3

Author Comment

by:shekhar_shashi
ID: 39953823
I posted the same question on InstallSheild developer forum. They proposed the same solution that @snarf0001 has proposed. But they also provided an alternate solution that builds a single .msi file. The solution is:

Go to step 6 and drill down to the Single Image release type. Set Compression on the build tab to yes and set setup launcher on the setup.exe tab to no. Build this release.

The setup project generated a single .msi file.  Just thought I'll share this solution.
0

Featured Post

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

zlib is a free compression library (a DLL) on which the popular gzip utility is built.  In this article, we'll see how to use the zlib functions to compress and decompress data in memory; that is, without needing to use a temporary file.  We'll be c…
For most people, the WrapPanel seems like a magic when they switch from WinForms to WPF. Most of us will think that the code that is used to write a control like that would be difficult. However, most of the work is done by the WPF engine, and the W…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question