20 lines
940 B
Docker
20 lines
940 B
Docker
FROM mcr.microsoft.com/windows:1903
|
|
|
|
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]
|
|
|
|
COPY "houdini-*-win64-vc141.exe" "C:\\"
|
|
|
|
# Please update the following EULA_DATE to match the latest updated
|
|
# date of EULA in yyyy-mm-dd format. E.g. "2020-05-05"
|
|
# For Houdini 18.0 and previous versions, EULA_DATE should be left empty
|
|
ARG EULA_DATE=""
|
|
|
|
RUN Start-Process "C:\\houdini-*-win64-vc141.exe" '/S /AcceptEULA=${EULA_DATE} /DesktopIcon=No /FileAssociations=No /StartMenu=No' -Wait;
|
|
|
|
RUN Remove-Item -Force "C:\\houdini-*-win64-vc141.exe"
|
|
|
|
RUN $vtokens = (Get-ItemProperty -Path 'HKLM:\SOFTWARE\Side Effects Software').ActiveVersion.Split('.'); \
|
|
$helppath = (Get-ItemProperty -Path 'HKLM:\SOFTWARE\Side Effects Software\Houdini').psobject.properties[$vtokens[0] + '.' + $vtokens[1] + '.0.' + $vtokens[2]].Value + 'houdini\help'; \
|
|
Remove-Item -Force $helppath -Recurse;
|
|
|