Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Visual Studio 2012 Setup Files using InstallSheild LE

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

Learn Veeam advantages over legacy backup

Every day, more and more legacy backup customers switch to Veeam. Technologies designed for the client-server era cannot restore any IT service running in the hybrid cloud within seconds. Learn top Veeam advantages over legacy backup and get Veeam for the price of your renewal

Question has a verified solution.

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

If you have ever found yourself doing a repetitive action with the mouse and keyboard, and if you have even a little programming experience, there is a good chance that you can use a text editor to whip together a sort of macro to automate the proce…
As more and more people are shifting to the latest .Net frameworks, the windows presentation framework is gaining importance by the day. Many people are now turning to WPF controls to provide a rich user experience. I have been using WPF controls fo…
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…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…

610 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