• yaclty released this 2023-12-13 20:45:24 +08:00 | 2 commits to master since this release

    VSTO打包代码:
    test.aip文件

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <DOCUMENT Type="Advanced Installer" CreateVersion="18.0" version="18.0" Modules="professional" RootPath="." Language="zh" Id="{2466A7E9-1EFA-4B0D-9024-0DB3C1ACA431}">
      <COMPONENT cid="caphyon.advinst.msicomp.MsiPropsComponent">
        <ROW Property="AI_BITMAP_DISPLAY_MODE" Value="0"/>
        <ROW Property="AI_BackgroundColor" Value="lightblue" MultiBuildValue="DefaultBuild:lavender" MsiKey="AI_BackgroundColor"/>
        <ROW Property="AI_FINDEXE_TITLE" Value="选择 [|ProductName] 安装包" ValueLocId="AI.Property.FindExeTitle"/>
        <ROW Property="AI_FrameBtnsColor" Value="powderblue" MultiBuildValue="DefaultBuild:pink" MsiKey="AI_FrameBtnsColor"/>
        <ROW Property="AI_FrameColor" Value="powderblue" MultiBuildValue="DefaultBuild:lavender" MsiKey="AI_FrameColor"/>
        <ROW Property="AI_ImagesColor" Value="powderblue" MultiBuildValue="DefaultBuild:lavender" MsiKey="AI_ImagesColor"/>
        <ROW Property="AI_ThemeStyle" Value="head" MultiBuildValue="DefaultBuild:nohead" MsiKey="AI_ThemeStyle"/>
        <ROW Property="ARPCOMMENTS" Value="此安装程序数据库包含了安装 [|ProductName] 所需的逻辑和数据。" ValueLocId="*"/>
        <ROW Property="ARPNOREPAIR" MultiBuildValue="DefaultBuild:1"/>
        <ROW Property="Manufacturer" Value="TEST"/>
        <ROW Property="ProductCode" Value="2052:{C869C4B3-BDD3-4254-A560-19ACDD6FDB3D} " Type="16"/>
        <ROW Property="ProductLanguage" Value="1033"/>
        <ROW Property="ProductName" Value="TestWordAddIn"/>
        <ROW Property="ProductVersion" Value="1.0.0" Type="32"/>
        <ROW Property="SecureCustomProperties" Value="OLDPRODUCTS;AI_NEWERPRODUCTFOUND;AI_SETUPEXEPATH;SETUPEXEDIR"/>
        <ROW Property="UpgradeCode" Value="{4C9C8585-08F1-4418-9589-316672C03A83}"/>
        <ROW Property="WindowsType9X" MultiBuildValue="DefaultBuild:Windows 9x/ME" ValueLocId="-"/>
        <ROW Property="WindowsType9XDisplay" MultiBuildValue="DefaultBuild:Windows 9x/ME" ValueLocId="-"/>
        <ROW Property="WindowsTypeNT40" MultiBuildValue="DefaultBuild:Windows NT 4.0" ValueLocId="-"/>
        <ROW Property="WindowsTypeNT40Display" MultiBuildValue="DefaultBuild:Windows NT 4.0" ValueLocId="-"/>
        <ROW Property="WindowsTypeNT50" MultiBuildValue="DefaultBuild:Windows 2000" ValueLocId="-"/>
        <ROW Property="WindowsTypeNT50Display" MultiBuildValue="DefaultBuild:Windows 2000" ValueLocId="-"/>
        <ROW Property="WindowsTypeNT5X" MultiBuildValue="DefaultBuild:Windows XP/2003" ValueLocId="-"/>
        <ROW Property="WindowsTypeNT5XDisplay" MultiBuildValue="DefaultBuild:Windows XP/2003" ValueLocId="-"/>
      </COMPONENT>
      <COMPONENT cid="caphyon.advinst.msicomp.MsiDirsComponent">
        <ROW Directory="APPDIR" Directory_Parent="TARGETDIR" DefaultDir="APPDIR:." IsPseudoRoot="1"/>
        <ROW Directory="TARGETDIR" DefaultDir="SourceDir"/>
      </COMPONENT>
      <COMPONENT cid="caphyon.advinst.msicomp.MsiCompsComponent">
        <ROW Component="AI_ExePath" ComponentId="{9970D465-8CFE-41E7-8D1B-4CDC7856319D}" Directory_="APPDIR" Attributes="4" KeyPath="AI_ExePath"/>
        <ROW Component="APPDIR" ComponentId="{BC72C6AC-6A0B-4289-9D78-18095E914D55}" Directory_="APPDIR" Attributes="0"/>
        <ROW Component="Description" ComponentId="{CA9FB546-C0AF-46E7-96A5-F2ABA60A3132}" Directory_="APPDIR" Attributes="4" KeyPath="Description"/>
        <ROW Component="FriendlyName" ComponentId="{8BB60200-8F58-4A78-A3A7-026410B9E06C}" Directory_="APPDIR" Attributes="4" KeyPath="FriendlyName"/>
        <ROW Component="LoadBehavior" ComponentId="{2174ADAA-BE9D-4026-AE15-D0FDF9EBFAC0}" Directory_="APPDIR" Attributes="4" KeyPath="LoadBehavior"/>
        <ROW Component="Manifest" ComponentId="{D75A964A-7A97-466C-AC2D-1ECCE89D8C6F}" Directory_="APPDIR" Attributes="4" KeyPath="Manifest"/>
        <ROW Component="Manufacturer.ProductName" ComponentId="{2C5C457D-6C4B-4908-AC9A-4A17E52482EA}" Directory_="APPDIR" Attributes="4" KeyPath="Manufacturer.ProductName_1"/>
        <ROW Component="Manufacturer.ProductName_1" ComponentId="{DED59561-DF2A-45D8-9019-42591AFE6EF8}" Directory_="APPDIR" Attributes="4" KeyPath="Manufacturer.ProductName_2"/>
        <ROW Component="Microsoft.Office.Tools.Common.v4.0.Utilities.dll" ComponentId="{1982CE74-7A7A-4D7E-BA85-D3FA3363BE3F}" Directory_="APPDIR" Attributes="0" KeyPath="Microsoft.Office.Tools.Common.v4.0.Utilities.dll"/>
        <ROW Component="Microsoft.Web.WebView2.Core.dll" ComponentId="{E6AB75D4-E13D-41EB-A4FE-85675F3641A0}" Directory_="APPDIR" Attributes="0" KeyPath="Microsoft.Web.WebView2.Core.dll"/>
        <ROW Component="Microsoft.Web.WebView2.WinForms.dll" ComponentId="{9FB73C61-6ED2-4F8E-8867-A3F9D4643E92}" Directory_="APPDIR" Attributes="0" KeyPath="Microsoft.Web.WebView2.WinForms.dll"/>
        <ROW Component="Microsoft.Web.WebView2.Wpf.dll" ComponentId="{94672DFB-61D0-45D8-B3F2-7EB2886BBA67}" Directory_="APPDIR" Attributes="0" KeyPath="Microsoft.Web.WebView2.Wpf.dll"/>
        <ROW Component="New_Key" ComponentId="{803A1D33-1A63-4740-A9EB-E4A68DB63773}" Directory_="APPDIR" Attributes="4" KeyPath="New_Key"/>
        <ROW Component="Newtonsoft.Json.dll" ComponentId="{C5AFF9EF-B983-4CEE-90C7-6D7A9867B9F8}" Directory_="APPDIR" Attributes="0" KeyPath="Newtonsoft.Json.dll"/>
        <ROW Component="ProductInformation" ComponentId="{F185630B-1917-4ED1-BF00-925B967C5DE0}" Directory_="APPDIR" Attributes="4" KeyPath="Version"/>
        <ROW Component="Software" ComponentId="{5B34BB19-533E-4F61-BEA4-806152F7C07B}" Directory_="APPDIR" Attributes="4" KeyPath="Software_1"/>
        <ROW Component="TestWordAddIn1.dll" ComponentId="{B70212B8-8EE0-4EB9-BCE8-0B5797E6B9E0}" Directory_="APPDIR" Attributes="0" KeyPath="TestWordAddIn1.dll"/>
        <ROW Component="TestWordAddIn1.dll.manifest" ComponentId="{6642028A-2490-4402-A766-459A3F614D9A}" Directory_="APPDIR" Attributes="0" KeyPath="TestWordAddIn1.dll.manifest" Type="0"/>
        <ROW Component="UtilLib.dll" ComponentId="{7C58E3B0-8124-4896-9FC0-6B0F08D4BEC1}" Directory_="APPDIR" Attributes="0" KeyPath="UtilLib.dll"/>
      </COMPONENT>
      <COMPONENT cid="caphyon.advinst.msicomp.MsiFeatsComponent">
        <ROW Feature="MainFeature" Title="MainFeature" Description="Description" Display="1" Level="1" Directory_="APPDIR" Attributes="0"/>
        <ATTRIBUTE name="CurrentFeature" value="MainFeature"/>
      </COMPONENT>
      <COMPONENT cid="caphyon.advinst.msicomp.MsiFilesComponent">
        <ROW File="Microsoft.Office.Tools.Common.v4.0.Utilities.dll" Component_="Microsoft.Office.Tools.Common.v4.0.Utilities.dll" FileName="MICROS~1.DLL|Microsoft.Office.Tools.Common.v4.0.Utilities.dll" Attributes="0" SourcePath="Release\Microsoft.Office.Tools.Common.v4.0.Utilities.dll" SelfReg="false"/>
        <ROW File="Microsoft.Web.WebView2.Core.dll" Component_="Microsoft.Web.WebView2.Core.dll" FileName="MICROS~2.DLL|Microsoft.Web.WebView2.Core.dll" Attributes="0" SourcePath="Release\Microsoft.Web.WebView2.Core.dll" SelfReg="false"/>
        <ROW File="Microsoft.Web.WebView2.WinForms.dll" Component_="Microsoft.Web.WebView2.WinForms.dll" FileName="MICROS~3.DLL|Microsoft.Web.WebView2.WinForms.dll" Attributes="0" SourcePath="Release\Microsoft.Web.WebView2.WinForms.dll" SelfReg="false"/>
        <ROW File="Microsoft.Web.WebView2.Wpf.dll" Component_="Microsoft.Web.WebView2.Wpf.dll" FileName="MICROS~4.DLL|Microsoft.Web.WebView2.Wpf.dll" Attributes="0" SourcePath="Release\Microsoft.Web.WebView2.Wpf.dll" SelfReg="false"/>
        <ROW File="Newtonsoft.Json.dll" Component_="Newtonsoft.Json.dll" FileName="NEWTON~1.DLL|Newtonsoft.Json.dll" Attributes="0" SourcePath="Release\Newtonsoft.Json.dll" SelfReg="false"/>
        <ROW File="TestWordAddIn1.dll" Component_="TestWordAddIn1.dll" FileName="TESTWO~1.DLL|TestWordAddIn1.dll" Attributes="0" SourcePath="Release\TestWordAddIn1.dll" SelfReg="false"/>
        <ROW File="TestWordAddIn1.dll.manifest" Component_="TestWordAddIn1.dll.manifest" FileName="TESTWO~1.MAN|TestWordAddIn1.dll.manifest" Attributes="0" SourcePath="Release\TestWordAddIn1.dll.manifest" SelfReg="false"/>
        <ROW File="TestWordAddIn1.vsto" Component_="TestWordAddIn1.dll.manifest" FileName="TESTWO~1.VST|TestWordAddIn1.vsto" Attributes="0" SourcePath="Release\TestWordAddIn1.vsto" SelfReg="false"/>
        <ROW File="UtilLib.dll" Component_="UtilLib.dll" FileName="UtilLib.dll" Attributes="0" SourcePath="Release\UtilLib.dll" SelfReg="false"/>
      </COMPONENT>
      <COMPONENT cid="caphyon.advinst.msicomp.BootstrOptComponent">
        <ROW BootstrOptKey="GlobalOptions" DownloadFolder="[AppDataFolder][|Manufacturer]\[|ProductName]\prerequisites" Options="2"/>
      </COMPONENT>
      <COMPONENT cid="caphyon.advinst.msicomp.BuildComponent">
        <ROW BuildKey="DefaultBuild" BuildName="DefaultBuild" BuildOrder="1" BuildType="1" PackageFolder="Setup Files" Languages="zh" InstallationType="4" CabsLocation="1" PackageType="1" FilesInsideExe="true" ExtractionFolder="[AppDataFolder][|Manufacturer]\[|ProductName] [|ProductVersion]\install" ExtUI="true" UseLargeSchema="true"/>
      </COMPONENT>
      <COMPONENT cid="caphyon.advinst.msicomp.DictionaryComponent">
        <ROW Path="&lt;AI_DICTS&gt;ui.ail"/>
        <ROW Path="&lt;AI_DICTS&gt;ui_zh.ail"/>
      </COMPONENT>
      <COMPONENT cid="caphyon.advinst.msicomp.FragmentComponent">
        <ROW Fragment="CommonUI.aip" Path="&lt;AI_FRAGS&gt;CommonUI.aip"/>
        <ROW Fragment="FolderDlg.aip" Path="&lt;AI_THEMES&gt;azure\fragments\FolderDlg.aip"/>
        <ROW Fragment="LicenseAgreementDlg.aip" Path="&lt;AI_THEMES&gt;azure\fragments\LicenseAgreementDlg.aip"/>
        <ROW Fragment="MaintenanceTypeDlg.aip" Path="&lt;AI_THEMES&gt;azure\fragments\MaintenanceTypeDlg.aip"/>
        <ROW Fragment="MaintenanceWelcomeDlg.aip" Path="&lt;AI_THEMES&gt;azure\fragments\MaintenanceWelcomeDlg.aip"/>
        <ROW Fragment="SequenceDialogs.aip" Path="&lt;AI_THEMES&gt;azure\fragments\SequenceDialogs.aip"/>
        <ROW Fragment="Sequences.aip" Path="&lt;AI_FRAGS&gt;Sequences.aip"/>
        <ROW Fragment="StaticUIStrings.aip" Path="&lt;AI_FRAGS&gt;StaticUIStrings.aip"/>
        <ROW Fragment="UI.aip" Path="&lt;AI_THEMES&gt;azure\fragments\UI.aip"/>
        <ROW Fragment="Validation.aip" Path="&lt;AI_FRAGS&gt;Validation.aip"/>
        <ROW Fragment="VerifyRemoveDlg.aip" Path="&lt;AI_THEMES&gt;azure\fragments\VerifyRemoveDlg.aip"/>
        <ROW Fragment="VerifyRepairDlg.aip" Path="&lt;AI_THEMES&gt;azure\fragments\VerifyRepairDlg.aip"/>
        <ROW Fragment="WelcomeDlg.aip" Path="&lt;AI_THEMES&gt;azure\fragments\WelcomeDlg.aip"/>
      </COMPONENT>
      <COMPONENT cid="caphyon.advinst.msicomp.MsiActionTextComponent">
        <ROW Action="AI_DeleteLzma" Description="删除从档案中提取的文件" DescriptionLocId="ActionText.Description.AI_DeleteLzma" TemplateLocId="-"/>
        <ROW Action="AI_DeleteRLzma" Description="删除从档案中提取的文件" DescriptionLocId="ActionText.Description.AI_DeleteLzma" TemplateLocId="-"/>
        <ROW Action="AI_ExtractFiles" Description="从档案中提取文件" DescriptionLocId="ActionText.Description.AI_ExtractLzma" TemplateLocId="-"/>
        <ROW Action="AI_ExtractLzma" Description="从档案中提取文件" DescriptionLocId="ActionText.Description.AI_ExtractLzma" TemplateLocId="-"/>
      </COMPONENT>
      <COMPONENT cid="caphyon.advinst.msicomp.MsiAppSearchComponent">
        <ROW Property="AI_SETUPEXEPATH" Signature_="AI_EXE_PATH_LM" Builds="DefaultBuild"/>
        <ROW Property="AI_SETUPEXEPATH" Signature_="AI_EXE_PATH_CU" Builds="DefaultBuild"/>
      </COMPONENT>
      <COMPONENT cid="caphyon.advinst.msicomp.MsiBinaryComponent">
        <ROW Name="Prereq.dll" SourcePath="&lt;AI_CUSTACTS&gt;Prereq.dll"/>
        <ROW Name="aicustact.dll" SourcePath="&lt;AI_CUSTACTS&gt;aicustact.dll"/>
        <ROW Name="lzmaextractor.dll" SourcePath="&lt;AI_CUSTACTS&gt;lzmaextractor.dll"/>
      </COMPONENT>
      <COMPONENT cid="caphyon.advinst.msicomp.MsiControlEventComponent">
        <ROW Dialog_="WelcomeDlg" Control_="Next" Event="NewDialog" Argument="LicenseAgreementDlg" Condition="AI_INSTALL" Ordering="1"/>
        <ROW Dialog_="LicenseAgreementDlg" Control_="Next" Event="NewDialog" Argument="FolderDlg" Condition="AI_INSTALL" Ordering="1"/>
        <ROW Dialog_="LicenseAgreementDlg" Control_="Back" Event="NewDialog" Argument="WelcomeDlg" Condition="AI_INSTALL" Ordering="1"/>
        <ROW Dialog_="FolderDlg" Control_="Next" Event="NewDialog" Argument="VerifyReadyDlg" Condition="AI_INSTALL" Ordering="201"/>
        <ROW Dialog_="FolderDlg" Control_="Back" Event="NewDialog" Argument="LicenseAgreementDlg" Condition="AI_INSTALL" Ordering="1"/>
        <ROW Dialog_="VerifyReadyDlg" Control_="Install" Event="EndDialog" Argument="Return" Condition="AI_INSTALL" Ordering="197"/>
        <ROW Dialog_="VerifyReadyDlg" Control_="Back" Event="NewDialog" Argument="FolderDlg" Condition="AI_INSTALL" Ordering="201"/>
        <ROW Dialog_="MaintenanceWelcomeDlg" Control_="Next" Event="NewDialog" Argument="MaintenanceTypeDlg" Condition="AI_MAINT" Ordering="99"/>
        <ROW Dialog_="CustomizeDlg" Control_="Next" Event="NewDialog" Argument="VerifyReadyDlg" Condition="AI_MAINT" Ordering="101"/>
        <ROW Dialog_="CustomizeDlg" Control_="Back" Event="NewDialog" Argument="MaintenanceTypeDlg" Condition="AI_MAINT" Ordering="1"/>
        <ROW Dialog_="VerifyReadyDlg" Control_="Install" Event="EndDialog" Argument="Return" Condition="AI_MAINT" Ordering="198"/>
        <ROW Dialog_="VerifyReadyDlg" Control_="Back" Event="NewDialog" Argument="CustomizeDlg" Condition="AI_MAINT" Ordering="202"/>
        <ROW Dialog_="MaintenanceTypeDlg" Control_="ChangeButton" Event="NewDialog" Argument="CustomizeDlg" Condition="AI_MAINT" Ordering="501"/>
        <ROW Dialog_="MaintenanceTypeDlg" Control_="Back" Event="NewDialog" Argument="MaintenanceWelcomeDlg" Condition="AI_MAINT" Ordering="1"/>
        <ROW Dialog_="MaintenanceTypeDlg" Control_="RemoveButton" Event="NewDialog" Argument="VerifyRemoveDlg" Condition="AI_MAINT AND InstallMode=&quot;Remove&quot;" Ordering="601"/>
        <ROW Dialog_="VerifyRemoveDlg" Control_="Back" Event="NewDialog" Argument="MaintenanceTypeDlg" Condition="AI_MAINT AND InstallMode=&quot;Remove&quot;" Ordering="1"/>
        <ROW Dialog_="MaintenanceTypeDlg" Control_="RepairButton" Event="NewDialog" Argument="VerifyRepairDlg" Condition="AI_MAINT AND InstallMode=&quot;Repair&quot;" Ordering="601"/>
        <ROW Dialog_="VerifyRepairDlg" Control_="Back" Event="NewDialog" Argument="MaintenanceTypeDlg" Condition="AI_MAINT AND InstallMode=&quot;Repair&quot;" Ordering="1"/>
        <ROW Dialog_="VerifyRepairDlg" Control_="Repair" Event="EndDialog" Argument="Return" Condition="AI_MAINT AND InstallMode=&quot;Repair&quot;" Ordering="399" Options="1"/>
        <ROW Dialog_="VerifyRemoveDlg" Control_="Remove" Event="EndDialog" Argument="Return" Condition="AI_MAINT AND InstallMode=&quot;Remove&quot;" Ordering="299" Options="1"/>
        <ROW Dialog_="PatchWelcomeDlg" Control_="Next" Event="NewDialog" Argument="VerifyReadyDlg" Condition="AI_PATCH" Ordering="201"/>
        <ROW Dialog_="VerifyReadyDlg" Control_="Install" Event="EndDialog" Argument="Return" Condition="AI_PATCH" Ordering="199"/>
        <ROW Dialog_="VerifyReadyDlg" Control_="Back" Event="NewDialog" Argument="PatchWelcomeDlg" Condition="AI_PATCH" Ordering="203"/>
        <ROW Dialog_="ResumeDlg" Control_="Install" Event="EndDialog" Argument="Return" Condition="AI_RESUME" Ordering="299"/>
      </COMPONENT>
      <COMPONENT cid="caphyon.advinst.msicomp.MsiCreateFolderComponent">
        <ROW Directory_="APPDIR" Component_="APPDIR" ManualDelete="true"/>
      </COMPONENT>
      <COMPONENT cid="caphyon.advinst.msicomp.MsiCustActComponent">
        <ROW Action="AI_BACKUP_AI_SETUPEXEPATH" Type="51" Source="AI_SETUPEXEPATH_ORIGINAL" Target="[AI_SETUPEXEPATH]"/>
        <ROW Action="AI_DATA_SETTER" Type="51" Source="CustomActionData" Target="[AI_SETUPEXEPATH]"/>
        <ROW Action="AI_DOWNGRADE" Type="19" Target="4010"/>
        <ROW Action="AI_DeleteCadLzma" Type="51" Source="AI_DeleteLzma" Target="[AI_SETUPEXEPATH]"/>
        <ROW Action="AI_DeleteLzma" Type="1025" Source="lzmaextractor.dll" Target="DeleteLZMAFiles"/>
        <ROW Action="AI_DeleteRCadLzma" Type="51" Source="AI_DeleteRLzma" Target="[AI_SETUPEXEPATH]"/>
        <ROW Action="AI_DeleteRLzma" Type="1281" Source="lzmaextractor.dll" Target="DeleteLZMAFiles"/>
        <ROW Action="AI_DpiContentScale" Type="1" Source="aicustact.dll" Target="DpiContentScale"/>
        <ROW Action="AI_EnableDebugLog" Type="321" Source="aicustact.dll" Target="EnableDebugLog"/>
        <ROW Action="AI_ExtractCadLzma" Type="51" Source="AI_ExtractLzma" Target="[AI_SETUPEXEPATH]"/>
        <ROW Action="AI_ExtractFiles" Type="1" Source="Prereq.dll" Target="ExtractSourceFiles" AdditionalSeq="AI_DATA_SETTER"/>
        <ROW Action="AI_ExtractLzma" Type="1025" Source="lzmaextractor.dll" Target="ExtractLZMAFiles"/>
        <ROW Action="AI_FindExeLzma" Type="1" Source="lzmaextractor.dll" Target="FindEXE"/>
        <ROW Action="AI_InstallModeCheck" Type="1" Source="aicustact.dll" Target="UpdateInstallMode" WithoutSeq="true"/>
        <ROW Action="AI_PREPARE_UPGRADE" Type="65" Source="aicustact.dll" Target="PrepareUpgrade"/>
        <ROW Action="AI_RESTORE_AI_SETUPEXEPATH" Type="51" Source="AI_SETUPEXEPATH" Target="[AI_SETUPEXEPATH_ORIGINAL]"/>
        <ROW Action="AI_RESTORE_LOCATION" Type="65" Source="aicustact.dll" Target="RestoreLocation"/>
        <ROW Action="AI_ResolveKnownFolders" Type="1" Source="aicustact.dll" Target="AI_ResolveKnownFolders"/>
        <ROW Action="AI_RunFinishActions" Type="1" Source="aicustact.dll" Target="RunFinishActions" WithoutSeq="true"/>
        <ROW Action="AI_SHOW_LOG" Type="65" Source="aicustact.dll" Target="LaunchLogFile" WithoutSeq="true"/>
        <ROW Action="AI_STORE_LOCATION" Type="51" Source="ARPINSTALLLOCATION" Target="[APPDIR]"/>
        <ROW Action="SET_APPDIR" Type="307" Source="APPDIR" Target="[AppDataFolder][Manufacturer]\[ProductName]"/>
        <ROW Action="SET_SHORTCUTDIR" Type="307" Source="SHORTCUTDIR" Target="[ProgramMenuFolder][ProductName]"/>
        <ROW Action="SET_TARGETDIR_TO_APPDIR" Type="51" Source="TARGETDIR" Target="[APPDIR]"/>
      </COMPONENT>
      <COMPONENT cid="caphyon.advinst.msicomp.MsiFeatCompsComponent">
        <ROW Feature_="MainFeature" Component_="APPDIR"/>
        <ROW Feature_="MainFeature" Component_="ProductInformation"/>
        <ROW Feature_="MainFeature" Component_="AI_ExePath"/>
        <ROW Feature_="MainFeature" Component_="Microsoft.Office.Tools.Common.v4.0.Utilities.dll"/>
        <ROW Feature_="MainFeature" Component_="Microsoft.Web.WebView2.Core.dll"/>
        <ROW Feature_="MainFeature" Component_="Microsoft.Web.WebView2.WinForms.dll"/>
        <ROW Feature_="MainFeature" Component_="Microsoft.Web.WebView2.Wpf.dll"/>
        <ROW Feature_="MainFeature" Component_="Newtonsoft.Json.dll"/>
        <ROW Feature_="MainFeature" Component_="TestWordAddIn1.dll"/>
        <ROW Feature_="MainFeature" Component_="TestWordAddIn1.dll.manifest"/>
        <ROW Feature_="MainFeature" Component_="UtilLib.dll"/>
        <ROW Feature_="MainFeature" Component_="Description"/>
        <ROW Feature_="MainFeature" Component_="FriendlyName"/>
        <ROW Feature_="MainFeature" Component_="LoadBehavior"/>
        <ROW Feature_="MainFeature" Component_="Manifest"/>
        <ROW Feature_="MainFeature" Component_="New_Key"/>
        <ROW Feature_="MainFeature" Component_="Manufacturer.ProductName"/>
        <ROW Feature_="MainFeature" Component_="Software"/>
        <ROW Feature_="MainFeature" Component_="Manufacturer.ProductName_1"/>
      </COMPONENT>
      <COMPONENT cid="caphyon.advinst.msicomp.MsiInstExSeqComponent">
        <ROW Action="AI_DOWNGRADE" Condition="AI_NEWERPRODUCTFOUND AND (UILevel &lt;&gt; 5)" Sequence="210"/>
        <ROW Action="AI_RESTORE_LOCATION" Condition="APPDIR=&quot;&quot;" Sequence="749"/>
        <ROW Action="AI_STORE_LOCATION" Condition="(Not Installed) OR REINSTALL" Sequence="1501"/>
        <ROW Action="AI_PREPARE_UPGRADE" Condition="AI_UPGRADE=&quot;No&quot; AND (Not Installed)" Sequence="1397"/>
        <ROW Action="AI_ResolveKnownFolders" Sequence="52"/>
        <ROW Action="AI_EnableDebugLog" Sequence="51"/>
        <ROW Action="AI_BACKUP_AI_SETUPEXEPATH" Sequence="99" Builds="DefaultBuild"/>
        <ROW Action="AI_RESTORE_AI_SETUPEXEPATH" Condition="AI_SETUPEXEPATH_ORIGINAL" Sequence="101" Builds="DefaultBuild"/>
        <ROW Action="AI_DeleteCadLzma" Condition="SETUPEXEDIR=&quot;&quot; AND Installed AND (REMOVE&lt;&gt;&quot;ALL&quot;) AND (AI_INSTALL_MODE&lt;&gt;&quot;Remove&quot;) AND (NOT PATCH)" Sequence="199" Builds="DefaultBuild"/>
        <ROW Action="AI_DeleteRCadLzma" Condition="SETUPEXEDIR=&quot;&quot; AND Installed AND (REMOVE&lt;&gt;&quot;ALL&quot;) AND (AI_INSTALL_MODE&lt;&gt;&quot;Remove&quot;) AND (NOT PATCH)" Sequence="198" Builds="DefaultBuild"/>
        <ROW Action="AI_ExtractCadLzma" Condition="SETUPEXEDIR=&quot;&quot; AND Installed AND (REMOVE&lt;&gt;&quot;ALL&quot;) AND (AI_INSTALL_MODE&lt;&gt;&quot;Remove&quot;) AND (NOT PATCH)" Sequence="197" Builds="DefaultBuild"/>
        <ROW Action="AI_FindExeLzma" Condition="SETUPEXEDIR=&quot;&quot; AND Installed AND (REMOVE&lt;&gt;&quot;ALL&quot;) AND (AI_INSTALL_MODE&lt;&gt;&quot;Remove&quot;) AND (NOT PATCH)" Sequence="196" Builds="DefaultBuild"/>
        <ROW Action="AI_ExtractLzma" Condition="SETUPEXEDIR=&quot;&quot; AND Installed AND (REMOVE&lt;&gt;&quot;ALL&quot;) AND (AI_INSTALL_MODE&lt;&gt;&quot;Remove&quot;) AND (NOT PATCH)" Sequence="1549" Builds="DefaultBuild"/>
        <ROW Action="AI_DeleteRLzma" Condition="SETUPEXEDIR=&quot;&quot; AND Installed AND (REMOVE&lt;&gt;&quot;ALL&quot;) AND (AI_INSTALL_MODE&lt;&gt;&quot;Remove&quot;) AND (NOT PATCH)" Sequence="1548" Builds="DefaultBuild"/>
        <ROW Action="AI_DeleteLzma" Condition="SETUPEXEDIR=&quot;&quot; AND Installed AND (REMOVE&lt;&gt;&quot;ALL&quot;) AND (AI_INSTALL_MODE&lt;&gt;&quot;Remove&quot;) AND (NOT PATCH)" Sequence="6599" Builds="DefaultBuild"/>
        <ROW Action="AI_ExtractFiles" Sequence="1399" Builds="DefaultBuild"/>
        <ROW Action="AI_DATA_SETTER" Sequence="1398"/>
      </COMPONENT>
      <COMPONENT cid="caphyon.advinst.msicomp.MsiInstallUISequenceComponent">
        <ROW Action="AI_RESTORE_LOCATION" Condition="APPDIR=&quot;&quot;" Sequence="749"/>
        <ROW Action="AI_ResolveKnownFolders" Sequence="53"/>
        <ROW Action="AI_DpiContentScale" Sequence="52"/>
        <ROW Action="AI_EnableDebugLog" Sequence="51"/>
        <ROW Action="AI_BACKUP_AI_SETUPEXEPATH" Sequence="99"/>
        <ROW Action="AI_RESTORE_AI_SETUPEXEPATH" Condition="AI_SETUPEXEPATH_ORIGINAL" Sequence="101"/>
      </COMPONENT>
      <COMPONENT cid="caphyon.advinst.msicomp.MsiLaunchConditionsComponent">
        <ROW Condition="((VersionNT &lt;&gt; 501) AND (VersionNT &lt;&gt; 502))" Description="[ProductName] 无法安装在 [WindowsTypeNT5XDisplay] ." DescriptionLocId="AI.LaunchCondition.NoNT5X" IsPredefined="true" Builds="DefaultBuild"/>
        <ROW Condition="(VersionNT &lt;&gt; 400)" Description="[ProductName] 无法安装在 [WindowsTypeNT40Display] ." DescriptionLocId="AI.LaunchCondition.NoNT40" IsPredefined="true" Builds="DefaultBuild"/>
        <ROW Condition="(VersionNT &lt;&gt; 500)" Description="[ProductName] 无法安装在 [WindowsTypeNT50Display] ." DescriptionLocId="AI.LaunchCondition.NoNT50" IsPredefined="true" Builds="DefaultBuild"/>
        <ROW Condition="SETUPEXEDIR OR (REMOVE=&quot;ALL&quot;)" Description="此包只能从引导器运行。" DescriptionLocId="AI.LaunchCondition.RequireBootstrapper" IsPredefined="true" Builds="DefaultBuild"/>
        <ROW Condition="VersionNT" Description="[ProductName] 无法安装在 [WindowsType9XDisplay] ." DescriptionLocId="AI.LaunchCondition.No9X" IsPredefined="true" Builds="DefaultBuild"/>
      </COMPONENT>
      <COMPONENT cid="caphyon.advinst.msicomp.MsiRegLocatorComponent">
        <ROW Signature_="AI_EXE_PATH_CU" Root="1" Key="Software\Caphyon\Advanced Installer\LZMA\[ProductCode]\[ProductVersion]" Name="AI_ExePath" Type="2"/>
        <ROW Signature_="AI_EXE_PATH_LM" Root="2" Key="Software\Caphyon\Advanced Installer\LZMA\[ProductCode]\[ProductVersion]" Name="AI_ExePath" Type="2"/>
      </COMPONENT>
      <COMPONENT cid="caphyon.advinst.msicomp.MsiRegsComponent">
        <ROW Registry="AI_ExePath" Root="-1" Key="Software\Caphyon\Advanced Installer\LZMA\[ProductCode]\[ProductVersion]" Name="AI_ExePath" Value="[AI_SETUPEXEPATH]" Component_="AI_ExePath"/>
        <ROW Registry="Description" Root="-1" Key="Software\Microsoft\Office\Word\Addins\[Manufacturer].[ProductName]" Name="Description" Value="TestWordAddIn" Component_="Description"/>
        <ROW Registry="FriendlyName" Root="-1" Key="Software\Microsoft\Office\Word\Addins\[Manufacturer].[ProductName]" Name="FriendlyName" Value="TestWordAddIn" Component_="FriendlyName"/>
        <ROW Registry="LoadBehavior" Root="-1" Key="Software\Microsoft\Office\Word\Addins\[Manufacturer].[ProductName]" Name="LoadBehavior" Value="#3" Component_="LoadBehavior" VirtualValue="#"/>
        <ROW Registry="Manifest" Root="-1" Key="Software\Microsoft\Office\Word\Addins\[Manufacturer].[ProductName]" Name="Manifest" Value="file:///[APPDIR]TestWordAddIn1.vsto|vstolocal" Component_="Manifest"/>
        <ROW Registry="Manufacturer.ProductName_1" Root="-1" Key="Software\kingsoft\Office\WPS\AddinsWL" Name="[Manufacturer].[ProductName]" Component_="Manufacturer.ProductName"/>
        <ROW Registry="Manufacturer.ProductName_2" Root="1" Key="Software\kingsoft\Office\WPS\AddinsWL" Name="[Manufacturer].[ProductName]" Component_="Manufacturer.ProductName_1"/>
        <ROW Registry="New_Key" Root="-1" Key="Software\New_Key" Name="+" Component_="New_Key"/>
        <ROW Registry="Path" Root="-1" Key="Software\[Manufacturer]\[ProductName]" Name="Path" Value="[APPDIR]" Component_="ProductInformation"/>
        <ROW Registry="Software_1" Root="1" Key="Software" Name="+" Component_="Software"/>
        <ROW Registry="Version" Root="-1" Key="Software\[Manufacturer]\[ProductName]" Name="Version" Value="[ProductVersion]" Component_="ProductInformation"/>
      </COMPONENT>
      <COMPONENT cid="caphyon.advinst.msicomp.MsiThemeComponent">
        <ATTRIBUTE name="UsedTheme" value="azure"/>
      </COMPONENT>
      <COMPONENT cid="caphyon.advinst.msicomp.MsiUpgradeComponent">
        <ROW UpgradeCode="[|UpgradeCode]" VersionMin="0.0.1" VersionMax="[|ProductVersion]" Attributes="257" ActionProperty="OLDPRODUCTS"/>
        <ROW UpgradeCode="[|UpgradeCode]" VersionMin="[|ProductVersion]" Attributes="2" ActionProperty="AI_NEWERPRODUCTFOUND"/>
      </COMPONENT>
    </DOCUMENT>
    
    Downloads