You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Joseph Szabo (Jira)" <ji...@apache.org> on 2021/07/26 19:16:00 UTC

[jira] [Commented] (NETBEANS-2523) Netbeans 64-bit creates invalid nomodify value in windows registry for years

    [ https://issues.apache.org/jira/browse/NETBEANS-2523?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17387575#comment-17387575 ] 

Joseph Szabo commented on NETBEANS-2523:
----------------------------------------

Yes, I confirm this isn't fixed in Apache NetBeans IDE version 12.4.  Even searching the registry under the Uninstall key for "Netbeans" seems to break with this corrupt NoModify registry value.  My current fix is:

reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\nbi-nb-all-12.4.0.0.210514 /f /v NoModify /d 1 /t reg_dword

 

> Netbeans 64-bit creates invalid nomodify value in windows registry for years
> ----------------------------------------------------------------------------
>
>                 Key: NETBEANS-2523
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-2523
>             Project: NetBeans
>          Issue Type: Bug
>            Reporter: Joseph Szabo
>            Assignee: Lars Bruun-Hansen
>            Priority: Major
>              Labels: pull-request-available
>         Attachments: 2020-01-04 22_13_24-Registry Editor.png, 2021-01-03 08_22_56-Registry Editor.png
>
>          Time Spent: 1h 40m
>  Remaining Estimate: 0h
>
> See [https://netbeans.org/bugzilla/show_bug.cgi?id=251538]
> Netbeans 64 bit installer creates a 64 bit integer in what is supposed to be a 32 bit dword in the registry, which becomes an invalid value.
>  
> Windows Registry Editor Version 5.00
> [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\nbi-nb-base-8.2.0.0.201609300101]
>  "NoModify"=hex(4):01,00,00,00,00,00,00,00
>  
> Netbeans prevents powershell from listing registry uninstall keys in windows:
> {noformat}
> get-itemproperty hklm:\software\microsoft\windows\currentversion\uninstall*
> ...
> get-itemproperty : Specified cast is not valid.
>  At line:1 char:1
>  + get-itemproperty hklm:\software\microsoft\windows\currentversion\unin ...
>  + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>  + CategoryInfo : NotSpecified: ( [Get-ItemProperty], InvalidCastException
>  + FullyQualifiedErrorId : System.InvalidCastException,Microsoft.PowerShell.Commands.GetItemPropertyCommand
> {noformat}
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

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