wix3.9

WiX: How to restart the explorer.exe immediately?

廉价感情. 提交于 2020-03-23 12:00:26
问题 I am a beginner in case of packaging of software. I am using cpack + Wix. I tried to find helpful information or a good documentation about util:RestartResource , but could not find any awnser to my question. Issue: I have to install a ShellExtension which needs a restart of explorer.exe after setting some registry values. Because of that i use the command (https://wixtoolset.org/documentation/manual/v3/xsd/util/restartresource.html): <util:RestartResource ProcessName="explorer.exe"/>

WiX: How to restart the explorer.exe immediately?

落爺英雄遲暮 提交于 2020-03-23 12:00:11
问题 I am a beginner in case of packaging of software. I am using cpack + Wix. I tried to find helpful information or a good documentation about util:RestartResource , but could not find any awnser to my question. Issue: I have to install a ShellExtension which needs a restart of explorer.exe after setting some registry values. Because of that i use the command (https://wixtoolset.org/documentation/manual/v3/xsd/util/restartresource.html): <util:RestartResource ProcessName="explorer.exe"/>

File Browse Dialog in Wix Installer

给你一囗甜甜゛ 提交于 2020-01-27 08:31:49
问题 I am using Wix Installer v3.9 to create a setup. I want to pop a File Browse dialog after the Installation gets completed. User can select multiple files from a directory. Then those file paths have to pass as command line arguments to an exe. How can I do this? The Wix BrowseDlg lets select directory only. Any help is appreciated. 回答1: As far as I know,wix toolset doesn`t have any file browse control. So I normally use c# Custom Action to do this job. Try this sample and customize it

File Browse Dialog in Wix Installer

风流意气都作罢 提交于 2020-01-27 08:30:28
问题 I am using Wix Installer v3.9 to create a setup. I want to pop a File Browse dialog after the Installation gets completed. User can select multiple files from a directory. Then those file paths have to pass as command line arguments to an exe. How can I do this? The Wix BrowseDlg lets select directory only. Any help is appreciated. 回答1: As far as I know,wix toolset doesn`t have any file browse control. So I normally use c# Custom Action to do this job. Try this sample and customize it

Bind IIS local websites in dropdown list of wix installation?

Deadly 提交于 2019-12-25 11:52:29
问题 After working long for the creating the installer for my application using http://wixtoolset.org/ and i am using 3.10v,finally i got the working .msi installer file. But i wanted the list of websites that are present in IIS server to be display in the dropdown list during installation, so that i can select the existing website from the IIS server and use that to install my application. I created a ComboBox Control in my UI page (.wxs file), and stuck at writing the custom action, any Help

WiX Bundle: Patches for 1.0.0 are not removed from Programs & Features when bundle 2.0.0 is installed

别来无恙 提交于 2019-12-25 08:05:08
问题 There are 3 bundles, code is listed below. 1.0.0, 1.0.0.1, and 2.0.0. If 1.0.0, 1.0.0.1, and 2.0.0 are installed, View Installed Updates will still have 1.0.0.1 listed as installed. It will remain there until the last Version is uninstalled. <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> <Bundle Name="Burn Installer" Version="1.0.0" Manufacturer="LANSA" UpgradeCode="AAAAAAAA-AAAA-AAAA-AAAA-AAAAAAAAAAAA" Copyright="..." AboutUrl="..."> <BootstrapperApplicationRef Id=

Error occurred with custom action RegisterComPlus with WIX 3.9 and above

对着背影说爱祢 提交于 2019-12-24 08:23:43
问题 We, at Microsoft, had been using WIX toolset version 3.5.2519.0 for so long to build the installer and patches for our product named (System Center Service Manager aka SCSM). Recently we need to update to WIX Toolset 3.14.0.1703 as this version has support for TLS1.2. Building our project with WIX Toolset 3.14.0.1703 went fine, but while installing it, I am getting the below error: Then I built the product one by one with all the WIX versions, and here are the results: Product built with WIX

Manually migrate feature states during upgrade

自闭症网瘾萝莉.ら 提交于 2019-12-24 03:13:06
问题 We have a product for which the feature tree has changed considerably between versions, so the MigrateFeatures="yes" option on the UpgradeVersion element does not seem to work. How would I go about manually converting the old features to the new ones? Do I need a custom action, and if so, how can I do this from there? 回答1: As far as I know, the feature tree structure isn't relevant - it matches the Name in the Feature table, so if they all match you'd still get some migration. Note that it is

How can I keep my config file on a MajorUpgrade?

十年热恋 提交于 2019-12-13 19:45:00
问题 We use the wix 3.9 to create an msi for our product. Our Target: We want to deliver a config file (.txt-file) via the msi. When an config file already exists in the installation folder, the file should not be overwritten by an upgrade. Unfortunately, on an upgrade, Wix removes the configuration file. The Product Element: <Product Id="*" Name="$(var.AppName) V$(var.Version) $(var.TargetBuild)" Language="1033" Version="$(var.Version)" Manufacturer="$(var.Manufacturer)" UpgradeCode="$(var

Unresolved reference to symbol 'Property:NETFRAMEWORK45' in section 'Product:*'

梦想的初衷 提交于 2019-12-13 12:25:30
问题 I am getting an error when building an app in TFS 2010. Unresolved reference to symbol 'Property:NETFRAMEWORK45' in section 'Product:*'. This is for Wix 3.9 The Wix package has NetFxExtension referenced. I can build the wix on my local machine fine, but when I go to build it through TFS I get the error. Can anyone help me figure this out? I have the below code that is causing the error. <PropertyRef Id="NETFRAMEWORK45"/> <Condition Message="This application requires .NET Framework 4.5. Please