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 93662 - Installer reports success while installation failed.
Summary: Installer reports success while installation failed.
Status: VERIFIED FIXED
Alias: None
Product: installer
Classification: Unclassified
Component: NBI (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: Kirill Sorokin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-31 11:50 UTC by Michael Nazarov
Modified: 2007-04-25 11:25 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
screenshot (6.35 KB, image/png)
2007-02-13 15:22 UTC, Michael Nazarov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Nazarov 2007-01-31 11:50:29 UTC
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.
Comment 1 Kirill Sorokin 2007-02-12 11:37:10 UTC
-> M12
Comment 2 Michael Nazarov 2007-02-13 15:20:18 UTC
In M11 installer shows error and fails with such scenario.
Comment 3 Michael Nazarov 2007-02-13 15:22:23 UTC
Created attachment 38444 [details]
screenshot
Comment 4 Kirill Sorokin 2007-03-14 17:33:35 UTC
-> M15
Comment 5 dlipin 2007-04-19 15:18:57 UTC
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.
Comment 6 Kirill Sorokin 2007-04-20 04:48:56 UTC
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.
Comment 7 Kirill Sorokin 2007-04-20 17:19:50 UTC
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
Comment 8 Michael Nazarov 2007-04-25 11:14:07 UTC
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?
Comment 9 Kirill Sorokin 2007-04-25 11:25:06 UTC
Yes, it is planned.