2019-04-09 04:14:43 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
|
2019-04-25 22:12:10 +00:00
|
|
|
xmlns:util="http://schemas.microsoft.com/wix/UtilExtension">
|
2019-04-25 06:25:03 +00:00
|
|
|
<?define ProductName="OpenLP"?>
|
|
|
|
<?define ProductCode="*"?>
|
|
|
|
<?define ProductVersion="%(version)s"?>
|
|
|
|
<?define Manufacturer="OpenLP Developers"?>
|
|
|
|
<?define Description="Open Source Worship Presentation Software"?>
|
|
|
|
<?define Comments="OpenLP is open source under the GNU General Public License"?>
|
|
|
|
<?define UpgradeCode="8C5881AC-8F1E-4937-BB99-B823FABF18F0"?>
|
|
|
|
<?define Platform="%(platform)s"?>
|
|
|
|
<Product Name="$(var.ProductName)" Manufacturer="$(var.Manufacturer)" Id="$(var.ProductCode)"
|
|
|
|
UpgradeCode="$(var.UpgradeCode)" Language="1033" Codepage="1252" Version="2.5.0">
|
|
|
|
<Package Id="*" Keywords="Installer" Description="$(var.Description)" Comments="$(var.Comments)"
|
|
|
|
Manufacturer="$(var.Manufacturer)" InstallerVersion="251" Languages="1033" Compressed="yes"
|
|
|
|
SummaryCodepage="1252" Platform="$(var.Platform)"/>
|
2019-04-09 04:14:43 +00:00
|
|
|
<Condition Message="You need to be an administrator to install this product.">Privileged</Condition>
|
2019-04-11 16:51:13 +00:00
|
|
|
<Media Id="1" Cabinet="openlp.cab" EmbedCab="yes" CompressionLevel="high"/>
|
2019-04-09 04:14:43 +00:00
|
|
|
<Property Id="WIXUI_INSTALLDIR" Value="INSTALLDIR" />
|
|
|
|
<Property Id="ARPPRODUCTICON" Value="OpenLP.ico" />
|
2019-04-25 06:25:03 +00:00
|
|
|
<Property Id="WIXUI_EXITDIALOGOPTIONALCHECKBOXTEXT" Value="Launch $(var.ProductName)" />
|
2019-04-11 16:51:13 +00:00
|
|
|
<Property Id="WixShellExecTarget" Value="[#file_e368869eb54b01e2288a3359b1cf51f8]" />
|
2019-04-09 04:14:43 +00:00
|
|
|
<CustomAction Id="LaunchApplication" BinaryKey="WixCA" DllEntry="WixShellExec" Impersonate="yes" />
|
2019-04-13 21:15:15 +00:00
|
|
|
<UIRef Id="WixUI_Common" />
|
|
|
|
<UI Id="WixUI_OpenLP">
|
|
|
|
<TextStyle Id="WixUI_Font_Normal" FaceName="Tahoma" Size="8" />
|
|
|
|
<TextStyle Id="WixUI_Font_Bigger" FaceName="Tahoma" Size="12" />
|
|
|
|
<TextStyle Id="WixUI_Font_Title" FaceName="Tahoma" Size="9" Bold="yes" />
|
|
|
|
<Property Id="DefaultUIFont" Value="WixUI_Font_Normal" />
|
|
|
|
<Property Id="WixUI_Mode" Value="InstallDir" />
|
|
|
|
<DialogRef Id="BrowseDlg" />
|
|
|
|
<DialogRef Id="DiskCostDlg" />
|
|
|
|
<DialogRef Id="ErrorDlg" />
|
|
|
|
<DialogRef Id="FatalError" />
|
|
|
|
<DialogRef Id="FilesInUse" />
|
|
|
|
<DialogRef Id="MsiRMFilesInUse" />
|
|
|
|
<DialogRef Id="PrepareDlg" />
|
|
|
|
<DialogRef Id="ProgressDlg" />
|
|
|
|
<DialogRef Id="ResumeDlg" />
|
|
|
|
<DialogRef Id="UserExit" />
|
|
|
|
<Publish Dialog="BrowseDlg" Control="OK" Event="DoAction" Value="WixUIValidatePath" Order="3">1</Publish>
|
|
|
|
<Publish Dialog="BrowseDlg" Control="OK" Event="SpawnDialog" Value="InvalidDirDlg" Order="4"><![CDATA[NOT WIXUI_DONTVALIDATEPATH AND WIXUI_INSTALLDIR_VALID<>"1"]]></Publish>
|
|
|
|
<Publish Dialog="ExitDialog" Control="Finish" Event="EndDialog" Value="Return" Order="999">1</Publish>
|
|
|
|
<Publish Dialog="WelcomeDlg" Control="Next" Event="NewDialog" Value="InstallDirDlg">NOT Installed</Publish>
|
|
|
|
<Publish Dialog="WelcomeDlg" Control="Next" Event="NewDialog" Value="VerifyReadyDlg">Installed AND PATCH</Publish>
|
|
|
|
<Publish Dialog="InstallDirDlg" Control="Back" Event="NewDialog" Value="WelcomeDlg">1</Publish>
|
|
|
|
<Publish Dialog="InstallDirDlg" Control="Next" Event="SetTargetPath" Value="[WIXUI_INSTALLDIR]" Order="1">1</Publish>
|
|
|
|
<Publish Dialog="InstallDirDlg" Control="Next" Event="DoAction" Value="WixUIValidatePath" Order="2">NOT WIXUI_DONTVALIDATEPATH</Publish>
|
|
|
|
<Publish Dialog="InstallDirDlg" Control="Next" Event="SpawnDialog" Value="InvalidDirDlg" Order="3"><![CDATA[NOT WIXUI_DONTVALIDATEPATH AND WIXUI_INSTALLDIR_VALID<>"1"]]></Publish>
|
|
|
|
<Publish Dialog="InstallDirDlg" Control="Next" Event="NewDialog" Value="VerifyReadyDlg" Order="4">WIXUI_DONTVALIDATEPATH OR WIXUI_INSTALLDIR_VALID="1"</Publish>
|
|
|
|
<Publish Dialog="InstallDirDlg" Control="ChangeFolder" Property="_BrowseProperty" Value="[WIXUI_INSTALLDIR]" Order="1">1</Publish>
|
|
|
|
<Publish Dialog="InstallDirDlg" Control="ChangeFolder" Event="SpawnDialog" Value="BrowseDlg" Order="2">1</Publish>
|
|
|
|
<Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog" Value="InstallDirDlg" Order="1">NOT Installed</Publish>
|
|
|
|
<Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog" Value="MaintenanceTypeDlg" Order="2">Installed AND NOT PATCH</Publish>
|
|
|
|
<Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog" Value="WelcomeDlg" Order="2">Installed AND PATCH</Publish>
|
|
|
|
<Publish Dialog="MaintenanceWelcomeDlg" Control="Next" Event="NewDialog" Value="MaintenanceTypeDlg">1</Publish>
|
|
|
|
<Publish Dialog="MaintenanceTypeDlg" Control="RepairButton" Event="NewDialog" Value="VerifyReadyDlg">1</Publish>
|
|
|
|
<Publish Dialog="MaintenanceTypeDlg" Control="RemoveButton" Event="NewDialog" Value="VerifyReadyDlg">1</Publish>
|
|
|
|
<Publish Dialog="MaintenanceTypeDlg" Control="Back" Event="NewDialog" Value="MaintenanceWelcomeDlg">1</Publish>
|
|
|
|
<Property Id="ARPNOMODIFY" Value="1" />
|
2019-04-09 04:14:43 +00:00
|
|
|
</UI>
|
2019-04-09 20:30:17 +00:00
|
|
|
<WixVariable Id="WixUIDialogBmp" Value="%(dialog)s" />
|
|
|
|
<WixVariable Id="WixUIBannerBmp" Value="%(banner)s" />
|
2019-04-09 04:14:43 +00:00
|
|
|
<Directory Id="TARGETDIR" Name="SourceDir">
|
2019-04-10 18:51:28 +00:00
|
|
|
<Directory Id="%(progfilefolder)s">
|
2019-04-25 06:25:03 +00:00
|
|
|
<Directory Id="INSTALLDIR" Name="$(var.ProductName)"/>
|
2019-04-09 04:14:43 +00:00
|
|
|
</Directory>
|
|
|
|
<Directory Id="ProgramMenuFolder" Name="Programs">
|
2019-04-25 06:25:03 +00:00
|
|
|
<Directory Id="ProgramMenuDir" Name="$(var.ProductName)">
|
2019-04-09 04:14:43 +00:00
|
|
|
<Component Id="ProgramMenuDir" Guid="{7AABE54C-5B03-4049-AA85-E18B787A19C7}">
|
|
|
|
<RemoveFolder Id="ProgramMenuDir" On="uninstall" />
|
2019-04-25 06:25:03 +00:00
|
|
|
<RegistryValue Root="HKCU" Key="Software\$(var.ProductName)\$(var.ProductName)" Type="string" Value="" KeyPath="yes" />
|
2019-04-09 04:14:43 +00:00
|
|
|
<Shortcut Id="ApplicationStartMenuShortcut"
|
2019-04-25 06:25:03 +00:00
|
|
|
Name="$(var.ProductName)"
|
|
|
|
Description="$(var.Description)"
|
2019-04-10 22:11:20 +00:00
|
|
|
Target="[#file_e368869eb54b01e2288a3359b1cf51f8]"
|
2019-04-09 04:14:43 +00:00
|
|
|
Icon="OpenLP.ico"
|
|
|
|
WorkingDirectory="RootDirectory"/>
|
|
|
|
<Shortcut Id="DebugStartMenuShortcut"
|
2019-04-25 06:25:03 +00:00
|
|
|
Name="$(var.ProductName) (Debug)"
|
2019-04-09 04:14:43 +00:00
|
|
|
Description="Run OpenLP with debug logging enabled"
|
2019-04-10 22:11:20 +00:00
|
|
|
Target="[#file_e368869eb54b01e2288a3359b1cf51f8]"
|
2019-04-09 04:14:43 +00:00
|
|
|
Arguments="--log-level debug"
|
|
|
|
Icon="OpenLP.ico"
|
|
|
|
WorkingDirectory="RootDirectory"/>
|
|
|
|
<Shortcut Id="HelpStartMenuShortcut"
|
|
|
|
Name="OpenLP Help"
|
2019-04-25 06:25:03 +00:00
|
|
|
Description="Help file for $(var.ProductName)"
|
2019-04-10 22:11:20 +00:00
|
|
|
Target="[#file_436f15ee9b174c85745878fe09b6d47e]"
|
2019-04-09 04:14:43 +00:00
|
|
|
WorkingDirectory="RootDirectory"/>
|
|
|
|
<util:InternetShortcut Id="OpenLPWebSite"
|
2019-04-25 06:25:03 +00:00
|
|
|
Name="$(var.ProductName) on the Web"
|
2019-04-09 04:14:43 +00:00
|
|
|
Target="http://openlp.org/"/>
|
|
|
|
<util:InternetShortcut Id="OpenLPForums"
|
2019-04-25 06:25:03 +00:00
|
|
|
Name="Get support for $(var.ProductName)"
|
2019-04-09 04:14:43 +00:00
|
|
|
Target="http://forums.openlp.org/"/>
|
|
|
|
<Shortcut Id="UninstallProduct"
|
2019-04-25 06:25:03 +00:00
|
|
|
Name="Uninstall $(var.ProductName)"
|
2019-04-09 04:14:43 +00:00
|
|
|
Target="[SystemFolder]msiexec.exe"
|
|
|
|
Arguments="/x [ProductCode]"
|
2019-04-25 06:25:03 +00:00
|
|
|
Description="Removes $(var.ProductName) from your computer" />
|
2019-04-09 04:14:43 +00:00
|
|
|
</Component>
|
|
|
|
</Directory>
|
|
|
|
</Directory>
|
|
|
|
<Directory Id="DesktopFolder" Name="Desktop" />
|
|
|
|
</Directory>
|
|
|
|
<DirectoryRef Id="INSTALLDIR">
|
|
|
|
<Directory Id="RootDirectory" Name="OpenLP" />
|
|
|
|
</DirectoryRef>
|
|
|
|
<Feature Id="Complete" Title="Complete" Description="The OpenLP program files" Level="1"
|
|
|
|
ConfigurableDirectory="INSTALLDIR" AllowAdvertise="no" InstallDefault="local" Absent="disallow">
|
|
|
|
<ComponentGroupRef Id="Files"/>
|
|
|
|
<ComponentRef Id="ProgramMenuDir"/>
|
|
|
|
</Feature>
|
|
|
|
<Icon Id="OpenLP.ico" SourceFile="OpenLP.ico"/>
|
2019-04-25 06:25:03 +00:00
|
|
|
<Upgrade Id="$(var.UpgradeCode)">
|
|
|
|
<UpgradeVersion Minimum="$(var.ProductVersion)" IncludeMinimum="no" OnlyDetect="yes"
|
|
|
|
Property="NEWPRODUCTFOUND" />
|
|
|
|
<UpgradeVersion Minimum="2.4.6" IncludeMinimum="yes" Maximum="$(var.ProductVersion)" IncludeMaximum="no"
|
|
|
|
Property="UPGRADEFOUND" />
|
|
|
|
</Upgrade>
|
|
|
|
<InstallExecuteSequence>
|
|
|
|
<Custom Action='PreventDowngrading' After='FindRelatedProducts'>NEWPRODUCTFOUND</Custom>
|
|
|
|
<RemoveExistingProducts Before='InstallInitialize' />
|
|
|
|
</InstallExecuteSequence>
|
|
|
|
<InstallUISequence>
|
|
|
|
<Custom Action='PreventDowngrading' After='FindRelatedProducts'>NEWPRODUCTFOUND</Custom>
|
|
|
|
</InstallUISequence>
|
|
|
|
<CustomAction Id='PreventDowngrading' Error='Newer version already installed' />
|
2019-04-09 04:14:43 +00:00
|
|
|
</Product>
|
|
|
|
</Wix>
|