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 - Silent installation via state file is not possible with custom products selected
Summary: Silent installation via state file is not possible with custom products selected
Status: RESOLVED FIXED
Alias: None
Product: installer
Classification: Unclassified
Component: NBI (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: dlipin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-03 16:38 UTC by dlipin
Modified: 2008-03-12 11:08 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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