Skip to content

Build the C++ installer helper before running iscc - #4

Merged
thpoll83 merged 1 commit into
mainfrom
claude/wincompose-install-menu-3f8cy8
Aug 1, 2026
Merged

Build the C++ installer helper before running iscc#4
thpoll83 merged 1 commit into
mainfrom
claude/wincompose-install-menu-3f8cy8

Conversation

@thpoll83

@thpoll83 thpoll83 commented Aug 1, 2026

Copy link
Copy Markdown
Owner

Summary

The Inno Setup fix worked — this run got all the way to iscc, which then stopped on a missing payload file:

Error on line 54 in …\installer.iss: Source file
  "…\src\installer\bin\Release\installer-helper.dll" does not exist.
Compile aborted.

installer.iss bundles a C++ helper DLL that is no part of the .NET build. src/Makefile gets it for free by building the whole solution; this workflow builds projects individually — deliberately, so signing can run between the app build and packaging — and nothing was building the helper.

Win32 is the only platform its vcxproj defines, and its OutDir (bin\$(Configuration)\) is already exactly the path the .iss expects, so no path wiring is needed. A following verify step asserts the DLL exists, so a toolset problem reports itself directly instead of resurfacing later as an iscc parse error.

Rather than fix one file per run

I've now burned two rounds discovering the next missing piece one at a time, so I checked the whole payload instead: every other Source: in the .iss resolves either to the wincompose.csproj output ({#BINDIR} — including the ~40 satellite language directories) or to files already in the tree (rules/*.txt). installer-helper.dll is the last gap.

Progress so far

step status
Ensure Inno Setup 6 ✅ (instant — found preinstalled)
Build InsertIcons
Build (Release)
Build installer helper new
Build installer (iscc) ← reached, failed here
Package portable → assemble → upload not yet reached

Remaining risk

The vcxproj declares PlatformToolset v143 while the runner reports VS 18; if v143 isn't installed there, this step fails with a clear toolset message and needs a -p:PlatformToolset= override. The steps after iscc — portable packaging, asset assembly, release upload — still haven't executed.

Testing

Once merged: Actions → Release → Run workflow with tag = PK-0.9.16, which builds and attaches the assets to the already-published release.


Generated by Claude Code

Summary by Sourcery

Build the C++ installer helper and verify its output before running the Windows installer packaging step in the release workflow.

Build:

  • Update release workflow to invoke msbuild on the C++ installer-helper project with Release/Win32 configuration.
  • Add a verification step in the release workflow to ensure installer-helper.dll exists and report its size before invoking iscc.

With the Inno Setup step fixed, the run got as far as iscc and stopped there:

    Error on line 54 in ...\installer.iss: Source file
      "...\src\installer\bin\Release\installer-helper.dll" does not exist.
    Compile aborted.

installer.iss bundles a C++ helper DLL that is no part of the .NET build.
src/Makefile gets it for free by building the whole solution; this workflow
builds projects individually, so that signing can run between the app build
and packaging, and nothing was building the helper.

Win32 is the only platform its vcxproj defines, and its OutDir
(bin\$(Configuration)\) is already exactly the path the .iss expects, so no
path wiring is needed. A following verify step asserts the DLL exists, so a
toolset problem reports itself instead of resurfacing as an iscc parse error.

Checked the rest of the payload rather than fixing one file per run: every
other Source: in the .iss resolves to the wincompose.csproj output (including
the satellite language dirs) or to files in the tree, so this is the last
missing piece.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011PNCWo57UmMMfaNWyfJMBG

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry @thpoll83, you have reached your weekly rate limit of 500000 diff characters.

Please try again later or upgrade to continue using Sourcery

@coderabbitai

coderabbitai Bot commented Aug 1, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@thpoll83, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 12 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: c85ec51b-7ce1-4b3a-895a-7a541541b287

📥 Commits

Reviewing files that changed from the base of the PR and between 429bfc7 and d5dd018.

📒 Files selected for processing (1)
  • .github/workflows/release.yml

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@sourcery-ai

sourcery-ai Bot commented Aug 1, 2026

Copy link
Copy Markdown
Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

This PR updates the release GitHub Actions workflow to explicitly build the C++ installer helper DLL before running Inno Setup (iscc), and adds a verification step to ensure the DLL exists so payload issues are caught early in the pipeline.

Sequence diagram for updated release workflow around iscc

sequenceDiagram
    participant GitHubActionsRunner as GitHubActionsRunner
    participant msbuild as msbuild
    participant PowerShell as PowerShell
    participant iscc as iscc

    GitHubActionsRunner->>msbuild: msbuild src\installer\installer-helper.vcxproj -p:Configuration=Release -p:Platform=Win32
    GitHubActionsRunner->>PowerShell: Test-Path src/installer/bin/Release/installer-helper.dll
    PowerShell-->>GitHubActionsRunner: [throw if installer-helper.dll missing]
    GitHubActionsRunner->>iscc: iscc installer.iss
    iscc-->>GitHubActionsRunner: Build WinCompose-Setup-<ver>.exe
Loading

File-Level Changes

Change Details Files
Add a dedicated workflow step to build the C++ installer helper DLL required by installer.iss.
  • Invoke msbuild on src\installer\installer-helper.vcxproj in Release configuration.
  • Force Platform=Win32 to match the vcxproj definition and expected output path.
  • Use minimal msbuild verbosity for cleaner workflow logs.
.github/workflows/release.yml
Add a verification step to ensure installer-helper.dll exists at the expected path before running iscc.
  • Run a PowerShell step that checks for src/installer/bin/Release/installer-helper.dll.
  • Throw a clear error if the DLL is missing so the pipeline fails with an explicit payload issue.
  • Log the DLL size to aid debugging and confirming the built artifact.
.github/workflows/release.yml

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@thpoll83
thpoll83 merged commit 20fd2fe into main Aug 1, 2026
4 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