wix3.8

Wix Installer won't build on buildserver

僤鯓⒐⒋嵵緔 提交于 2021-02-11 14:25:10
问题 I have tried to build a Wix MSI using our build server. I have set the build configuration in the Configuration manager to DEBUG/x86. All the other projects build correctly EXCEPT for the Wix Installer. Initially there was an error requesting the latest version of WIX was installed on the build server "The WiX Toolset v3.11 (or newer) build tools must be installed to build this project. To download the WiX Toolset, see http://wixtoolset.org/releases/" so I follwed this - https://subscription

WiX Remove files on uninstall but not update

你说的曾经没有我的故事 提交于 2021-02-10 09:24:55
问题 I have an app that can log when given the correct flags at install time ( /logLevel=debug on install gets passed to the app when the service starts). Our update process is a automated uninstall then install with a new MSI package. I know there is built in patch functionality with WiX, but this is our process. Similarly with the logLevel parameter, I'd like to pass something to the effect of UPDATE="true" on the command line during uninstall. When this parameter is passed to the uninstaller it

Add custom radio buttons to set ALLUSERS property

二次信任 提交于 2021-02-08 05:12:52
问题 I would like to be able to set the ALLUSERS property to either blank for current user or 1 for all users using two radio buttons placed in the 'Destination Folder' dialog. I understand that this is the code to run for current user: <Property Id="AllUSERS" Value="{}"/> and for all users: <Property Id="AllUSERS" Value="1"/> I've got this code to create the custom radio buttons: <Control Id="RadioButtonGroupID" Type="RadioButtonGroup" X="30" Y="94" Width="305" Height="100" Property="

Add custom radio buttons to set ALLUSERS property

寵の児 提交于 2021-02-08 05:12:00
问题 I would like to be able to set the ALLUSERS property to either blank for current user or 1 for all users using two radio buttons placed in the 'Destination Folder' dialog. I understand that this is the code to run for current user: <Property Id="AllUSERS" Value="{}"/> and for all users: <Property Id="AllUSERS" Value="1"/> I've got this code to create the custom radio buttons: <Control Id="RadioButtonGroupID" Type="RadioButtonGroup" X="30" Y="94" Width="305" Height="100" Property="

WiX bootstrapper - disable a control using HexStyle

删除回忆录丶 提交于 2020-01-17 03:50:06
问题 I have a WiX bootstrapper theme xml file, and I want to permanently disable a control. I have tried to set HexStyle to the value of WS_DISABLED (link). However the control is still enabled. Anyone knows if I can use HexStyle or know of another way of having a control permanently disabled. I use the WixStandardBootstrapperApplication.RtfLicense BootstrapperApplication. 回答1: The possible solution is to find Id of this control and then create Variable with postfix "State". I hope it should work:

When migrating Wix 3.0 to Wix 4.0 getting error : WXCP0006 : The whitespace preceding this node is incorrect (WhitespacePrecedingNodeWrong)

爷,独闯天下 提交于 2020-01-06 01:35:48
问题 When I am migrating Wix 3.0 to Wix 4.0 using WixCOP I am getting the error WXCP0006 : The whitespace preceding this node is incorrect (WhitespacePrecedingNodeWrong) I am running the below command WixCop.exe -f E:\Test\Wix\src\UI*.wxs. When i run the same command to migrate from Wix 2.0 to Wix 3.0 i didn't get any errors. UPDATE : Thank you for the detailed information. 1) I run the below command multiple times and getting the same errors. WixCop.exe -f E:\Test\Wix\src\UI*.wxs. 2) I am seeing

CustomAction in Wix not executing

我们两清 提交于 2020-01-01 10:17:06
问题 So I'm creating my first Wix project and I seem to be having a problem executing a custom action. I'm not sure that it's being included in the msi and I'm not quite sure what I'm doing wrong. The following is my Wix file: <?xml version="1.0" encoding="UTF-8"?> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> <Product Id="*" Name="ExactaDynamicManifest" Language="1033" Version="1.0.0.0" Manufacturer="Bastian Software Solutions" UpgradeCode="274ff2d9-e291-4706-a8db-ce80ccd91538"> <Package

How to create a Wix Exepackage that only has a download link

生来就可爱ヽ(ⅴ<●) 提交于 2020-01-01 03:15:22
问题 I am trying to create an ExePackage [using the DownloadUrl property] in my bundle that downloads Sql Express 2014 and installs it using the following code <ExePackage Id="Sql2014Express" DisplayName="SQL Server 2014 Express" Cache="no" Compressed="no" PerMachine="yes" Permanent="no" Vital="yes" Name="SQLEXPRWT_x64_ENU.exe" DownloadUrl="http://download.microsoft.com/download/E/A/E/EAE6F7FC-767A-4038-A954-49B8B05D04EB/ExpressAndTools%2064BIT/SQLEXPRWT_x64_ENU.exe" InstallCommand="/ACTION

How can I maintain file reference integrity from a WIX Setup Library

ぃ、小莉子 提交于 2019-12-25 06:59:10
问题 I am using the Wix Toolset 3.8 Visual Studio add-in. I have created a WIX Setup Library which encapsulates some common components that will be consumed by various service deployment projects. This library includes references to several solution files which need to be packaged into each deployment. These dependencies are used in my wix library fragments in a few different ways. For example: <Binary Id="InstallationScript" SourceFile=".\Dependency1.vbs" /> <CustomAction Id="DependencyAction"

What does ActionText Table correspond to in WiX 3.8

て烟熏妆下的殇ゞ 提交于 2019-12-25 02:31:25
问题 I am asking the correspondence in WiX for ActionText table, refered in MSDN page Link. Or rather, how can we provide hint text while system events are happening, like the installer is moving files or writing to registry? 回答1: All of the elements in WiX are documented in the help file with a list of Windows Installer references. This enables you to search the help backwards to find out which element expresses said table. In this case it's the ProgressText element. This link might be useful to