1
0
mirror of https://gitlab.com/openlp/packaging.git synced 2024-12-22 21:12:50 +00:00
packaging/windows/OpenLP-base.wxs

80 lines
4.1 KiB
Plaintext
Raw Normal View History

2019-04-09 04:14:43 +00:00
<?xml version="1.0" encoding="utf-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
xmlns:util="http://schemas.microsoft.com/wix/UtilExtension">
<Product Name="OpenLP" Manufacturer="OpenLP" Id="{98092172-3875-47d3-8DBE-3EB0D5A57CE7}"
UpgradeCode="{8C5881AC-8F1E-4937-BB99-B823FABF18F0}" Language="1033" Codepage="1252" Version="2.5.0">
<Package Id="*" Keywords="Installer" Description="Free open source church worship presentation software"
Comments="OpenLP is open source under the GNU General Public License" Manufacturer="OpenLP Developers"
2019-04-10 18:36:12 +00:00
InstallerVersion="251" Languages="1033" Compressed="yes" SummaryCodepage="1252" Platform="%(platform)s"/>
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" />
<Property Id="WIXUI_EXITDIALOGOPTIONALCHECKBOXTEXT" Value="Launch OpenLP" />
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" />
<UI>
<UIRef Id="WixUI_InstallDir" />
<Publish Dialog="ExitDialog"
Control="Finish"
Event="DoAction"
Value="LaunchApplication">WIXUI_EXITDIALOGOPTIONALCHECKBOX = 1 and NOT Installed</Publish>
</UI>
2019-04-10 20:56:59 +00:00
<WixVariable Id="WixUILicenseRtf" Value="%(license)s" />
<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">
<Directory Id="%(progfilefolder)s">
<Directory Id="INSTALLDIR" Name="OpenLP"/>
2019-04-09 04:14:43 +00:00
</Directory>
<Directory Id="ProgramMenuFolder" Name="Programs">
<Directory Id="ProgramMenuDir" Name="OpenLP">
<Component Id="ProgramMenuDir" Guid="{7AABE54C-5B03-4049-AA85-E18B787A19C7}">
<RemoveFolder Id="ProgramMenuDir" On="uninstall" />
<RegistryValue Root="HKCU" Key="Software\OpenLP\OpenLP" Type="string" Value="" KeyPath="yes" />
<Shortcut Id="ApplicationStartMenuShortcut"
Name="OpenLP"
Description="Open Source Worship Presentation Software"
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"
Name="OpenLP (Debug)"
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"
Description="Help file for OpenLP"
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"
Name="OpenLP on the Web"
Target="http://openlp.org/"/>
<util:InternetShortcut Id="OpenLPForums"
Name="Get support for OpenLP"
Target="http://forums.openlp.org/"/>
<Shortcut Id="UninstallProduct"
Name="Uninstall OpenLP"
Target="[SystemFolder]msiexec.exe"
Arguments="/x [ProductCode]"
Description="Removes OpenLP from your computer" />
</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"/>
</Product>
</Wix>