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.
[ JDK VERSION : 1.5.0_02 ] I was trying to remove a Q-build of early march to install a daily snap. I got the following, very weird, messages, and the Q-build failed to uninstall: Welcome to the Uninstall Wizard for ERROR: cannot load product /product.xml: java.io.IOException: entry cb5a12cc089661a67d0e28f98618fe76/product.xml does not exist in C:\Program Files\netbeans-4.1dev\_uninst\uninstall.jar The Wizard will uninstall ERROR: cannot load product /product.xml: java.io.IOException: entry cb5a12cc089661a67d0e28f98618fe76/product.xml does not exist in C:\Program Files\netbeans-4.1dev\_uninst\uninstall.jar from your computer. To continue, choose Next. If I press next, I get a panel with just "Important Information" in it. If I press next, I get: Errors occurred during the uninstallation. cannot load product /product.xml: java.io.IOException: entry cb5a12cc089661a67d0e28f98618fe76/product.xml does not exist in C:\Program Files\netbeans-4.1dev\_uninst\uninstall.jar The uninstaller has not removed your IDE user directory. If you wish, you can delete it manually. By default, the user directory is located in the .netbeans/dev folder within your Documents and Settings directory. Don't know if that matter, but I think I removed the user directory manually before doing the uninstall.
It looks like uninstaller data are corrupted. No idea what could cause this. What NB build is it? I can try to reproduce it. You can remove NB installation manualy on Windows as follows: 1.Delete NetBeans from disk. 2.Remove desktop icons and Programs Start menu item for NetBeans. 3.In registry remove uninstall item: Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\274c5407c4fa26908310cb5c1c4100de Last key is product ID for NetBeans. Last 6 chars are reserved for version. 4.Update file vpd.properties. (Check its content and if it contains only NB items you can delete it.) It is text file used by Install Shield to control installed components. It is present in Win system dir C:\WinNT or C:\Windows. Use find to locate it. Problem is it is shared by all installers based on Install Shield so simply deleting could break some other installers/uninstallers functionality if it contains other data. I attach example of vpd.properties for NB 4.1 dev on Linux. On Windows it is similar. So you can guess what to delete from vpd.properties if you think it is better not to delete it.
Created attachment 21394 [details] Example of vpd.properties for NB 4.1 dev
Thanks for all the uninstalling info. I don't know why the uninstaller data was corrupted. I installed the same version on both my workstation and laptop, but only my workstation had problem, and it is the first time I find that problem, so I think it's gonna be hard for you (or anybody) to reproduce my exact corruption, but corrupting a file by adding and removing bytes randomly is not hard ;) This is a random problem (I've added RANDOM keyword), but maybe the uninstaller could be made a little bit more robust and handle these type of failures better?
It would be nice to be able to handle this better. But I am afraid it is not possible. This is handled by Install Shield. AFAIK InstallShield uses md5sum to verify its data. I can only check given Q-build installer/uninstaller. Do you remember what Q-build was it? (product.xml contains whole product configuration. Without it installer/uninstaller cannot do anything.)
Closing as WONTFIX. We cannot fix this problem. Looks like uninstaller data got corrupted somehow.