[wix-users] Install WiX Toolset in a Windows Docker Image

Rob Mensching rob at firegiant.com
Tue Jun 2 09:04:13 PDT 2020


-s

Last I checked Win10 SDK was also a Burn based bundle so "-s" should work there too.

-----Original Message-----
From: wix-users <wix-users-bounces at lists.wixtoolset.org> On Behalf Of Sverre Moe via wix-users
Sent: Tuesday, June 2, 2020 8:56 AM
To: wix-users at lists.wixtoolset.org
Cc: Sverre Moe <sverre.moe at gmail.com>
Subject: [wix-users] Install WiX Toolset in a Windows Docker Image

How can I install the WiX Toolset in a Windows Docker image?

Docker Desktop is installed and working. It is fully capable to build docker images I can run.

Though installing WiX requires using the GUI installer. Thus I have not yet found out how to install it on the docker image.

There is possibility to silent install with PowerShell, but only if the EXE/MSI support command line arguments.

I have seen some installing WiX Toolset through Chocolatey.

Installing the .NET Framework Runtime 3.5 which is required for WiX Toolset is easily done silently with PowerShell.
RUN powershell Set-Service -Name wuauserv -StartupType "Manual"; `
  Enable-WindowsOptionalFeature -Online -FeatureName "NetFx3" -All;

However installing the SignTool from the Windows 10 SDK has not been possible. this installer does not seem to have any command line arguments.
Without it I cannot sign the installers created by WiX.

I am using windows:1903 as the base docker image, since I am running Windows 10 Pro. I could have gotten SignTool by using
dotnet/framework/sdk:4.8 as base image, but it is based on Windows Server.
I read that you had to run the same Windows base as the host Windows. I do not need the SDK for anything else (Unless WiX needs it?).

/Sverre

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/



More information about the wix-users mailing list