[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 737
  • Last Modified:

Visual Studio 2012 Setup Files using InstallSheild LE

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
shekhar_shashi
Asked:
shekhar_shashi
  • 2
  • 2
1 Solution
 
Snarf0001Commented:
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
 
Snarf0001Commented:
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
 
shekhar_shashiAuthor Commented:
Thanks @Snarf0001. Excellent answer and explanation.
0
 
shekhar_shashiAuthor Commented:
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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now