Skip to content

CHI_CheckInstallation: Check that we actually have installed with shortcuts on windows#2671

Open
t-b wants to merge 2 commits intomainfrom
feature/2671-check-installation-shortcuts
Open

CHI_CheckInstallation: Check that we actually have installed with shortcuts on windows#2671
t-b wants to merge 2 commits intomainfrom
feature/2671-check-installation-shortcuts

Conversation

@t-b
Copy link
Collaborator

@t-b t-b commented Mar 18, 2026

A common error when manually installing is that the files are copied and not linked. So let's check that as well.

@t-b t-b self-assigned this Mar 18, 2026
Copilot AI review requested due to automatic review settings March 18, 2026 18:59
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR extends the Windows installation health check to detect a common manual-install mistake where files are copied into “Igor Pro User Files” instead of being installed as shortcuts/links.

Changes:

  • Add CHI_CheckShortcuts() (Windows-only) to verify the “Igor Pro User Files” tree primarily contains .lnk shortcuts (with a few exceptions).
  • Invoke the new shortcut check from CHI_CheckInstallation() on Windows.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@t-b t-b force-pushed the feature/2671-check-installation-shortcuts branch from 0124a3c to 32f35b9 Compare March 18, 2026 21:22
Copilot AI review requested due to automatic review settings March 20, 2026 17:57
@t-b t-b force-pushed the feature/2671-check-installation-shortcuts branch from 32f35b9 to deb6e44 Compare March 20, 2026 17:57
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds a Windows-specific installation validation to catch “copied files instead of shortcuts” installs, and improves test diagnostics by capturing and printing CHI_CheckInstallation() output.

Changes:

  • Add CHI_CheckShortcuts() and invoke it on Windows during CHI_CheckInstallation().
  • Update UTF_VeryBasicHardwareTests to capture History output from CHI_CheckInstallation() and attach it to the test log.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 5 comments.

File Description
Packages/tests/HardwareBasic/UTF_VeryBasicHardwareTests.ipf Captures and logs installation-check output to make failures diagnosable in CI.
Packages/MIES/MIES_CheckInstallation.ipf Implements and wires in a Windows-only shortcut-vs-copied-files installation check.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copilot AI review requested due to automatic review settings March 20, 2026 20:51
t-b added 2 commits March 20, 2026 21:55
…rtcuts on windows

A common error when manually installing is that the files are copied and
not linked. So let's check that as well.
This also outputs it to the stdout in the failing case.
@t-b t-b force-pushed the feature/2671-check-installation-shortcuts branch from 3a8b8a3 to 9021f52 Compare March 20, 2026 20:55
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@t-b t-b assigned timjarsky and unassigned t-b Mar 22, 2026
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.

3 participants