Perl::Dist::WiX::Tag::Icon - <Icon> tag that stores its type of target.
This document describes Perl::Dist::WiX::Tag::Icon version 1.500.
my $tag = Perl::Dist::WiX::Tag::Icon->new( sourcefile => catfile($dist->dist_dir(), 'padre.ico'), target_type => 'exe', id => 'padre.exe.ico' # I_ is prepended to this. );
This is an XML tag that specifies an icon that is used in a Perl::Dist::WiX-based distribution.
This class is a WiX3::XML::Icon and inherits its API, so only additional API is documented here.
new constructor takes a series of parameters, validates then and returns a new
If an error occurs, it throws an exception.
It inherits all the parameters described in the WiX3::XML::Icon->new() method documentation, and adds one additional parameter.
The required string
target_type parameter stores the extension of the target of a shortcut icon, or 'msi' if this is the icon for the msi.
get_target_type param retrieves the extension of the target of the shortcut icon that was stored in the object.
Bugs should be reported via the CPAN bug tracker at
For other issues, contact the author.
Curtis Jewell <email@example.com>
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.