Creating Setup for Web Application using Install Shield LE

While working on the latest project there was a requirement to build setup for web application. This was quite new and interesting for me .So I am sharing my experience through this article. This article demonstrate steps for creating a setup of a web application using Install Shield LE

Step 1: Add new Project (Setup and Deployment) in existing solution.

                Assign Name and Location and click Ok

 setup_img1

Note: If installShield is not installed in VS then click ok, it will redirect you to the website from where you can install it.

Step 2:  Click on Application Information.

setup_img2

Specify Company and application details

 setup_img3

 

Step3: Click on Installation Requirement.

Select Operating system and Application if any required for your Application.

 setup_img4

Step4: Click on Application Files

In InstallShield LE the Installation Architecture feature is not available. 

 setup_img5

Add Project output i.e. Primary output and content files.

Step5: Click On Application registry

Click Yes

 setup_img7

Step6: Click on Installation Interview

Choose option as per your application requirement

 ii

Step 7: Create Website in IIS

Here we need to create a website with a configuration and while the setup runs it will create the website dynamically in IIS.

To create a new website:

  1. Click on the “Configure the Target System in Install Shield”.
  2. Right-click on “Websites” in Internet Information Services and assign a name, as in my case SampleSite.

 setup_img8

  1. In the configuration section there is the option “Home Directory” and in that there is an option Content Source Path “Select “[IISROOTFOLDER]”(Create new folder in IISROOTFOLDER it will create in inetpub\wwwroot folder i.e. Samplesite in my case).

 setup_img9

Step 8: Add Source of website to the setup
now we need to add the source file of the setup. Go to the “Project Assistant” tab then select Application Files”.

 setup_img10

Here we will see that the newly created folder is named SampleSite inside “[IISROOTFOLDER]”.

  1. Click on the “SampleSite” folder and then click on “Add Project Outputs” and select the files as per your requirements.

Important Configuration

  • To see the log file of the installer we set the option to create the MSI logs to “Yes” in:
    1. Organization Your Setup In Install Shield Project
      • General Information >> Create MSI Logs =Yes

 setup_img12

 

  • In IIS click on APPLICATION POOLS =>DEFAULTAPPPOOL=> => Right click select ADVANCE SETTING=>ENABLE 32-BIT APPLICATION == TRUE

To Create Setup File

To create setup click build from menu and click “Build Solution”.

And you will 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 menu and then select Option Configuration Manager now select Single Image.

 cfm

Now build the solution.

Written By: Namita Sethi (Dynamics CRM Team, Cipher Dynamics)

Know Process Based forms in Microsoft Dynamics CRM 2011

Microsoft has introduced Process based forms with the release of  Polaris (Microsoft Dynamics CRM 2011 Rollup 12) in that we have completely different UI designs for the entities like Contacts, Opportunities, Leads, Accounts and Cases. Now we have two options to view the entity form.

  • Form Editor
  • Switch to Classic.

Basically the users who don’t have experience can Switch to Classic, so that they can view the form of particular entity. For example when we open Account entity form it looks as below.

1

Actually once this selection has been made it will be default, when the user opens this account form next time it will show in  “Classic mode” only. And this view has two different types of forms:

  • Process Form. (E.g. Account, Contact etc…)
  • Information Form.

Every user has to go through this Process from, this is nothing but an Updated default form for particular entities.

 2

The Information form is used to show the form for the particular entity, and this form can be customized and can be shown to the particular users according to the security roles assigned, whereas the Process form can also be customized and can be shown to the particular users, according to the security roles. We can create multiple forms for the particular entities like Contacts, Opportunities, Leads, Accounts and Cases. And that visibility can be controlled by use of assigning security roles to each form. Now the Process form for (Account Entity) is customized and assigning security roles for that as follows.

3 We can assign to a new security role or the existing one. Now let’s see how we can apply security on entity forms:

4

Click on New to create a new security role.

5

Now let’s assign this security role to the Process form.

6

When opening of assign security role it will be defaultly select all the security roles.

7

This will display this Process form to all the users, if needed to assign this Process form to only Particular assigned security role user as follows.

8

By selecting this, it can show this Process form only for the specified security role assigned user. After selecting (“Display only to these selected security roles”) option, if this Process form doesn’t need to show for any of the user, simply click on the checkbox as follows.

9

By clearing this checkbox Process form will not be shown to any of the user. Publish the customization. So now click New button in Account entity it will show the Information form defaultly, because of disabling the Process form from all users.

10

Now assign this Process form to a particular security role which created earlier, as follows.

11

Publish the customization. Now check whether the user has that particular security role assigned.

12

By selecting specified user assign security role.

13

Defaultly it will assign some security role, now need to add the newly created security role in order to show Process form in Account entity for this user.

14

Select Manage Roles in order to add the security role.

15

Select newly created Security role. After selecting the security role the Account form will look as follows.

16

Now we can see that there is dropdown in order to choose the Process form as well as Information form. This is done for showing example in Account entity, if needed to disable the Process form in all entities like Contacts, Opportunities, Leads and Cases do the same as above.