wix

Any latest development is happening on releasing a stable build for Wix 3.14 or Wix 4.0

柔情痞子 提交于 2020-03-23 02:29:32
问题 There is an existing issue with Wix SQL extension not working with TLS1.2 enabled (https://github.com/wixtoolset/issues/issues/5543).We would like to consume this fix as most of our installation environment is shifting to TLS 1.2.The issue seems to be fixed and available in Wix 3.14 Dev builds but we would like to use RTM build for our need. So any idea on when is the next RTM release for Wix Toolset. 回答1: There may never be an "RTM" build of WiX v3.14. From http://www.joyofsetup.com/2018/05

Any latest development is happening on releasing a stable build for Wix 3.14 or Wix 4.0

淺唱寂寞╮ 提交于 2020-03-23 02:29:28
问题 There is an existing issue with Wix SQL extension not working with TLS1.2 enabled (https://github.com/wixtoolset/issues/issues/5543).We would like to consume this fix as most of our installation environment is shifting to TLS 1.2.The issue seems to be fixed and available in Wix 3.14 Dev builds but we would like to use RTM build for our need. So any idea on when is the next RTM release for Wix Toolset. 回答1: There may never be an "RTM" build of WiX v3.14. From http://www.joyofsetup.com/2018/05

Install a file regardless of version number with WiX

不羁岁月 提交于 2020-03-18 04:06:52
问题 MyApp version 1.0 contained the file foo.dll. The version of this file was version 10.5.567. Now MyApp is version 2.0 and the version of foo.dll is 2.0.123. The version is LOWER than the old version. The vendor who wrote this dll decided to go backwards with the file version number. This is not a decision I can change. How do I get WiX to always install this file? The RemoveExistingProducts action is scheduled after the InstallFinalize action and also cannot be changed. InstallShield had an

How to create custom actions in c# and bind it on a wix setup project

放肆的年华 提交于 2020-03-05 03:32:49
问题 How do I create custom actions and link it to my WiX setup project? I have: WiX 3.11 Visual Studio 回答1: You need to create a new C# Custom Action Project for WiX v3 in your solution. That should look like this: using System; using System.Collections.Generic; using System.Text; using Microsoft.Deployment.WindowsInstaller; namespace CustomAction { public class CustomActions { [CustomAction] public static ActionResult CustomAction(Session session) { session.Log("Begin CustomAction"); return

wix wants an assembly manifest - I have one

[亡魂溺海] 提交于 2020-03-03 14:00:32
问题 I have created a C# CustomActions project to use in wix to create an installer. All I have is the sample project and a sample wix project that references it. And I created an app.manifest in the C# project. Example simple program What I get is: 1>------ Build started: Project: SetupProject1, Configuration: Debug x86 ------ 1> C:\Program Files (x86)\WiX Toolset v3.11\bin\candle.exe -dDebug -d"DevEnvDir=C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\Common7\IDE\\"

In wix, using vbscript, how do I write to the log file?

只谈情不闲聊 提交于 2020-03-03 07:33:28
问题 I am trying the following inside a customaction: Session.Log("GetOfficeBitness =" & Session.Property("OfficeBitness")) And I am getting the error: Error 1720. There is a problem with this Windows Installer package. A script required for this install to complete could not be run. Contact your support personnel or package vendor. Custom action GetOfficeBitness script error -2146827850, Microsoft VBScript runtime error: Object doesn't support this property or method: 'Session.Log' Line 39,

WiX Heat.exe Win64 Components - Win64=“yes”

扶醉桌前 提交于 2020-02-26 07:12:01
问题 I'm building an installer at the moment that targets just 64bit machines. Part of the process involves running Heat.exe to produce a Fragment elements containing part of the deployed application. The problem is the components that are produced by heat produce ICE:80 errors which is WiX complaining that the components target 32bit systems and my installer is trying to load these into: <Directory Id="ProgramFiles64Folder"> Looking at the documentation there is a -platform switch that can be

How do I add C# methods to an existing large wix script

ⅰ亾dé卋堺 提交于 2020-02-25 07:10:08
问题 We have an existing wix script that is pretty complex & long. All the CustomActions are performed with inline vbscript. I want to switch some of those actions from vbscript to C#. All the examples everywhere start with "create a wix project in VisualStudio...". Is there any example out there about how to add in C# code to an existing wix project? One where it is built using the old school wix command line apps? 回答1: A shameless promotion of C++ custom actions first! :-). Step-By-Step : I'll

How do I add C# methods to an existing large wix script

假如想象 提交于 2020-02-25 07:10:05
问题 We have an existing wix script that is pretty complex & long. All the CustomActions are performed with inline vbscript. I want to switch some of those actions from vbscript to C#. All the examples everywhere start with "create a wix project in VisualStudio...". Is there any example out there about how to add in C# code to an existing wix project? One where it is built using the old school wix command line apps? 回答1: A shameless promotion of C++ custom actions first! :-). Step-By-Step : I'll

Custom actions without additional prerequisites

强颜欢笑 提交于 2020-02-25 04:59:07
问题 In the past I've written all my custom actions in VBScript, because my understanding is that this (and JScript) is the only type of custom action which does not require additional prerequisites on the target system. However, writing VBScript is a pain, and now I also encountered a problem which apparently cannot be solved in VBScript (see Currupted file in non-english locale (encoding problem?)). So I'm considering using a C# custom action instead. But I don't want to introduce additional