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 254057 - NBI Local Directory enhancements
Summary: NBI Local Directory enhancements
Status: NEW
Alias: None
Product: installer
Classification: Unclassified
Component: NBI (show other bugs)
Version: 8.0.2
Hardware: PC Windows 7
: P3 normal with 1 vote (vote)
Assignee: Libor Fischmeistr
Depends on:
Reported: 2015-08-01 22:01 UTC by phansson
Modified: 2015-08-02 11:15 UTC (History)
1 user (show)

See Also:
Exception Reporter:

Enhanced version of from NBI Engine Project (7.84 KB, application/x-zip-compressed)
2015-08-01 22:01 UTC, phansson

Note You need to log in before you can comment on or make changes to this bug.
Description phansson 2015-08-01 22:01:19 UTC
Created attachment 155114 [details]
Enhanced version of from NBI Engine Project

This patch adds a number of enhancements to how the 'NBI Local Directory' is handled. Users will typically scratch their head as to what this strange directory is that they can see in their home folder. Some users will unfortunately delete the directory and this will make a future uninstall impossible. 

The following enhancements have been made:

- The directory now becomes a true hidden directory on Windows and the prefix "." in the directory name is removed. (bug 184765)

- After a successful install operation a README.txt file is placed into the NBI Local Directory. This file instructs the user not to delete the directory. (this is the best I have come up with as a means to minimize the number of situations where the user deletes this directory)

- After a successful uninstall operation the NBI Local Directory is now completely removed. The thinking is that an uninstall operation should be complete meaning it should not leave stuff on the user's hard drive. However before the directory is deleted (this is done by the cleaner, btw) the log file for the current session is salvaged and put into TEMP folder. The log file is the only thing from the NBI Local Directory which may still be interesting to look at after a product has been uninstalled.

(Apologies for not submitting in patch format but this is the best I could come up with. The attachment is an enhanced version of from NBI Engine Project as well some enhancements (additions only) for that class' properties file)