We are running builds in a docker container and have started seeing intermittent issues with creating the advanced installer package which occasionally (every third or fourth build) fails on the final steps:
Code: Select all
Building package: C:\build\Installer\SetupFiles\APPLICATION.exe
Prepare build
Detecting MSI incompatible resources
Preparing files
Localization of resources for Updater Product "APPDIR\APPLICATION\updater.exe" failed.
Code: Select all
FROM mcr.microsoft.com/windows/servercore:ltsc2022
# Update shell to powershell
SHELL ["powershell", "-command"]
# Install Chocolatey on the docker container
RUN Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
ENV chocolateyUseWindowsCompression 'true'
# Build dependecies
COPY packages.config packages.config
RUN choco install packages.config -y
ENV DOTNET_ROOT 'C:\Program Files\dotnet'
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<packages>
<package id="advanced-installer" version="20.9.1"/>
<package id="dotnet-sdk" version="6.0.413"/>
<package id="dotnetcore" version="2.1.0"/>
<package id="dotnet-desktopruntime" version="6.0.21"/>
<package id="git" version="2.41.0"/>
<package id="openjdk" version="19.0.2"/>
</packages>
Is this an know issue? and is there any way for us to pinpoint this further?