Skip to content

FinceptTerminal is a modern finance application offering advanced market analytics, investment research, and economic data tools, designed for interactive exploration and data-driven decision-making in a user-friendly environment.

v4.2.0 update

tilakpatel221fd5a9621af6
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 479051099..6829846fe 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -494,15 +494,14 @@ jobs:
$dest = Join-Path $env:RUNNER_TEMP 'fincept-payload-check'
if (Test-Path $dest) { Remove-Item -Recurse -Force $dest }
Write-Host "Silent-installing $($setup.Name) -> $dest"
- # IFW unattended install. Match the Qt IFW-documented invocation form:
- # global options (incl. --root) BEFORE the `install` verb —
+ # IFW unattended install, matching the Qt IFW-documented form:
# installer --root <dir> --accept-licenses --default-answer \
# --confirm-command install
- # Suspected cause of the earlier bare "exit 1": with --root placed
- # AFTER `install`, IFW can ignore it and fall back to config.xml's
- # @ApplicationsDirX64@ (C:\Program Files), which needs elevation the
- # non-interactive runner can't grant. controlscript.qs auto-advances
- # the wizard pages for CLI instances.
+ # Do NOT pass --accept-messages together with --default-answer: IFW
+ # rejects them as "mutually exclusive" and exits 1 before installing
+ # anything. --default-answer alone answers any message query with its
+ # default, which is all a clean install to an empty dir needs.
+ # controlscript.qs auto-advances the wizard pages for CLI instances.
#
# IFW's setup.exe is a *windowed* app, so its CLI output never reaches
# the Actions log on its own — redirect stdout/stderr to files (and add
@@ -514,7 +513,7 @@ jobs:
-ArgumentList @(
'--verbose',
'--root', $dest,
- '--accept-licenses', '--accept-messages',
+ '--accept-licenses',
'--default-answer', '--confirm-command',
'install' )
Write-Host "----- installer stdout -----"
diff --git a/fincept-qt/CMakeLists.txt b/fincept-qt/CMakeLists.txt
index 1bfb340cd..846aa032e 100644
--- a/fincept-qt/CMakeLists.txt
+++ b/fincept-qt/CMakeLists.txt
@@ -3887,9 +3887,10 @@ if(FINCEPT_BUILD_INSTALLER)
# <RemoveTargetDir>true</RemoveTargetDir> regardless of CPackIFW version.
set(CPACK_IFW_PACKAGE_REMOVE_TARGET_DIR ON)
# Controller script for headless invocations (e.g. `purge --confirm-command
- # --accept-messages --default-answer`). Without it, IFW blocks on wizard
- # pages even with --confirm-command set, because page auto-advance is only
- # wired for the install path.
+ # --default-answer`). Without it, IFW blocks on wizard pages even with
+ # --confirm-command set, because page auto-advance is only wired for the
+ # install path. NB: --accept-messages and --default-answer are mutually
+ # exclusive in IFW — pass only one, or the tool exits 1 before running.
set(CPACK_IFW_PACKAGE_CONTROL_SCRIPT
"${CMAKE_CURRENT_SOURCE_DIR}/packaging/installer/config/controlscript.qs")
diff --git a/fincept-qt/packaging/installer/config/controlscript.qs b/fincept-qt/packaging/installer/config/controlscript.qs
index ccdcd0e23..dfc66cddf 100644
--- a/fincept-qt/packaging/installer/config/controlscript.qs
+++ b/fincept-qt/packaging/installer/config/controlscript.qs
@@ -1,7 +1,7 @@
// controlscript.qs — Fincept Terminal QtIFW Controller script.
//
// Wizard-page automation for HEADLESS / COMMAND-LINE invocations only, e.g.
-// FinceptMaintenanceTool.exe purge --confirm-command --accept-messages --default-answer
+// FinceptMaintenanceTool.exe purge --confirm-command --default-answer
// FinceptTerminal-<v>-setup.exe install --confirm-command --default-answer
// Without this, IFW would block on each wizard page even when --confirm-command
// is set, because some pages (Introduction, ReadyForInstallation, Finished)