Konstantin Vlasenko

An engineer is someone who can make for a dollar what any fool could make for two. – Alan Kay

Category Archives: WIX

Replacing a file in a .msi package

InstEd Plus good solution for whom are going to replace a file in a .msi. BTW: free 30 day trial period available

dotNetInstaller is a widely used, general-purpose setup bootstrapper

dotNetInstaller enables the developer to define the application prerequisites and install the correct version(s) of these components in a predictable order based on the processor architecture, user operating system type and language, allow the user to download these components from the web, install these components directly from a single packaged setup, local media or both. [...]

Common setup mistake (please do not remove generated content on upgrade)

By default, Windows Installer never deletes files it doesn’t know of (user files, generated by setup custom action files). There are big temptation to write uninstall custom action which deletes all files to make directory clear after product deletion. Please think about upgrade even you working on the first version of your product. <Custom Action=”REMOVEDIRS” [...]

Автоматическая генерация GUID

English: Wix Generate a GUID В Wix есть возможность сказать компилятору, чтобы он автоматически генерил GUID для таких обьектов, как <Component>, <Package>, <Patch>,  <Product>. Я раньше думал, что для Component-а при каждой сборке будет генерится новый GUID.  Почитал на днях внимательно Wix help и обнаружил, что генерация ID Component-а базируется на значениях install directory и имени ключевого файла [...]

WiX v3.0 released

The final build of WiX v3.0 has been released. You can download it from http://sourceforge.net/projects/wix/files/. Read more about the release by Rob and Bob.

Как получить значение свойства в Deferred Custom Action

English: How to Transfer Properties to Deferred Custom Action Мы можем найти следующую информацию в MSDN. Где в последнем абзаце находим простое решение. Если его перевести на Wix-код, получим следующее (синим цветом выделено решение): —–begin of test.wxs <?xml version=’1.0′?> <Wix xmlns=’http://schemas.microsoft.com/wix/2006/wi’ >  <Product Id=’{00A86C83-0000-0000-0000-2FDF0595B100}’   Name=’Property to deffered custom action’   Language=’1033′   Version=’1.0.0.0′ Manufacturer=’Vlasenko’   UpgradeCode=’{00E9017B-0000-0000-0000-DDDF83756800}’>   <Package Description=”Property [...]

Follow

Get every new post delivered to your Inbox.