floch
Posts: 9
Joined: Wed Aug 23, 2023 12:19 pm

Localization of resources for Updater fails on some builds

Description:
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. 
The build environment is a fairly basic docker container

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'
Installing the following packages in the environment:

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>
So far disabling the updater completely solves the issue however that's not an option for our use-case.
Is this an know issue? and is there any way for us to pinpoint this further?
Catalin
Posts: 7513
Joined: Wed Jun 13, 2018 7:49 am

Re: Localization of resources for Updater fails on some builds

Hello and welcome to our forums,

This is indeed quite a strange behavior.

If possible, could you please forward me a copy of your AIP file by email at support at advancedinstaller dot com so I can further investigate its settings?

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”