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

Rob Mensching rob at firegiant.com
Thu Jun 4 13:56:17 PDT 2020


http://robmensching.com/blog/posts/2012/6/25/b-is-for-bundle-and-thats-good-enough-for-me/

---
Short replies here. Complete answers here: https://www.firegiant.com/services/

From: Sverre Moe <sverre.moe at gmail.com>
Sent: Wednesday, June 3, 2020 5:38 AM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Cc: Rob Mensching <rob at firegiant.com>
Subject: Re: [wix-users] Install WiX Toolset in a Windows Docker Image

I am not quite following what you are suggesting.
What is Burn?

/Sverre

tir. 2. jun. 2020 kl. 18:05 skrev Rob Mensching via wix-users <wix-users at lists.wixtoolset.org<mailto:wix-users at lists.wixtoolset.org>>:
Sorry, here's the standard command-line that Burn should respect:

https://docs.microsoft.com/en-us/windows/win32/msi/standard-installer-command-line-options

-----Original Message-----
From: wix-users <wix-users-bounces at lists.wixtoolset.org<mailto:wix-users-bounces at lists.wixtoolset.org>> On Behalf Of Rob Mensching via wix-users
Sent: Tuesday, June 2, 2020 9:04 AM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org<mailto:wix-users at lists.wixtoolset.org>>
Cc: Rob Mensching <rob at firegiant.com<mailto:rob at firegiant.com>>
Subject: Re: [wix-users] Install WiX Toolset in a Windows Docker Image

-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<mailto: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<mailto:wix-users at lists.wixtoolset.org>
Cc: Sverre Moe <sverre.moe at gmail.com<mailto: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/

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

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


More information about the wix-users mailing list