Conversation
There was a problem hiding this comment.
PR Summary:
This is an empty work-in-progress PR created by GitHub Copilot to address review comments from the already-merged PR #3058. The PR currently contains:
- 0 files changed
- 0 additions, 0 deletions
- 1 empty commit titled "Initial plan"
Review Summary:
No code changes to review. This PR was created to address critical and minor review comments from PR #3058 (regarding Inno Setup installer GUID stability and product code mismatches), but Copilot has not yet implemented any fixes. The branch is identical to develop except for the empty placeholder commit.
Follow-up suggestions:
Co-authored-by: jmcouffin <7872003+jmcouffin@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
Updates the release tooling so pyrevit-products.json uses the stable Inno Setup GUIDs (AppIds) defined in the .iss installers, avoiding random UUID churn that breaks installer/registry-based identification.
Changes:
- Added stable Inno Setup GUID constants to
dev/scripts/configs.py. - Updated
set_product_dataindev/_release.pyto write stable Inno GUIDs to the product database and only generate new ProductCodes for MSI builds. - Removed the redundant MSI update call for pyRevit when the MSI props list is empty.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| dev/scripts/configs.py | Adds stable Inno Setup GUID constants so release scripts can reference the same IDs as the .iss files. |
| dev/_release.py | Adjusts product-data generation to store stable Inno GUIDs and limits new GUID generation to MSI ProductCodes. |
Co-authored-by: jmcouffin <7872003+jmcouffin@users.noreply.github.com>
Co-authored-by: jmcouffin <7872003+jmcouffin@users.noreply.github.com>
|
📦 New work-in-progress (wip) builds are available for 5.3.1.26032+1829-wip |
|
📦 New work-in-progress (wip) builds are available for 5.3.1.26032+1937-wip |
|
📦 New work-in-progress (wip) builds are available for 6.0.0.26032+1956-wip |
|
📦 New work-in-progress (wip) builds are available for 6.0.0.26032+2005-wip |
|
📦 New work-in-progress (wip) builds are available for 6.0.0.26032+2008-wip |
|
📦 New public release are available for 6.0.0.26032+2040 |
|
📦 New public release are available for 6.0.0.26032+2040 |
PR #3058 prevented Inno Setup AppIds from being overwritten on each build, but left
pyrevit-products.jsonreceiving random UUIDs instead of the stable GUIDs defined in.issfiles. This breaks version detection and upgrade logic since the registry GUID won't match the database.Additionally, for pyRevit CLI which has both Inno Setup and MSI installers, the MSI ProductCode needs to be tracked separately to support both installer types.
Changes
dev/scripts/configs.py.issfiles:dev/_release.py_update_product_data_file()to support MSI parameter for separate trackingResult
Product database now properly tracks all installer types:
This enables proper version detection and upgrade flows for both Inno Setup and MSI installers.
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.