?
Solved

Visual Studio 2012 Setup Files using InstallSheild LE

Posted on 2014-03-24
4
Medium Priority
?
728 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 2000 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This tutorial is about how to put some of your C++ program's functionality into a standard DLL, and how to make working with the EXE and the DLL simple and seamless.   We'll be using Microsoft Visual Studio 2008 and we will cut out the noise; that i…
This article shows how to make a Windows 7 gadget that extends its U/I with a flyout panel -- a window that pops out next to the gadget.  The example gadget shows several additional techniques:  How to automatically resize a gadget or flyout panel t…
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…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

765 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