ThinForms Java Host 6.14.2 for Windows (64-bit)
TalkingByte Pty Ltd - https://www.talkingbyte.com - support@talkingbyte.com
====================================================================================

This package installs the ThinForms Java Host (host version 6.14): the program on the PC that
runs Oracle Forms / E-Business Suite applets for the ThinForms browser extension in Chrome and Edge.
It comes with its own Java 8 runtime (Azul Zulu); no other Java is needed or touched.

FILES
  ThinForms_JavaHost_6.14.2_x64.msi
      The installer (Windows Installer package). Double-click for the setup wizard, or use msiexec.
  ThinForms_JavaHost_installer_6.14.2_WINDOWS.exe
      Accepts the command line of the earlier ThinForms installers ("-silent -licensename ...") and
      runs the MSI for you. Keep it in the same folder as the MSI. Existing deployment scripts can
      go on using their parameters.
  README.txt
      This file.

REQUIREMENTS
  Windows 10 / 11 or Windows Server, 64-bit. Administrator rights. Chrome or Edge 105 or later with the
  ThinForms extension (Chrome Web Store / Microsoft Edge Add-ons, or installed by policy - see below).

INTERACTIVE INSTALLATION
  Double-click the MSI. The wizard asks for the folder, the licence (or the 30-day trial), the settings,
  and whether the browsers should install the extension for all users. On a PC that already has
  ThinForms, the wizard shows the current licence and settings and keeps them unless you change them.
  The last page offers to run the connection test.

SILENT INSTALLATION WITH MSIEXEC   (run elevated; /qn shows nothing, /qb shows a progress bar)
  New PC, licensed:
      msiexec /i "ThinForms_JavaHost_6.14.2_x64.msi" /qn LICENSENAME="Your Company" LICENSEKEY=xxxx-xxxx-xxxx-xxxx-v6
  New PC, trial:
      msiexec /i "ThinForms_JavaHost_6.14.2_x64.msi" /qn TRIAL=1
  Upgrade of a PC that has ThinForms (licence and settings are kept):
      msiexec /i "ThinForms_JavaHost_6.14.2_x64.msi" /qn
  Change the licence or a setting later (same package, same command with the new values):
      msiexec /i "ThinForms_JavaHost_6.14.2_x64.msi" /qn LICENSENAME="Your Company" LICENSEKEY=...
      msiexec /i "ThinForms_JavaHost_6.14.2_x64.msi" /qn OPT_USE_V1_COOKIES=1
  Uninstall:
      msiexec /x "ThinForms_JavaHost_6.14.2_x64.msi" /qn

  Properties
    INSTALLFOLDER="D:\Apps\ThinForms"      install folder (default C:\Program Files\ThinApplet\JavaHostPlugin)
    LICENSENAME="..."  LICENSEKEY=...      the licence, exactly as issued (the key never appears in a log)
    TRIAL=1                                trial version
    OPT_<NAME>=1 | 0                       a host setting; not given = stays as it is. Names:
                                             OPT_SSLV2_COMPAT OPT_USE_ALT_CACHE
                                             OPT_DISABLE_CUSTOM_JAVA_BEAN OPT_CLOSE_EBS_LOADER
                                             OPT_LIMIT_WINDOWS OPT_AUTO_CLOSE_BROWSER_TABS
                                             OPT_AUTO_CLOSE_BROWSER_TABS_START
                                             OPT_LOAD_ADDITIONAL_R12_LIBS OPT_FORCE_CLOSE_ON_X
                                             OPT_DISABLE_LOG OPT_SHOW_BROWSER_DISCONNECT_WARNING
                                             OPT_CLOSE_ON_DISCONNECT OPT_USE_V1_COOKIES
                                             OPT_USE_V1_COOKIES_ENHANCED
                                             OPT_USE_APPSERVER_HEARTBEAT OPT_FORCE_PRE_DOWNLOAD
    CHROME_EXTENSION=store | none          store: Chrome installs the ThinForms extension for every user
    EDGE_EXTENSION=store | none            (policy ExtensionInstallForcelist); none: take our entry away;
                                           not given: leave the policy as it is. Entries of other
                                           extensions are never changed.
    NM_ALLOWLIST=1 | 0                     add / remove the host in the browsers' NativeMessagingAllowlist
                                           (only needed where a policy blocks native-messaging hosts)
    CUSTOMLOGO="C:\path\logo.png"          your logo instead of the ThinForms logo (local file)
    RUNNING_SESSIONS=fail                  stop if a ThinForms session is running. Default: sessions are
                                           closed before files are replaced.
    KEEPCONFIG=1   (with /x)               uninstall, but keep licence and settings on the PC
    KEEPPOLICIES=1 (with /x)               uninstall, but leave our browser policy entries

  A silent installation needs a licence, TRIAL=1, or an existing ThinForms configuration to keep;
  otherwise it stops with message TF1002 and changes nothing.

SILENT INSTALLATION WITH THE EARLIER COMMAND LINE
      "ThinForms_JavaHost_installer_6.14.2_WINDOWS.exe" -silent -licensename "Your Company" -licensekey xxxx-xxxx-xxxx-xxxx-v6
      "ThinForms_JavaHost_installer_6.14.2_WINDOWS.exe" -silent -trial
      "ThinForms_JavaHost_installer_6.14.2_WINDOWS.exe" -uninstall -silent
      "ThinForms_JavaHost_installer_6.14.2_WINDOWS.exe" -help            all parameters and exit codes
  With -silent it force-installs the browser extensions by policy, as the earlier installers did; add
  -skip_chromeextension / -skip_edgeextension to leave a browser out. Without -silent (or started by a
  double click) it opens the setup wizard. -uninstall asks no questions.
  Write a folder in quotes without a backslash at the end: -installationdirectory "D:\Apps\ThinForms"
  (Windows reads \" as part of the folder name; the program refuses such a command line).
  Exit codes: 0 done - 3010 done, restart needed - 1 wrong parameters or licence - 2 -silent without
  administrator rights - 3 MSI not found next to the exe - 4 -uninstall found an installation made by an
  earlier (non-MSI) installer - 5 Windows Installer could not be started - 8 installed, but the check
  afterwards found a problem - other values are Windows Installer's own (1602 cancelled, 1603 failed,
  1618 another installation running).

WHEN AN INSTALLATION FAILS
  Nothing is left half-done: Windows Installer puts the PC back as it was, including an earlier ThinForms
  version and its configuration. Why it failed:
      C:\ProgramData\ThinForms\Logs\configure.log      licence and configuration (plain sentences)
      %TEMP%\MSI*.LOG  or the file given with /l*v     Windows Installer's own log; look for "TF1"
  Messages:  TF1001 licence name and key must be given together - TF1002 no licence, no trial and nothing
  to keep - TF1003 trial and licence together - TF1004 unknown value for CHROME_EXTENSION / EDGE_EXTENSION.

CHECKING AN INSTALLATION
  Start menu > ThinForms > "ThinForms connection test", or in a command prompt:
      "C:\Program Files\ThinApplet\JavaHostPlugin\tfsetup.exe" check
  It checks the files, Java, the licence, the registration for Chrome and Edge, browser policies, and
  starts the host for a test the way the browser does. Every problem comes with a "fix:" line.
  "tfsetup check --report C:\Temp\thinforms-check.txt" writes the report to a file for ThinForms support.
  Licence only:      tfsetup license
  Replace licence:   tfsetup license --name "Your Company" --key xxxx-xxxx-xxxx-xxxx-v6     (elevated)

WHAT IS INSTALLED WHERE
  C:\Program Files\ThinApplet\JavaHostPlugin\     programs, Java runtime, tfsetup.exe
  C:\ProgramData\.ThinForms\ta_thinforms.config   licence and settings (removed on uninstall unless KEEPCONFIG=1)
  C:\ProgramData\ThinFormsPID\                    one small marker file per running session
  C:\ProgramData\ThinForms\Logs\                  setup logs (kept on uninstall)
  Registry (HKLM): the native-messaging host registration for Chrome and Edge, the product's own key
  SOFTWARE\TalkingByte\ThinForms, and - only if asked for - the policy entries named above.
