Sign in
Alex Shevchuk
Always listen to experts. They’ll tell you what can’t be done, and why. Then do it. - Lazarus Long
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
About
Email Blog Author
RSS for posts
Atom
RSS for comments
OK
Search Blogs
Tags
Microsoft Installer
MSI
Pages
WiX
Archive
Archives
May 2010
(1)
May 2009
(11)
October 2008
(1)
August 2008
(1)
July 2008
(1)
June 2008
(2)
April 2008
(5)
March 2008
(8)
February 2008
(12)
January 2008
(1)
TechNet Blogs
>
Alex Shevchuk
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Alex Shevchuk
From MSI to WiX, Part 26 - Shortcut: To pin or not to pin?
Posted
over 3 years ago
by
Alex Shevchuk
1
Comments
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...
Alex Shevchuk
From MSI to WiX, Part 25 - Installable Items - Updating XML files using XmlFile
Posted
over 4 years ago
by
Alex Shevchuk
4
Comments
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...
Alex Shevchuk
From MSI to WiX, Part 24 - DLL Custom Actions - Get property value and obtaining/changing session information
Posted
over 4 years ago
by
Alex Shevchuk
0
Comments
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...
Alex Shevchuk
Documentation on WiX API
Posted
over 4 years ago
by
Alex Shevchuk
4
Comments
I just want to let everybody know that I am working on documenting WiX API, namely - wcautil and dutil libraries. I don't mind if this will become part of official WiX documentation. In fact, I hope - it will, because I personally, would like to see...
Alex Shevchuk
From MSI to WiX, Part 23 - DLL Custom Actions - Logging and setting properties
Posted
over 4 years ago
by
Alex Shevchuk
0
Comments
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. ...
Alex Shevchuk
From MSI to WiX, Part 22 - DLL Custom Actions - Introduction
Posted
over 4 years ago
by
Alex Shevchuk
1
Comments
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...
Alex Shevchuk
Можно ли использовать данные, полученные при использовании RegistrySearch в RegistryValue
Posted
over 4 years ago
by
Alex Shevchuk
0
Comments
English version is here . Вопрос: Можно ли использовать данные, полученные при использовании RegistrySearch в RegistryValue? Нечто вроде этого: <Property Id="PROP1"> <RegistrySearch Id="search1" Root="HKLM" Key="somekey...
Alex Shevchuk
Как сохранить значения свойств использовавшихся при начальной установке
Posted
over 4 years ago
by
Alex Shevchuk
0
Comments
English version is here . Один из наиболее часто задаваемых вопросов - как сохранить значение свойства, которое было присвоено свойству во время инсталлирования программы (присвоенное либо через параметер в командной строке или через пользовательский...
Alex Shevchuk
Preserving properties used during install
Posted
over 4 years ago
by
Alex Shevchuk
2
Comments
Русская версия здесь . 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...
Alex Shevchuk
Is it possible to use RegistrySearch result in RegistryValue?
Posted
over 4 years ago
by
Alex Shevchuk
2
Comments
Русская версия здесь . 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...
Alex Shevchuk
From MSI to WiX, Part 20 - User Interface - Required Dialog Boxes
Posted
over 5 years ago
by
Alex Shevchuk
4
Comments
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...
Alex Shevchuk
From MSI to WiX, Part 4 - Features and Components
Posted
over 5 years ago
by
Alex Shevchuk
7
Comments
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...
Alex Shevchuk
From MSI to WiX, Part 19 - The Art of Custom Action, Part 1
Posted
over 5 years ago
by
Alex Shevchuk
6
Comments
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...
Alex Shevchuk
From MSI to WiX, Part 17 - Windows Installer Automation Interface, Part 2
Posted
over 5 years ago
by
Alex Shevchuk
3
Comments
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...
Alex Shevchuk
From MSI to WiX, Part 11 - Windows Installer Automation Interface, Part 1
Posted
over 5 years ago
by
Alex Shevchuk
0
Comments
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...
Alex Shevchuk
From MSI to WiX, Part 16 - Installable Items - Handling Installation Media
Posted
over 5 years ago
by
Alex Shevchuk
2
Comments
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...
Alex Shevchuk
От MSI к WiX, часть 2 - Поддержка "Установка и удаление программ"
Posted
over 5 years ago
by
Alex Shevchuk
1
Comments
Главная страница серии здесь . English version of this page is here . Добавление поддержки для "Установка и удаление программ" Группа свойств, хранящихся в таблице Property , хранит информацию, которую операционная система отображает в...
Alex Shevchuk
From MSI to WiX, Part 15 - Installable Items - Ini files
Posted
over 5 years ago
by
Alex Shevchuk
6
Comments
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...
Alex Shevchuk
From MSI to WiX, Part 14 - Installable Items - Registry keys and values
Posted
over 5 years ago
by
Alex Shevchuk
4
Comments
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...
Alex Shevchuk
From MSI to WiX, Part 13 - Installable Items - Environment variable
Posted
over 5 years ago
by
Alex Shevchuk
5
Comments
Shows how to install environment variables in WiX installer....
Alex Shevchuk
From MSI to WiX, Part 12 - Customizing installation using Transitive components
Posted
over 5 years ago
by
Alex Shevchuk
2
Comments
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...
Alex Shevchuk
Property does not exist or empty when accessed from deferred custom action
Posted
over 5 years ago
by
Alex Shevchuk
5
Comments
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: ...
Alex Shevchuk
Conditions for different types of installation
Posted
over 5 years ago
by
Alex Shevchuk
2
Comments
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...
Alex Shevchuk
How to run an installer without installing the product
Posted
over 5 years ago
by
Alex Shevchuk
1
Comments
To run an installer without actually installing the product set the value of EXECUTEMODE property to "None" in the command line: MsiExec /I MyProduct.msi EXECUTEMODE=None That will let you to test-run your installer without actually updating the...
Alex Shevchuk
Property created in UI sequence lost its value in Execute sequence
Posted
over 5 years ago
by
Alex Shevchuk
3
Comments
Problem You create a property in the UI sequence and set its value. When you try to use this property in the Execute sequence, the property is missing or blank. Sample In this sample we will use Application Search to find the installation...
Page 1 of 2 (40 items)
1
2