wix

Standard approach to the server environment for the distributable asp.net package

不羁的心 提交于 2020-01-16 18:06:08
问题 For web application package vendors providing installer for some reason: Would you share the "standard" approach to prepare fixed server environment for an asp.net application package? But some conditions I have: 1)My application requires iis, .net framework and sql server. 2)Windows Server itself, Sql Server licence and media is not provided by my company, end users provide them.(Usually standard edition.) When visiting end user site, Windows Os is already installed, but SQLserver media is

Wix: Get Directory from File Path

泄露秘密 提交于 2020-01-16 16:12:08
问题 I'm creating a plugin for Adobe Illustrator and I'm attempting to make an installer for it using WiX. So in order to get the plugin to install in the correct location I am reading the registry to find the most up to date version of illustrator and then find the file path to that Illustrator exe. This all works fine and gives me "C:\Program Files\Adobe\Illustrator CC 2018\Support Files\Contents\Windows\Illustrator.exe" (I've checked and if you choose to install it elsewhere this path reflects

Wix: Write register entries under HKCU\Software\Classes\Wow6432Node

主宰稳场 提交于 2020-01-16 14:07:03
问题 I have a super simple installer to test if a installer can write register entries under HKCU\Software\Classes\Wow6432Node (the msi is target x86 and I'm testing it on a Win7 x64 machine). The problem is: it just does not want to write anything under Wow6432Node at all. Following is the code: <?xml version="1.0" encoding="UTF-8"?> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> <Product Id="f671ee4d-dd0a-4f7f-a4d1-1d181d2f3002" Name="TestWow" Language="1033" Version="1.0.0.0"

ADDLOCAL=FEATURE1 in MSI installer removes other FEATURES

回眸只為那壹抹淺笑 提交于 2020-01-16 03:39:08
问题 I am trying install one of FEATURE_NEW using wix installer setup.exe(2.0) on top of setup.exe(1.0) setup.exe /v /qn ADDLOCAL=FEATURE_NEW It installs FEATURE_NEW, but issue is, it removes other features FEATURE1,FEATURE2 etc. I want existing feature should upgrade and new FEATURE_NEW installed, no additional FEATURES should be installed. So my question is Can I Install/upgrade product with previously installed feature list 'N' plus newly added feature i.e. N + NEW_FEATURES. I am searching

Add namespace in xpath in XmlFile Element (Wix Util Extension)

倾然丶 夕夏残阳落幕 提交于 2020-01-15 20:25:23
问题 The ElementPath attribute of XmlFile element in wix accepts an xpath to select the target. How can I include namespace prefixes in this xpath? 回答1: According to this issue entry it seems to be a bug or better: a not implemented feature, as an eventually existing default namespace is not exposed by the util:XmlFile -element. According to the first comment in this entry you can work around this issue by using util:XmlConfig which should look in the empty namespace for the needed nodes /

Add namespace in xpath in XmlFile Element (Wix Util Extension)

依然范特西╮ 提交于 2020-01-15 20:19:26
问题 The ElementPath attribute of XmlFile element in wix accepts an xpath to select the target. How can I include namespace prefixes in this xpath? 回答1: According to this issue entry it seems to be a bug or better: a not implemented feature, as an eventually existing default namespace is not exposed by the util:XmlFile -element. According to the first comment in this entry you can work around this issue by using util:XmlConfig which should look in the empty namespace for the needed nodes /

Wix project error in TFS build

核能气质少年 提交于 2020-01-15 11:41:47
问题 I am building a solution that contains a Wix v3.6 project on Team Foundation Server (TFS 2010). The solution also contains some other class library projects. The TFS build is unsuccessful with the following error: light.exe : error LGHT0103: The system cannot find the file 'Path\assembly.dll' with type ''. I have checked that the file (assembly.dll) in question and it does exists at the given path. The file in question is actually the output of another project in the solution. Apart from this

Using heat.exe for files placed in WindowsVolume - GUID Issues

笑着哭i 提交于 2020-01-15 11:09:11
问题 I searched some time on SO and Google but I didn't find related questions. So hopefully this issue isn't a duplicate. For a customer of mine I'm creating installer artifacts with WiX. Some files are installed to [WindowsVolume]\tool\scripts. That went fine as long as I manually added those files to the according WiX fragment. Since files of this component are being moved and removed pretty often lately I decided to fetch them via heat.exe from subversion. A problem I'm facing is, that heat's

Empty directories are present in programfiles after uninstall

我们两清 提交于 2020-01-15 10:37:07
问题 While uninstalling a MSI package, there are a bunch of empty folders which are not removed from the ProgramFiles. Is there a way Wix in which I can make sure all the empty directories are removed after uninstallation along with InstallDir. 回答1: The folder may be used by another process. If so, you could not delete the folders even manually. In that case, 1st close those processes using custom action and proceed the uninstall. Now folders will be deleted. If there is no process running but

WiX Installer - Run an MSI multiple times with different properties?

Deadly 提交于 2020-01-15 09:44:51
问题 I am building a bootstrapper using WiX toolset (my first). It is for an add-on package for the Microsoft Flight Sim family. There are several versions of MFSF and customers often want to install our add-on package into multiple simulators. This naturally means installing many of the same files into multiple different root directories. I know I can easily choose ONE root folder by passing a property from the bootstrapper to the MsiPackage. But is there a way to get the package to install to