Skip to content

fix(install): quote install.bat paths and detect architecture - #26

Merged
sshanks-kx merged 1 commit into
KxSystems:masterfrom
belowzeroff:fix/f008-install-bat
Jul 29, 2026
Merged

fix(install): quote install.bat paths and detect architecture#26
sshanks-kx merged 1 commit into
KxSystems:masterfrom
belowzeroff:fix/f008-install-bat

Conversation

@belowzeroff

Copy link
Copy Markdown
Contributor

Harden install.bat by quoting QHOME-derived paths, returning non-zero status for fatal preflight failures, and using PROCESSOR_ARCHITECTURE to select the q machine type.

…rch detection

Multiple issues fixed:
- Typo "Enviroment" -> "Environment"
- EXIT /B without error code returned 0 (success) on failure
- Unquoted paths broke with spaces in QHOME
- Hardcoded w64 assumed 64-bit; 32-bit installations unsupported
- Missing EXIT /B 0 at end of successful run

Fix: quote all paths, detect w64/w32 architecture, return proper
error codes, fix typo.
@sshanks-kx sshanks-kx self-assigned this Jul 29, 2026
@sshanks-kx
sshanks-kx self-requested a review July 29, 2026 14:17
@sshanks-kx
sshanks-kx merged commit 85e0c5d into KxSystems:master Jul 29, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants