Sign in
Alex Shevchuk
Always listen to experts. They’ll tell you what can’t be done, and why. Then do it. - Lazarus Long
Tags
Microsoft Installer
MSI
Pages
WiX
Browse by Tags
TechNet Blogs
>
Alex Shevchuk
>
All Tags
>
msi
Tagged Content List
Blog Post:
From MSI to WiX, Part 26 - Shortcut: To pin or not to pin?
Alex Shevchuk
As you may already know , Windows 7 supports setting properties on shortcuts and MSI 5.0 provides MsiShortcutProperty table to enable setting shortcut properties from installation package. Let's start with updated nonadvertised shortcut sample from Part 10 : <? xml version = " 1.0 " encoding...
on
13 May 2010
Blog Post:
From MSI to WiX, Part 25 - Installable Items - Updating XML files using XmlFile
Alex Shevchuk
To use XmlFile element we need to: Add reference to WixUtilExtension extension. Add util namespace to <Wix> element: <? xml version = " 1.0 " encoding = " UTF-8 " ?> < Wix xmlns = " http://schemas.microsoft.com/wix/2006/wi " xmlns:util = " http://schemas.microsoft.com...
on
27 May 2009
Blog Post:
From MSI to WiX, Part 24 - DLL Custom Actions - Get property value and obtaining/changing session information
Alex Shevchuk
In previous post we looked at how to set propery's value. Getting property value is more involved because we need to make sure that provided memory buffer for property value is big enough to hold the value. Function MsiGetProperty is used to get a property value. Description for MsiGetProperty function...
on
26 May 2009
Blog Post:
From MSI to WiX, Part 23 - DLL Custom Actions - Logging and setting properties
Alex Shevchuk
Let's start with setting property value using MSI API MsiSetProperty . This function takes three parameters: An installation handle, originally passed to custom action's function by Windows Installer. Name of the property to set or remove. New value for the property or NULL (or empty string...
on
17 May 2009
Blog Post:
From MSI to WiX, Part 22 - DLL Custom Actions - Introduction
Alex Shevchuk
Today I am starting a mini series on writing C++ custom actions. Let's start with wizard-generated custom action project. Start Visual Studio and select "C++ Custom Action Project". Set "CAIntro" as the name of the project. Before we will start discussing what is in the generated code, let's talk...
on
16 May 2009
Blog Post:
Можно ли использовать данные, полученные при использовании RegistrySearch в RegistryValue
Alex Shevchuk
English version is here . Вопрос: Можно ли использовать данные, полученные при использовании RegistrySearch в RegistryValue? Нечто вроде этого: <Property Id="PROP1"> <RegistrySearch Id="search1" Root="HKLM" Key="somekey" Name="somename" Type="raw" /> <...
on
14 May 2009
Blog Post:
Как сохранить значения свойств использовавшихся при начальной установке
Alex Shevchuk
English version is here . Один из наиболее часто задаваемых вопросов - как сохранить значение свойства, которое было присвоено свойству во время инсталлирования программы (присвоенное либо через параметер в командной строке или через пользовательский интерфейс как, например, INSTALLLOCATION). ...
on
14 May 2009
Blog Post:
Вопросы и ответы
Alex Shevchuk
Здесь будут собраны ответы на вопросы, заданные на wix-users mailing list: Можно ли использовать данные, полученные при использовании RegistrySearch в RegistryValue Как сохранить значения свойств (properties) использовавшихся при начальной установке
on
14 May 2009
Blog Post:
Preserving properties used during install
Alex Shevchuk
Русская версия здесь . One of the most common questions is how to preserve the value of property used during install (either passed through command line or properties like INSTALLLOCATION which can be changed in the UI) so that it can be used during maintenance or uninstall. For example, here...
on
13 May 2009
Blog Post:
Is it possible to use RegistrySearch result in RegistryValue?
Alex Shevchuk
Русская версия здесь . This post is an answer to this question sent to wix-users mailing list: Is it possible to use RegistrySearch result in RegistryValue? Something like this: <Property Id="PROP1"> <RegistrySearch Id="search1" Root="HKLM" Key="somekey" Name="somename...
on
12 May 2009
Blog Post:
Questions and Answers
Alex Shevchuk
Some questions asked on wix-users mailing list: Is it possible to use RegistrySearch result in RegistryValue? Preserving properties used during install
on
12 May 2009
Blog Post:
From MSI to WiX, Part 20 - User Interface - Required Dialog Boxes
Alex Shevchuk
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...
on
17 Oct 2008
Blog Post:
From MSI to WiX, Part 4 - Features and Components
Alex Shevchuk
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...
on
23 Aug 2008
Blog Post:
From MSI to WiX, Part 19 - The Art of Custom Action, Part 1
Alex Shevchuk
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...
on
2 Jul 2008
Blog Post:
From MSI to WiX, Part 17 - Windows Installer Automation Interface, Part 2
Alex Shevchuk
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...
on
1 Jul 2008
Blog Post:
From MSI to WiX, Part 11 - Windows Installer Automation Interface, Part 1
Alex Shevchuk
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...
on
30 Jun 2008
Blog Post:
From MSI to WiX, Part 16 - Installable Items - Handling Installation Media
Alex Shevchuk
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...
on
4 Apr 2008
Blog Post:
Англо-русский словарь терминологии по инсталляции программ
Alex Shevchuk
Этот словарь служит двум целям: Поможет мне с написанием русскоязычных статей; Объяснит терминологию тем, кто только начинает. Если знаете, как перевести любой из терминов - шлите emails. Также, к моему стыду, я видел (и уже давно забыл - когда) только Windows 3.1 русифицированную. Поэтому...
on
3 Apr 2008
Blog Post:
От MSI к WiX, часть 2 - Поддержка "Установка и удаление программ"
Alex Shevchuk
Главная страница серии здесь . English version of this page is here . Добавление поддержки для "Установка и удаление программ" Группа свойств, хранящихся в таблице Property , хранит информацию, которую операционная система отображает в панели управления "Установка и удаление программ"...
on
3 Apr 2008
Blog Post:
From MSI to WiX, Part 15 - Installable Items - Ini files
Alex Shevchuk
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...
on
3 Apr 2008
Blog Post:
From MSI to WiX, Part 14 - Installable Items - Registry keys and values
Alex Shevchuk
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...
on
2 Apr 2008
Blog Post:
From MSI to WiX, Part 13 - Installable Items - Environment variable
Alex Shevchuk
The main page for the series is here . Introduction I am beginning a mini-series on installable items. Today's topic - environment variables. MSI story In order to install an environment variable we need to add a record into the Environment table. Here are the fields we need to fill...
on
28 Mar 2008
Blog Post:
From MSI to WiX, Part 12 - Customizing installation using Transitive components
Alex Shevchuk
The main page for the series is here . Introduction This post is from the same group as Part 6 and 7. Normally, we use transitive components when our product has system-specific component and depending on system state we want to install one component or the other. For example, we might...
on
27 Mar 2008
Blog Post:
Property does not exist or empty when accessed from deferred custom action
Alex Shevchuk
Problem Property is created, but when deferred custom action tries to get its value - property either does not exist or its value is empty. Sample Let's test it with immediate custom action first to make sure that property has a value: <? xml version = " 1.0 " encoding = " UTF-8 " ...
on
25 Mar 2008
Blog Post:
Conditions for different types of installation
Alex Shevchuk
Content Detecting the installation state Detecting the type of the maintenace installation Detecting the installation state Use Installed property to determine if product is installed per-machine or for the current user. Keep in mind that the product can be installed for a different...
on
9 Mar 2008
Page 1 of 2 (42 items)
1
2