LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Edit Installer IDE bug when creating registry keys

In the Installer Editor (CVI 9.0.1), I'm getting weird behavior and then (sometimes) a "Custom callback raised an exception" error and then (sometimes) a "CVI stopped working" crash.

 

The problem seems to start in the "Registry Keys" tab, and I can reproduce it by adding several keys under HKLM\SOFTWARE\Classes\. Next, I add a new child key under the last one listed. Instead, it adds a new sibling key, which also has a new child. Please see the attached image, which was done after loading the colorpicker example project. Those last two "New Key" items circles should have been one child of the one above.

 

Once this unexpected sibling (with child) problem occurs, all bets are off, especially if I continue to edit and attempt to fix things. The new installer registry key entries do not necessarily get saved, and the IDE often stops working.

 

--Ian

0 Kudos
Message 1 of 4
(3,203 Views)

Thanks for the thorough description. I've created a bug report for this issue (#192040), and we'll fix it in a future release.

 

Mert A.
National Instruments

0 Kudos
Message 2 of 4
(3,199 Views)

The essence of the problem appears to be that if you change a key's name, then click a different item, the name change does not get applied. You can confirm this behavior if you OK the Edit dialog, and then re-enter it: the key name will have apparently reverted.

 

For now, you can avoid this by always hitting Enter after editing the name of a key (both when creating a new key, or renaming an existing key).

 

Mert A.
National Instruments

Message 3 of 4
(3,195 Views)
Thanks, Mert, for the helpful follow-up.
0 Kudos
Message 4 of 4
(3,167 Views)