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.
Use followed scenario: 1. use subst command to create virtual drive letter, say "subst x: d:\progra"; 2. choose installation paths on this drive, "x:\nb" and "x:\gf"; 3. proceed to confirmation page and remove created drive letter "subst x: /D"; 4. install product. Installer will do nothing but report success.
-> M12
In M11 installer shows error and fails with such scenario.
Created attachment 38444 [details] screenshot
-> M15
Kirill, I just think that the warning would occur in the current version of engine since we check for the free space at that point (point-of-no-return). For removed drive it would say that there is no free space there. Am I right? If the user unsubst the drive during the installation process and no warning is shown then it is definitely the duplicate of the issue 100230.
Most likely (as we're talking windows) a NativeException will occur when trying to check disk space. I'm not completely clear on how we should treat the exception - either it's OK to proceed or not. Gotta play with it.
The installer will correctly handle subst /D if it happens before the actual installation procedure. Will fail with an InstallationException and a proper (?) message in this happens in the course of installation. That's the best we can do I assume. -> FIXED
Yes, installer reports error now. So one more question: after exception all installed staff stay on disk. May be installer will make some cleanup attempts same as during canceled installation?
Yes, it is planned.