Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions wix/README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Requirements for build environment

1. [Windows Installer XML (WiX) toolset, 6.0.0 or later](https://wixtoolset.org/docs/intro/#nettool)
1. Install ["Windows SDK for Desktop C++ amd64 Apps" feature from Windows SDK 10](https://developer.microsoft.com/en-us/windows/downloads/windows-10-sdk) for building multi-lingual setups.
1. Digital signature service if the MSI should be signed (optional). If you plan to sign the MSI, you need to install the Windows SDK 10 feature "Windows SDK Signing Tools for Desktops Apps".
1. For reviewing the MSI setup or creating custom MST transforms you can install feature "MSI Tools" from Windows SDK 10 (optional).
1. Install ["Windows SDK for Desktop C++ amd64 Apps" feature from Windows SDK](https://learn.microsoft.com/windows/apps/windows-sdk/) for building multi-lingual setups.
1. Digital signature service if the MSI should be signed (optional). If you plan to sign the MSI, you need to install the Windows SDK feature "Windows SDK Signing Tools for Desktops Apps".
1. For reviewing the MSI setup or creating custom MST transforms you can install feature "MSI Tools" from Windows SDK (optional).

## How to upgrade to a new OpenJDK version

Expand Down Expand Up @@ -140,7 +140,7 @@ Note:
- FeatureOracleJavaSoft can't and must not be used per user install as it only write to HKLM. ([see details](https://docs.oracle.com/javase/9/install/installation-jdk-and-jre-microsoft-windows-platforms.htm#JSJIG-GUID-47C269A3-5220-412F-9E31-4B8C37A82BFB)
- Machine PATH is always loaded before User PATH (FeatureEnvironment) ( If another java is installed per machine it will be the default one when using the PATH )

[See Details](https://docs.microsoft.com/fr-fr/windows/desktop/Msi/allusers)
[See Details](https://learn.microsoft.com/windows/win32/msi/allusers)

Windows 7 and later : use MSIINSTALLPERUSER=1

Expand All @@ -150,7 +150,7 @@ msiexec /i OpenJDK8-jdk_xxx.msii INSTALLDIR=D:\testAdopt ADDLOCAL=FeatureMain,Fe

#### Reinstall option

[CF](https://docs.microsoft.com/en-us/windows/desktop/msi/reinstallmode)
[CF](https://learn.microsoft.com/windows/win32/msi/reinstallmode)

usage sample:

Expand All @@ -161,7 +161,7 @@ msiexec /i OpenJDK11-jdk_x64_windows_hotspot-11.0.3.9.msi REINSTALL=ALL REINSTAL

## MSI upgrade limitation

Upgradable MSI work only for first 3 digit from the build number (due to MSI limitation) : [Details](https://docs.microsoft.com/fr-fr/windows/desktop/Msi/productversion)
Upgradable MSI work only for first 3 digit from the build number (due to MSI limitation) : [Details](https://learn.microsoft.com/windows/win32/msi/productversion)

- Upgradable : 8.0.2.1 -> 8.0.3.1 Yes
- Upgradable : 8.0.2.1 -> 8.0.2.2 No ( You must uninstall previous msi and install new one )
Expand Down
Loading