This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 219096 - Uninstall doesn't remove a folder
Summary: Uninstall doesn't remove a folder
Status: RESOLVED FIXED
Alias: None
Product: installer
Classification: Unclassified
Component: NBI (show other bugs)
Version: 7.2
Hardware: All Windows XP
: P3 normal (vote)
Assignee: Libor Fischmeistr
URL:
Keywords: API
Depends on:
Blocks:
 
Reported: 2012-09-27 04:24 UTC by donna.agtang
Modified: 2013-07-18 02:39 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Proof of Testing (32.02 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2012-09-27 04:24 UTC, donna.agtang
Details
Patch - without progress (9.74 KB, patch)
2012-11-12 08:44 UTC, Libor Fischmeistr
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description donna.agtang 2012-09-27 04:24:51 UTC
Created attachment 124989 [details]
Proof of Testing

When uninstalling an updated Netbeans based application, the uninstaller wouldn't delete a file located in C:\App name\App name\update\backup\netbeans\config\Modules\*.xml
Comment 1 Jiri Rechtacek 2012-09-27 06:24:02 UTC
There is not a contract between installer (NBI) and autoupdate (AU) to store list of new/updated files in NetBeans App installation thus such files are unknown for App uninstaller. It's a known problem which is solved in IDE uninstaller UI. Need to solve it for NetBeans Platform based application too.
Comment 2 Libor Fischmeistr 2012-11-12 08:44:08 UTC
Created attachment 127581 [details]
Patch - without progress

Patch that deletes all updated files, all backup folders and all empty folders in installation directory.
Comment 3 Libor Fischmeistr 2012-11-19 09:00:20 UTC
The check-box in wizard (which ask us if delete install dir or not) shouldn't appear if there are only update and backup files in installation folder.
Comment 4 Libor Fischmeistr 2013-07-16 12:15:51 UTC
Fixed in changeset http://hg.netbeans.org/core-main/rev/731c3f0cec18
Comment 5 Quality Engineering 2013-07-18 02:39:04 UTC
Integrated into 'main-silver', will be available in build *201307172300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/731c3f0cec18
User: Libor Fischmeistr <lfischmeistr@netbeans.org>
Log: #219096: Uninstall doesn't remove a folder