2013-07-01 14:45:25 +02:00
|
|
|
# Copyright (c) Citrix Systems Inc.
|
|
|
|
# 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-01-25 10:14:42 +01:00
|
|
|
--- XenCenter.wxs 2016-01-25 17:12:12.929899400 +0800
|
|
|
|
+++ XenCenter.l10n.wxs 2016-01-25 17:13:13.493104800 +0800
|
2013-07-01 14:45:25 +02:00
|
|
|
@@ -38,7 +38,7 @@
|
2016-01-26 07:48:38 +01:00
|
|
|
<?define UpgradeCode="{@BRANDING_XENCENTER_UPGRADE_CODE_GUID@}"?>
|
2015-07-19 20:06:59 +02:00
|
|
|
<?define ProductCode="{65AE1345-A520-456D-8A19-2F52D43D3A09}"?>
|
2016-01-14 11:13:05 +01:00
|
|
|
<Product Id="$(var.ProductCode)" Name="@BRANDING_COMPANY_NAME_SHORT@ @BRANDING_BRAND_CONSOLE@" Language="$(env.WixLangId)" Version="$(var.ProductVersion)" Manufacturer="@BRANDING_COMPANY_NAME_LEGAL@" UpgradeCode="$(var.UpgradeCode)">
|
|
|
|
- <Package Description="@BRANDING_COMPANY_NAME_SHORT@ @BRANDING_BRAND_CONSOLE@" Comments="none." InstallerVersion="200" Compressed="yes" />
|
|
|
|
+ <Package Languages="1033,1041,2052,1028" Description="@BRANDING_COMPANY_NAME_SHORT@ @BRANDING_BRAND_CONSOLE@" Comments="none." InstallerVersion="200" Compressed="yes" />
|
2015-07-19 20:06:59 +02:00
|
|
|
<Media Id="1" Cabinet="XenCenter.cab" EmbedCab="yes" />
|
|
|
|
<Directory Id="TARGETDIR" Name="SourceDir">
|
|
|
|
<Directory Id="ProgramFilesFolder">
|
2016-01-25 09:43:33 +01:00
|
|
|
@@ -86,64 +86,64 @@
|
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-01-19 10:22:30 +01:00
|
|
|
- <ProgId Id="XenCenter.xslic" Description="@BRANDING_SERVER@ 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-01-19 10:22:30 +01:00
|
|
|
- <ProgId Id="XenCenter.xbk" Description="@BRANDING_SERVER@ Backup File" Icon="XkbIcon">
|
2015-07-19 20:06:59 +02:00
|
|
|
+ <!-- Define XBK extension -->
|
|
|
|
+ <ProgId Id="XenCenter.xbk" Description="!(loc.XenServer_Backup_File)" Icon="XkbIcon">
|
|
|
|
<Extension Id="xbk" ContentType="application/xbk">
|
|
|
|
- <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-01-19 10:22:30 +01:00
|
|
|
- <ProgId Id="XenCenter.@BRANDING_UPDATE@" Description="@BRANDING_SERVER@ Update File" Icon="XsupdateIcon">
|
2016-01-22 06:50:12 +01:00
|
|
|
+ <ProgId Id="XenCenter.@BRANDING_UPDATE@" Description="!(loc.XenServer_Update_File)" Icon="XsupdateIcon">
|
|
|
|
<Extension Id="@BRANDING_UPDATE@" ContentType="application/@BRANDING_UPDATE@">
|
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-01-19 10:22:30 +01:00
|
|
|
- <ProgId Id="XenCenter.xsoem" Description="@BRANDING_SERVER@ 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-01-20 04:33:54 +01:00
|
|
|
- <ProgId Id="XenCenter.@BRANDING_SEARCH@" Description="@BRANDING_BRAND_CONSOLE@ Saved Search" Icon="XenCenterIcon">
|
|
|
|
+ <ProgId Id="XenCenter.@BRANDING_SEARCH@" Description="!(loc.XenCenter_Saved_Search)" Icon="XenCenterIcon">
|
|
|
|
<Extension Id="@BRANDING_SEARCH@" ContentType="application/@BRANDING_SEARCH@">
|
|
|
|
- <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-01-25 10:01:02 +01:00
|
|
|
@@ -159,7 +159,7 @@
|
|
|
|
</Component>
|
2016-01-26 07:48:38 +01:00
|
|
|
<Component Id="readmefile" Guid="@BRANDING_README_FILE_GUID@">
|
2016-01-25 10:01:02 +01:00
|
|
|
<Condition><![CDATA["$(env.Branding)"<>"XenCenter"]]></Condition>
|
|
|
|
- <File Id="Readme" Source="..\Branding\WixInstaller\README.TXT" />
|
|
|
|
+ <File Id="Readme" Source="..\Branding\WixInstaller\!(loc.Readme)" />
|
|
|
|
</Component>
|
|
|
|
<!-- TestResources -->
|
|
|
|
<Directory Id="TestReso" ShortName="TestReso" Name="TestResources">
|
2016-01-25 10:14:42 +01:00
|
|
|
@@ -171,6 +171,26 @@
|
2015-10-09 14:22:05 +02:00
|
|
|
<File Id="interes3.xml" Source="..\XenAdmin\bin\Release\TestResources\interesting-xenapp.xml" />
|
|
|
|
</Component>
|
|
|
|
</Directory>
|
2015-07-19 20:06:59 +02:00
|
|
|
+ <Directory Id="ja" Name="ja">
|
2016-01-26 07:48:38 +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-01-26 07:48:38 +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" />
|
2015-10-09 14:22:05 +02:00
|
|
|
+ </Component>
|
|
|
|
+ </Directory>
|
2015-07-19 20:06:59 +02:00
|
|
|
<Directory Id="EXTERNALTOOLS" ShortName="External" Name="External Tools">
|
2016-01-26 07:48:38 +01:00
|
|
|
<Component Id="ExternalToolsComponent" Guid="@BRANDING_EXTERNAL_TOOLS_GUID@">
|
2015-10-09 14:22:05 +02:00
|
|
|
<File Id="XENSERVERLINUXFIXUP" Source="..\XenOvfApi\External Tools\xenserver-linuxfixup-disk.iso" />
|
2016-01-25 10:14:42 +01:00
|
|
|
@@ -253,9 +273,11 @@
|
2015-10-09 14:22:05 +02:00
|
|
|
|
2016-01-14 11:13:05 +01:00
|
|
|
<Feature Id="MainProgram" Title="@BRANDING_COMPANY_NAME_SHORT@ @BRANDING_BRAND_CONSOLE@" Description="@BRANDING_COMPANY_NAME_SHORT@ @BRANDING_BRAND_CONSOLE@" 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-22 02:30:13 +01:00
|
|
|
- <ComponentRef Id="ReportViewer" />
|
2015-07-19 20:06:59 +02:00
|
|
|
+ <ComponentRef Id="JaResources" />
|
|
|
|
+ <ComponentRef Id="ScResources" />
|
2016-01-22 02:30:13 +01:00
|
|
|
<ComponentRef Id="xsupdatesfiles" />
|
2016-01-25 10:01:02 +01:00
|
|
|
<ComponentRef Id="readmefile" />
|
2016-01-22 02:30:13 +01:00
|
|
|
+ <ComponentRef Id="ReportViewer" />
|
2015-07-19 20:06:59 +02:00
|
|
|
<ComponentRef Id="TestResources" />
|
|
|
|
<ComponentRef Id="SchemasFilesComponent" />
|
2016-01-22 02:30:13 +01:00
|
|
|
<ComponentRef Id="ExternalToolsComponent" />
|
2016-01-25 10:14:42 +01:00
|
|
|
@@ -274,7 +296,7 @@
|
2015-07-19 20:06:59 +02:00
|
|
|
<Property Id="ARPPRODUCTICON" Value="XenCenterICO" />
|
|
|
|
<MajorUpgrade AllowDowngrades="no" AllowSameVersionUpgrades="yes" DowngradeErrorMessage="!(loc.ErrorNewerProduct)" Schedule="afterInstallInitialize"/>
|
2015-08-06 17:15:57 +02:00
|
|
|
<PropertyRef Id="NETFRAMEWORK45" />
|
|
|
|
- <Condition Message=".NET Framework 4.5 is required for this installation."><![CDATA[Installed OR NETFRAMEWORK45]]></Condition>
|
|
|
|
+ <Condition Message="!(loc.Required_For_Installation)"><![CDATA[Installed OR NETFRAMEWORK45]]></Condition>
|
2015-07-19 20:06:59 +02:00
|
|
|
<Property Id="PERMACHINEINSTALL">
|
2016-01-15 02:57:36 +01:00
|
|
|
<RegistrySearch Id="InstallRegistry" Type="raw" Root="HKLM" Key="Software\@BRANDING_COMPANY_NAME_SHORT@\@BRANDING_BRAND_CONSOLE@" Name="InstallDir" />
|
2015-07-19 20:06:59 +02:00
|
|
|
</Property>
|