Commit 35e2b2c
fix(installer): remove nsJSON intermediate error checks causing false positives
Root cause: nsJSON operations set the NSIS error flag even when succeeding.
The CI tests explicitly note "Don't check intermediate errors" and this fix
aligns the installer with the proven CI test pattern.
Changes:
- Remove ClearErrors + ${If} ${Errors} checks after each nsJSON::Set call
- Use backticks for key names (matching CI syntax)
- Use lowercase /value without /END (matching CI syntax)
- Only validate final nsJSON::Serialize result
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent 7bad6d3 commit 35e2b2c
2 files changed
Lines changed: 12 additions & 37 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
415 | 415 | | |
416 | 416 | | |
417 | 417 | | |
418 | | - | |
419 | | - | |
| 418 | + | |
| 419 | + | |
420 | 420 | | |
421 | | - | |
422 | | - | |
423 | | - | |
424 | | - | |
425 | | - | |
426 | | - | |
427 | | - | |
428 | | - | |
429 | | - | |
430 | | - | |
431 | | - | |
432 | | - | |
433 | | - | |
434 | | - | |
435 | | - | |
436 | | - | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
437 | 424 | | |
438 | | - | |
439 | | - | |
440 | | - | |
441 | | - | |
442 | | - | |
443 | | - | |
444 | | - | |
445 | | - | |
446 | | - | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
447 | 428 | | |
448 | | - | |
449 | | - | |
450 | | - | |
451 | | - | |
452 | | - | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
453 | 432 | | |
454 | 433 | | |
455 | 434 | | |
456 | 435 | | |
457 | 436 | | |
458 | | - | |
459 | | - | |
460 | | - | |
461 | | - | |
462 | 437 | | |
463 | 438 | | |
464 | 439 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
0 commit comments