Perl::Dist::WiX::Tag::MergeModule - <Merge> tag that makes its own <MergeRef> when requested.
This document describes Perl::Dist::WiX::Tag::MergeModule version 1.500.
my $tag = Perl::Dist::WiX::Tag::MergeModule->new( id => 'Perl', disk_id => 1, language => 1033, source_file => catfile( $dist->output_dir(), $dist->output_base_filename() . '.msm' ), primary_reference => 1, );
This object defines an XML tag that links a Merge Module into a Perl::Dist::WiX based distribution.
This class is a WiX3::XML::Merge and inherits its API, so only additional API is documented here.
The new constructor takes a series of parameters, validates then and returns a new Perl::Dist::WiX::Tag::MergeModule|Perl::Dist::WiX::Tag::MergeModule object.
new
If an error occurs, it throws an exception.
It inherits all the parameters described in the WiX3::XML::Merge new method documentation, and adds one additional parameter.
The optional boolean primary_reference param specifies whether the merge module's reference requested with get_merge_reference is the "primary reference" (whether the Primary attribute to the reference is set to "yes") to the contents of the merge module.
primary_reference
Primary
The get_merge_reference method returns the WiX3::XML::MergeRef defined by the new method's id and primary_reference parameters.
get_merge_reference
Bugs should be reported via the CPAN bug tracker at
http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Perl-Dist-WiX
For other issues, contact the author.
Curtis Jewell <csjewell@cpan.org>
Perl::Dist::WiX, http://wix.sourceforge.net/manual-wix3/wix_xsd_merge.htm, http://wix.sourceforge.net/manual-wix3/wix_xsd_mergeref.htm
Copyright 2009 - 2010 Curtis Jewell.
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 module.
To install Perl::Dist::WiX, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Perl::Dist::WiX
CPAN shell
perl -MCPAN -e shell install Perl::Dist::WiX
For more information on module installation, please visit the detailed CPAN module installation guide.