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.Continue reading “dotNetInstaller is a widely used, general-purpose setup bootstrapper”

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”Continue reading “Common setup mistake (please do not remove generated content on upgrade)”

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

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

Как получить значение свойства в 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&#8217; >  <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=”PropertyContinue reading “Как получить значение свойства в Deferred Custom Action”