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 49276 - Can't uninstall NB
Summary: Can't uninstall NB
Status: CLOSED FIXED
Alias: None
Product: installer
Classification: Unclassified
Component: Code (show other bugs)
Version: 4.x
Hardware: All All
: P1 blocker (vote)
Assignee: mslama
URL:
Keywords: RELNOTE
Depends on:
Blocks:
 
Reported: 2004-09-20 09:40 UTC by Petr Blaha
Modified: 2006-03-24 10:08 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
java console (588 bytes, text/plain)
2004-09-20 09:41 UTC, Petr Blaha
Details
log output (2.82 KB, text/plain)
2004-09-20 09:42 UTC, Petr Blaha
Details
VPD file (1.70 KB, text/plain)
2004-09-20 09:42 UTC, Petr Blaha
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Blaha 2004-09-20 09:40:32 UTC
Build: beta2 200409200200
I can't uninstall NB on my box. All log files
attached.
Comment 1 Petr Blaha 2004-09-20 09:41:27 UTC
Created attachment 17743 [details]
java console
Comment 2 Petr Blaha 2004-09-20 09:42:13 UTC
Created attachment 17745 [details]
log output
Comment 3 Petr Blaha 2004-09-20 09:42:33 UTC
Created attachment 17746 [details]
VPD file
Comment 4 Petr Blaha 2004-09-20 09:59:49 UTC
Issue is reproduced on Solaris also.
Comment 5 Petr Blaha 2004-09-20 10:09:38 UTC
Workaround: remove vpd.properties file
Comment 6 mslama 2004-09-20 10:27:37 UTC
It might be problem with changed product ID. You have many installed
products with old porduct ID. Product ID should now end with "4000b2"
or "4000de". If you would correctly uninstall older installation IS
would remove those items from vpd.properties file. If you just delete
installation vpd.properties is not updated and it can cause problems.

I will test it on my machine.

I assume you install beta2 build and uninstall it. Right?
Comment 7 mslama 2004-09-20 10:42:09 UTC
I just tried. It works fine.

Steps:
1.Delete vpd.properties.
2.Install Beta2. (vpd.properties contains 2 items)
3.Uninstall Beta2. (vpd.properties is empty size 0)

I suggest to lower priority and mention this in release notes.
Possible workaround with installation/uninstallation problems is to
delete vpd.properties.

Please provide exact steps how to reproduce.
Comment 8 Petr Blaha 2004-09-20 12:23:03 UTC
Issue has been reported by internal users. I think, that they had
Beta1 or Dev build installed on their PC, then unistalled it and
installed new Beta2 candidate. 

I performed following test case:
1) install the latest Beta1 build 200408191352
2) install Beta2 build 200409200200
3) unistall Beta1 -- OK
4) Can't unistall Beta2
Successful test case is very important for NetCat users, therefore I
couldn't agree to lower priority. 
Comment 9 Petr Blaha 2004-09-20 13:01:07 UTC
QE team approved to fix issue in Beta2 branch. 
Comment 10 mslama 2004-09-20 13:40:11 UTC
Yes given case is reproducible. To fix this it is necessary to change
also ID of all product subcomponents not only roots of product tree.
Otherwise IS registry is confused and does not uninstall component
given in vpd.properties ("coreide" in this case which is subcomponent
of root "$L(org.netbeans.installer.Bundle, Product.name)" - $L() is
resolved by IS from Bundle.properties). Fix must be also done in
cluster and jdkbundle.

Modified:
/cvs/installer/cluster/cluster.xml
new revision: 1.8; previous revision: 1.7

/cvs/installer/coreide/coreide.xml
new revision: 1.13; previous revision: 1.12

/cvs/installer/jdkbundle/linux.xml
new revision: 1.8; previous revision: 1.7

/cvs/installer/jdkbundle/solaris-sparc.xml
new revision: 1.8; previous revision: 1.7

/cvs/installer/jdkbundle/solaris-x86.xml
new revision: 1.8; previous revision: 1.7

/cvs/installer/jdkbundle/windows.xml
new revision: 1.9; previous revision: 1.8
Comment 11 mslama 2004-09-20 13:41:54 UTC
Fixed in "release40_beta2" branch.

Modified:
/cvs/installer/cluster/cluster.xml
new revision: 1.6.4.2; previous revision: 1.6.4.1

/cvs/installer/coreide/coreide.xml
new revision: 1.11.4.2; previous revision: 1.11.4.1

/cvs/installer/jdkbundle/linux.xml
new revision: 1.4.4.4; previous revision: 1.4.4.3

/cvs/installer/jdkbundle/solaris-sparc.xml
new revision: 1.4.4.4; previous revision: 1.4.4.3

/cvs/installer/jdkbundle/solaris-x86.xml
new revision: 1.4.4.4; previous revision: 1.4.4.3

/cvs/installer/jdkbundle/windows.xml
new revision: 1.5.4.4; previous revision: 1.5.4.3
Comment 12 dmladek 2004-09-21 06:17:29 UTC
Marek did you commat this fix also in Bundle Installer's code?
Comment 13 dmladek 2004-09-21 07:19:37 UTC
:-) Oupss... I'd rather carefully read first. From  inserted commit
log it's quite obvious it's been fixed in those 2 installer's types
Comment 14 Michal Mocnak 2005-04-13 10:41:36 UTC
Issue has been verified in the latest 4.0 Beta1 and Beta2 build under Windows XP SP2