Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-2523

Netbeans 64-bit creates invalid nomodify value in windows registry for years

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Reopened
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None

      Description

      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:

      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
      

       

        Attachments

        1. 2020-01-04 22_13_24-Registry Editor.png
          54 kB
          Lars Bruun-Hansen
        2. 2021-01-03 08_22_56-Registry Editor.png
          57 kB
          Lars Bruun-Hansen

          Issue Links

            Activity

              People

              • Assignee:
                lbruun Lars Bruun-Hansen
                Reporter:
                jszabo Joseph Szabo
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 40m
                  1h 40m