MYHOSPITALNOW.COM

Find Trusted Doctors & Hospitals

Discover healthcare providers, compare hospitals, and explore treatment options worldwide.

Free Treatment Quotes • Doctor Search • Hospital Comparison

Find Healthcare Options

www.myhospitalnow.com

What is Installation Sequences in MSI Script?

applicationPackaging created the topic: What is Installation Sequences in MSI Script?
Installation Sequences:
Installation sequences are represented by tabs below the Installation Sequence section in MSI Script. Windows Installer has 2 main types of sequences:

User Interface and Execute.

The User Interface sequence, which is executed at the beginning of installation, gathers system information, displays dialogs to the end user, and records end user choices. It is suppressed during silent installations.

The Execute sequence installs the application and makes changes to the system. During installation, Windows Installer first goes through each action in the Execute sequence and builds an internal installation script to follow. You cannot see or access this internal script.

This first pass is referred to as immediate mode and is represented by the Execute Immediate tab. After it creates the internal installation script, it runs the script it created, performing the actions that change the system.
The second pass is referred to as deferred mode, and encompasses all the actions between InstallInitialize and InstallFinalize. It is represented by the Execute Deferred tab. This makes it easier to specify in which mode to run an action. For information on where to place a custom action,

LaunchConditions
FindRelatedProducts
AppSearch
CCPSearch
RMCCPSearch
ValidateProductID
CostInitialize
FileCost
IsolateComponents
CostFinalize
MigrateFeatureStates
ExecuteAction

applicationPackaging replied the topic: Re: What is Installation Sequences in MSI Script?
Installation sequences are represented by tabs below the Installation Sequence section in MSI Script. Windows Installer has 2 main types of sequences:
1. User Interface and
2. Execute.
The User Interface sequence, which is executed at the beginning of installation, gathers system information, displays dialogs to the end user, and records end user choices. It is suppressed during silent installations.
The Execute sequence installs the application and makes changes to the system. During installation, Windows Installer first goes through each action in the Execute sequence and builds an internal installation script to follow. You cannot see or access this internal script.
This first pass is referred to as immediate mode and is represented by the Execute Immediate tab. After it creates the internal installation script, it runs the script it created, performing the actions that change the system.
The second pass is referred to as deferred mode, and encompasses all the actions between InstallInitialize and InstallFinalize. It is represented by the Execute Deferred tab.
This makes it easier to specify in which mode to run an action. For information on where to place a custom action, see Guidelines for Custom Action Location.
When Windows Installer generates the installation script, it generates a rollback script that will undo the actions of the installation script. The rollback script is executed if the installation is canceled or is unsuccessful, and is also run in deferred mode. Although you cannot view or edit the rollback script, you can specify that custom actions you add be added to it; use the In-Script Options field on the Properties tab of the custom action details dialog.
On Windows NT, 2000, XP, and Server 2003, Windows Installer runs as a service, which is registered in the Services control panel. When an .MSI is launched, it is run by the service. The Windows Installer service can run with elevated privileges based on policies, and the Windows Installer database runs with the current user’s privileges. When you add custom actions, you can specify whether they should be run with elevated privileges (system context) or with user privileges (user context). Set privileges to user context or system context in the In-Script Options field on the Properties tab of the custom action details dialog. On Windows 95 and Windows 98, Windows Installer runs as an executable. Because there are no levels of privileges on Windows 95 and Windows 98 (everyone has full privileges), setting privileges has no effect.

Find Trusted Cardiac Hospitals

Compare heart hospitals by city and services — all in one place.

Explore Hospitals
I'm Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked at Cotocus and regularly write about technology, travel, investing, health, product reviews, and digital marketing through my various platforms. I publish technical articles at DevOps School, travel stories at Holiday Landmark, stock market insights at Stocks Mantra, health and fitness guidance at My Medic Plus, product reviews at TrueReviewNow, and SEO and digital marketing strategies at Wizbrand.

Related Posts

Wise Packaging Training: AppDeploy Video Catalog, Learning Workflow, and MSI Practice Commands

This revised guide organizes the original Wise packaging training links into a practical learning path for Windows Installer and desktop deployment topics. It includes quick comparisons, a workflow diagram, and lab-ready command examples.

Read More

Wise Installation Studio/Express Training: Legacy Course Guide for Build and Release Teams

This revised guide summarizes the original Wise Installation Studio/Express training post into a practical, structured reference. It covers audience fit, delivery model, curriculum, lab workflow, and MSI validation commands.

Read More

Install Apache on Windows 7 (Legacy): MSI Setup, UAC Prompts, and PHP Integration

A practical, legacy-focused guide to installing Apache HTTP Server on Windows 7 for local development. It covers package selection, UAC behavior, verification steps, and basic PHP wiring.

Read More

Complete Guide to Software Packaging and Application Packaging

Here’s a comprehensive, in-depth tutorial covering all your sections and topics with enriched details. 1️⃣ What is a Package? A package is a namespace that organizes a…

Read More

Packaging Artifacts in Software Development

Here’s a detailed tutorial on packaging artifacts, covering different packaging types (Application, System, and Mobile Packaging) and best practices. 📦 Tutorial: Packaging Artifacts in Software Development ✅…

Read More

Roles and Responsibilities of Install Engineer aka Application Packaging Engineer

There is following roles and responsibilities of Install Engineer aka Application Packaging Engineer Responsible for efficient and timely assembly, integration, testing and installation of all projects Must…

Read More
Subscribe
Notify of
guest
1 Comment
Newest
Oldest Most Voted
Madhusudan
Madhusudan
3 years ago

Fantastic Explanation

1
0
Would love your thoughts, please comment.x
()
x