Skip to content

Add 3D Model Viewer demo to the Windows bundle#13

Merged
dfattal merged 1 commit into
mainfrom
chore/bundle-modelviewer
Jun 1, 2026
Merged

Add 3D Model Viewer demo to the Windows bundle#13
dfattal merged 1 commit into
mainfrom
chore/bundle-modelviewer

Conversation

@dfattal
Copy link
Copy Markdown
Contributor

@dfattal dfattal commented Jun 1, 2026

Wires the new displayxr-demo-modelviewer demo (first release v0.1.0) into the DisplayXR Windows meta-installer bundle, mirroring the existing gauss_demo component exactly.

Component facts

  • repo: DisplayXR/displayxr-demo-modelviewer
  • Windows installer asset glob: DisplayXRModelViewerSetup-*.exe
  • ARP/uninstall registry key: Software\Microsoft\Windows\CurrentVersion\Uninstall\DisplayXRModelViewer
  • versions.json pin field: modelviewer_demo = v0.1.0
  • UI section label: 3D Model Viewer

Changes

  • versions.json — pin modelviewer_demo = v0.1.0.
  • scripts/build-bundle.bat — component table entry (COMPONENT_REPO_/EXE_modelviewer_demo), pin read + empty-check, bare-version v-strip, download/find/copy steps, and /DMODELVIEWER_EXE + /DMODELVIEWER_VER makensis defines.
  • installer/windows/DisplayXRBundleInstaller.nsi — header doc line, !ifndef MODELVIEWER_EXE/VER guards, G_ModelViewerInstalled/G_ModelViewerVer vars, Section "3D Model Viewer" SecModelViewer under Demos & samples (exact structural mirror of SecGauss), .onInit state-init + pre-check, DESC_SecModelViewer LangString + description-text, and the uninstaller chain entry.
  • scripts/build-bundle.sh — comment only; model viewer is Windows-only (no macOS .pkg yet), intentionally not added to the macOS path.

Verification

makensis syntax check passes with dummy staged files (exit 0, no errors; only the expected empty-dummy-LICENSE warning). Section count went 12 → 13, confirming SecModelViewer registered. versions.json validated via json.load.

🤖 Generated with Claude Code

Wire the new displayxr-demo-modelviewer demo (v0.1.0) into the Windows
meta-installer, mirroring gauss_demo at every touchpoint:

- versions.json: pin modelviewer_demo = v0.1.0
- build-bundle.bat: component table entry, pin read + empty-check, bare
  version strip, download/find/copy, and /DMODELVIEWER_EXE + /DMODELVIEWER_VER
  makensis defines
- DisplayXRBundleInstaller.nsi: !ifndef guards, G_ModelViewer* vars,
  SecModelViewer section under "Demos & samples", .onInit pre-check,
  LangString/description, and uninstaller chain entry (ARP key
  DisplayXRModelViewer)

Windows-only: no macOS .pkg yet, so it is intentionally not added to the
macOS path in build-bundle.sh (comment added there to that effect).

makensis verified: compiles clean (13 sections).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@dfattal dfattal merged commit ff53fec into main Jun 1, 2026
2 checks passed
@dfattal dfattal deleted the chore/bundle-modelviewer branch June 1, 2026 17:52
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.

1 participant