WIX Installer: Prevent installation on Windows Server 2012 R2

INSTALLED should be Installed. Properties are case sensitive and you must definitely fix that in your condition – or else that part of the condition will never be true – even if the product is installed. The rest of the condition looks OK actually. Just some ideas to determine what is wrong: WiX Source Element: … Read more

how to find out which products are installed – newer product are already installed MSI windows

ProductCode identifies a particular product. It changes every time you ship a new replacement product. UpgradeCode defines a series of products by using the same UpgradeCode in a updated products whose versions are expected to continually increase. By default, new product versions replace older product versions with a major upgrade. Because upgradecode defines a product … Read more

Passing command line args to MSI from WiX bundle

Your MSI needs to define a property like so: <Property Id=”SOMEPROPERTY” Value=”Default”/> You can then set this property from the bundle: <MsiPackage SourceFile=”<package>.msi” Id=”SomeId”> <MsiProperty Name=”SOMEPROPERTY” Value=”[SomeProperty]” /> </MsiPackage> After this you can set the property in the Bootstrapper as described here: WiX Bootstrapper: How do I set burn variables from the command line? Notice … Read more

is it possible to create a multilanguage installer using WIX?

You can do this without bootstrapper, if you create embedded transformations, and MSI installer will automatically apply one of them, according to your system locale. For complete details & scripts, please, follow this link: http://www.geektieguy.com/2010/03/13/create-a-multi-lingual-multi-language-msi-using-wix-and-custom-build-scripts/ They say, it is undocumented feature of Microsoft Installer, so please, be careful using it.

WiX Installer: using xslt with heat.exe to update attributes

You have two different defined namespaces: In XML: http://schemas.microsoft.com/wix/2006/wi In XSLT: http://schemas.microsoft.com/wix/2006/wix As far as I know, correct namespace for WiX is http://schemas.microsoft.com/wix/2006/wi. So you should change your XSLT. XSLT: <xsl:stylesheet version=”1.0″ xmlns:xsl=”http://www.w3.org/1999/XSL/Transform” xmlns:msxsl=”urn:schemas-microsoft-com:xslt” exclude-result-prefixes=”msxsl” xmlns:wix=”http://schemas.microsoft.com/wix/2006/wi” xmlns:my=”my:my”> <xsl:output method=”xml” indent=”yes” /> <xsl:strip-space elements=”*”/> <xsl:template match=”@*|node()”> <xsl:copy> <xsl:apply-templates select=”@*|node()”/> </xsl:copy> </xsl:template> <xsl:template match=”wix:Wix/wix:Fragment/wix:DirectoryRef/wix:Component/wix:File[@Id and not (@Id … Read more