[Bug] Inno Setup build fails: incorrect relative path to PyInstaller output directory

Status Closed — not planned
Reported on v2.1.222
Maintainer reply None cached
Activity 1 comment · opened Aug 6, 2026 · closed Aug 20, 2026

Bug Description
Inno Setup failed with error: Line 134: No files found matching "C:\CadPlatformIntegration\installer\..\..\dwg_batch_processor\dist\hvac_backend_engine\*"

Please fix this issue in the build setup:

  1. Fix Inno Setup Path Definition:

In setup_script.iss, update BackendSourceDir definition.

  • Fix the relative path from ..\..\dwg_batch_processor\... to ..\dwg_batch_processor\... (or use absolute path based on SourceDir).
  • Add a safety check or clear comment for missing directories.
  1. Automate Pre-build Pipeline:

Update scripts/build_all.py or master build script so that running the build automatically runs PyInstaller first (package_backend.py) to create dist/hvac_backend_engine/ BEFORE invoking the Inno Setup compiler (ISCC.exe).

Environment Info

  • Platform: win32
  • Terminal: null
  • Version: 2.1.222
  • Feedback ID: 035ba1fc-ac40-4538-be5a-f3a55e239cc2

Errors

[]

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗