ARTICLE

Simple Steps to Create Setup File Using InstallShield LE From VS 2012

Posted by Jay Parekh Articles | Visual Studio 2012 November 05, 2012
This article will show you how to use InstallShield LE From VS2012 to create a Setup file to install an application.
Reader Level:
Download Files:
 

This article will show you how to use InstallShield LE From VS2012 to create a Setup file to install an application.

And To create setup of Website you can refer this below link:

"http://www.c-sharpcorner.com/UploadFile/cb88b2/simple-steps-to-create-setup-of-website-using-install-shield/"


Step 1

Add InstallShield Project in Solution

Shield1.jpg

For the first time we need to download software, when we click on the "OK" button as in the above screen it will open a link to download the InstallShield software. It will look as in the following image:

Link: C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\Extensions\InstallShield\InstallShieldProject\1033\InstallShield_ult.html

If you want to download the Express Edition then follow this link:

http://learn.flexerasoftware.com/content/IS-EVAL-InstallShield-Express,

Shield2.jpg

When you click on the Step 2: Go to the Download Web site you will be able to see the page as in the following image. You just have to download the InstallShield LE software from this page.

Shield3.jpg

Install it and now open VS2012 and add the InstallShield project to the solution as shown in following image. Here I have added the WPF application as InstallShieldDemo.App and the InstallShield Project as InstallShieldDemo.Deploy.

Shield4.jpg

Step 2

Give Application Information

After adding the InstallShield Project you will be able to see this screen:

Shield5.jpg

Then click on Application Information in the bottom of the screen and fill in the information.

Shield6.jpg

Step 3

Click on Installation Requirements

Shield7.jpg

You can specify requirements for your application. It will check for these things before installation of your application. Then and then it will allow installation.

Step 4

Click on Application Files

In InstallShield LE the Installation Architecture feature is not available.

Shield8.jpg

You can use any of these buttons to insert the application output file or necessary files. If your project is located on TFS or any other server then Use Add Project Outputs to add the Projects outputs and other necessary file so you can avoid the problem of a local path reference.

By clicking On Add Project Outputs you can the following image and you can select the options depending on your requirements.

Shield9.jpg

Or you can add the local reference of the output file from application\bin\debug folder.

Step 5

click application shortcuts

Here click on new and select the output file.

Shield10.jpg

Click on programFilesFolder => TestAbc.Pvt.Ltd => My product Name =>select output file.

Shield11.jpg

Now you will see this screen:

Shield12.jpg

Here you can rename the application.

Step 6

Click on Application Registry

IF your application requires you to change something in the registry then you can use this option:

Shield13.jpg

Step 7

Click on Installation interview

Here you can use an option as per your application requirements.

Shield14.jpg

From step 8 all the steps are optional.

Step 8

Now go to the Solution Explorer, Select Redistributables option.

Shield15.jpg

Select the Prerequisite for your application at the client side.

As you can see in the following image I have selected the Microsoft .Net Framework 4.5 full and I have right-clickrd it, to select the option. After that it will ask you to download some prerequisite software. Allow that operation; it will add this software to your setup when the setup is created.

The option Extract from steup.exe will combine the prerequisite software to your setup. It will create a single setup file. But you can set for the size to be increased.

Shield16.jpg

Step 9

If you are getting an error regarding the Icon then do this. Then select the option Shortcuts/Folders from the Solution Explorer.

The error looks like:

Shield17.jpg

Shield18.jpg

Then give the default icon to the application by giving the icon from the system or you can use any file.

Shield19.jpg

You can change the icon by changing the number of the Icon Index, as in the following image:

Shield20.jpg

Now build the project. And your setup file will be created.

Go to the path:

Application folder\Express\DVD-5\DiskImages\Disk1\setup

Double-click on setup; it will automatically install the application.

Shield21.jpg

To Create Setup File

We just need to build the project InstallShieldDemo.Deploy from solution Explorer to build the project select the project and right Click on it then select the Build Option. 

And you we get the setup file for the application.

Now If you see the setup file folder it will have many more additional Files but if you want to make only Single Setup File then follow the Below steps

Step 1 : Select the Project and click on Build option from VS2012 and then select Option Configuration Manager(see the below image)

InstallShieldDemo.gif

Step 2: Select the option SingleImage (See the below image)

Untitled4.jpg

When you see the setup File folder it will contains only one Setup File (see the below Image)

Untitled5.jpg

If anyone is not able to understand any thing from the Article or have any question then you can tell me , I will try my best.

To create setup of Website you can refer this below link:

"http://www.c-sharpcorner.com/UploadFile/cb88b2/simple-steps-to-create-setup-of-website-using-install-shield/"

Thank you.

Login to add your contents and source code to this article
post comment
     

Hi,here is the link to create simple setup of Website using Install Shield LE from VS2012 "http://www.c-sharpcorner.com/UploadFile/cb88b2/simple-steps-to-create-setup-of-website-using-install-shield/".

Posted by Jay Parekh May 01, 2013

Thanks a lot for such a wonderful work. I am creating a setup project for Web Application in Visual Studio 2012. I followed the steps mentioned but still I am not able to create a setup successfully for web application. Am I missing something or I need to do things differently for web Application. Thanks

Posted by Priya Apr 29, 2013

Great!

Posted by Jane Carcueva Apr 17, 2013

hello it is very useful can you help me about this error ? I build a setup with install shield but when execute it i have this error: There was an error running the SQL script . Setup will now terminate. [Microsoft][ODBC SQL Server Driver][SQL Server]line 4 :length or precision specification 0 is invalid (1001)///// thank you for your attention

Posted by iman Apr 01, 2013

i need to install silent mode. how could be done in istall shield in visual studio 2010. plz help me

Posted by kinjal patel Mar 30, 2013
COMMENT USING
PREMIUM SPONSORS
DynamicPDF™ product line allows you to dynamically generate PDF documents, merge PDF documents and add new content to existing PDF documents from within your applications.
Join a Chapter
SPONSORED BY
  • PDF reports have never been easier to create. With our included WYSIWYG Designer, you can layout your reports, set up your data source and let DynamicPDF ReportWriter do the rest.