Skip to content

#2743: Fix Windows MSI uninstall - #2745

Open
DravenHEHE wants to merge 5 commits into
devonfw:mainfrom
DravenHEHE:feature/2473-windows-uninstall-does-not-remove-ideasy
Open

DravenHEHE wants to merge 5 commits into
devonfw:mainfrom
DravenHEHE:feature/2473-windows-uninstall-does-not-remove-ideasy

Conversation

@DravenHEHE

@DravenHEHE DravenHEHE commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

This PR fixes #2473

Implemented changes:

  • Add an MSI custom action to remove the IDEasy _ide directory after MSI-managed files are removed.

Testing instructions

Requirements:

ide install dotnet
  1. From the repository root, download and extract the latest published Windows archive into the CLI build folder:
    VERSION=2026.10.001
    mkdir -p cli/target/package
    curl -fL "https://repo1.maven.org/maven2/com/devonfw/tools/IDEasy/ide-cli/${VERSION}/ide-cli-${VERSION}-windows-x64.tar.gz" -o /tmp/ideasy-windows.tar.gz
    tar -xzf /tmp/ideasy-windows.tar.gz -C cli/target/package
    cp cli/target/package/bin/ideasy.exe cli/target/ideasy.exe
  2. Build the MSI. The script also generates the documentation and stages the installer files:
    bash windows-installer/build-msi.sh
  3. On Windows, install the MSI on a test drive. Make sure the target projects/_ide folder contains no important data.
  4. Uninstall IDEasy through Windows Settings or Control Panel. Verify that _ide is removed and that project folders outside _ide remain.

Checklist for this PR

Make sure everything is checked before merging this PR. For further info please also see
our DoD.

  • When running mvn clean test locally all tests pass and build is successful
  • PR title is of the form #«issue-id»: «brief summary» (e.g. #921: fixed setup.bat and not feature/921 fixed setup.bat).
    If no issue ID exists, title only.
  • PR top-level comment summarizes what has been done and contains link to addressed issue(s)
  • PR and issue(s) have suitable labels
  • Issue is set to In Progress and assigned to you or there is no issue (might happen for very small PRs)
  • You followed all coding conventions
  • You have added the issue implemented by your PR in CHANGELOG.adoc unless issue is labelled
    with internal
  • You have not changed any dependency in pom.xml files or otherwise if runtime dependencies changed,
    you have updated our LICENSE.adoc
  • You have formulated clear instructions on how to test your contribution under "Testing instructions"

@github-project-automation github-project-automation Bot moved this to 🆕 New in IDEasy board Oct 23, 2026
@DravenHEHE DravenHEHE added windows specific for Microsoft Windows OS unpack logic to unpack archives (tar, zip, tgz, zbz2, msi, dmg, etc.) uninstall uninstall tools or IDEasy itself labels Oct 23, 2026
@coveralls

coveralls commented Oct 23, 2026 •

Copy link
Copy Markdown
Collaborator

Coverage Report for CI Build 39979187907

Coverage increased (+0.02%) to 75.114%

Details

  • Coverage increased (+0.02%) from the base build.
  • Patch coverage: No coverable lines changed in this PR.
  • No coverage regressions found.

Uncovered Changes

No uncovered changes found.

Coverage Regressions

No coverage regressions found.


Coverage Stats

Coverage Status
Relevant Lines: 19769
Covered Lines: 15499
Line Coverage: 78.4%
Relevant Branches: 8793
Covered Branches: 5955
Branch Coverage: 67.72%
Branches in Coverage %: Yes
Coverage Strength: 3.37 hits per line

💛 - Coveralls

@DravenHEHE
DravenHEHE force-pushed the feature/2473-windows-uninstall-does-not-remove-ideasy branch from bd1e07f to c058b69 Compare October 23, 2026 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

uninstall uninstall tools or IDEasy itself unpack logic to unpack archives (tar, zip, tgz, zbz2, msi, dmg, etc.) windows specific for Microsoft Windows OS

Projects

Status: 🆕 New

Development

Successfully merging this pull request may close these issues.

Uninstalling IDEasy from "Programs & features"/"Apps" screen does not work on windows

2 participants