Skip to content

PR: Use NSIS template to launch Spyder after installer completes - #26264

Open
mrclary wants to merge 7 commits into
spyder-ide:masterfrom
mrclary:win-post-install
Open

PR: Use NSIS template to launch Spyder after installer completes#26264
mrclary wants to merge 7 commits into
spyder-ide:masterfrom
mrclary:win-post-install

Conversation

@mrclary

@mrclary mrclary commented Aug 15, 2026

Copy link
Copy Markdown
Contributor

Description of Changes

constructor introduced new stdout/stderr handling to improve installer logging.
This disrupted our current post-install.bat in two ways:

  1. The redirection to install.log is no longer compatible
  2. The background powershell process inherits the .step.log file handle resulting in a PermissionError

This PR replaces the post-install.bat script with a patched NSIS template.
The sole purpose of the post-install script was to invoke a process that watched for the installer to complet and then launch Spyder. However, NSIS provides this feature.

We now maintain a patch that is applied to a copy of constructor's main.nsi.tmpl default template at build time. The patch adds the Spyder application launch logic to the Windows installer.
The other platforms remain the same, and silent installs will not launch Spyder.

Issue(s) Resolved

Fixes #26259

Affirmation

By submitting this Pull Request or typing my (user)name below,
I affirm the Developer Certificate of Origin
with respect to all commits and content included in this PR,
and understand I am releasing the same under Spyder's MIT (Expat) license.

I certify the above statement is true and correct:

@mrclary mrclary self-assigned this Aug 15, 2026
@mrclary mrclary added this to the v6.2.0a2 milestone Aug 15, 2026
@mrclary
mrclary requested review from ccordoba12 and dalthviz August 15, 2026 02:18
@mrclary
mrclary marked this pull request as ready for review August 15, 2026 03:05
@mrclary mrclary changed the title PR: Update installer workflow to accommodate constructor's new stdout paradigm PR: Use NSIS template to launch Spyder after installer complete Aug 15, 2026
@mrclary mrclary changed the title PR: Use NSIS template to launch Spyder after installer complete PR: Use NSIS template to launch Spyder after installer completes Aug 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Windows installer errors due to new constructor version and post install script handling

1 participant