<?xml version="1.0" encoding="UTF-8"?>
<!--
! CDDL HEADER START
!
! The contents of this file are subject to the terms of the
! Common Development and Distribution License, Version 1.0 only
! (the "License"). You may not use this file except in compliance
! with the License.
!
! You can obtain a copy of the license at legal-notices/CDDLv1_0.txt
! or http://forgerock.org/license/CDDLv1.0.html.
! See the License for the specific language governing permissions
! and limitations under the License.
!
! When distributing Covered Code, include this CDDL HEADER in each
! file and include the License file at legal-notices/CDDLv1_0.txt.
! If applicable, add the following below this CDDL HEADER, with the
! fields enclosed by brackets "[]" replaced with your own identifying
! information:
! Portions Copyright [yyyy] [name of copyright owner]
!
! CDDL HEADER END
!
!
! Copyright 2013-2015 ForgeRock AS
! -->
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
<Product Id="*" Codepage="1252" Language="1033" Manufacturer="ForgeRock"
Name="ForgeRock $(var.name) $(var.major).$(var.minor)" Version="$(var.major).$(var.minor).$(var.point).0"
UpgradeCode="A3E82AC0-88E6-4DEE-9D8C-5AE3B7853274">
<Package Id="*" Comments="This package contains ForgeRock $(var.name) $(var.major).$(var.minor).$(var.point)."
Description="ForgeRock products" InstallerVersion="300" Languages="1033" Manufacturer="ForgeRock"
Platform="x86" Compressed="yes"/>
<Media Id="1" Cabinet="opendj.cab" DiskPrompt="Disk 1" EmbedCab="yes" CompressionLevel="high"/>
<Property Id="DiskPrompt" Value="ForgeRock $(var.name) $(var.major).$(var.minor).$(var.point) Installation"/>
<Property Id="ALLUSERS" Value="1"/>
<Property Id="ARPHELPLINK" Value="http://forgerock.com"/>
<!-- UI customization -->
<WixVariable Id="WixUIBannerBmp" Value="opendjbanner.bmp" />
<WixVariable Id="WixUIDialogBmp" Value="opendjdialog.bmp" />
<!-- Upgrading -->
<MajorUpgrade DowngradeErrorMessage="A newer version of $(var.name) is already installed."/>
<Directory Id="TARGETDIR" Name="SourceDir">
<Directory Id="ProgramFilesFolder" Name="PFiles">
<Directory Id="OPENDJ" Name="$(var.name)">
</Directory>
</Directory>
</Directory>
<Feature Id="All" Title="Server and tools" Level="1" ConfigurableDirectory="OPENDJ">
<ComponentGroupRef Id="all"/>
</Feature>
<!-- User interface -->
<Property Id="WIXUI_INSTALLDIR" Value="OPENDJ"/>
<UI Id="OpenDJ_Install">
<UIRef Id="WixUI_InstallDir"/>
<UIRef Id="WixUI_ErrorProgressText"/>
<!-- Don't show the license agreement in the install, just in setup -->
<Publish Dialog="WelcomeDlg" Control="Next" Event="NewDialog" Value="InstallDirDlg">1</Publish>
<Publish Dialog="InstallDirDlg" Control="Back" Event="NewDialog" Value="WelcomeDlg">1</Publish>
</UI>
</Product>
</Wix>