Solved

Visual Studio 2012 Setup Files using InstallSheild LE

Posted on 2014-03-24
4
707 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
  • 2
  • 2
4 Comments
 
LVL 22

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 22

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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

This article shows how to make a Windows 7 gadget that accepts files dropped from the Windows Explorer.  It also illustrates how to give your gadget a non-rectangular shape and how to add some nifty visual effects to text displayed in a your gadget.…
With most software applications trying to cater to multiple user needs nowadays, the focus is to make them as configurable as possible. For e.g., when creating Silverlight applications which will connect to WCF services, the service end point usuall…
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…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

760 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now