FarmGeek4Life opened a new issue, #4787:
URL: https://github.com/apache/netbeans/issues/4787

   ### Apache NetBeans version
   
   Apache NetBeans 15
   
   ### What happened
   
   Two issue/bug reports with the Windows installer have been reported since 
NetBeans 11, and while there have been fixes merged for them, they still are 
not part of the new installers because the binaries are not built and used 
automatically, apparently. This library has not received many updates since 
NetBeans 11, but also has not been re-compiled/re-packaged for 
http://netbeans.osuosl.org/binaries/ since NetBeans 11.
   
   Lars Bruun-Hansen mentioned a couple fix options 
[here](https://issues.apache.org/jira/browse/NETBEANS-2523), in the 
second-to-last comment.
   
   The reason why this is a problem: a bad registry value is written by the 
installer, which then breaks multiple tools that scan the Windows 'Uninstall' 
registry key. Every time I install a new version of NetBeans, I have to 
manually edit the registry to fix the bad registry value, or else the desktop 
configuration management software at my place of work tries to re-install 
software that is already installed on my computer, 3 times a day. They could 
probably make the desktop configuration management software more robust, but 
it's not the program writing a bad (corrupt) value to the Windows Registry. 
   
   I know the bug reports are still open, but nothing seems to be happening to 
resolve this issue. Lars Bruun-Hansen mentions both a 'quick-and-dirty fix' and 
a more desirable fix, but neither one has happened, and one of them needs to be 
done. It appears that the previous versions were all the 'quick-and-dirty fix' 
method, since no change tracking information is included with the zip archive.
   
   Links to the issues and fixes, which also contain more details:
   https://issues.apache.org/jira/browse/NETBEANS-2523
   https://github.com/apache/netbeans/pull/1844
   https://issues.apache.org/jira/browse/NETBEANS-3094
   https://github.com/apache/netbeans/pull/1504
   
   This package is referenced here: 
https://github.com/apache/netbeans/tree/master/harness/libs.nbi.engine/external
   
   ### How to reproduce
   
   Run the installer for any windows version of NetBeans since NetBeans 11, 
then check the registry at 
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\nbi-nb-all-15.0.0.220826.0
 (or proper path for the version installed). There will be a registry DWORD key 
there, 'NoModify', where the registry will display the data as '(invalid DWORD 
(32-bit) value)', because the currently used binaries are writing a 64-bit 
value instead of a 32-bit value. 
https://issues.apache.org/jira/browse/NETBEANS-2523 is the original bug report 
for this issue, and https://github.com/apache/netbeans/pull/1844 is the pull 
request that fixes the bug in the code, but that code has not been compiled and 
uploaded to a compatible package to replace the existing binary zip bundle used 
in the build process.
   
   ### Did this work correctly in an earlier version?
   
   No / Don't know
   
   ### Operating System
   
   Windows 10
   
   ### JDK
   
   JDK 11 64-bit
   
   ### Apache NetBeans packaging
   
   Apache NetBeans provided installer
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit a pull request?
   
   No
   
   ### Code of Conduct
   
   Yes


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to