mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-11-25 06:16:37 +01:00
88fa402e21
Since the standalone VNC control was removed, the VNC code has been used only by the UI project. According to Microsoft's performance guidelines large single assemblies are preferable to multiple smaller ones. Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
299 lines
23 KiB
XML
299 lines
23 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!--
|
|
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
|
|
SUCH DAMAGE.
|
|
-->
|
|
|
|
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
|
|
xmlns:netfx="http://schemas.microsoft.com/wix/NetFxExtension">
|
|
<?include branding.wxi ?>
|
|
<Product Id="$(var.ProductCode)" Name="$(var.CompanyNameShort) $(var.BrandConsole)" Language="$(env.WixLangId)" Version="$(var.ProductVersion)" Manufacturer="$(var.CompanyNameLegal)" UpgradeCode="$(var.UpgradeCode)">
|
|
<Package Languages="1033,1041,2052,1028" Description="$(var.CompanyNameShort) $(var.BrandConsole)" Comments="none." InstallerVersion="200" Compressed="yes" />
|
|
<Media Id="1" Cabinet="XenCenter.cab" EmbedCab="yes" />
|
|
<Directory Id="TARGETDIR" Name="SourceDir">
|
|
<Directory Id="ProgramFilesFolder">
|
|
<Directory Id="Citrix" Name="$(var.CompanyNameShort)">
|
|
<Directory Id="INSTALLDIR" ShortName="XenCente" Name="$(var.BrandConsole)">
|
|
<Component Id="ReportViewer" Guid="$(var.ReportViewerGuid)">
|
|
<File Id="MicRepVwrCmnDLL" Source="$(env.RepoRoot)\XenAdmin\ReportViewer\Microsoft.ReportViewer.Common.dll" />
|
|
<File Id="MicRepVwrPrcObjDLL" Source="$(env.RepoRoot)\XenAdmin\ReportViewer\Microsoft.ReportViewer.ProcessingObjectModel.dll" />
|
|
<File Id="MicRepVwrWFDLL" Source="$(env.RepoRoot)\XenAdmin\ReportViewer\Microsoft.ReportViewer.WinForms.dll" />
|
|
<File Id="HostHealthHistoryRDLC" Source="$(env.RepoRoot)\XenAdmin\ReportViewer\host_health_history.rdlc" />
|
|
<File Id="PoolHealthRDLC" Source="$(env.RepoRoot)\XenAdmin\ReportViewer\pool_health.rdlc" />
|
|
<File Id="opt_perf_histRDLC" Source="$(env.RepoRoot)\XenAdmin\ReportViewer\optimization_performance_history.rdlc" />
|
|
<File Id="vmMovementHistoryRDLC" Source="$(env.RepoRoot)\XenAdmin\ReportViewer\vm_movement_history.rdlc" />
|
|
<File Id="vmPerformanceHistoryRDLC" Source="$(env.RepoRoot)\XenAdmin\ReportViewer\vm_performance_history.rdlc" />
|
|
<File Id="PoolHealthHistoryRDLC" Source="$(env.RepoRoot)\XenAdmin\ReportViewer\pool_health_history.rdlc" />
|
|
<File Id="ReportConfigXML" Source="$(env.RepoRoot)\XenAdmin\ReportViewer\reports.xml" />
|
|
<File Id="ResourceReportRDLC" Source="$(env.RepoRoot)\XenAdmin\ReportViewer\resource_report.rdlc" />
|
|
</Component>
|
|
<Component Id="MainExecutable" Guid="$(var.MainExeGuid)">
|
|
<!-- XenCenter EXE -->
|
|
<File Id="XenCenterEXE" Source="$(env.RepoRoot)\XenAdmin\bin\Release\$(var.BrandConsole).exe" KeyPath="yes" />
|
|
<!-- other EXEs -->
|
|
<File Id="XenCenterMainEXE" Source="$(env.RepoRoot)\XenAdmin\bin\Release\XenCenterMain.exe" />
|
|
<File Id="XeEXE" Source="$(env.RepoRoot)\xe\bin\Release\xe.exe" />
|
|
<File Id="xva_verifyEXE" Source="$(env.RepoRoot)\xva_verify\bin\Release\xva_verify.exe" />
|
|
<File Id="PuTTYEXE" Source="$(env.RepoRoot)\XenAdmin\bin\Release\putty.exe" />
|
|
<!-- config -->
|
|
<File Id="XenCenterMainCONFIG" Source="$(env.RepoRoot)\XenAdmin\bin\Release\XenCenterMain.exe.config" />
|
|
<!-- DLLs -->
|
|
<File Id="CommandLibDLL" Source="$(env.RepoRoot)\XenAdmin\bin\Release\CommandLib.dll" />
|
|
<File Id="CookComputingDLL" Source="$(env.RepoRoot)\XenAdmin\bin\Release\CookComputing.XmlRpcV2.dll" />
|
|
<File Id="NewtonsoftJsonDLL" Source="$(env.RepoRoot)\XenAdmin\bin\Release\Newtonsoft.Json.CH.dll" />
|
|
<File Id="log4netDLL" Source="$(env.RepoRoot)\XenAdmin\bin\Release\log4net.dll" />
|
|
<File Id="SharpZipLibDLL" Source="$(env.RepoRoot)\XenAdmin\bin\Release\ICSharpCode.SharpZipLib.dll" />
|
|
<File Id="IonicZipDLL" Source="$(env.RepoRoot)\XenAdmin\bin\Release\Ionic.Zip.dll" />
|
|
<File Id="MSTSCLibDLL" Source="$(env.RepoRoot)\XenAdmin\bin\Release\MSTSCLib.dll" />
|
|
<File Id="XenCenterLibDLL" Source="$(env.RepoRoot)\XenAdmin\bin\Release\XenCenterLib.dll" />
|
|
<File Id="XenModelDLL" Source="$(env.RepoRoot)\XenAdmin\bin\Release\XenModel.dll" />
|
|
<File Id="DiscUtils" Source="$(env.RepoRoot)\XenAdmin\bin\Release\DiscUtils.dll" />
|
|
<File Id="XenOvf" Source="$(env.RepoRoot)\XenAdmin\bin\Release\XenOvf.dll" />
|
|
<File Id="XenOvfTransport" Source="$(env.RepoRoot)\XenAdmin\bin\Release\XenOvfTransport.dll" />
|
|
<!-- Homepage -->
|
|
<File Id="XenCenterHomePage" Source="$(env.RepoRoot)\XenAdmin\bin\Release\HomePage.mht" />
|
|
<File Id="XenCenterJaHomePage" Source="$(env.RepoRoot)\XenAdmin\bin\Release\HomePage.ja.mht" />
|
|
<File Id="XenCenterScHomePage" Source="$(env.RepoRoot)\XenAdmin\bin\Release\HomePage.zh-CN.mht" />
|
|
<!-- Icons -->
|
|
<File Id="XenCenterIcon" Source="$(env.RepoRoot)\Branding\Images\AppIcon.ico" />
|
|
<File Id="XvaIcon" Source="$(env.RepoRoot)\Branding\Images\file_vm.ico" />
|
|
<File Id="XslicIcon" Source="$(env.RepoRoot)\Branding\Images\file_license.ico" />
|
|
<File Id="XkbIcon" Source="$(env.RepoRoot)\Branding\Images\file_backup.ico" />
|
|
<File Id="XsupdateIcon" Source="$(env.RepoRoot)\Branding\Images\file_updates.ico" />
|
|
<!-- Define file extensions -->
|
|
<ProgId Id="XenCenter.xva" Description="!(loc.XVA_File)" Icon="XvaIcon">
|
|
<Extension Id="xva" ContentType="application/xva">
|
|
<Verb Id="open" Command="!(loc.Open)" TargetFile="XenCenterEXE" Argument="import "%1"" />
|
|
</Extension>
|
|
</ProgId>
|
|
<ProgId Id="XenCenter.ovf" Description="!(loc.OVF_File)" Icon="XvaIcon">
|
|
<Extension Id="ovf" ContentType="application/ovf">
|
|
<Verb Id="open" Command="!(loc.Open)" TargetFile="XenCenterEXE" Argument="import "%1"" />
|
|
</Extension>
|
|
</ProgId>
|
|
<ProgId Id="XenCenter.ova" Description="!(loc.OVA_File)" Icon="XvaIcon">
|
|
<Extension Id="ova" ContentType="application/ova">
|
|
<Verb Id="open" Command="!(loc.Open)" TargetFile="XenCenterEXE" Argument="import "%1"" />
|
|
</Extension>
|
|
</ProgId>
|
|
<ProgId Id="XenCenter.vhd" Description="!(loc.VHD_File)" Icon="XvaIcon">
|
|
<Extension Id="vhd" ContentType="application/vhd">
|
|
<Verb Id="open" Command="!(loc.Open)" TargetFile="XenCenterEXE" Argument="import "%1"" />
|
|
</Extension>
|
|
</ProgId>
|
|
<ProgId Id="XenCenter.vmdk" Description="!(loc.VMDK_File)" Icon="XvaIcon">
|
|
<Extension Id="vmdk" ContentType="application/vmdk">
|
|
<Verb Id="open" Command="!(loc.Open)" TargetFile="XenCenterEXE" Argument="import "%1"" />
|
|
</Extension>
|
|
</ProgId>
|
|
<ProgId Id="XenCenter.xslic" Description="$(var.BrandProduct) !(loc.XenServer_License_File)" Icon="XslicIcon">
|
|
<Extension Id="xslic" ContentType="application/xslic">
|
|
<Verb Id="open" Command="!(loc.Open)" TargetFile="XenCenterEXE" Argument="license "%1"" />
|
|
</Extension>
|
|
</ProgId>
|
|
<ProgId Id="XenCenter.$(var.FileExtBackup)" Description="$(var.BrandProduct) !(loc.XenServer_Backup_File)" Icon="XkbIcon">
|
|
<Extension Id="$(var.FileExtBackup)" ContentType="application/$(var.FileExtBackup)">
|
|
<Verb Id="open" Command="!(loc.Open)" TargetFile="XenCenterEXE" Argument="restore "%1"" />
|
|
</Extension>
|
|
</ProgId>
|
|
<ProgId Id="XenCenter.$(var.FileExtUpdate)" Description="$(var.BrandProduct) !(loc.XenServer_Update_File)" Icon="XsupdateIcon">
|
|
<Extension Id="$(var.FileExtUpdate)" ContentType="application/$(var.FileExtUpdate)">
|
|
<Verb Id="open" Command="!(loc.Open)" TargetFile="XenCenterEXE" Argument="update "%1"" />
|
|
</Extension>
|
|
</ProgId>
|
|
<ProgId Id="XenCenter.xsoem" Description="$(var.BrandProduct) !(loc.XenServer_OEM_Update_File)" Icon="XsupdateIcon">
|
|
<Extension Id="xsoem" ContentType="application/xsoem">
|
|
<Verb Id="open" Command="!(loc.Open)" TargetFile="XenCenterEXE" Argument="update "%1"" />
|
|
</Extension>
|
|
</ProgId>
|
|
<ProgId Id="XenCenter.$(var.FileExtSearch)" Description="$(var.BrandConsole) !(loc.XenCenter_Saved_Search)" Icon="XenCenterIcon">
|
|
<Extension Id="$(var.FileExtSearch)" ContentType="application/$(var.FileExtSearch)">
|
|
<Verb Id="open" Command="!(loc.Open)" TargetFile="XenCenterEXE" Argument="search "%1"" />
|
|
</Extension>
|
|
</ProgId>
|
|
</Component>
|
|
<Component Id="UpdateFiles" Guid="$(var.UpdateFilesGuid)">
|
|
<File Id="hotfixDundee" Source="$(env.RepoRoot)\Branding\Hotfixes\RPU003.$(var.FileExtUpdate)" />
|
|
<File Id="hotfixEly" Source="$(env.RepoRoot)\Branding\Hotfixes\RPU004.iso" />
|
|
<File Id="hotfixNaples" Source="$(env.RepoRoot)\Branding\Hotfixes\RPU005.iso" />
|
|
</Component>
|
|
<Directory Id="ja" Name="ja">
|
|
<Component Id="JaResources" Guid="$(var.JapaneseResxGuid)">
|
|
<File Id="JaResourcesDLL" Source="$(env.RepoRoot)\XenAdmin\bin\Release\ja\XenCenterMain.resources.dll" />
|
|
<File Id="JaXenModResourcesDLL" Source="$(env.RepoRoot)\XenAdmin\bin\Release\ja\XenModel.resources.dll" />
|
|
<File Id="JaMicRepVwrCmnResDLL" Source="$(env.RepoRoot)\XenAdmin\ReportViewer\Microsoft.ReportViewer.Common.resources.dll" />
|
|
<File Id="JaMicRepVwrPrcObjResDLL" Source="$(env.RepoRoot)\XenAdmin\ReportViewer\Microsoft.ReportViewer.WinForms.resources.dll" />
|
|
<File Id="JaXOResourcesDLL" Source="$(env.RepoRoot)\XenOvfApi\bin\Release\ja\XenOvf.resources.dll" />
|
|
<File Id="JaXOTResourcesDLL" Source="$(env.RepoRoot)\XenOvfTransport\bin\Release\ja\XenOvfTransport.resources.dll" />
|
|
</Component>
|
|
</Directory>
|
|
<Directory Id="sc" Name="zh-CN">
|
|
<Component Id="ScResources" Guid="$(var.SimplifiedChineseResxGuid)">
|
|
<File Id="ScResourcesDLL" Source="$(env.RepoRoot)\XenAdmin\bin\Release\zh-CN\XenCenterMain.resources.dll" />
|
|
<File Id="ScXenModResourcesDLL" Source="$(env.RepoRoot)\XenAdmin\bin\Release\zh-CN\XenModel.resources.dll" />
|
|
<File Id="ScMicRepVwrCmnResDLL" Source="$(env.RepoRoot)\XenAdmin\ReportViewer\Microsoft.ReportViewer.Common.resources.dll" />
|
|
<File Id="ScMicRepVwrPrcObjResDLL" Source="$(env.RepoRoot)\XenAdmin\ReportViewer\Microsoft.ReportViewer.WinForms.resources.dll" />
|
|
<File Id="ScXOResourcesDLL" Source="$(env.RepoRoot)\XenOvfApi\bin\Release\zh-CN\XenOvf.resources.dll" />
|
|
<File Id="ScXOTResourcesDLL" Source="$(env.RepoRoot)\XenOvfTransport\bin\Release\zh-CN\XenOvfTransport.resources.dll" />
|
|
</Component>
|
|
</Directory>
|
|
<Directory Id="EXTERNALTOOLS" ShortName="External" Name="External Tools">
|
|
<Component Id="ExternalToolsComponent" Guid="$(var.ExtToolsGuid)">
|
|
<File Id="XENSERVERLINUXFIXUP" Source="$(env.RepoRoot)\_scratch\External Tools\xenserver-linuxfixup-disk.iso" />
|
|
<File Id="REFERENCEVHD" Source="$(env.RepoRoot)\_scratch\External Tools\bootablereference.vhd.bz2" />
|
|
</Component>
|
|
</Directory>
|
|
<Directory Id="SCHEMAS" Name="Schemas">
|
|
<Component Id="SchemasFilesComponent" Guid="$(var.SchemasFilesGuid)">
|
|
<File Id="CIMOSXML" Source="$(env.RepoRoot)\XenAdmin\bin\Release\Schemas\CIM_OperatingSystem.xml" />
|
|
<File Id="CIMRASDXML" Source="$(env.RepoRoot)\XenAdmin\bin\Release\Schemas\CIM_ResourceAllocationSettingData.xml" />
|
|
<File Id="CIMRASDXSD" Source="$(env.RepoRoot)\XenAdmin\bin\Release\Schemas\CIM_ResourceAllocationSettingData.xsd" />
|
|
<File Id="CIMVSSDXML" Source="$(env.RepoRoot)\XenAdmin\bin\Release\Schemas\CIM_VirtualSystemSettingData.xml" />
|
|
<File Id="CIMVSSDXSD" Source="$(env.RepoRoot)\XenAdmin\bin\Release\Schemas\CIM_VirtualSystemSettingData.xsd" />
|
|
<File Id="COMMONXSD" Source="$(env.RepoRoot)\XenAdmin\bin\Release\Schemas\common.xsd" />
|
|
<File Id="DSP8023XSD" Source="$(env.RepoRoot)\XenAdmin\bin\Release\Schemas\DSP8023.xsd" />
|
|
<File Id="DSP8027XSD" Source="$(env.RepoRoot)\XenAdmin\bin\Release\Schemas\DSP8027.xsd" />
|
|
<File Id="SECEXTXSD" Source="$(env.RepoRoot)\XenAdmin\bin\Release\Schemas\secext-1.0.xsd" />
|
|
<File Id="WSSUTILXSD" Source="$(env.RepoRoot)\XenAdmin\bin\Release\Schemas\wss-utility-1.0.xsd" />
|
|
<File Id="XENCXSD" Source="$(env.RepoRoot)\XenAdmin\bin\Release\Schemas\xenc-schema.xsd" />
|
|
<File Id="XMLXSD" Source="$(env.RepoRoot)\XenAdmin\bin\Release\Schemas\xml.xsd" />
|
|
<File Id="XMLDSIGXSD" Source="$(env.RepoRoot)\XenAdmin\bin\Release\Schemas\xmldsig-core-schema.xsd" />
|
|
</Component>
|
|
</Directory>
|
|
</Directory>
|
|
</Directory>
|
|
</Directory>
|
|
<Directory Id="ProgramMenuFolder">
|
|
<Directory Id="ApplicationProgramsFolder" Name="$(var.CompanyNameShort)" />
|
|
</Directory>
|
|
<Directory Id="DesktopFolder" Name="Desktop">
|
|
<Component Id="ProgramFilesShortcut" Guid="63b44222-b5e8-4ab1-8f68-baed79abbf36">
|
|
<Condition>INSTALLSHORTCUT</Condition>
|
|
<Shortcut Id="ApplicationDesktopShortcut" Name="$(var.BrandConsole)" Target="[INSTALLDIR]$(var.BrandConsole).exe" WorkingDirectory="INSTALLDIR"/>
|
|
<RemoveFolder Id="DesktopFolder" On="uninstall"/>
|
|
<RegistryValue Root="HKCU" Key="Software\$(var.CompanyNameShort)\$(var.BrandConsole)" Name="installed" Type="integer" Value="1" KeyPath="yes" />
|
|
</Component>
|
|
</Directory>
|
|
</Directory>
|
|
<DirectoryRef Id="TARGETDIR">
|
|
<Component Id="RegistryEntries" Guid="$(var.RegEntriesGuid)">
|
|
<RegistryKey Root="HKMU" Key="Software\$(var.CompanyNameShort)\$(var.BrandConsole)">
|
|
<RegistryValue Type="string" Name="InstallDir" Value="[INSTALLDIR]" />
|
|
<?if "$(var.HiddenFeatures)" != ""?>
|
|
<RegistryValue Type="string" Name="HiddenFeatures" Value="$(var.HiddenFeatures)" />
|
|
<?endif?>
|
|
<?if "$(var.AdditionalFeatures)" != ""?>
|
|
<RegistryValue Type="string" Name="AdditionalFeatures" Value="$(var.AdditionalFeatures)" />
|
|
<?endif?>
|
|
</RegistryKey>
|
|
</Component>
|
|
</DirectoryRef>
|
|
<DirectoryRef Id="ApplicationProgramsFolder">
|
|
<Component Id="ApplicationShortcut" Guid="$(var.AppShortcutGuid)">
|
|
<Shortcut Id="startmenuXenCenter" ShortName="XenCen50" Name="$(var.CompanyNameShort) $(var.BrandConsole)" Target="[INSTALLDIR]$(var.BrandConsole).exe" WorkingDirectory="INSTALLDIR" Icon="XenCenterICO" />
|
|
<RemoveFolder Id="ApplicationProgramsFolder" On="uninstall" />
|
|
<RegistryValue Root="HKCU" Key="Software\$(var.CompanyNameShort)\$(var.BrandConsole)" Name="installed" Type="integer" Value="1" KeyPath="yes" />
|
|
</Component>
|
|
</DirectoryRef>
|
|
|
|
<Feature Id="MainProgram" Title="$(var.CompanyNameShort) $(var.BrandConsole)" Description="$(var.CompanyNameShort) $(var.BrandConsole)" Display="expand" Level="1" ConfigurableDirectory="INSTALLDIR" AllowAdvertise="no" InstallDefault="local" Absent="disallow" >
|
|
<ComponentRef Id="MainExecutable" />
|
|
<ComponentRef Id="UpdateFiles" />
|
|
<ComponentRef Id="ReportViewer" />
|
|
<ComponentRef Id="SchemasFilesComponent" />
|
|
<ComponentRef Id="ExternalToolsComponent" />
|
|
<ComponentRef Id="RegistryEntries" />
|
|
<ComponentRef Id="ApplicationShortcut" />
|
|
<ComponentRef Id="ProgramFilesShortcut" />
|
|
<ComponentGroupRef Id="BrandedComponents" />
|
|
|
|
|
|
<Feature Id="LangJapanese" Title="!(loc.JapaneseTitle)" Description="!(loc.JapaneseDescr)" Display="expand"
|
|
Level="1" ConfigurableDirectory="INSTALLDIR" AllowAdvertise="no" InstallDefault="local" Absent="allow" >
|
|
<ComponentRef Id="JaResources" />
|
|
</Feature>
|
|
<Feature Id="LangSimplifiedChinese" Title="!(loc.SimplifiedChineseTitle)" Description="!(loc.SimplifiedChineseDescr)"
|
|
Display="expand" Level="1" ConfigurableDirectory="INSTALLDIR" AllowAdvertise="no" InstallDefault="local" Absent="allow" >
|
|
<ComponentRef Id="ScResources" />
|
|
</Feature>
|
|
</Feature>
|
|
<FeatureGroupRef Id="BrandedFeatures" />
|
|
|
|
<UIRef Id="$(var.BrandInstallerUI)" />
|
|
<UIRef Id="WixUI_ErrorProgressText" />
|
|
<Property Id="Install_All" Value="0" />
|
|
<Property Id="WIXUI_INSTALLDIR" Value="INSTALLDIR" />
|
|
<Property Id="ARPPRODUCTICON" Value="XenCenterICO" />
|
|
<MajorUpgrade AllowDowngrades="no" AllowSameVersionUpgrades="yes" DowngradeErrorMessage="!(loc.ErrorNewerProduct)" Schedule="afterInstallInitialize"/>
|
|
<PropertyRef Id="WIX_IS_NETFRAMEWORK_46_OR_LATER_INSTALLED" />
|
|
<Condition Message="!(loc.Required_For_Installation)"><![CDATA[Installed OR WIX_IS_NETFRAMEWORK_46_OR_LATER_INSTALLED]]></Condition>
|
|
<Property Id="PERMACHINEINSTALL">
|
|
<RegistrySearch Id="InstallRegistry" Type="raw" Root="HKLM" Key="Software\$(var.CompanyNameShort)\$(var.BrandConsole)" Name="InstallDir" />
|
|
</Property>
|
|
<Property Id="REINSTALLMODE" Value="amus" />
|
|
<Property Id="INSTALLSHORTCUT" />
|
|
<CustomAction Id="ClearAllUsers" Property="ALLUSERS" Value="" />
|
|
<CustomAction Id="SetAllUsers" Property="ALLUSERS" Value="1" />
|
|
<InstallExecuteSequence>
|
|
<AppSearch Sequence="50" />
|
|
<FindRelatedProducts Before="LaunchConditions" />
|
|
<LaunchConditions Sequence="100" />
|
|
<ValidateProductID Sequence="700" />
|
|
<CostInitialize Sequence="800" />
|
|
<FileCost Sequence="900" />
|
|
<CostFinalize Sequence="1000" />
|
|
<MigrateFeatureStates Sequence="1200" />
|
|
<InstallValidate Sequence="1400" />
|
|
<InstallInitialize Sequence="1500" />
|
|
<ProcessComponents Sequence="1600" />
|
|
<UnpublishFeatures Sequence="1800" />
|
|
<RemoveRegistryValues Sequence="2600" />
|
|
<RemoveShortcuts Sequence="3200" />
|
|
<RemoveFiles Sequence="3500" />
|
|
<InstallFiles Sequence="4000" />
|
|
<CreateShortcuts Sequence="4500" />
|
|
<WriteRegistryValues Sequence="5000" />
|
|
<RegisterUser Sequence="6000" />
|
|
<RegisterProduct Sequence="6100" />
|
|
<PublishFeatures Sequence="6300" />
|
|
<PublishProduct Sequence="6400" />
|
|
<InstallFinalize Sequence="6600" />
|
|
</InstallExecuteSequence>
|
|
<InstallUISequence>
|
|
<Custom Action="SetAllUsers" Before="FindRelatedProducts">NOT Installed AND PERMACHINEINSTALL</Custom>
|
|
<FindRelatedProducts Before="LaunchConditions" />
|
|
<Custom Action="ClearAllUsers" After="FindRelatedProducts">NOT Installed AND PERMACHINEINSTALL</Custom>
|
|
<ExecuteAction Sequence="1102" />
|
|
</InstallUISequence>
|
|
<Icon Id="XenCenterICO" SourceFile="$(env.RepoRoot)\Branding\Images\AppIcon.ico" />
|
|
</Product>
|
|
</Wix>
|