- Powershell silent install jing how to#
- Powershell silent install jing archive#
- Powershell silent install jing Patch#
Powershell silent install jing Patch#
Patch Admin Image: msiexec.exe /a c:\Silverlight\silverlight.msi /p Silverlight.msp First create an admin image from the MSI file, and then patch it with the MSP file:Īdmin Image: msiexec.exe /a silverlight.msi TARGETDIR=C:\Silverlight
Powershell silent install jing archive#
silverlight.7z - archive containing an MSP - Windows Installer patch packageĪdmin Image: Ignoring the supporting dlls and exe files, you can create a real Windows Installer admin image as follows.microsoft_defaults.exe - must be some settings writer.Extracted Files: install.exe,, microsoft_defaults.exe, silverlight.7z, silverlight.msi.
Powershell silent install jing how to#
Below is a description of how to createĪ regular MSI administration image to deploy from for corporateĭeployment. Generally very poor deploymentĭesign, but it is what it is. RUN Start-Process -Wait -FilePath msiexec -ArgumentList /i, "C:\Temp\openjdk11.Short Summary: The options seen in the dialog you posted appear to be written by a setup launcher binary and not by the main MSI Step 6/15 : RUN Start-Process -Wait -FilePath msiexec -ArgumentList /i, "C:\Temp\openjdk11.msi", 'ADDLOCAL="FeatureMain,FeatureEnvironment,FeatureJarFileRunWith,FeatureJavaHome"', 'INSTALLDIR="C:\Program Files\Java\jdk-11\"', /quiet, /norestart -Verb RunAsįROM /windows:1903 AS jdk11 When running the command in Docker build, it still hangs forever. Start-Process -Wait -FilePath msiexec -ArgumentList /i, "C:\Temp\openjdk11.msi", 'ADDLOCAL="FeatureMain,FeatureEnvironment,FeatureJarFileRunWith,FeatureJavaHome"', 'INSTALLDIR="C:\Program Files\Java\jdk-11\"', /quiet, /norestart -Verb RunAs I am able to run the PowerShell command manuallyĭocker run -it -v C:\Temp:C:\Temp:rw -w C:\Temp /windows:1903 powershell It works when running it manually in PowerShell, but hangs still with docker build. The install process just hangs there forever. Trying with silent install: Start-Process -Wait -FilePath msiexec -ArgumentList /i, "C:\Temp\openjdk11.msi", "ADDLOCAL=FeatureMain,FeatureEnvironment,FeatureJarFileRunWith,FeatureJavaHome", "INSTALLDIR='C:\Program Files\Java'", /quiet Need silent install because I am doing it when building my Windows JDK11 docker image.įirst download the AdoptOpenJDK OpenJDK 11 Invoke-WebRequest -OutFile C:\Temp\openjdk11.msi The OpenJDK MSI downloaded from AdoptOpenJDK. I am trying to silent install an MSI in PowerShell.