Perl::Dist::WiX::Fragment::CreateFolder - A <Fragment> tag that creates a folder.
This document describes Perl::Dist::WiX::Fragment::CreateFolder version 1.250_100.
my $fragment = Perl::Dist::WiX::Fragment::CreateFolder->new( directory_id => 'Cpan', # Must be the ID of an already existing directory. id => 'CPANFolder', # Used to create the ID of the CreateFolder object );
This object defines a <Fragment> tag that contains the other tags required in order to create a folder when the MSI is installed.
This class inherits from WiX3::XML::Fragment and shares its API.
There are no additional routines added.
The new constructor takes a series of parameters, validates then and returns a new Perl::Dist::WiX::Fragment::Environment object.
new
Perl::Dist::WiX::Fragment::Environment
It inherits all the parameters described in the WiX3::XML::Fragment->new() method documentation.
It also adds one more required parameter, documented below.
The id of the directory to create.
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
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.