<?xml version="1.0" encoding="utf-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
<!-- Generated by [% dist.pdw_class %] using Perl::Dist::WiX [% dist.pdw_version %] -->
<Product Id='[% dist.msi_product_id %]'
Language='1033'
Manufacturer="[% dist.app_publisher %]"
Name="[% dist.app_name %]"
UpgradeCode="[% dist.msi_upgrade_code %]"
Version="0.63.0" >
[% IF dist.msi_debug %]
<Package Description='Perl for Win32 operating systems.' Id='*' Languages='1033'
Comments='Debug Build.'
Platform='x86' InstallerVersion='200' Compressed='yes' InstallPrivileges='elevated' />
<Property Id='MsiLogging'>voIcewarmupx!</Property>
[% ELSE %]
<Package Description='Perl for Win32 operating systems.' Id='*' Languages='1033'
Platform='x86' InstallerVersion='200' Compressed='yes' InstallPrivileges='elevated' />
[% END %]
<Media Id="1" Cabinet="Padre.cab" CompressionLevel="high" EmbedCab="yes" />
[%# Upgrade Support %]
<CustomAction
Id="PreventDowngrading"
Error="A newer version of [% dist.app_name %] is already installed." />
<Upgrade Id="[% dist.msi_upgrade_code %]">
<UpgradeVersion
Minimum="0.63.0"
IncludeMinimum="yes"
OnlyDetect="yes"
Language="1033"
Property="NEWERVERSIONDETECTED" />
<UpgradeVersion
Minimum="0.0.0"
IncludeMinimum="yes"
Maximum="0.63.0"
IncludeMaximum="no"
Language="1033"
Property="OLDERVERSIONBEINGUPGRADED" />
</Upgrade>
<InstallExecuteSequence>
<Custom
Action="PreventDowngrading"
After="FindRelatedProducts">NEWERVERSIONDETECTED</Custom>
<RemoveExistingProducts After="InstallInitialize" />
</InstallExecuteSequence>
<InstallUISequence>
<Custom
Action="PreventDowngrading"
After="FindRelatedProducts">NEWERVERSIONDETECTED</Custom>
</InstallUISequence>
<Condition Message="You need to be an administrator to install this product.">
Privileged
</Condition>
<Condition Message="Can only install for all users on the machine.">
<![CDATA[ALLUSERS = 1]]>
</Condition>
<Condition Message="Cannot install on Windows 9x or ME systems.">
<![CDATA[VersionNT]]>
</Condition>
<Condition Message="Cannot install on Windows NT 4.0 or Windows 2000 systems.">
<![CDATA[VersionNT > 500]]>
</Condition>
<UIRef Id="WixUI_[% dist.msi_ui_type %]" />
<UIRef Id="WixUI_ErrorProgressText" />
<UIRef Id="WixUI_Common" />
<Property Id="INSTALLDIR">[% dist.image_dir %]</Property>
[% directory_tree %]
[% dist.feature_tree_obj.as_string %]
[% dist.icons.as_string %]
<CustomAction Id='CA_ClearSiteFolder' BinaryKey='B_ClearFolder' DllEntry='ClearSiteFolder' />
<InstallExecuteSequence>
<Custom Action='CA_ClearSiteFolder' Before='InstallInitialize'>
<![CDATA[UNINSTALL_SITE OR (Installed AND NOT OLDERVERSIONBEINGUPGRADED)]]>
</Custom>
</InstallExecuteSequence>
<Binary Id='B_ClearFolder' SourceFile='[% dist.wix_dist_dir %]\ClearFolderCA.dll' />
<UI>
<ProgressText Action="CA_ClearSiteFolder">Preparing the site folder for cleaning... (please wait a while)</ProgressText>
</UI>
[% IF dist.msi_feature_tree.defined %]
<Property Id='ARPNOMODIFY'>1</Property>
[% END %]
<Property Id='ARPNOREPAIR'>1</Property>
<Property Id='MSIFASTINSTALL'>1</Property>
<!-- Property Id='MSIDEPLOYMENTCOMPLIANT'>1</Property -->
<Property Id='PerlModuleID'>[% dist.msm_code_property %]</Property>
<Property Id='ALLUSERS'>1</Property>
<Property Id='ARPCOMMENTS'>[% dist.app_name %] 0.56 on Perl 5.10.1</Property>
<Property Id='ARPCONTACT'>[% dist.app_publisher %]</Property>
<Property Id='ARPURLINFOABOUT'>[% dist.app_publisher_url %]</Property>
[% IF dist.msi_help_url.defined %]
<Property Id='ARPHELPLINK'>[% dist.msi_help_url %]</Property>
[% END %]
[% IF dist.msi_readme_file.defined %]
<Property Id='ARPREADME'>[% dist.msi_readme_file %]</Property>
[% END %]
[% IF dist.msi_product_icon_id.defined %]
<Property Id='ARPPRODUCTICON'>[% dist.msi_product_icon_id %]</Property>
[% END %]
[% IF dist.msi_banner_top.defined %]
<WixVariable Id='WixUIBannerBmp' Value='[% dist.msi_banner_top %]' />
[% END %]
[% IF dist.msi_banner_side.defined %]
<WixVariable Id='WixUIDialogBmp' Value='[% dist.msi_banner_side %]' />
[% END %]
<WixVariable Id='WixUILicenseRtf' Value='[% dist.msi_license_file %]' />
</Product>
</Wix>