Skip to content

[Installer] API change in NSIS in DeleteRegKey use /ifnosubkeys for old behaviour #9887

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kvakvs
Copy link
Contributor

@kvakvs kvakvs commented May 27, 2025

Fixes #9884
The installer for Windows leaves registry keys on uninstall
Change in API has been reported as of 3.0.6 (July 2020)

Copy link
Contributor

github-actions bot commented May 27, 2025

CT Test Results

    3 files    142 suites   49m 29s ⏱️
1 649 tests 1 592 ✅ 57 💤 0 ❌
2 372 runs  2 295 ✅ 77 💤 0 ❌

Results for commit 7708a6b.

♻️ This comment has been updated with latest results.

To speed up review, make sure that you have read Contributing to Erlang/OTP and that all checks pass.

See the TESTING and DEVELOPMENT HowTo guides for details about how to run test locally.

Artifacts

// Erlang/OTP Github Action Bot

@rickard-green rickard-green added team:VM Assigned to OTP team VM team:PS Assigned to OTP team PS labels Jun 3, 2025
@dgud
Copy link
Contributor

dgud commented Jun 5, 2025

Have you built and used that installer? As far as I know we still use 3.0.5 internally i.e. for the signed releases.

@kvakvs
Copy link
Contributor Author

kvakvs commented Jun 5, 2025

Have you built and used that installer? As far as I know we still use 3.0.5 internally i.e. for the signed releases.

Hello
Yes i am using this currently to test the building of signed releases for an ESL customer, and they report the API change prevented some registry keys from being deleted on uninstall. I either have to downgrade my NSIS, or offer that fix. It is up to the OTP maintainers to decide whether they want this change or not (and document max supported NSIS version) or make a way around and support both NSIS syntaxes.

@dgud
Copy link
Contributor

dgud commented Jun 5, 2025

I just wanted to know how it happens, I guess it is time for us to upgrade.

@kvakvs
Copy link
Contributor Author

kvakvs commented Jun 5, 2025

I will report here once i build it again and the customer confirms that its looking good for their uninstall/upgrade/reinstall scenario.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team:PS Assigned to OTP team PS team:VM Assigned to OTP team VM
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Windows un-/installer (by NSIS) leaves registry keys after uninstall on Win64
4 participants