Welcome to TechNet Blogs Sign in | Join | Help

Browse by Tags

All Tags » WiX   (RSS)

From MSI to WiX, Part 25 - Installable Items - Updating XML files using XmlFile

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
Posted by alexshev | 1 Comments
Filed under: , ,

Attachment(s): XmlFileUpdate.zip

From MSI to WiX, Part 24 - DLL Custom Actions - Get property value and obtaining/changing session information

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
Posted by alexshev | 0 Comments
Filed under: , ,

Documentation on WiX API

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 something
Posted by alexshev | 0 Comments
Filed under:

Attachment(s): WixAPI.chm

From MSI to WiX, Part 23 - DLL Custom Actions - Logging and setting properties

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
Posted by alexshev | 0 Comments
Filed under: , ,

From MSI to WiX, Part 22 - DLL Custom Actions - Introduction

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
Posted by alexshev | 0 Comments
Filed under: , ,

Attachment(s): CAIntro.zip

Можно ли использовать данные, полученные при использовании RegistrySearch в RegistryValue

English version is here . Вопрос: Можно ли использовать данные, полученные при использовании RegistrySearch в RegistryValue? Нечто вроде этого: <Property Id="PROP1"> <RegistrySearch Id="search1" Root="HKLM" Key="somekey" Name="somename" Type="raw"
Posted by alexshev | 0 Comments
Filed under: , ,

Attachment(s): SetRegistry1.zip

Как сохранить значения свойств использовавшихся при начальной установке

English version is here . Один из наиболее часто задаваемых вопросов - как сохранить значение свойства, которое было присвоено свойству во время инсталлирования программы (присвоенное либо через параметер в командной строке или через пользовательский
Posted by alexshev | 0 Comments
Filed under: , ,

Attachment(s): PreserveProperty.zip

Вопросы и ответы

Здесь будут собраны ответы на вопросы, заданные на wix-users mailing list: Можно ли использовать данные, полученные при использовании RegistrySearch в RegistryValue Как сохранить значения свойств (properties) использовавшихся при начальной установке
Posted by alexshev | 0 Comments
Filed under: , ,

Preserving properties used during install

Русская версия здесь . 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
Posted by alexshev | 0 Comments
Filed under: , ,

Attachment(s): PreserveProperty.zip

Is it possible to use RegistrySearch result in RegistryValue?

Русская версия здесь . 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"
Posted by alexshev | 2 Comments
Filed under: , ,

Attachment(s): SetRegistry1.zip

Questions and Answers

Some questions asked on wix-users mailing list: Is it possible to use RegistrySearch result in RegistryValue? Preserving properties used during install
Posted by alexshev | 0 Comments
Filed under: , ,

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
Posted by alexshev | 1 Comments
Filed under: , ,

Attachment(s): UIRequiredDialogs.zip

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
Posted by alexshev | 3 Comments
Filed under: , ,

Attachment(s): Part1.zip

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
Posted by alexshev | 3 Comments
Filed under: , ,

Attachment(s): The Art of Custom Actions1.zip

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 =
Posted by alexshev | 1 Comments
Filed under: , ,

Attachment(s): ListProducts.vbs
More Posts Next page »
 
Page view tracker