Skip to content

Register Weevil as .log Open With app in MSI#914

Merged
Pressacco merged 4 commits into
mainfrom
copilot/add-weevil-option-to-open-with
Jul 22, 2026
Merged

Register Weevil as .log Open With app in MSI#914
Pressacco merged 4 commits into
mainfrom
copilot/add-weevil-option-to-open-with

Conversation

Copilot AI commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

Pull Request check list:

  1. GitHub Pull Request should reference the GitHub issue number.
    • See: "Development" option on right side of the screen.
  2. Where appropriate, unit tests should be created.

Right-click Open with for .log files did not surface Weevil as a selectable app. This updates MSI registry authoring so Windows 10/11 can discover Weevil for .log without overriding the user’s current default app.

  • Scope

    • Installer-only change in Src/BlueDotBrigade.Weevil.Installer/Product.wxs.
    • No application/runtime logic changes.
  • What changed

    • Added WeevilLogFileAssociation component (stable GUID) and referenced it from ProductFeature.
    • Registered Weevil in HKLM\Software\RegisteredApplications.
    • Added app capabilities in HKLM\Software\BlueDotBrigade\Weevil\Capabilities with:
      • ApplicationName, ApplicationDescription
      • FileAssociations\.log = BlueDotBrigade.Weevil.LogFile
    • Added ProgID HKLM\Software\Classes\BlueDotBrigade.Weevil.LogFile with icon and open command.
    • Added Weevil to .log\OpenWithProgids (non-default, additive registration).
    • Registered Applications\WeevilGui.exe with FriendlyAppName, .log supported type, and open command.
  • Key installer authoring

<RegistryKey Root="HKLM" Key="Software\Classes\.log\OpenWithProgids">
  <RegistryValue Name="BlueDotBrigade.Weevil.LogFile" Type="string" Value="" />
</RegistryKey>

<RegistryKey Root="HKLM" Key="Software\Classes\Applications\WeevilGui.exe">
  <RegistryValue Name="FriendlyAppName" Type="string" Value="Weevil" />
  <RegistryKey Key="SupportedTypes">
    <RegistryValue Name=".log" Type="string" Value="" />
  </RegistryKey>
  <RegistryKey Key="shell\open\command">
    <RegistryValue Type="string" Value="&quot;[InstallFolderBin]WeevilGui.exe&quot; &quot;%1&quot;" />
  </RegistryKey>
</RegistryKey>

Copilot AI changed the title [WIP] Add 'Weevil' option to Open With menu for log files Register Weevil as .log Open With app in MSI Jul 22, 2026
Copilot AI requested a review from Pressacco July 22, 2026 11:16
@Pressacco
Pressacco marked this pull request as ready for review July 22, 2026 11:59
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Credits must be used to enable repository wide code reviews.

@Pressacco
Pressacco merged commit 4e992c2 into main Jul 22, 2026
3 checks passed
@Pressacco
Pressacco deleted the copilot/add-weevil-option-to-open-with branch July 22, 2026 11:59
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.

As an analyst, right-clicking "Open With" on a log file should have a "Weevil" option, in order to make it easier to open log files.

2 participants