-
Bug
-
Resolution: Fixed
-
P4
-
17, 18, 19, 20
-
b04
-
generic
-
windows
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8316786 | 17.0.10-oracle | Ramesh Gangadhar | P4 | Resolved | Fixed | b01 |
JDK-8317021 | 17.0.10 | Goetz Lindenmaier | P4 | Resolved | Fixed | b01 |
jpackage test suite supports installation/uninstallation of both EXE and MSI packages. During installation EXE is invoked directly and MSI is invoked with msiexec utility, the same input path (only extension differs) is used. Currently this input path starts with a "." (current dir) symbol, it is processed correctly with EXE installation, but not with MSI, example:
[03:52:19.634] TRACE: assertTrue(): Check [.\\test.bcc14973\\output\\FileAssociationsTest-1.0.msi] path exists
[03:52:19.634] TRACE: assertTrue(): Check [.\\test.bcc14973\\output\\FileAssociationsTest-1.0.msi] is a file
[03:52:19.634] TRACE: exec: Execute [msiexec /qn /norestart /i .\\test.bcc14973\\output\\FileAssociationsTest-1.0.msi](5); discard I/O...
[03:52:19.790] TRACE: exec: Done. Exit code: 1619
[03:52:19.805] ERROR: Expected [0]. Actual [1619]: Check command [msiexec /qn /norestart /i .\\test.bcc14973\\output\\FileAssociationsTest-1.0.msi](5) exited with 0 code
It is proposed to normalize this path before passing it to msiexec utility.
[03:52:19.634] TRACE: assertTrue(): Check [.\\test.bcc14973\\output\\FileAssociationsTest-1.0.msi] path exists
[03:52:19.634] TRACE: assertTrue(): Check [.\\test.bcc14973\\output\\FileAssociationsTest-1.0.msi] is a file
[03:52:19.634] TRACE: exec: Execute [msiexec /qn /norestart /i .\\test.bcc14973\\output\\FileAssociationsTest-1.0.msi](5); discard I/O...
[03:52:19.790] TRACE: exec: Done. Exit code: 1619
[03:52:19.805] ERROR: Expected [0]. Actual [1619]: Check command [msiexec /qn /norestart /i .\\test.bcc14973\\output\\FileAssociationsTest-1.0.msi](5) exited with 0 code
It is proposed to normalize this path before passing it to msiexec utility.
- backported by
-
JDK-8316786 jpackage: test MSI installation fix
-
- Resolved
-
-
JDK-8317021 jpackage: test MSI installation fix
-
- Resolved
-
- links to
-
Commit openjdk/jdk17u-dev/c345ffa1
-
Commit openjdk/jdk/c67149be
-
Review openjdk/jdk17u-dev/1793
-
Review openjdk/jdk/9236
(1 links to)