Skip to content

fix(installer): address Intermittent DLL crash during in-app update#14

Merged
Aalwattar merged 1 commit intomasterfrom
fix/installer-dll-race-condition
Mar 30, 2026
Merged

fix(installer): address Intermittent DLL crash during in-app update#14
Aalwattar merged 1 commit intomasterfrom
fix/installer-dll-race-condition

Conversation

@Aalwattar
Copy link
Copy Markdown
Owner

Resolved the "Failed to load Python DLL" crash by addressing a race condition during silent updates.

Changes:

Installer Delay: Added a 3000ms sleep in parrotink.iss specifically for silent installs to allow Windows Defender to finish scanning the binary before extraction.
Diagnostics: Enabled SetupLogging=yes for better troubleshooting in %TEMP%.
Validation Tool: Added scripts/test_installer_mode.ps1 to easily verify /SILENT vs Full Wizard modes.
Version Bump: Bounded to 0.2.32 and verified lockfile.
Verification:

Confirmed via logs that the delay correctly triggers in silent mode.
Passed local CI simulation (ruff, mypy, pytest).

@Aalwattar Aalwattar merged commit 434462f into master Mar 30, 2026
1 check passed
@Aalwattar Aalwattar deleted the fix/installer-dll-race-condition branch March 30, 2026 11:43
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.

1 participant