mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 18:51:11 +00:00
ci/windows: Add WiX v5
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7881>
This commit is contained in:
parent
ff14e1a9e3
commit
e0f0b5c829
2 changed files with 11 additions and 1 deletions
|
@ -13,4 +13,4 @@ variables:
|
|||
|
||||
LINT_TAG: '2024-02-20.0'
|
||||
|
||||
WINDOWS_TAG: '2024-11-05.0'
|
||||
WINDOWS_TAG: '2024-11-12.0'
|
||||
|
|
|
@ -42,8 +42,18 @@ RUN choco install -y 7zip
|
|||
# See https://gitlab.freedesktop.org/gstreamer/cerbero/-/issues/427
|
||||
RUN choco install -y python3 --version=3.11.2 --installargs 'AssociateFiles=1 PrependPath=1 Include_pip=1 Include_dev=1'
|
||||
RUN choco install -y msys2 --params '/NoPath /NoUpdate /InstallDir:C:\\msys64'
|
||||
|
||||
# Install WiX v3
|
||||
RUN choco install --execution-timeout=3600 -y wixtoolset
|
||||
|
||||
# Install Wix v5 (complete install, no NuGet) from MSI
|
||||
RUN Invoke-WebRequest -Uri https://download.visualstudio.microsoft.com/download/pr/78caa28b-2982-43ed-8b9c-20e3369f0795/c771e9fd12a67068436115cf295740f7/dotnet-runtime-6.0.16-win-x86.exe -OutFile C:\TEMP\dotnet-runtime-6.0.16-win-x86.exe
|
||||
RUN C:\TEMP\dotnet-runtime-6.0.16-win-x86.exe /quiet
|
||||
RUN Invoke-WebRequest -Uri https://download.visualstudio.microsoft.com/download/pr/456fdf02-f100-4664-916d-fd46c192efea/619bbd8426537632b7598b4c7c467cf1/dotnet-runtime-6.0.16-win-x64.exe -OutFile C:\TEMP\dotnet-runtime-6.0.16-win-x64.exe
|
||||
RUN C:\TEMP\dotnet-runtime-6.0.16-win-x64.exe /quiet
|
||||
RUN Invoke-WebRequest -Uri https://github.com/wixtoolset/wix/releases/download/v5.0.1/wix-cli-x64.msi -OutFile C:\TEMP\wix-cli-x64.msi
|
||||
RUN msiexec /i C:\TEMP\wix-cli-x64.msi
|
||||
|
||||
# Remove MAX_PATH limit of 260 characters
|
||||
RUN New-ItemProperty -Path 'HKLM:\\SYSTEM\\CurrentControlSet\\Control\\FileSystem' `
|
||||
-Name "LongPathsEnabled" -Value 1 -PropertyType DWORD -Force
|
||||
|
|
Loading…
Reference in a new issue