mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-11-24 22:06:59 +01:00
CP-15404: Make install dir rebrandable
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
This commit is contained in:
parent
40e3ba3d66
commit
38a50e1754
@ -28,8 +28,8 @@
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
# SUCH DAMAGE.
|
||||
|
||||
--- XenCenter.wxs 2016-02-01 16:42:15.810832400 +0800
|
||||
+++ XenCenter.l10n.wxs 2016-02-01 16:41:55.953846900 +0800
|
||||
--- XenCenter.wxs 2016-02-02 09:43:41.049833000 +0800
|
||||
+++ XenCenter.l10n.wxs 2016-02-02 09:43:24.009129100 +0800
|
||||
@@ -38,7 +38,7 @@
|
||||
<?define UpgradeCode="{@BRANDING_XENCENTER_UPGRADE_CODE_GUID@}"?>
|
||||
<?define ProductCode="{65AE1345-A520-456D-8A19-2F52D43D3A09}"?>
|
||||
@ -127,17 +127,14 @@
|
||||
</Extension>
|
||||
</ProgId>
|
||||
</Component>
|
||||
@@ -159,7 +159,7 @@
|
||||
</Component>
|
||||
@@ -168,13 +168,35 @@
|
||||
</Directory>
|
||||
<?else?>
|
||||
<Component Id="readmefile" Guid="@BRANDING_README_FILE_GUID@">
|
||||
<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">
|
||||
@@ -173,8 +173,30 @@
|
||||
</Directory>
|
||||
<?endif?>
|
||||
<Directory Id="Help" Name="Help">
|
||||
<Component Id="HelpFiles" Guid="EA8D4F56-A94A-467c-9E6B-F3DC26F95B1E">
|
||||
- <File Id="XenCenterCHM" Source="..\XenAdmin\bin\Release\Help\XenCenter.chm" />
|
||||
@ -169,20 +166,37 @@
|
||||
</Component>
|
||||
</Directory>
|
||||
<Directory Id="EXTERNALTOOLS" ShortName="External" Name="External Tools">
|
||||
@@ -268,9 +290,11 @@
|
||||
@@ -269,25 +291,25 @@
|
||||
<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" >
|
||||
<ComponentRef Id="MainExecutable" />
|
||||
<ComponentRef Id="HelpFiles" />
|
||||
- <ComponentRef Id="ReportViewer" />
|
||||
+ <ComponentRef Id="JaResources" />
|
||||
+ <ComponentRef Id="ScResources" />
|
||||
<?if "$(env.Branding)"="XenCenter"?>
|
||||
<ComponentRef Id="xsupdatesfiles" />
|
||||
<ComponentRef Id="readmefile" />
|
||||
+ <ComponentRef Id="ReportViewer" />
|
||||
<ComponentRef Id="TestResources" />
|
||||
<?else?>
|
||||
<ComponentRef Id="readmefile" />
|
||||
<?endif?>
|
||||
+ <ComponentRef Id="ReportViewer" />
|
||||
<ComponentRef Id="SchemasFilesComponent" />
|
||||
<ComponentRef Id="ExternalToolsComponent" />
|
||||
@@ -290,7 +314,7 @@
|
||||
<ComponentRef Id="RegistryEntries" />
|
||||
<ComponentRef Id="ApplicationShortcut" />
|
||||
<ComponentRef Id="ProgramFilesShortcut" />
|
||||
</Feature>
|
||||
-
|
||||
- <?if "$(env.Branding)"="XenCenter"?>
|
||||
+ <?if "$(env.Branding)"="XenCenter"?>
|
||||
<Feature Id="HealthCheckService" Title="@BRANDING_COMPANY_NAME_SHORT@ @BRANDING_SERVER@ Health Check Service" Description="@BRANDING_COMPANY_NAME_SHORT@ @BRANDING_SERVER@ Health Check Service" Display="expand" Level="1" ConfigurableDirectory="HEALTHCHECKSERVICEDIR" AllowAdvertise="no" InstallDefault="local" Absent="allow" >
|
||||
<ComponentRef Id="XenServerHealthCheck" />
|
||||
</Feature>
|
||||
-
|
||||
<UIRef Id="WixUI_FeatureTree" />
|
||||
<?else ?>
|
||||
<UIRef Id="My_WixUI_InstallDir" />
|
||||
@@ -298,7 +320,7 @@
|
||||
<Property Id="ARPPRODUCTICON" Value="XenCenterICO" />
|
||||
<MajorUpgrade AllowDowngrades="no" AllowSameVersionUpgrades="yes" DowngradeErrorMessage="!(loc.ErrorNewerProduct)" Schedule="afterInstallInitialize"/>
|
||||
<PropertyRef Id="NETFRAMEWORK45" />
|
||||
|
@ -147,8 +147,8 @@
|
||||
</Extension>
|
||||
</ProgId>
|
||||
</Component>
|
||||
<?if "$(env.Branding)"="XenCenter"?>
|
||||
<Component Id="xsupdatesfiles" Guid="@BRANDING_XSUPDATE_FILE_GUID@">
|
||||
<Condition>"$(env.Branding)"="XenCenter"</Condition>
|
||||
<File Id="hotfixCowley" Source="..\XenAdmin\XS56EFP1002.xsupdate" />
|
||||
<File Id="hotfixMNR" Source="..\XenAdmin\XS56E008.xsupdate" />
|
||||
<File Id="hotfixBoston" Source="..\XenAdmin\XS60E001.xsupdate" />
|
||||
@ -157,20 +157,20 @@
|
||||
<File Id="hotfixSanibelToClearwaterSource" Source="..\XenAdmin\XS62E006-src-pkgs.tar.gz" />
|
||||
<File Id="hotfixCreedence" Source="..\XenAdmin\XS65ESP1006.xsupdate" />
|
||||
</Component>
|
||||
<Component Id="readmefile" Guid="@BRANDING_README_FILE_GUID@">
|
||||
<Condition><![CDATA["$(env.Branding)"<>"XenCenter"]]></Condition>
|
||||
<File Id="Readme" Source="..\Branding\WixInstaller\README.TXT" />
|
||||
</Component>
|
||||
<!-- TestResources -->
|
||||
<Directory Id="TestReso" ShortName="TestReso" Name="TestResources">
|
||||
<Component Id="TestResources" Guid="@BRANDING_TEST_RESOURCES_GUID@">
|
||||
<Condition>"$(env.Branding)"="XenCenter"</Condition>
|
||||
<File Source="..\XenAdmin\bin\Release\TestResources\credits.xml" />
|
||||
<File Id="interes1.xml" Source="..\XenAdmin\bin\Release\TestResources\interesting-development.xml" />
|
||||
<File Id="interes2.xml" Source="..\XenAdmin\bin\Release\TestResources\interesting-production.xml" />
|
||||
<File Id="interes3.xml" Source="..\XenAdmin\bin\Release\TestResources\interesting-xenapp.xml" />
|
||||
</Component>
|
||||
</Directory>
|
||||
<?else?>
|
||||
<Component Id="readmefile" Guid="@BRANDING_README_FILE_GUID@">
|
||||
<File Id="Readme" Source="..\Branding\WixInstaller\README.TXT" />
|
||||
</Component>
|
||||
<?endif?>
|
||||
<Directory Id="Help" Name="Help">
|
||||
<Component Id="HelpFiles" Guid="EA8D4F56-A94A-467c-9E6B-F3DC26F95B1E">
|
||||
<File Id="XenCenterCHM" Source="..\XenAdmin\bin\Release\Help\XenCenter.chm" />
|
||||
@ -201,9 +201,9 @@
|
||||
</Component>
|
||||
</Directory>
|
||||
</Directory>
|
||||
<?if "$(env.Branding)"="XenCenter"?>
|
||||
<Directory Id="HEALTHCHECKSERVICEDIR" Name="XenServerHealthCheckService">
|
||||
<Component Id="XenServerHealthCheck" Guid="{@BRANDING_HEALTH_CHECK_GUID@}">
|
||||
<Condition>"$(env.Branding)"="XenCenter"</Condition>
|
||||
<File Id="HealthCheck_XenServerHealthCheck.exe" Name="XenServerHealthCheck.exe" KeyPath="yes" Source="..\XenServerHealthCheck\bin\Release\XenServerHealthCheck.exe" />
|
||||
<File Id="HealthCheck_CommandLib.dll" Name="CommandLib.dll" Source="..\XenServerHealthCheck\bin\Release\CommandLib.dll" />
|
||||
<File Id="HealthCheck_CookComputing.XmlRpcV2.dll" Name="CookComputing.XmlRpcV2.dll" Source="..\XenServerHealthCheck\bin\Release\CookComputing.XmlRpcV2.dll" />
|
||||
@ -235,6 +235,7 @@
|
||||
/>
|
||||
</Component>
|
||||
</Directory>
|
||||
<?endif?>
|
||||
</Directory>
|
||||
</Directory>
|
||||
<Directory Id="ProgramMenuFolder">
|
||||
@ -269,21 +270,28 @@
|
||||
<ComponentRef Id="MainExecutable" />
|
||||
<ComponentRef Id="HelpFiles" />
|
||||
<ComponentRef Id="ReportViewer" />
|
||||
<?if "$(env.Branding)"="XenCenter"?>
|
||||
<ComponentRef Id="xsupdatesfiles" />
|
||||
<ComponentRef Id="readmefile" />
|
||||
<ComponentRef Id="TestResources" />
|
||||
<?else?>
|
||||
<ComponentRef Id="readmefile" />
|
||||
<?endif?>
|
||||
<ComponentRef Id="SchemasFilesComponent" />
|
||||
<ComponentRef Id="ExternalToolsComponent" />
|
||||
<ComponentRef Id="RegistryEntries" />
|
||||
<ComponentRef Id="ApplicationShortcut" />
|
||||
<ComponentRef Id="ProgramFilesShortcut" />
|
||||
</Feature>
|
||||
|
||||
|
||||
<?if "$(env.Branding)"="XenCenter"?>
|
||||
<Feature Id="HealthCheckService" Title="@BRANDING_COMPANY_NAME_SHORT@ @BRANDING_SERVER@ Health Check Service" Description="@BRANDING_COMPANY_NAME_SHORT@ @BRANDING_SERVER@ Health Check Service" Display="expand" Level="1" ConfigurableDirectory="HEALTHCHECKSERVICEDIR" AllowAdvertise="no" InstallDefault="local" Absent="allow" >
|
||||
<ComponentRef Id="XenServerHealthCheck" />
|
||||
</Feature>
|
||||
|
||||
|
||||
<UIRef Id="WixUI_FeatureTree" />
|
||||
<?else ?>
|
||||
<UIRef Id="My_WixUI_InstallDir" />
|
||||
<?endif?>
|
||||
<UIRef Id="WixUI_ErrorProgressText" />
|
||||
<Property Id="Install_All" Value="0" />
|
||||
<Property Id="WIXUI_INSTALLDIR" Value="INSTALLDIR" />
|
||||
|
Loading…
Reference in New Issue
Block a user