How Windows Installer Engine installs the installation package?

  Introduction This is a very high-level introduction on what is going on when we initiate an installation. Client and Server processes The main components of Windows Installer engine are msiexec.exe and msi.dll located in the %SystemRoot%\System32 folder.  If you want to know the version of MSI installed on your machine, check the version number…

5

About MSI and WiX in general

Some random posts about MSI and WiX. How Windows Installer Engine installs the installation package? Conditions for different types of installation Documentation on WiX API  

0

From MSI to WiX, Part 5 – Custom actions: Introduction

The main page for the series is here.   Introduction Although standard actions are sufficient to execute an installation in most cases, custom actions enable the author of an installation package to extend the capabilities of standard actions by including executables, dynamic-link libraries, and script. Important: Custom actions cannot be used in the sequence tables used…

5

From MSI to WiX, Part 10 – Shortcuts

The main page for the series is here.   Introduction Microsoft Windows Installer supports four installation states for product features: Installed locally Installed to run from source Absent Advertised  When feature is advertised, it is not actually installed on the local system.  However, appropriate shortcut to launch the feature is present.  The first time a user…

16

From MSI to WiX, Part 8 – Major Upgrade

The main page for the series is here.   Introduction A typical Major Upgrade removes a previous version of an application and installs a new version.  This blog will guide you through the process of creating Major Upgrade. Source code for RTM version Let’s create a C# solution with two projects in it: library and console application. …

44

From MSI to WiX, Part 7 – Customizing installation using Transforms

The main page for the series is here.   Introduction In previous blog we were using custom tables to store the data for different environments.  Now, we will be using transforms to customize installation.  In order to create a Transform we need a base installation database and extended installation database.  Transform is the difference between base and extended…

4

From MSI to WiX, Part 6 – Customizing installation using Custom Tables

The main page for the series is here.   Introduction Say, we need to change an xml config file based on the environment our program will run in.  The most straightforward way of achieving that will be passing values which will go to the xml config file through public properties from the command line. For this…

5

От MSI к WiX

English version is here.  Словарь здесь.  Это серия статей о том как создать инсталлер используя WiX. От MSI к WiX, часть 1 – Обязательные свойства От MSI к WiX, часть 2 – Поддержка “Установка и удаление программ” От MSI к WiX, часть 3 – Условия запуска и поиск программ От MSI к WiX, часть 4 -…

7

От MSI к WiX, часть 1 – Обязательные свойства

Главная страница серии здесь. English version of this page is here.   Введение  Это не дословный перевод англоязычной версии, а просто пересказ того, что было написано первоначально по английски.  Там где у меня не получится найти подходящий русский термин, я буду использовать английскую терминологию.  Скажу сразу – мне совсем не нравится как у меня получилось это…

3

From MSI to WiX, Part 3 – Launch Conditions and Application Search

The main page for the series is here.   Introduction Before we start with Launch Conditions and Application Search let’s take a look at the sequence of actions Windows Installer executes during installation.  You can find the suggested sequence for InstallExecuteSequence table here. Basically, what this table is saying is that in order to install any…

18