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.
Summary: | Silent install not silent if there is a problem | ||
---|---|---|---|
Product: | installer | Reporter: | df3491 <df3491> |
Component: | NBI | Assignee: | dlipin <dlipin> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | ||
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
df3491
2008-03-04 22:13:42 UTC
yes, we do have such a problem... David, Yes, there is bunch of problems when such UI warning will show. I can`t personally say what should be the default action (exit or continue) in each case.. The most frequent are the following: 1) The installer lock file exists. This could occur in two cases : a) another instance of the installer is running at the same moment b) the previous running installer instance was terminated abnormally e.g. using task manager or kill command I guess to treat such a case as a critical and exit with non-zero code. (user can always add --ignore-lock to disable that check) 2) Installation data (~/.nbi/registry.xml) is somehow corrupted (truncated or similar). This case I will also treat as critical and installer will exit in that case 3) User deleted installation data (~/.nbi) and then invoked the uninstaller. In such a case uninstallation can`t proceed since there not enough information for doing that. The default action is the same - exit. 4) Installation validation (the case you described). I tend to think that in such a case the installation can be continued (it is not clear what to do with rear cases such as described in Issue 111220). If you have any objections/suggestions - pls let me know. Hopefully fixed now in development builds. http://hg.netbeans.org/main/rev/411b49aaba25 David, feel free to add comments/questions/suggestions. |