You are on page 1of 8

Case Study 2: Comments taken from the FRD.txt file: Vendor provided pure MSI package. No pre-requirements.

Run MSI with default settings. Install behavior: Install MSI silently Customize Copy license file to C:\PROGRAM_FILES\pdxpop4\PDx-Pop.lic Have a single Add & Remove Entry in Add & Remove programs Steps followed to package this MSI using Installshield are documented below with screenshots: 1: Open Tuner as shown below

2:After launching the shortcut the screen below will appear, click on Create a new Transform on this page.

3: After clicking on the shortcut Create a new Transform the screen shown below will appear. Click on the button Browse and select the base MSI from the location that it has been copied to.

4: You will now see the Msi location on the screen, please see the screenshot below for example. The Mst is by default created at the location where the Msi is present. The location can be changed as per your requirement. Note: the location in your case might be different as you might have save the source Msi in a different location.

5: Click on the button named Create to create an MST. You will see the shown below

Note: When you come to the screen shown above you will notice that the option to save the Mst is not enabled i.e. at this stage if you close this screen the Mst will not be created. You can click on Files and Folders view which is on the left hand pane, immediately you will notice that the save icon on the toolbar now gets enabled. You can now save this Mst without any problems. After saving the Mst close the file and reopen the Mst again, selected the base Msi that we need to transform. The screen below with all options will come up

All modifications to the package can be done here. For example if you want to change/add property values, add files or registries this can be achieved by making changes in the Mst. Since we need to copy the file PDx-Pop.lic to Copy license file to C:\PROGRAM_FILES\pdxpop4\PDx-Pop.lic we need to follow the steps mentioned below Click on the Setup Design view which is situated on the left hand pane. In this Mst you will notice a junk feature named CST_FEATURE is getting created, you can delete this from the mst. The best practice that needs to be followed when any file is to be added is -> create a new component and then include the file to be copied in this newly created component. Since we are supposed to copy the PDx-Pop.lic file to C:\PROGRAM_FILES\pdxpop4\PDx-Pop.lic we will first create a component by right clicking on the feature named PDxPopNewFeature and selecting New Component as shown in the screenshot below.

After clicking on New Component you will notice a new component gets created as shown below (in this case the new component name is NewComponent1).

You can rename the component and give it a package or file specific name (in our case the component has been renamed as AddLicense). The destination path of the component can be changed by clicking on the Destination which is situated on the right hand pane(by default it normally is INSTALLDIR), in our case since the INSTALLDIR is defined as C:\PROGRAM_FILES\pdxpop4 and we are supposed to copy the license file to this same location hence we will not make any changes here. Click on the + sign which is next to the component that we created, you will notice 4 options (Files, Registry Data, Shortcuts, Advanced Settings). Since we are supposed to add a file, highlight the file option as shown in the screen shot below and then right click on the empty pane on the right hand side to get the popup to add a new file.

Click on Add shown in the screen above and select the file that you wish to add in our case it is PDx-Pop.lic. Once the file is selected you will get a new popup screen Select Media Location, here we need to choose the option mentioned in the screenshot below.

After adding the file set a key path for this file as shown in the screenshot mentioned below.

The license file will be added through the package to the desired location.

You can make other changes if required to the MST and then save the Mst. After saving the Mst you will see that the Cab file has also been created. You can use the Msi, Mst and the cab file to test and check the package functionality.

You might also like