From MSI to WiX, Part 20 – User Interface – Required Dialog Boxes

The main page for the series is here.   Introduction  We will start with exploring Required Dialog Boxes.  Microsoft Windows Installer uses three special dialogs in response to the following events during product installation: Exit Dialog – shown when installation completed successfully.  Required name for the dialog is ExitDialog. Fatal Error Dialog – shown in response…

4

From MSI to WiX, Part 4 – Features and Components

The main page for the series is here.   Introduction When we install any msi what we are doing is we are installing a Product which is contained in a package (msi file).  Every product consists of one or more features and every feature contains zero or more components.  Components can be shared between features in…

7

From MSI to WiX, Part 19 – The Art of Custom Action, Part 1

The main page for the series is here.   Code for this topic is attached.   Introduction Today we will start exploring custom actions, how to write them, what makes custom action good custom action and everything else related to custom actions. Let’s start with very simple sample.  We have an application which creates a new…

6

From MSI to WiX, Part 17 – Windows Installer Automation Interface, Part 2

The main page for the series is here.   Introduction Today we will explore the database of installed products. In standalone administartive tools scripts you need to create an Installer object using the following commands: Dim Installer Set Installer = Wscript.CreateObject(“WindowsInstaller.Installer”) In scripting custom action MSI engine will make Installer and Session objects available without requiring…

3

From MSI to WiX, Part 11 – Windows Installer Automation Interface, Part 1

The main page for the series is here.   Introduction This post starts a series on Windows Installer Object Model.  We will explore how and when to use automation interface objects, properties, and functions. Roughly, we have three main groups: Getting information about installed products Updating installed products Making changes in the MSI database during installation There…

0

From MSI to WiX, Part 16 – Installable Items – Handling Installation Media

The main page for the series is here.   Introduction Before we start talking about installing files, I feel that we need to understand the options we have in distributing files that need to be installed with our installation package. The following elements are involved in the distributing source files with the installation package on the…

2

Англо-русский словарь терминологии по инсталляции программ

  Этот словарь служит двум целям: Поможет мне с написанием русскоязычных статей; Объяснит терминологию тем, кто только начинает.  Если знаете, как перевести любой из терминов – шлите emails.  Также, к моему стыду, я видел (и уже давно забыл – когда) только Windows 3.1 русифицированную.  Поэтому, если я перевожу Add/Remove Program или что либо другое неправильно –…

0

От MSI к WiX, часть 2 – Поддержка "Установка и удаление программ"

Главная страница серии здесь. English version of this page is here.   Добавление поддержки для “Установка и удаление программ” Группа свойств, хранящихся в таблице Property, хранит информацию, которую операционная система отображает в панели управления “Установка и удаление программ” (ARP).    Вот список свойств, относящихся к ARP: ARPCOMMENTS ARPCONTACT ARPPRODUCTICON ARPHELPLINK ARPREADME ARPURLINFOABOUT ARPURLUPDATEINFO ARPHELPTELEPHONE ARPAUTHORIZEDCDFPREFIX ARPSIZE ARPINSTALLLOCATION Некоторые свойства ARP влияют на то, какие операции с установленной…

1

From MSI to WiX, Part 15 – Installable Items – Ini files

The main page for the series is here.   Introduction Today’s topic is how to create and modify Ini files. MSI story Ini file contains configuration information that application needs during run-time. MSI has two tables related to Ini files:  IniFile and RemoveIniFile.   IniFile table contains information about data which need to added to the Ini file…

8

From MSI to WiX, Part 14 – Installable Items – Registry keys and values

The main page for the series is here.   Introduction Today’s topic is how to create registry keys and values. MSI story Information about registry keys and/or values to be installed is authored in the Registry table.  This table is processed by WriteRegistryValues and RemoveRegistryValues standard actions which must be scheduled in the Execute sequence tables. To…

4