Call : (+91) 968636 4243
Mail : info@EncartaLabs.com
EncartaLabs

InstallShield Advanced Windows Installer (MSI)

( Duration: 2 Days )

The Advanced Windows Installer Using InstallShield training course provides a solid understanding of advanced techniques for customizing the appearance and behavior of the installation program. The techniques used in this course involve Basic MSI projects in InstallShield, which use the Windows Installer service (MSI) for the installation’s behavior and appearance. While the course does occasionally make use of InstallScript custom actions in Basic MSI projects. This course does not cover InstallScript MSI projects.

By attending Advanced Windows Installer Using InstallShield workshop, delegates will learn to:

  • Improve installer’s appearance using advanced control types
  • Provide detailed user feedback using billboards, progress information, and logging
  • Correctly create custom actions for extending Windows Installer functionality (and learn when not to!)
  • Avoid common pitfalls when coding custom actions
  • Work with InstallShield prerequisites and chained installations to handle multi-package requirements

  • Attend a training on InstallShield MSI Projects
  • Experience implementing at least 1 large installation project using the Basic MSI project type
  • Experience implementing at least 2 medium installations using the Basic MSI project type
  • Experience implementing at least 4 small installations using the Basic MSI project type

COURSE AGENDA

1

Introduction and Review

  • About Windows Installer installation packages
  • Product organization: features, components, and key paths
  • Properties and conditions
  • Using the InstallShield environment
  • Package validation
  • Features introduced in recent InstallShield versions
2

User Interface

  • Setting up interactions between controls
  • Using MaskedEdit controls for formatted user input
  • Features and components:
    • Multiple file destinations
    • Customizing the feature-selection dialog
    • Conditions based on feature and component
  • VolumeSelectCombo controls
  • Displaying billboards during data transfer
  • Techniques for dynamically refreshing dialog boxes
3

Custom Actions

  • How to use Windows Installer functionality to avoid custom actions:
    • Copying, moving, and deleting files
    • Reading and deleting registry information
    • Using InstallShield extensions
  • Types of custom actions, and advantages and disadvantages of each
  • All about action scheduling:
    • Immediate and deferred actions, and deciding which type to use
    • Rollback and commit actions
    • User and system contexts
    • Detecting and handling installation, uninstallation, rollback, and uninstallation-rollback
  • “Simple” custom actions: launching executables, setting properties and Directory properties, and displaying error messages
  • Writing code for script, MSI DLL, InstallScript, and managed – vcode custom actions
    • Getting and setting property values
    • Getting property values during deferred execution
    • Returning success to Windows Installer
    • Triggering rollback
    • Additional interaction with the running installation
4

Additional Custom Action Techniques

  • Accessing and modifying the running MSI package for dynamic effects such as:
    • Populating list-type controls at run time
    • Hiding features after CostFinalize
    • Changing shortcut descriptions at run time
  • Working with custom MSI tables
  • Writing to the Windows Installer log file
  • Additional user feedback during action execution:
    • Static action text
    • Detailed action data
    • Interaction with the progress bar control
    • Handling the Cancel button
    • Correctly displaying message boxes
5

Additional Topics

  • Windows Installer’s reboots and files-in-use behavior
  • Working with InstallShield prerequisites
  • Working with the Directory table
  • Chained installations
  • Multi-instance packages
6

Putting the Pieces Together

  • Presenting dynamic data to the user
  • Writing an action that correctly handles installation, uninstallation, rollback, uninstallation – rollback, and cleanup
  • Logging the action’s changes
  • Displaying detailed progress information

Encarta Labs Advantage

  • One Stop Corporate Training Solution Providers for over 6,000 various courses on a variety of subjects
  • All courses are delivered by Industry Veterans
  • Get jumpstarted from newbie to production ready in a matter of few days
  • Trained more than 50,000 Corporate executives across the Globe
  • All our trainings are conducted in workshop mode with more focus on hands-on sessions

View our other course offerings by visiting https://www.encartalabs.com/course-catalogue-all.php

Contact us for delivering this course as a public/open-house workshop/online training for a group of 10+ candidates.

Top
Notice
X