XML::API::WIX2 0.02
Sponsored Links
XML::API::WIX2 0.02 Ranking & Summary
File size:
0.010 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
906
Date added:
2007-05-04
Publisher:
R Bernard Davison
XML::API::WIX2 0.02 description
XML::API::WIX2 is a WIX source file generation through an object API.
SYNOPSIS
As a simple example the following perl code:
use XML::API;
my $m_wxs = new XML::API(doctype => WIX2, encoding => UTF-8);
$m_wxs->Product_open({
Id => 12345678-1234-1234-1234-123456789012,
Name => Test Package,
Language => 1033,
Version => 1.0.0.0,
Manufacturer => Microsoft Corporation,
});
$m_wxs->Package({
Id => 12345678-1234-1234-1234-123456789012,
Description => My first Windows Installer package,
Comments => This is my first attempt at creating a Windows Installer database,
Manufacturer => Microsoft Corporation,
InstallerVersion => 200,
Compressed => yes,
});
$m_wxs->Media({ Id =>1, Cabinet => product.cab, EmbedCab => yes});
$m_wxs->Directory_open({ Id => TARGETDIR, Name => SourceDir});
$m_wxs->Directory_open({ Id => "ProgramFilesFolder", Name => "PFiles"});
$m_wxs->Directory_open({ Id => "TESTFILEPRODUCTDIR", Name => "TFolder", LongName => "TestFolder"});
$m_wxs->Component_open({ Id => License, Guid => 12345678-1234-1234-1234-123456789012});
$m_wxs->File({ Id => "License", Name => "License.rtf", DiskId => "1", Source => "License.rtf"});
$m_wxs->Component_close();
$m_wxs->Directory_close();
$m_wxs->Directory_close();
$m_wxs->Directory_close();
$m_wxs->Feature_open({ Id => License, Title => License files, Level => 1});
$m_wxs->ComponentRef({ Id => License });
$m_wxs->Feature_close();
$m_wxs->Property({Id => "WIXUI_INSTALLDIR", Value => "TESTFILEPRODUCTDIR"});
$m_wxs->UIRef({Id => "WixUI_Mondo"});
$m_wxs->Product_close();
$m_wxs->_print;
will produce the following nicely rendered output:
< ?xml version="1.0" encoding="UTF-8" ?>
< Wix xmlns="http://schemas.microsoft.com/wix/2003/01/wi">
< Product Id="12345678-1234-1234-1234-123456789012" Language="1033" Manufacturer="Microsoft Corporation" Name="Test Package" Version="1.0.0.0">
< Package Comments="This is my first attempt at creating a Windows Installer database" Compressed="yes" Description="My first Windows Installer package" Id="12345678-1234-1234-1234-123456789012" InstallerVersion="200" Manufacturer="Microsoft Corporation" />
< Media Cabinet="product.cab" EmbedCab="yes" Id="1" />
< Directory Id="TARGETDIR" Name="SourceDir">
< Directory Id="ProgramFilesFolder" Name="PFiles">
< Directory Id="TESTFILEPRODUCTDIR" LongName="TestFolder" Name="TFolder">
< Component Guid="12345678-1234-1234-1234-123456789012" Id="License">
< File DiskId="1" Id="License" Name="License.rtf" Source="License.rtf" />
< /Component> < !-- Guid="12345678-1234-1234-1234-123456789012" Id="License"-->
< /Directory> < !-- Id="TESTFILEPRODUCTDIR" LongName="TestFolder" Name="TFolder"-->
< /Directory> < !-- Id="ProgramFilesFolder" Name="PFiles"-->
< /Directory> < !-- Id="TARGETDIR" Name="SourceDir"-->
< Feature Id="License" Level="1" Title="License files">
< ComponentRef Id="License" />
< /Feature> < !-- Id="License" Level="1" Title="License files"-->
< Property Id="WIXUI_INSTALLDIR" Value="TESTFILEPRODUCTDIR" />
< UIRef Id="WixUI_Mondo" />
< /Product> < !-- Id="12345678-1234-1234-1234-123456789012" Language="1033" Manufacturer="Microsoft Corporation" Name="Test Package" Version="1.0.0.0"-->
< /Wix> < !-- xmlns="http://schemas.microsoft.com/wix/2003/01/wi"-->
SYNOPSIS
As a simple example the following perl code:
use XML::API;
my $m_wxs = new XML::API(doctype => WIX2, encoding => UTF-8);
$m_wxs->Product_open({
Id => 12345678-1234-1234-1234-123456789012,
Name => Test Package,
Language => 1033,
Version => 1.0.0.0,
Manufacturer => Microsoft Corporation,
});
$m_wxs->Package({
Id => 12345678-1234-1234-1234-123456789012,
Description => My first Windows Installer package,
Comments => This is my first attempt at creating a Windows Installer database,
Manufacturer => Microsoft Corporation,
InstallerVersion => 200,
Compressed => yes,
});
$m_wxs->Media({ Id =>1, Cabinet => product.cab, EmbedCab => yes});
$m_wxs->Directory_open({ Id => TARGETDIR, Name => SourceDir});
$m_wxs->Directory_open({ Id => "ProgramFilesFolder", Name => "PFiles"});
$m_wxs->Directory_open({ Id => "TESTFILEPRODUCTDIR", Name => "TFolder", LongName => "TestFolder"});
$m_wxs->Component_open({ Id => License, Guid => 12345678-1234-1234-1234-123456789012});
$m_wxs->File({ Id => "License", Name => "License.rtf", DiskId => "1", Source => "License.rtf"});
$m_wxs->Component_close();
$m_wxs->Directory_close();
$m_wxs->Directory_close();
$m_wxs->Directory_close();
$m_wxs->Feature_open({ Id => License, Title => License files, Level => 1});
$m_wxs->ComponentRef({ Id => License });
$m_wxs->Feature_close();
$m_wxs->Property({Id => "WIXUI_INSTALLDIR", Value => "TESTFILEPRODUCTDIR"});
$m_wxs->UIRef({Id => "WixUI_Mondo"});
$m_wxs->Product_close();
$m_wxs->_print;
will produce the following nicely rendered output:
< ?xml version="1.0" encoding="UTF-8" ?>
< Wix xmlns="http://schemas.microsoft.com/wix/2003/01/wi">
< Product Id="12345678-1234-1234-1234-123456789012" Language="1033" Manufacturer="Microsoft Corporation" Name="Test Package" Version="1.0.0.0">
< Package Comments="This is my first attempt at creating a Windows Installer database" Compressed="yes" Description="My first Windows Installer package" Id="12345678-1234-1234-1234-123456789012" InstallerVersion="200" Manufacturer="Microsoft Corporation" />
< Media Cabinet="product.cab" EmbedCab="yes" Id="1" />
< Directory Id="TARGETDIR" Name="SourceDir">
< Directory Id="ProgramFilesFolder" Name="PFiles">
< Directory Id="TESTFILEPRODUCTDIR" LongName="TestFolder" Name="TFolder">
< Component Guid="12345678-1234-1234-1234-123456789012" Id="License">
< File DiskId="1" Id="License" Name="License.rtf" Source="License.rtf" />
< /Component> < !-- Guid="12345678-1234-1234-1234-123456789012" Id="License"-->
< /Directory> < !-- Id="TESTFILEPRODUCTDIR" LongName="TestFolder" Name="TFolder"-->
< /Directory> < !-- Id="ProgramFilesFolder" Name="PFiles"-->
< /Directory> < !-- Id="TARGETDIR" Name="SourceDir"-->
< Feature Id="License" Level="1" Title="License files">
< ComponentRef Id="License" />
< /Feature> < !-- Id="License" Level="1" Title="License files"-->
< Property Id="WIXUI_INSTALLDIR" Value="TESTFILEPRODUCTDIR" />
< UIRef Id="WixUI_Mondo" />
< /Product> < !-- Id="12345678-1234-1234-1234-123456789012" Language="1033" Manufacturer="Microsoft Corporation" Name="Test Package" Version="1.0.0.0"-->
< /Wix> < !-- xmlns="http://schemas.microsoft.com/wix/2003/01/wi"-->
XML::API::WIX2 0.02 Screenshot
XML::API::WIX2 0.02 Keywords
API
XML
WIX2
TESTFILEPRODUCTDIR
WIX
WIX2 0.02
microsoft corporation
Windows Installer
Source file
my first
file generation
id
m
name
license
directory
Bookmark XML::API::WIX2 0.02
XML::API::WIX2 0.02 Copyright
WareSeeker periodically updates pricing and software information of XML::API::WIX2 0.02 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of XML::API::WIX2 0.02 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
microsoft corporation website
directory 411
license to grill
what does my name mean
history of microsoft corporation
member directory
drivers license
microsoft corporation msn updates
license kazaa
directory plus
microsoft corporation.img
directory assistance
name definitions
license plate search
microsoft corporation information
microsoft corporation word lottery
license license
directory search
Related Software
XML::Quick is a Perl module to generate XML from hashes (and other data). Free Download
XML::SAX is a simple API for XML. Free Download
XML::SAX::Simple is a SAX version of XML::Simple. Free Download
JAPI is a Java API that was designed to extend Suns API with various features. Free Download
XML::Genx is a simple, correct XML writer. Free Download
StealIt is a service menu to take ownership on selected file/directory. Free Download
XML Toolkit provides an easy to use, very pythoninc approach to XML processing. Free Download
XML::Atom is an Atom feed and API implementation. Free Download
Latest Software
Popular Software
Favourite Software