2017-01-18 18:13:09 +01:00
# Copyright (c) Citrix Systems, Inc.
2013-07-01 14:45:25 +02:00
# All rights reserved.
#
# Redistribution and use in source and binary forms,
# with or without modification, are permitted provided
# that the following conditions are met:
#
# * Redistributions of source code must retain the above
# copyright notice, this list of conditions and the
# following disclaimer.
# * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the
# following disclaimer in the documentation and/or other
# materials provided with the distribution.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
# CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2013-07-02 13:36:41 +02:00
# SUCH DAMAGE.
2013-07-01 14:45:25 +02:00
2016-05-23 12:42:33 +02:00
--- XenCenter.wxs Mon May 23 11:07:59 2016
+++ XenCenter.l10n.wxs Mon May 23 11:09:01 2016
2016-02-29 15:54:26 +01:00
@@ -40,7 +40,7 @@
<?define HiddenFeatures="[BRANDING_HIDDEN_FEATURES]"?>
<?define AdditionalFeatures="[BRANDING_ADDITIONAL_FEATURES]"?>
2016-02-16 04:51:51 +01:00
<Product Id="$(var.ProductCode)" Name="[Citrix] [XenCenter]" Language="$(env.WixLangId)" Version="$(var.ProductVersion)" Manufacturer="[BRANDING_COMPANY_NAME_LEGAL]" UpgradeCode="$(var.UpgradeCode)">
- <Package Description="[Citrix] [XenCenter]" Comments="none." InstallerVersion="200" Compressed="yes" />
+ <Package Languages="1033,1041,2052,1028" Description="[Citrix] [XenCenter]" Comments="none." InstallerVersion="200" Compressed="yes" />
<Media Id="1" Cabinet="XenCenter.cab" EmbedCab="yes" />
<Directory Id="TARGETDIR" Name="SourceDir">
<Directory Id="ProgramFilesFolder">
2016-02-29 15:54:26 +01:00
@@ -84,70 +84,72 @@
2016-02-25 11:49:03 +01:00
<File Id="XenOvfTransport" Source="..\XenAdmin\bin\Release\XenOvfTransport.dll" />
<!-- Homepage -->
<File Id="XenCenterHomePage" Source="..\XenAdmin\bin\Release\HomePage.mht" />
2016-02-26 16:05:03 +01:00
+ <File Id="XenCenterJaHomePage" Source="..\XenAdmin\bin\Release\HomePage.ja.mht" />
2016-02-25 11:49:03 +01:00
+ <File Id="XenCenterScHomePage" Source="..\XenAdmin\bin\Release\HomePage.zh-CN.mht" />
<!-- Icons -->
<File Id="XenCenterIcon" Source="..\Branding\Images\AppIcon.ico" />
<File Id="XvaIcon" Source="..\Branding\Images\file_vm.ico" />
2016-01-08 11:50:40 +01:00
<File Id="XslicIcon" Source="..\Branding\Images\file_license.ico" />
<File Id="XkbIcon" Source="..\Branding\Images\file_backup.ico" />
<File Id="XsupdateIcon" Source="..\Branding\Images\file_updates.ico" />
2015-07-19 20:06:59 +02:00
- <!-- Define XVA extension -->
- <ProgId Id="XenCenter.xva" Description="XVA File" Icon="XvaIcon">
+ <!-- Define XVA extension -->
+ <ProgId Id="XenCenter.xva" Description="!(loc.XVA_File)" Icon="XvaIcon">
<Extension Id="xva" ContentType="application/xva">
- <Verb Id="open" Command="Open" TargetFile="XenCenterEXE" Argument="import "%1"" />
+ <Verb Id="open" Command="!(loc.Open)" TargetFile="XenCenterEXE" Argument="import "%1"" />
</Extension>
</ProgId>
- <!-- Define OVF extension -->
- <ProgId Id="XenCenter.ovf" Description="OVF File" Icon="XvaIcon">
+ <!-- Define OVF extension -->
+ <ProgId Id="XenCenter.ovf" Description="!(loc.OVF_File)" Icon="XvaIcon">
<Extension Id="ovf" ContentType="application/ovf">
<Verb Id="open" Command="Open" TargetFile="XenCenterEXE" Argument="import "%1"" />
</Extension>
</ProgId>
- <!-- Define OVA extension -->
- <ProgId Id="XenCenter.ova" Description="OVA File" Icon="XvaIcon">
+ <!-- Define OVA extension -->
+ <ProgId Id="XenCenter.ova" Description="!(loc.OVA_File)" Icon="XvaIcon">
<Extension Id="ova" ContentType="application/ova">
<Verb Id="open" Command="Open" TargetFile="XenCenterEXE" Argument="import "%1"" />
</Extension>
</ProgId>
- <!-- Define VHD extension -->
- <ProgId Id="XenCenter.vhd" Description="VHD File" Icon="XvaIcon">
+ <!-- Define VHD extension -->
+ <ProgId Id="XenCenter.vhd" Description="!(loc.VHD_File)" Icon="XvaIcon">
<Extension Id="vhd" ContentType="application/vhd">
<Verb Id="open" Command="Open" TargetFile="XenCenterEXE" Argument="import "%1"" />
</Extension>
</ProgId>
- <!-- Define VMDK extension -->
- <ProgId Id="XenCenter.vmdk" Description="VMDK File" Icon="XvaIcon">
+ <!-- Define VMDK extension -->
+ <ProgId Id="XenCenter.vmdk" Description="!(loc.VMDK_File)" Icon="XvaIcon">
<Extension Id="vmdk" ContentType="application/vmdk">
<Verb Id="open" Command="Open" TargetFile="XenCenterEXE" Argument="import "%1"" />
</Extension>
</ProgId>
- <!-- Define XSLIC extension -->
2016-02-10 12:52:30 +01:00
- <ProgId Id="XenCenter.xslic" Description="[XenServer] License File" Icon="XslicIcon">
2015-07-19 20:06:59 +02:00
+ <!-- Define XSLIC extension -->
+ <ProgId Id="XenCenter.xslic" Description="!(loc.XenServer_License_File)" Icon="XslicIcon">
<Extension Id="xslic" ContentType="application/xslic">
- <Verb Id="open" Command="Open" TargetFile="XenCenterEXE" Argument="license "%1"" />
+ <Verb Id="open" Command="!(loc.Open)" TargetFile="XenCenterEXE" Argument="license "%1"" />
</Extension>
</ProgId>
- <!-- Define XBK extension -->
2016-06-30 04:31:10 +02:00
- <ProgId Id="XenCenter.[xbk]" Description="[XenServer] Backup File" Icon="XkbIcon">
2015-07-19 20:06:59 +02:00
+ <!-- Define XBK extension -->
2016-06-30 04:31:10 +02:00
+ <ProgId Id="XenCenter.[xbk]" Description="!(loc.XenServer_Backup_File)" Icon="XkbIcon">
<Extension Id="[xbk]" ContentType="application/[xbk]">
2015-07-19 20:06:59 +02:00
- <Verb Id="open" Command="Open" TargetFile="XenCenterEXE" Argument="restore "%1"" />
+ <Verb Id="open" Command="!(loc.Open)" TargetFile="XenCenterEXE" Argument="restore "%1"" />
</Extension>
</ProgId>
<!-- Define XSUPDATE extension -->
2016-02-10 12:52:30 +01:00
- <ProgId Id="XenCenter.[xsupdate]" Description="[XenServer] Update File" Icon="XsupdateIcon">
+ <ProgId Id="XenCenter.[xsupdate]" Description="!(loc.XenServer_Update_File)" Icon="XsupdateIcon">
<Extension Id="[xsupdate]" ContentType="application/[xsupdate]">
2015-07-19 20:06:59 +02:00
- <Verb Id="open" Command="Open" TargetFile="XenCenterEXE" Argument="update "%1"" />
+ <Verb Id="open" Command="!(loc.Open)" TargetFile="XenCenterEXE" Argument="update "%1"" />
</Extension>
</ProgId>
<!-- Define XSOEM extension -->
2016-02-10 12:52:30 +01:00
- <ProgId Id="XenCenter.xsoem" Description="[XenServer] OEM Update File" Icon="XsupdateIcon">
2015-07-19 20:06:59 +02:00
+ <ProgId Id="XenCenter.xsoem" Description="!(loc.XenServer_OEM_Update_File)" Icon="XsupdateIcon">
<Extension Id="xsoem" ContentType="application/xsoem">
- <Verb Id="open" Command="Open" TargetFile="XenCenterEXE" Argument="update "%1"" />
+ <Verb Id="open" Command="!(loc.Open)" TargetFile="XenCenterEXE" Argument="update "%1"" />
</Extension>
</ProgId>
<!-- Define XENSEARCH extension -->
2016-02-10 12:52:30 +01:00
- <ProgId Id="XenCenter.[xensearch]" Description="[XenCenter] Saved Search" Icon="XenCenterIcon">
+ <ProgId Id="XenCenter.[xensearch]" Description="!(loc.XenCenter_Saved_Search)" Icon="XenCenterIcon">
<Extension Id="[xensearch]" ContentType="application/[xensearch]">
2016-01-20 04:33:54 +01:00
- <Verb Id="open" Command="Open" TargetFile="XenCenterEXE" Argument="search "%1"" />
+ <Verb Id="open" Command="!(loc.Open)" TargetFile="XenCenterEXE" Argument="search "%1"" />
2015-07-19 20:06:59 +02:00
</Extension>
</ProgId>
</Component>
2016-05-23 12:42:33 +02:00
@@ -172,12 +174,34 @@
2016-02-01 11:25:14 +01:00
</Directory>
<?else?>
2016-02-10 12:52:30 +01:00
<Component Id="readmefile" Guid="[BRANDING_README_FILE_GUID]">
2016-01-25 10:01:02 +01:00
- <File Id="Readme" Source="..\Branding\WixInstaller\README.TXT" />
+ <File Id="Readme" Source="..\Branding\WixInstaller\!(loc.Readme)" />
</Component>
2016-02-01 11:25:14 +01:00
<?endif?>
2016-01-28 10:24:37 +01:00
<Directory Id="Help" Name="Help">
<Component Id="HelpFiles" Guid="EA8D4F56-A94A-467c-9E6B-F3DC26F95B1E">
2016-02-25 11:18:38 +01:00
<File Id="XenCenterCHM" Source="..\XenAdmin\bin\Release\Help\[XenCenter].chm" />
2016-02-10 12:52:30 +01:00
+ <File Id="XenCenterJaCHM" Source="..\XenAdmin\bin\Release\Help\[XenCenter].ja.chm" />
2016-05-23 12:42:33 +02:00
+ <File Id="XenCenterScCHM" Source="..\XenAdmin\bin\Release\Help\[XenCenter].zh-CN.chm" />
2016-01-28 10:24:37 +01:00
+ </Component>
+ </Directory>
2015-07-19 20:06:59 +02:00
+ <Directory Id="ja" Name="ja">
2016-02-10 12:52:30 +01:00
+ <Component Id="JaResources" Guid="[BRANDING_JA_RESOURCES_GUID]">
2015-07-19 20:06:59 +02:00
+ <File Id="JaResourcesDLL" Source="..\XenAdmin\bin\Release\ja\XenCenterMain.resources.dll" />
+ <File Id="JaXenModResourcesDLL" Source="..\XenAdmin\bin\Release\ja\XenModel.resources.dll" />
+ <File Id="JaMicRepVwrCmnResDLL" Source="..\XenAdmin\ReportViewer\Microsoft.ReportViewer.Common.resources.dll" />
+ <File Id="JaMicRepVwrPrcObjResDLL" Source="..\XenAdmin\ReportViewer\Microsoft.ReportViewer.WinForms.resources.dll" />
+ <File Id="JaXOResourcesDLL" Source="..\XenOvfApi\bin\Release\ja\XenOvf.resources.dll" />
+ <File Id="JaXOTResourcesDLL" Source="..\XenOvfTransport\bin\Release\ja\XenOvfTransport.resources.dll" />
+ </Component>
+ </Directory>
+ <Directory Id="sc" Name="zh-CN">
2016-02-10 12:52:30 +01:00
+ <Component Id="ScResources" Guid="[BRANDING_SC_RESOURCES_GUID]">
2015-07-19 20:06:59 +02:00
+ <File Id="ScResourcesDLL" Source="..\XenAdmin\bin\Release\zh-CN\XenCenterMain.resources.dll" />
+ <File Id="ScXenModResourcesDLL" Source="..\XenAdmin\bin\Release\zh-CN\XenModel.resources.dll" />
+ <File Id="ScMicRepVwrCmnResDLL" Source="..\XenAdmin\ReportViewer\Microsoft.ReportViewer.Common.resources.dll" />
+ <File Id="ScMicRepVwrPrcObjResDLL" Source="..\XenAdmin\ReportViewer\Microsoft.ReportViewer.WinForms.resources.dll" />
+ <File Id="ScXOResourcesDLL" Source="..\XenOvfApi\bin\Release\zh-CN\XenOvf.resources.dll" />
+ <File Id="ScXOTResourcesDLL" Source="..\XenOvfTransport\bin\Release\zh-CN\XenOvfTransport.resources.dll" />
2016-01-28 10:24:37 +01:00
</Component>
</Directory>
2015-07-19 20:06:59 +02:00
<Directory Id="EXTERNALTOOLS" ShortName="External" Name="External Tools">
2016-05-23 12:42:33 +02:00
@@ -222,7 +246,7 @@
2016-04-08 16:38:14 +02:00
Vital="no"
Name="XenServerHealthCheck"
DisplayName="[Citrix] [XenServer] Health Check Service"
2016-04-08 18:17:10 +02:00
- Description="Enables monitoring of the health of your Citrix XenServer pools by periodically uploading data from the servers to Citrix Insight Services."
2016-04-08 16:38:14 +02:00
+ Description="!(loc.HealthCheckDescr)"
Start="auto"
Account="LocalSystem"
ErrorControl="normal"
2016-05-23 12:42:33 +02:00
@@ -277,13 +301,15 @@
2016-02-10 12:52:30 +01:00
<Feature Id="MainProgram" Title="[Citrix] [XenCenter]" Description="[Citrix] [XenCenter]" Display="expand" Level="1" ConfigurableDirectory="INSTALLDIR" AllowAdvertise="no" InstallDefault="local" Absent="disallow" >
2015-07-19 20:06:59 +02:00
<ComponentRef Id="MainExecutable" />
2016-01-28 10:24:37 +01:00
<ComponentRef Id="HelpFiles" />
2016-01-22 02:30:13 +01:00
- <ComponentRef Id="ReportViewer" />
2015-07-19 20:06:59 +02:00
+ <ComponentRef Id="JaResources" />
+ <ComponentRef Id="ScResources" />
2016-02-11 23:18:06 +01:00
<ComponentRef Id="UpdateFiles" />
2016-02-01 11:25:14 +01:00
<?if "$(env.Branding)"="XenCenter"?>
<ComponentRef Id="TestResources" />
<?else?>
2016-01-25 10:01:02 +01:00
<ComponentRef Id="readmefile" />
2016-02-01 11:25:14 +01:00
<?endif?>
2016-01-22 02:30:13 +01:00
+ <ComponentRef Id="ReportViewer" />
2015-07-19 20:06:59 +02:00
<ComponentRef Id="SchemasFilesComponent" />
2016-01-22 02:30:13 +01:00
<ComponentRef Id="ExternalToolsComponent" />
2016-02-01 11:25:14 +01:00
<ComponentRef Id="RegistryEntries" />
2016-05-23 12:42:33 +02:00
@@ -291,7 +317,7 @@
2016-04-04 16:42:11 +02:00
<ComponentRef Id="ProgramFilesShortcut" />
<?if "$(env.Branding)"="XenCenter"?>
2016-04-08 18:17:10 +02:00
- <Feature Id="HealthCheckService" Title="[Citrix] [XenServer] Health Check Service" Description="Enables monitoring of the health of your Citrix XenServer pools." Display="expand" Level="1" ConfigurableDirectory="HEALTHCHECKSERVICEDIR" AllowAdvertise="no" InstallDefault="local" Absent="allow" >
2016-04-08 17:28:36 +02:00
+ <Feature Id="HealthCheckService" Title="[Citrix] [XenServer] Health Check Service" Description="!(loc.HealthCheckDescrShort)" Display="expand" Level="1" ConfigurableDirectory="HEALTHCHECKSERVICEDIR" AllowAdvertise="no" InstallDefault="local" Absent="allow" >
2016-04-04 16:42:11 +02:00
<ComponentRef Id="XenServerHealthCheck" />
</Feature>
<?else ?>
2016-05-23 12:42:33 +02:00
@@ -310,7 +336,7 @@
2015-07-19 20:06:59 +02:00
<Property Id="ARPPRODUCTICON" Value="XenCenterICO" />
<MajorUpgrade AllowDowngrades="no" AllowSameVersionUpgrades="yes" DowngradeErrorMessage="!(loc.ErrorNewerProduct)" Schedule="afterInstallInitialize"/>
2016-10-07 18:00:34 +02:00
<PropertyRef Id="WIX_IS_NETFRAMEWORK_46_OR_LATER_INSTALLED" />
- <Condition Message=".NET Framework 4.6 is required for this installation."><![CDATA[Installed OR WIX_IS_NETFRAMEWORK_46_OR_LATER_INSTALLED]]></Condition>
+ <Condition Message="!(loc.Required_For_Installation)"><![CDATA[Installed OR WIX_IS_NETFRAMEWORK_46_OR_LATER_INSTALLED]]></Condition>
2015-07-19 20:06:59 +02:00
<Property Id="PERMACHINEINSTALL">
2016-02-10 12:52:30 +01:00
<RegistrySearch Id="InstallRegistry" Type="raw" Root="HKLM" Key="Software\[Citrix]\[XenCenter]" Name="InstallDir" />
2015-07-19 20:06:59 +02:00
</Property>