This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 129039

Summary: Silent installation via state file is not possible with custom products selected
Product: installer Reporter: dlipin <dlipin>
Component: NBIAssignee: dlipin <dlipin>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P4    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description dlipin 2008-03-03 16:38:01 UTC
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).
Comment 1 dlipin 2008-03-12 11:08:42 UTC
Fixed.
http://hg.netbeans.org/main/rev/2f4164762228