Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8288961

jpackage: test MSI installation fix

    XMLWordPrintable

Details

    • b04
    • generic
    • windows

    Backports

      Description

        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.

        Attachments

          Issue Links

            Activity

              People

                akasko Alex Kasko
                akasko Alex Kasko
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: