Steps to reproduce:
1) Run NetBeans IDE installer (full) with --record state.xml
2) Uncheck some packs/runtimes in the customization panel
3) Perform installation
4) Uninstall everything installed
5) Run installer in silent mode using the generated (p.1) state file using --silent --state state.xml file
The expected behaviour is that this time the same set of packs/runtimes would be installed as in first installation but
in reality everything that is bundled is gotten installed.
This issue was reported by Ronnie dot Duncan at Sun dot COM at nbi-interest alias. Confirmed by development.
The problem likely to be in either Registry.loadStateFile or Registry.changeStatuses() (or the order they are called).