[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=17750867#comment-17750867 ] Joseph Szabo commented on NETBEANS-2523: Still true in Netbeans 18... > 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.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[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-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[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=17349634#comment-17349634 ] Lars Bruun-Hansen commented on NETBEANS-2523: - The bug still exists in the [Release Candidate for NetBeans IDE 12.4 Installer for Windows|https://dist.apache.org/repos/dist/dev/netbeans/netbeans/12.4-installers/windows/Apache-NetBeans-12.4-bin-windows-x64.exe]. For reference here's the Quick-and-Dirty method for how to "release" the fix: # Build new binary for Windows from the jnilib project (repo path: {{nbi/engine/native/jnilib}}) # Based on the [current binary package used|https://netbeans.osuosl.org/binaries/2B892D9E648A792EDB0F705378E06F84C322E208-nbi.engine-external-binaries-11.zip] you would create a new zip package which includes the updated binary (meaning newly build version of (ZIP path) {{native/jnilib/dist/windows*.dll}} from step 1). # Name the new zip package something like {{nbi.engine-external-binaries-12.zip}} (i.e. bump its version) and upload it to OSUOSL. # The binary is used in project (repo path) {{harness/libs.nbi.engine}} which would need to have its pointers to the binary on OSUOSL changed. The reason why the method is called "quick-and-dirty" is that the audit trail is lost. By using such method we cannot be sure from which git ref the binaries at OSUOSL are build. In fact, we cannot even guarantee that what is at OSUOSL is based on on source code committed and pushed to the Netbeans Git repo. Lot's of discussions on this on the NetBeans dev mailing list. As a parallel example, the build process for native binaries for Profiler Lib project has been streamlined in [PR2853|https://github.com/apache/netbeans/pull/2853]. Those binaries are now build on a CI pipeline whenever the source code changes and a ZIP package with git ref pointers is build as a result (which can then subsequently be put into OSUOSL). Ideally something similar would need to be done for jnilib project. Or use the quick-and-dirty method if in a hurry ... however such method is unsustainable for the community in the long run. > 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-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[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=17047794#comment-17047794 ] Lars Bruun-Hansen commented on NETBEANS-2523: - Verified that the bug still exists in the Release Candidate for NetBeans IDE 11.3 Installer for Windows. (because of the binary not being re-rebuild automatically) > 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 > Fix For: 11.3 > > Attachments: 2020-01-04 22_13_24-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-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[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=17046962#comment-17046962 ] Lars Bruun-Hansen commented on NETBEANS-2523: - Okay, got it. It is Jenkins which builds releases. Still, I've looked through Jenkins and really cannot see anywhere where it would build the native C / C++ binaries which goes into NBI. But I must admit it is a blur to me, so don't take my word for it. If Jenkins really builds these bits then we would be looking for something which would need a C / C++ compiler and it would _have_ to execute on Windows. [Reema Taneja commented|https://github.com/apache/netbeans/pull/1844#issuecomment-571937304] on Jan 8th this year that such bits are build manually (which I assume means on some developer's workstation), so I would assume that is still the case ? > 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 > Fix For: 11.3 > > Attachments: 2020-01-04 22_13_24-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-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[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=17046796#comment-17046796 ] Eric Barboni commented on NETBEANS-2523: Travis don't build release bits. You may find installer here https://builds.apache.org/view/M-R/view/NetBeans/job/netbeans-installers/ > 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 > Fix For: 11.3 > > Attachments: 2020-01-04 22_13_24-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-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[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=17046788#comment-17046788 ] Lars Bruun-Hansen commented on NETBEANS-2523: - [~skygo]: Well, the current status is that it was merged into NB code base in [PR-1844|https://github.com/apache/netbeans/pull/1844]. However, this doesn't mean that it becomes part of the NetBeans distribution as this is one area of the NetBeans world which is build by hand, i.e. it is not part of Travis build. Therefore, advertising this bug in 11.3 Release Notes as something which has been fixed would be premature / incorrect. We need to figure out who in NetBeans community builds these binaries. There's a [comment on the PR|https://github.com/apache/netbeans/pull/1844#issuecomment-571937304] which at least gives an idea. Personally, I wouldn't know how to get things into that ZIP. > 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 > Fix For: 11.3 > > Attachments: 2020-01-04 22_13_24-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-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[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=17045375#comment-17045375 ] Eric Barboni commented on NETBEANS-2523: IS it ok with 11.3 ? > 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 > Fix For: 11.3 > > Attachments: 2020-01-04 22_13_24-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-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[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=17008169#comment-17008169 ] Lars Bruun-Hansen commented on NETBEANS-2523: - It is worth noting why the bug hasn't had more of an impact: * Windows will ignore such registry entry where there's a mismatch between the stated type (e.g. DWORD) and the length of the actual value.. For the case of the 'NoModify' it will - if unset - default to a value of true (1) and this is what NBI intends anyway (NBI's uninstaller feature doesn't support modifying an installation). * NBI has no other use-case for _writing_ registry keys than setting the Uninstaller information. Of these, only the 'NoModify' entry is of type DWORD. All the other registry entries are of type string. (see screenshot) However, I've seen certain Windows system analyzer tools trip over this value from NBI. The tool flagged the registry value as "suspect". (can't right now remember which tool it was) > 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 > Attachments: 2020-01-04 22_13_24-Registry Editor.png > > > 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-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[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=17008162#comment-17008162 ] Lars Bruun-Hansen commented on NETBEANS-2523: - See below for how the bug manifests itself (yellow highlight): !2020-01-04 22_04_58-Registry Editor.png! > 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 > Attachments: 2020-01-04 22_04_58-Registry Editor.png > > > 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-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists