NAME

Perl::Dist::WiX::FeatureTree - Tree of <Feature> tag objects.

VERSION

This document describes Perl::Dist::WiX::FeatureTree version 1.500.

SYNOPSIS

my $tree = Perl::Dist::WiX::FeatureTree->new(
	parent => $dist,
);

my $xml = $tree->as_string();

DESCRIPTION

This module contains the feature tree for a distribution.

Currently, this implements a "feature tree" with one feature. Multiple features will be implemented during the October 2010 release cycle.

INTERFACE

new

my $tree = Perl::Dist::WiX::FeatureTree->new(
	parent => $dist,
);

The new method creates a new feature tree object for the Perl::Dist::WiX object passed as its parent parameter.

as_string

my $xml = $tree->as_string();

The as_string method returns XML representing this feature tree object for use in the main .msi.

as_string_msm

my $xml = $tree->as_string_msm();

The as_string method returns XML representing this feature tree object for use in merge modules.

add_merge_module

$self->add_merge_module($mm)

This routine adds a merge module reference to the feature tree.

The $mm parameter is the Perl::Dist::WiX::Tag::MergeModule object to add a reference of.

DIAGNOSTICS

See Perl::Dist::WiX::Diagnostics for a list of exceptions that this module can throw.

BUGS AND LIMITATIONS (SUPPORT)

Bugs should be reported via:

1) The CPAN bug tracker at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Perl-Dist-WiX if you have an account there.

2) Email to <bug-Perl-Dist-WiX@rt.cpan.org> if you do not.

For other issues, contact the topmost author.

AUTHORS

Curtis Jewell <csjewell@cpan.org>

Adam Kennedy <adamk@cpan.org>

SEE ALSO

Perl::Dist::WiX, http://ali.as/, http://csjewell.comyr.com/perl/

COPYRIGHT AND LICENSE

Copyright 2009 - 2010 Curtis Jewell.

Copyright 2008 - 2009 Adam Kennedy.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

The full text of the license can be found in the LICENSE file included with this distribution.