[wix-users] Install WiX Toolset in a Windows Docker Image
Sverre Moe
sverre.moe at gmail.com
Tue Jun 2 08:55:54 PDT 2020
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
More information about the wix-users
mailing list