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 46569 - Mobility installer usability improvement
Summary: Mobility installer usability improvement
Status: CLOSED FIXED
Alias: None
Product: installer
Classification: Unclassified
Component: Code (show other bugs)
Version: 4.x
Hardware: PC Windows XP
: P2 blocker with 1 vote (vote)
Assignee: mslama
URL:
Keywords:
Depends on: 48940
Blocks:
  Show dependency tree
 
Reported: 2004-07-26 14:38 UTC by sigalduek
Modified: 2006-03-24 09:59 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sigalduek 2004-07-26 14:38:11 UTC
Usability improvement: Suggest the default
NetBeans installation  directory in the text field.
Comment 1 mslama 2004-09-03 14:33:33 UTC
Changing priority and type to make sure it will get into Beta2.
Comment 2 Petr Blaha 2004-09-13 12:46:27 UTC
I decrease priority from P2.
Comment 3 mslama 2004-09-13 15:49:34 UTC
Fixed. Windows Registry is checked for NetBeans InstallLocation under
Software\Microsoft\Windows\CurrentVersion\Uninstall\274c5407c4fa26908310cb5c1ce94f62
(last is product ID). So it works only on Windows. Nothing is done on
Linux.

Modified:
/cvs/installer/cluster/src/org/netbeans/installer/cluster/NetBeansDirChooserPanel.java
 
new revision: 1.2; previous revision: 1.1

Added:
/cvs/installer/cluster/src/org/netbeans/installer/cluster/Util.java 
initial revision: 1.1
Comment 4 Martin Ryzl 2004-09-13 17:46:52 UTC
changing priority to P2 and marking as a beta2 candidate. The fix
affects mobility installer only and really improves usability of the
product.
Comment 5 Lukas Hasik 2004-09-14 10:31:14 UTC
Well, when it's P2 and beta2-candidate then it can easily go to beta2
branch. Marku, do it and then mark as beta2-fix, thanks.
Comment 6 mslama 2004-09-14 14:29:27 UTC
We need to distinguish between dev, betaX, FCS. Every version will
have its own unique product ID. I assume Mobility Pack 4.0 Beta 2 will
look only for NB 4.0 Beta 2? Or higher too? Currently we think about
using last 6 chars in ID for version info like 4000b2 for Beta 2 or
4000de for Development Version. It means we know future possible ID
ahead but of course we do not know how many betas NB will have.

I assume installer will check only for NB Beta 2.

Also I will move searched ID to Bundle.properties.
Comment 7 mslama 2004-09-14 14:30:14 UTC
Not yet committed.
Comment 8 mslama 2004-09-14 16:52:43 UTC
As product ID was changed to distinguish between product versions this
fix must be updated. (ie. searched product ID will be different)
Comment 9 mslama 2004-09-14 19:34:33 UTC
It will also look at default NB install dir if there is NB
installation on Linux/Solaris. If yes it will use it as default value
in dir chooser panel. It should work for majority of users.
Comment 10 Petr Suchomel 2004-09-14 19:36:35 UTC
Just small note. No Mobility for Solaris is supported.
Comment 11 mslama 2004-09-15 08:49:28 UTC
Check is added also for Linux.

Modified:
/cvs/installer/cluster/src/org/netbeans/installer/cluster/Bundle.properties
new revision: 1.8; previous revision: 1.7

src/org/netbeans/installer/cluster/NetBeansDirChooserPanel.java;
/cvs/installer/cluster/src/org/netbeans/installer/cluster/NetBeansDirChooserPanel.java
 new revision: 1.3; previous revision: 1.2
Comment 12 mslama 2004-09-15 08:59:24 UTC
Default NB install locations are moved to Bundle to have all
configurable items at one place.

Modified:
/cvs/installer/cluster/src/org/netbeans/installer/cluster/Bundle.properties
new revision: 1.9; previous revision: 1.8

/cvs/installer/cluster/src/org/netbeans/installer/cluster/NetBeansDirChooserPanel.java

new revision: 1.4; previous revision: 1.3
Comment 13 mslama 2004-09-15 09:04:48 UTC
Fixed in "release40_beta2" branch.

Modified:
/cvs/installer/cluster/src/org/netbeans/installer/cluster/Bundle.properties
new revision: 1.3.6.3; previous revision: 1.3.6.2

/cvs/installer/cluster/src/org/netbeans/installer/cluster/NetBeansDirChooserPanel.java
new revision: 1.1.12.1; previous revision: 1.1

Added:
/cvs/installer/cluster/src/org/netbeans/installer/cluster/Util.java  
new revision: 1.1.2.1; previous revision: 1.1
Comment 14 Lukas Hasik 2004-09-17 09:19:14 UTC
We checked build 0916 on XP and linux. I offers path to beta2 (if has
been installed earlier).
->verified