<Wizard xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<!-- ********************************************************************* -->
	<!--  Copyright (C) 2004-2006 Microsoft Corporation. All Rights Reserved.  -->
	<!-- ********************************************************************* -->

	<_locDefinition>
		<_locDefault _loc="locNone"/>
		<_locTag _loc="locNone" _locAttrData="ChangeDescription">Configuration</_locTag>
		<_locTag _loc="locNone" _locAttrData="Text,Title,Class,LogText,Status">Object</_locTag>
		<_locTag _loc="locNone" _locAttrData="Text,Title">Rule</_locTag>
		<_locTag _loc="locNone" _locAttrData="Text,Title">Template</_locTag>
		<_locTag _loc="locNone" _locAttrData="Text,Title">RestrictionType</_locTag>
		<_locTag _loc="locNone" _locAttrData="Text,Title">Option</_locTag>
		<_locTag _loc="locNone" _locAttrData="Text,Title">Setting</_locTag>
		<_locTag _loc="locNone" _locAttrData="Text">String</_locTag>
		<_locTag _loc="locNone" _locAttrData="Text">IssueLink</_locTag>
		<_locTag _loc="locNone" _locAttrData="Title">Report</_locTag>
		<_locTag _loc="locNone" _locAttrData="Title">Action</_locTag>
	</_locDefinition>

	<Configuration ConfigVersion="1.5.2.0" ConfigName="EXDRA Master Input File" LongNameStart="Microsoft Exchange Server" LongNameEnd="Disaster Recovery Analyzer Tool" ShortName="Exchange Server Disaster Recovery Analyzer" DownloadURL="https://www.microsoft.com/Exchange/code/ExDRA" ArticleURL="http://go.microsoft.com/fwlink/?linkid=52348&amp;l={0}&amp;v=EXDRA.{1}&amp;id={2}" HelpFile="ExDRA.chm" RootHelpId="html\243e46df-658c-4663-9b86-af4e716928d3.htm" CheckForUpdatesHelpId="html\023b86da-9a50-4ce1-abf2-8bff1cf3c0cd.htm" StartScanHelpId="html\243e46df-658c-4663-9b86-af4e716928d3.htm" ScanCompletedHelpId="html\243e46df-658c-4663-9b86-af4e716928d3.htm" SelectScanHelpId="html\243e46df-658c-4663-9b86-af4e716928d3.htm" ChangeDescription="現象に基づいた手法が追加されました。">

		<ObjectProcessor Name="Step" Assembly="BPA.WizardEngine.dll" Class="Microsoft.WindowsServerSystem.Exchange.WizardEngine.StepObjectProcessor"/>
		<ObjectProcessor Name="Panel" Assembly="BPA.WizardEngine.dll" Class="Microsoft.WindowsServerSystem.Exchange.WizardEngine.PanelObjectProcessor"/>
		<ObjectProcessor Name="Information" Assembly="BPA.WizardEngine.dll" Class="Microsoft.WindowsServerSystem.Exchange.WizardEngine.PanelObjectProcessor"/>
		<ObjectProcessor Name="Progress" Assembly="BPA.WizardEngine.dll" Class="Microsoft.WindowsServerSystem.Exchange.WizardEngine.ProgressPanelObjectProcessor"/>
		<ObjectProcessor Name="Action" Assembly="BPA.Common.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Common.GroupObjectProcessor"/>
		<ObjectProcessor Name="Control" Assembly="BPA.WizardEngine.dll" Class="Microsoft.WindowsServerSystem.Exchange.WizardEngine.ControlObjectProcessor"/>
		<ObjectProcessor Name="IfResults" Assembly="BPA.WizardEngine.dll" Class="Microsoft.WindowsServerSystem.Exchange.WizardEngine.IfResultsObjectProcessor"/>
		<ObjectProcessor Name="Credentials" Assembly="BPA.WizardEngine.dll" Class="Microsoft.WindowsServerSystem.Exchange.WizardEngine.CredentialsObjectProcessor"/>

		<ObjectProcessor Name="Group" Assembly="BPA.Common.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Common.GroupObjectProcessor"/>
		<ObjectProcessor Name="Cache" Assembly="BPA.Common.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Common.CacheObjectProcessor"/>
		<ObjectProcessor Name="If" Assembly="BPA.Common.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Common.IfObjectProcessor"/>
		<ObjectProcessor Name="Resolve" Assembly="BPA.Common.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Common.ResolveObjectProcessor"/>
		<ObjectProcessor Name="Directory" Assembly="BPA.ConfigCollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Extensions.DirectoryObjectProcessor"/>
		<ObjectProcessor Name="WMI" Assembly="BPA.ConfigCollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Extensions.WMIObjectProcessor"/>
		<ObjectProcessor Name="Registry" Assembly="BPA.ConfigCollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Extensions.RegistryObjectProcessor"/>
		<ObjectProcessor Name="File" Assembly="BPA.ConfigCollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Extensions.FileObjectProcessor"/>
		<ObjectProcessor Name="Perfmon" Assembly="BPA.ConfigCollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Extensions.PerfmonObjectProcessor"/>
		<ObjectProcessor Name="Pdh" Assembly="BPA.ConfigCollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Extensions.PdhObjectProcessor"/>
		<ObjectProcessor Name="Metabase" Assembly="BPA.ConfigCollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Extensions.MetabaseObjectProcessor"/>
		<ObjectProcessor Name="LookupAccount" Assembly="BPA.ConfigCollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Extensions.LookupAccountObjectProcessor"/>
		<ObjectProcessor Name="Protocol" Assembly="BPA.NetworkCollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Extensions.ProtocolObjectProcessor"/>
		<ObjectProcessor Name="Port" Assembly="BPA.NetworkCollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Extensions.PortObjectProcessor"/>
		<ObjectProcessor Name="Routing" Assembly="BPA.NetworkCollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Extensions.RoutingObjectProcessor"/>
		<ObjectProcessor Name="DNS" Assembly="BPA.NetworkCollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Extensions.DNSObjectProcessor"/>
		<ObjectProcessor Name="EseInfo" Assembly="ExBPA.ESECollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Exchange.ESEInfoObjectProcessor"/>
		<ObjectProcessor Name="LogCheck" Assembly="ExBPA.ESECollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Exchange.LogCheckObjectProcessor"/>
		<ObjectProcessor Name="LogInfo" Assembly="ExBPA.ESECollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Exchange.LogInfoObjectProcessor"/>
		<ObjectProcessor Name="LogGenInfo" Assembly="ExBPA.ESECollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Exchange.LogGenInfoObjectProcessor"/>
		<ObjectProcessor Name="CheckPointInfo" Assembly="ExBPA.ESECollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Exchange.CheckPointInfoObjectProcessor"/>
		<ObjectProcessor Name="FileOp" Assembly="ExBPA.ESECollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Exchange.FileOpObjectProcessor"/>
		<ObjectProcessor Name="RichTextBox" Assembly="BPA.WizardEngine.dll" Class="Microsoft.WindowsServerSystem.Exchange.WizardEngine.RichTextBoxObjectProcessor"/>
		<ObjectProcessor Name="SaveLogNow" Assembly="BPA.WizardEngine.dll" Class="Microsoft.WindowsServerSystem.Exchange.WizardEngine.LogSaveObjectProcessor"/>
		<ObjectProcessor Name="GetComputerNameEx" Assembly="BPA.ConfigCollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Extensions.GetComputerNameExObjectProcessor"/>

		<ObjectProcessor Name="MdbAdmin" Assembly="ExBPA.Shared.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Exchange.MdbAdminObjectProcessor"/>
		<ObjectProcessor Name="MonadCommand" Assembly="ExBPA.ExchangeCollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Exchange.MonadCommandObjectProcessor"/>
		<ObjectProcessor Name="Variable" Assembly="BPA.WizardEngine.dll" Class="Microsoft.WindowsServerSystem.Exchange.WizardEngine.VariableInfoObjectProcessor"/>
		<ObjectProcessor Name="Command" Assembly="BPA.ConfigCollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Extensions.CommandLineObjectProcessor"/>
		<ObjectProcessor Name="Engine" Assembly="BPA.Common.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Common.EngineObjectProcessor"/>
		<ObjectProcessor Name="LoadLibrary" Assembly="ExBPA.ESECollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Exchange.ESE.LoadLibraryObjectProcessor"/>
		<ObjectProcessor Name="ESE" Assembly="ExBPA.ESECollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Exchange.ESE.ESEObjectProcessor"/>
		<ObjectProcessor Name="Isinteg" Assembly="ExBPA.ESECollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Exchange.ESE.IsIntegObjectProcessor"/>
		<ObjectProcessor Name="EventReport" Assembly="BPA.Common.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Common.EventReportObjectProcessor"/>

		<IssueProcessor Name="Events" Assembly="BPA.Common.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Common.EventProcessor"/>
		<ConfigPreprocessor Name="2 Credentials" Assembly="BPA.WizardEngine.dll" Class="Microsoft.WindowsServerSystem.Exchange.WizardEngine.CredentialsConfigPreprocessor"/>
		<RestrictionType Name="Task" Title="タスク" Text="" Collapse="False"/>
		<ExtFunction Name="regSetValue" Assembly="BPA.WizardEngine.dll" Class="Microsoft.WindowsServerSystem.Exchange.WizardEngine.Utility" Function="RegSetValue" Returns="Boolean" Parameters="String,String,String,String"/>
		<ExtFunction Name="pack" Assembly="BPA.WizardEngine.dll" Class="Microsoft.WindowsServerSystem.Exchange.WizardEngine.Utility" Function="Pack" Returns="String" Parameters="String"/>
		<ExtFunction Name="unpack" Assembly="BPA.WizardEngine.dll" Class="Microsoft.WindowsServerSystem.Exchange.WizardEngine.Utility" Function="Unpack" Returns="String" Parameters="String,Number"/>
		<ExtFunction Name="sort" Assembly="ExBPA.ESECollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Exchange.ESECommon" Function="Sort" Returns="String" Parameters="String,Number"/>
		<ExtFunction Name="create-logname" Assembly="ExBPA.ESECollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Exchange.ESECommon" Function="CreateLogName" Returns="String" Parameters="String,Number,Boolean"/>
		<ExtFunction Name="longest-starts-with" Assembly="BPA.ConfigCollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Extensions.PdhObjectProcessor" Function="LongestStartsWith" Returns="String" Parameters="String,Any"/>
		<ExtFunction Name="roundto" Assembly="BPA.ConfigCollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Extensions.PdhObjectProcessor" Function="RoundTo" Returns="Number" Parameters="Number,Number"/>
		<ExtFunction Name="setLabel" Assembly="BPA.WizardEngine.dll" Class="Microsoft.WindowsServerSystem.Exchange.WizardEngine.Utility" Function="SetLabel" Returns="Boolean" Parameters="String"/>
		<ExtFunction Name="get-stepid" Assembly="BPA.WizardEngine.dll" Class="Microsoft.WindowsServerSystem.Exchange.WizardEngine.Utility" Function="CurrentStepNodeID" Returns="String" Parameters=""/>
		<ExtFunction Name="control-value" Assembly="BPA.WizardEngine.dll" Class="Microsoft.WindowsServerSystem.Exchange.WizardEngine.ControlObjectProcessor" Function="ControlValue" Returns="String" Parameters="String[,String]"/>
		<ExtFunction Name="ActionHandler" Assembly="BPA.WizardEngine.dll" Class="Microsoft.WindowsServerSystem.Exchange.WizardEngine.ControlObjectProcessor" Function="Action" Returns="String" Parameters="String,String"/>
		<ExtFunction Name="validate-credentials" Assembly="BPA.WizardEngine.dll" Class="Microsoft.WindowsServerSystem.Exchange.WizardEngine.CredentialsObjectProcessor" Function="ValidateCredentials" Returns="Boolean" Parameters="String"/>
		<ExtFunction Name="get-sublogpath" Assembly="ExBPA.ESECollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Exchange.ESECommon" Function="GetLogPathWithPrefix" Returns="String" Parameters="String"/>
		<ExtFunction Name="get-formatted-attribute" Assembly="BPA.Common.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Common.ObjectProcessor" Function="GetFormattedAttribute" Returns="String" Parameters="String"/>
		<ExtFunction Name="join-unique" Assembly="BPA.WizardEngine.dll" Class="Microsoft.WindowsServerSystem.Exchange.WizardEngine.Utility" Function="JoinUnique" Returns="String" Parameters="String,Any[,Any,Any,Any]"/>
		<ExtFormat Name="Max" Assembly="BPA.ConfigCollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Extensions.PdhObjectProcessor" Convert="MaxFormat"/>
		<ExtFormat Name="Min" Assembly="BPA.ConfigCollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Extensions.PdhObjectProcessor" Convert="MinFormat"/>
		<ExtFormat Name="MinNonZero" Assembly="BPA.ConfigCollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Extensions.PdhObjectProcessor" Convert="MinNonZeroFormat"/>
		<ExtFormat Name="CIMDateTime" Assembly="BPA.Common.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Common.ExtFormat" Convert="CIMDateTime"/>

		<Substitution Name="STEPNAMEPREFIX"></Substitution>

		<!-- Resource Strings which need to be localized -->
		<Resource>
		</Resource>

	</Configuration>

	<Object Type="Step" Name="CheckIfEdge" Title="エッジ トランスポート サーバー上で実行されているか確認中" Display="Left" SkipSave="True">
		<Object Type="Action">
			<Object Type="Variable" Key1="Scalar" Display="Hide">
				<Setting Key1="%EDGEROLE%" Substitution="EDGEROLE" Display="Hide"/>
				<Object Type="Group" Name="Checking if ok to proceed">
					<Setting Key1="Check">
						<Rule Name="fProceed" Query="'%EDGEROLE%'!='1'" NextStep="ReadRegistryConfigurationStep" SQM="93;Set"/>
						<Rule Name="fAbort" Query="not($fProceed)" Title="エッジ トランスポート サーバーが見つかりました" Text="障害回復ツールは、エッジ トランスポート サーバー上では実行できません。" NextStep="ShowUnableToProceedScreen" Error="Error" SQM="94;Set"/>
						<Rule Name="fNotSymptom" Query="'0'">
							<Variable Name="IsSymptom" Scope="Global"/>
						</Rule>
					</Setting>
				</Object>
			</Object>
		</Object>
	</Object>

	<Object Type="Step" Name="ShowUnableToProceedScreen" Title="続行できません" Display="Left" SkipSave="True">
		<Object Type="Panel">
			<Object Type="Control" SubType="Title" Name="Title" Position="Top" Text="続行できません"/>
			<Object Type="Control" SubType="Label" Name="Label" Position="Below" Text="障害回復機能は、エッジ トランスポート サーバー上では実行できません。" ForeColor="Red"/>
			<Object Type="Control" SubType="Link" Name="Exit" Position="IndentBelow" Text="終了"/>
		</Object>
	</Object>

	<Object Type="Step" Name="ReadRegistryConfigurationStep" Title="レジストリ情報の読み取り" Display="Left" SkipSave="True">
		<Object Type="Action">
			<Object Type="Variable" Key1="Scalar" Display="Hide">
				<Setting Key1="%DC%" Substitution="DCInput" Display="Hide"/>
				<Setting Key1="%Server%" Substitution="ServerInput" Display="Hide"/>
				<Object Type="Group" Name="Read Registry Configuration">
					<Setting Key1="Rule">
						<Rule Name="vOptionSelectStep" NextStep="EnterInformationStep"/>
						<Rule Name="szEmptyString" Query="string('')">
							<Variable Name="Mode" Scope="Children"/>
							<Variable Name="SG" Scope="Children"/>
							<Variable Name="DB" Scope="Children"/>
							<Variable Name="LogPrefix" Scope="Children"/>
							<Variable Name="DBPath" Scope="Children"/>
							<Variable Name="LogPath" Scope="Children"/>
							<Variable Name="ServerName" Scope="Children"/>
							<Variable Name="SelectedSG" Scope="Children"/>
							<Variable Name="SelectedDBForDisplay" Scope="Children"/>
						</Rule>
						<!-- This is the word need to be localized -->
						<Rule Name="szRSGString" Query="string(@Title)" Title="回復用ストレージ グループ">
							<Variable Name="RSG" Scope="Children"/>
						</Rule>
						<Rule Name="szDC" Query="if(not (@S0='%DC%'), string(@S0), if($szDCSpecified,string($szDCSpecified),string($szDCDetected)))" S0="%DCInput%" AlwaysEvaluate="True">
							<Variable Name="DC" Scope="Children"/>
						</Rule>
						<Rule Name="szServer" Query="if(not (@S0='%Server%'), string(@S0), if($szServerSpecified,string($szServerSpecified),''))" S0="%ServerInput%" AlwaysEvaluate="True">
							<Variable Name="Server" Scope="Children"/>
						</Rule>
						<Rule Name="fSkipInfo" Query="if($szSkipInformationalSteps and $szSkipInformationalSteps=1,'1','0')" AlwaysEvaluate="True">
							<Variable Name="varContinueRun" Scope="Global"/>
						</Rule>
					</Setting>
					<Object Type="Registry" Key1="" Key2="HKEY_CURRENT_USER" Key3="Software\Microsoft\Exchange\ExDRA">
						<Setting Key1="DCSpecified">
							<Rule Name="szDCSpecified" Query="$."/>
						</Setting>
						<Setting Key1="DCDetected">
							<Rule Name="szDCDetected" Query="$."/>
						</Setting>
						<Setting Key1="ServerSpecified">
							<Rule Name="szServerSpecified" Query="$."/>
						</Setting>
						<Setting Key1="SkipInformationalSteps">
							<Rule Name="szSkipInformationalSteps" Query="$."/>
						</Setting>
					</Object>
				</Object>
			</Object>
		</Object>
	</Object>

	<Object Type="Step" Name="EnterInformationStep" Title="サーバーおよびユーザー情報の入力" Display="Left" SkipSave="True">
		<Object Type="Panel">
			<Object Type="Variable" Key1="Scalar" Display="Hide">
				<Setting Key1="%Mode%" Substitution="InputMode" Display="Hide"/>
				<Setting Key1="%DC%" Substitution="DC" Display="Hide"/>
				<Setting Key1="%Server%" Substitution="Server" Display="Hide"/>
				<Setting Key1="%varContinueRun%" Substitution="varContinueRun" Display="Hide"/>
				<Setting Key1="%IsSymptom%" Substitution="IsSymptom" Display="Hide"/>

				<Object Type="Control" SubType="Title" Name="Title" Position="Top" Text="サーバー情報とユーザー情報の入力"/>

				<Object Type="Control" SubType="Label" Name="labelLabel" Position="Below" Text="このアクティビティに名前を付けてください:"/>
				<Object Type="Control" SubType="TextBox" Name="Label" Position="NextTo" Default="" Width="417" Display="Hide">
					<Setting Key1="LabelName">
						<Rule Name="fSetLabelToServerName" Query="if(string-length($.) &gt; 0, setLabel($.))"/>
					</Setting>
				</Object>
				<Object Type="Control" SubType="GradiatedBox" Name="TopLine" Position="LeftBelow"/>

				<Object Type="If" Name="IsNotSymptom" Key1="'%IsSymptom%'='0'">
					<Object Type="Control" SubType="CheckBox" Name="RawMode" Position="Below" LineSpace="2" Text="未処理のデータ ファイルの手動分析を実行する (以下のサーバーおよび資格情報エントリを無視する)">
						<Setting Key1="Checked">
							<Rule Name="fRawMode" Query="$.=1" NextStep="ManualSelectStep"/>
						</Setting>
						<Event Type="Changed">
							<Action Type="Enable" ControlName="ServerName" Query="control-value('RawMode')='0'"/>
							<Action Type="Enable" ControlName="DCName" Query="control-value('RawMode')='0'"/>
							<Action Type="Enable" ControlName="ShowHideCreds" Query="control-value('RawMode')='0'"/>
						</Event>
					</Object>

					<Object Type="Control" SubType="GradiatedBox" Name="MidLine2" Position="Below"/>
				</Object>

				<Object Type="Control" SubType="Label" Name="ServerLabel" Position="Below" LineSpace="2" Text="サーバー名 (必須):"/>
				<Object Type="Control" SubType="TextBox" Name="ServerName" Position="At(Label)," Default="%Server%">
					<Setting Key1="ServerName">
						<Rule Name="szInputServerName" Query="$.">
							<Variable Name="Server" Scope="Local"/>
						</Rule>
						<Rule Name="szServerName" Query="upper-case(slice($.,'.',0))" Text="サーバー名は {1} です。" P1="$.">
							<Variable Name="ServerName" Scope="Children"/>
						</Rule>
						<Rule Name="fEmptyServerName" Query="not ($.) or ($.='')" Text="サーバー名が空です。" Error="Error"/>
						<Rule Name="fSetServerName" Query="if(not ($fEmptyServerName), regSetValue('','Software\\Microsoft\\Exchange\\ExDRA','ServerSpecified',$.))"/>
					</Setting>
				</Object>
				<Object Type="Control" SubType="Label" Name="InvalidServerName" Position="NextTo" Text=" サーバー名が無効です。" ForeColor="Red" FontStyle="Bold" Flags="Visible=False"/>

				<Object Type="Control" SubType="Label" Name="DCLabel" Position="LeftBelow" LineSpace="2" Text="ドメイン コントローラ名 (必須):"/>
				<Object Type="Control" SubType="TextBox" Name="DCName" Position="At(Label)," Default="%DC%">
					<Setting Key1="DCName">
						<Rule Name="szDCEntered" Query="$.">
							<Variable Name="DC" Scope="Local"/>
						</Rule>
						<Rule Name="szDCName" Query="slice($.,'.',0)" Text="ドメイン コントローラの名前は {1} です。" P1="$.">
							<Variable Name="DCName" Scope="Children"/>
						</Rule>
						<Rule Name="fSetDCName" Query="($. != @S0) and regSetValue('','Software\\Microsoft\\Exchange\\ExDRA','DCSpecified',$.)" S0="%DC%"/>
					</Setting>
				</Object>
				<Object Type="Control" SubType="Label" Name="InvalidDCName" Position="NextTo" Text=" ドメイン コントローラ名が無効です。" ForeColor="Red" FontStyle="Bold" Flags="Visible=False"/>

				<Object Type="Control" SubType="Label" Name="InvalidCredentials" Position="LeftBelow" Text="指定された資格情報は無効です。有効な資格情報を指定してください。" ForeColor="Red" FontStyle="Bold" Flags="Visible=False"/>

				<Object Type="Control" SubType="GradiatedBox" Name="MidLine1" Position="LeftBelow"/>
				<Object Type="Control" SubType="ShowHide" Name="ShowHideCreds" Position="Below" Text="詳細なログオン オプションを表示する、詳細なログオン オプションを表示しない">
					<Object Type="Control" SubType="Label" Name="EXLabel" Position="TopNoBorder" Text="現在の資格情報に、Exchange サーバーの構成情報を読み取るための十分なアクセス許可がない場合は、下に代わりの資格情報を入力してください。"/>
					<Object Type="Credentials" Name="EXLOGON" Position="Below" Key1="225"/>
				</Object>

				<Object Type="Control" SubType="GradiatedBox" Name="AboveSkipInfo" Position="LeftBelow"/>

				<Object Type="Control" SubType="CheckBox" Name="ContinueRun" Position="Below" Text="情報を表示しない" Default="%varContinueRun%">
					<Setting Key1="Checked">
						<Rule Name="iContinueRun" Query="$.">
							<Variable Name="varContinueRun" Scope="Global"/>
						</Rule>
						<Rule Name="fSetContinueRun" Query="regSetValue('','Software\\Microsoft\\Exchange\\ExDRA','SkipInformationalSteps',$.)"/>
					</Setting>
				</Object>
				<Object Type="Control" SubType="Label" Name="ContinueRunLabel" Position="Below" LineSpace="0" Text="      このオプションを選択すると、個別のデータベース分析結果および推奨事項をスキップして、[ファイル ヘッダーの概要] ページに進みます。"/>

				<Object Type="Control" SubType="GradiatedBox" Name="BottomLine" Position="LeftBelow"/>

				<Object Type="Control" SubType="Link" Name="Next" Position="IndentBelow" Text="次へ">
					<Rule Name="fDispatchToCheckAutoDetectInputs" Query="not ($fEmptyServerName) and not ($fRawMode)" NextStep="CheckConnectivityStep" AlwaysEvaluate="True"/>
					<Event Type="Click">
						<Action Type="Proceed" Query="validate-credentials('EXLOGON') and (control-value('ServerName') !='') and (control-value('DCName') !='')"/>
						<Action Type="Visible" ControlName="InvalidCredentials" Query="not(validate-credentials('EXLOGON'))"/>
						<Action Type="Visible" ControlName="InvalidServerName" Query="control-value('ServerName')=''"/>
						<Action Type="Visible" ControlName="InvalidDCName" Query="control-value('DCName')=''"/>
					</Event>
				</Object>
			</Object>
		</Object>
	</Object>

	<Object Type="Step" Name="ManualSelectStep" Title="手動選択オプションの表示" Display="Left" SkipSave="True">
		<Object Type="Panel">
			<Object Type="Variable" Key1="Scalar" Display="Hide">
				<Setting Key1="%DBPath%" Substitution="DBPath" Display="Hide"/>
				<Setting Key1="%LogPath%" Substitution="LogPath" Display="Hide"/>
				<Object Type="Group" Name="ManualVars">
					<Setting Key1="ManualVars">
						<Rule Name="szEmptyString2" Query="string('')">
							<!-- Set up elements we will not have.  -->
							<Variable Name="LogPrefix" Scope="Children"/>
							<Variable Name="DC" Scope="Children"/>
							<Variable Name="Server" Scope="Children"/>
							<Variable Name="ServerName" Scope="Children"/>
							<Variable Name="SelectedSG" Scope="Children"/>
							<Variable Name="SelectedDBForDisplay" Scope="Children"/>
						</Rule>
					</Setting>
				</Object>
				<Object Type="Control" SubType="Title" Name="Title" Position="Top" Text="Exchange Server のデータベースとトランザクション ログ ファイル"/>
				<Object Type="Control" SubType="Label" Name="ManualSelectTopLabel" Position="Below" Text="データベースおよびトランザクション ログ ファイルへのパスを入力してください (例: C:\Databases\DB1.edb や C:\Logs)。また、UNC パス (\\サーバー名\共有名\パス) も入力できます。"/>
				<Object Type="Control" SubType="Label" Name="DatabaseInfo" Position="Below" Text="完全なデータベース ファイル名: "/>
				<Object Type="Control" SubType="FileDialog" Text="参照..." Title="データベース ファイルの選択" FileFilter="EDB Files(*.edb)|*.edb|All Files(*.*)|*.*" DialogType="OpenFile" Name="DBPath" Position="NextTo" Width="300" Default="%DBPath%">
					<Setting Key1="DBPath">
						<Rule Name="fDBPathEmpty" Query="not ($.)" Text="データベース名およびパスが空です。" Error="Error"/>
						<Rule Name="szDBPathUpper" Query="upper-case($.)">
							<Variable Name="DBPath" Scope="Local"/>
						</Rule>
						<Rule Name="szSelectedDBPath" Query="upper-case($.)">
							<Variable Name="SelectedDB" Scope="Children"/>
						</Rule>
						<Rule Name="szSLVPathMunge" Query="replace($szDBPathUpper, '.EDB', '.STM')">
							<Variable Name="SLVPath" Scope="Children"/>
						</Rule>
					</Setting>
				</Object>
				<Object Type="Control" SubType="Label" Name="LogDirectory" Position="LeftBelow" Text="ログ ディレクトリ: "/>
				<Object Type="Control" SubType="FileDialog" Text="参照..." Title="ログ ファイル ディレクトリの選択" DialogType="OpenFolder" Name="LogPath" Position="At(DBPath)," Width="300" Default="%LogPath%">
					<Setting Key1="LogPath">
						<Rule Name="fLogPathEmpty" Query="not ($.)" Text="指定されたログ ディレクトリは空です。有効なログ ディレクトリを指定してください。" Error="Error"/>
						<Rule Name="szLogPathSetVar" Query="$.">
							<Variable Name="LogPath" Scope="Local"/>
						</Rule>
					</Setting>
				</Object>

				<Object Type="Control" SubType="Link" Name="Previous" Position="LeftBelow" LineSpace="2" Text="前へ"/>
				<Object Type="Control" SubType="Link" Name="Next" Position="NextTo" Percent="30" Text="次へ">
					<Rule Name="fDispatchToDBAnalysisStep" Query="not ($fDBPathEmpty) and not ($fLogPathEmpty)" NextStep="DBAnalysisStep"/>
				</Object>
			</Object>
		</Object>
	</Object>
	<Object Type="Step" Name="DBAnalysisStep" Title="データベースの分析" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%DBPath%" Substitution="DBPath" Display="Hide"/>
			<Setting Key1="%SLVPath%" Substitution="SLVPath" Display="Hide"/>
			<Setting Key1="%LogPath%" Substitution="LogPath" Display="Hide"/>
			<Setting Key1="%LogPrefix%" Substitution="LogPrefix" Display="Hide"/>
			<Setting Key1="%SelectedDBForDisplay%" Substitution="DBName" Display="Hide"/>
			<Setting Key1="%ServerName%" Substitution="EXSERVER" Display="Hide"/>
			<Setting Key1="%SelectedDB%" Substitution="SelectedDB" Display="Hide"/>
			<Setting Key1="%IsE12%" Substitution="IsE12" Display="Hide"/>
			<Object Type="Progress" Title="データベースの分析: %SelectedDB%" Text="選択されたデータベースおよびトランザクション ログ ファイルを調べています。しばらくお待ちください。">
				<Object Type="EseInfo" Key2="%DBPath%" Key3="EXDRA" Key4="%IsE12%" SecurityContext="EXLOGON">
					<Rule Name="fErrorAccessDatabase" Query="../Exception/@Message" Text="データベース {0} へのアクセス中にエラーが発生しました。エラー メッセージは {1} です。" S0="%DBPath%" P1="../Exception/@Message" Error="Error" NextStep="DisplayCorruptDBStep">
						<Variable Name="ErrorMessage" Scope="Children"/>
					</Rule>
					<Rule Name="szDatabaseName" Query="true()" Text="データベース名: {1}" S1="%DBName%"/>
					<Rule Name="szDatabasePath" Query="true()" Text="データベース パス: {1}" S1="%DBPath%"/>
					<Setting Key1="DBSignature">
						<Rule Name="szDBSignature" Query="if($., concat($.[1],' ', $.[2]))" Text="データベース '{0}' の署名は {1} {2} です。" S0="%SelectedDB%" P1="$.[1]" P2="$.[2]" Error="Information">
							<Variable Name="DBHeader[DBSignature]" Scope="Children"/>
						</Rule>
						<Rule Name="szGlobalDBSignature" Query="concat(@S0, $szDBSignature)" S0="%DBName%">
							<Variable Name="INFO[GlobalDBSignature][%DBPath%]" Scope="Global"/>
						</Rule>
					</Setting>
					<Setting Key1="LogSignature" Substitution="LogSignature" SubstitutionFormat="$---- ">
						<Rule Name="szLogSignature" Query="if($., concat($.[1],' ', $.[2]))" Text="データベース '{0}' のログ署名は {1} {2} です。" S0="%SelectedDB%" P1="$.[1]" P2="$.[2]" Error="Information">
							<Variable Name="DBHeader[LogSignature]" Scope="Children"/>
						</Rule>
						<Rule Name="szGlobalLogSignature" Query="concat(@S0, $szLogSignature)" S0="%DBName%">
							<Variable Name="INFO[GlobalLogSignature][%DBPath%]" Scope="Global"/>
						</Rule>
					</Setting>
					<Setting Key1="DBState">
						<Rule Name="iDBStateNum" Query="$.">
							<Variable Name="DBHeader[StateNum]" Scope="Children"/>
						</Rule>
						<Rule Name="szDBStatus" Query="if(($.=3), 'Clean Shutdown', if(($.=2),'Dirty Shutdown','State Unknown'))"/>
						<Rule Name="fDBStateClean" Query="$szDBStatus='Clean Shutdown'" Error="None" Title="データベース '{0}' の状態は '{1}' です" Text="データベース '{0}' の状態は '{1}' です。" S0="%SelectedDB%" P1="$szDBStatus" NextStep="DisplayCleanShutdownStep" GUID="8df2ff5a-288f-4e40-a727-96f60ee34f11"/>
						<Rule Name="fDBStateDirty" Query="$szDBStatus='Dirty Shutdown'" Error="Error" Title="データベース '{0}' の状態は '{1}' です" Text="データベース '{0}' の状態は '{1}' です。" S0="%SelectedDB%" P1="$szDBStatus" GUID="628ce16c-e95e-4727-9521-fb77f0d1f881"/>
						<Rule Name="fDBStateUnknown" Query="$szDBStatus='State Unknown'" Error="Error" Title="データベース '{0}' の状態は '{1}' です" Text="データベース '{0}' の状態は '{1}' です。" S0="%SelectedDB%" P1="$szDBStatus" GUID="be5ca9cb-9430-47eb-9894-c6cb7b3019aa"/>
						<Rule Name="szGlobalDBStatus" Query="concat(@S0, $szDBStatus)" S0="%DBName%">
							<Variable Name="INFO[GlobalDBStatus][%DBPath%]" Scope="Global"/>
						</Rule>
					</Setting>
					<Setting Key1="MinLogRequired" Substitution="MinLogRequired">
						<Rule Name="iMin" Query="$." Text="データベース '{0}' で必要な最小のログ ファイルは {1} です。" S0="%SelectedDB%" P1="$." Error="Information">
							<Variable Name="DBHeader[Min]" Scope="Children"/>
						</Rule>
						<Rule Name="szGlobalMinLogRequired" Query="concat(@S0, $iMin)" S0="%DBName%">
							<Variable Name="INFO[GlobalMinLogRequired][%DBPath%]" Scope="Global"/>
						</Rule>
					</Setting>
					<Setting Key1="MaxLogRequired" Substitution="MaxLogRequired">
						<Rule Name="iMax" Query="$." Text="データベース '{0}' で必要な最大のログ ファイルは {1} です。" S0="%SelectedDB%" P1="$." Error="Information">
							<Variable Name="DBHeader[Max]" Scope="Children"/>
						</Rule>
						<Rule Name="fDirtyWithNoRequiredLogs" Query="($iDBStateNum='2') and ($iMin='0') and ($iMax='0')" Error="Error" Title="データベースは 'ダーティ シャットダウン' 状態ですが、ログは必要ありません" Text="データベース '{0}' の状態は 'ダーティ シャットダウン' ですが、ログは必要ありません。" S0="%SelectedDB%" GUID="49bc5a3c-2fa4-469f-90df-797d1212ea74"/>
						<Rule Name="szGlobalMaxLogRequired" Query="concat(@S0, $iMax)" S0="%DBName%">
							<Variable Name="INFO[GlobalMaxLogRequired][%DBPath%]" Scope="Global"/>
						</Rule>
					</Setting>
					<Setting Key1="LogTimeAttachPos" Substitution="LogTimeAttachPos"/>
					<Setting Key1="LogTimeAttach">
						<Rule Name="szLogTimeAttach" Query="$." Text="データベース '{0}' のログ アタッチ時間は {1} です。" S0="%SelectedDB%" P1="$." Error="Information"/>
						<Rule Name="szGlobalLogTimeAttach" Query="concat(@S0, @S1, '  ', $.)" S0="%DBName%" S1="%LogTimeAttachPos%">
							<Variable Name="INFO[GlobalLogTimeAttach][%DBPath%]" Scope="Global"/>
						</Rule>
					</Setting>
					<Setting Key1="LogTimeConsistentPos" Substitution="LogTimeConsistentPos"/>
					<Setting Key1="LogTimeConsistent">
						<Rule Name="szLogTimeConsistent" Query="$." Text="データベース '{0}' のログ整合時間は {1} です。" S0="%SelectedDB%" P1="$." Error="Information"/>
						<Rule Name="szGlobalLogTimeConsistent" Query="concat(@S0, @S1, '  ', $.)" S0="%DBName%" S1="%LogTimeConsistentPos%">
							<Variable Name="INFO[GlobalLogTimeConsistent][%DBPath%]" Scope="Global"/>
						</Rule>
					</Setting>
					<Setting Key1="LogTimeDetachPos" Substitution="LogTimeDetachPos"/>
					<Setting Key1="LogTimeDetach">
						<Rule Name="szLogTimeDetach" Query="$." Text="データベース '{0}' のログ デタッチ時間は {1} です。" S0="%SelectedDB%" P1="$." Error="Information"/>
						<Rule Name="szGlobalLogTimeDetach" Query="concat(@S0, @S1, '  ', $.)" S0="%DBName%" S1="%LogTimeDetachPos%">
							<Variable Name="INFO[GlobalLogTimeDetach][%DBPath%]" Scope="Global"/>
						</Rule>
					</Setting>
					<Setting Key1="LogTimeRepair">
						<Rule Name="szLogTimeRepair" Query="$." Text="データベース '{0}' のログ修復時間は {1} です。" S0="%SelectedDB%" P1="$." Error="Information"/>
						<Rule Name="szGlobalLogTimeRepair" Query="concat(@S0, $.)" S0="%DBName%">
							<Variable Name="INFO[GlobalLogTimeRepair][%DBPath%]" Scope="Global"/>
						</Rule>
					</Setting>
					<Setting Key1="RepairCount">
						<Rule Name="szRepairCount" Query="$." Text="データベース '{0}' の修復カウントは {1} です。" S0="%SelectedDB%" P1="$." Error="Information"/>
						<Rule Name="szGlobalRepairCount" Query="concat(@S0, $.)" S0="%DBName%">
							<Variable Name="INFO[GlobalRepairCount][%DBPath%]" Scope="Global"/>
						</Rule>
					</Setting>
					<Setting Key1="DBTimeDirtied"/>
					<Setting Key1="Update" Substitution="Update"/>
					<Setting Key1="Version" Substitution="Version">
						<Rule Name="szGlobalUpdateAndVersion" Query="concat(@S0, @S1, ',', $.)" S0="%DBName%" S1="%Update%">
							<Variable Name="INFO[GlobalUpdateAndVersion][%DBPath%]" Scope="Global"/>
						</Rule>
					</Setting>
					<Setting Key1="DBLastConsistentGenerationNumber" Substitution="LastConsistentGenerationNumber">
						<Rule Name="szGloballastConsistentGenerationNumber" Query="concat(@S0, $.)" S0="%DBName%">
							<Variable Name="INFO[GlobalLastConsistentGenerationNumber][%DBPath%]" Scope="Global"/>
						</Rule>
					</Setting>
					<Setting Key1="SLVSignature" Substitution="SLVSignature" SubstitutionFormat="$---- ">
						<Rule Name="szSLVSignatureInDB" Query="if($., concat($.[1],' ', $.[2]))" Text="データベース '{0}' のストリーミング ファイル署名は {1} {2} です。" S0="%SelectedDB%" P1="$.[1]" P2="$.[2]">
							<Variable Name="DBHeader[SLVSignature]" Scope="Children"/>
						</Rule>
					</Setting>
					<Setting Key1="BKInfoFullPrev">
						<Rule Name="szBKInfoFullPrev" Query="if($., concat(@S0,'(',$.[3],',',$.[2],',',$.[1],')',' ',$.[4],' ',$.[5],'-',$.[6]))" S0="%DBName%">
							<Variable Name="INFO[GlobalBKInfoFullPrev][%DBPath%]" Scope="Global"/>
						</Rule>
					</Setting>
					<Setting Key1="BKInfoIncPrev">
						<Rule Name="szBKInfoIncPrev" Query="if($., concat(@S0,'(',$.[3],',',$.[2],',',$.[1],')',' ',$.[4],' ',$.[5],'-',$.[6]))" S0="%DBName%">
							<Variable Name="INFO[GlobalBKInfoIncPrev][%DBPath%]" Scope="Global"/>
						</Rule>
					</Setting>
					<Setting Key1="BKInfoFullCur">
						<Rule Name="szBKInfoFullCur" Query="if($., concat(@S0,'(',$.[3],',',$.[2],',',$.[1],')',' ',$.[4],' ',$.[5],'-',$.[6]))" S0="%DBName%">
							<Variable Name="INFO[GlobalBKInfoFullCur][%DBPath%]" Scope="Global"/>
						</Rule>
						<Rule Name="fNeedHardRecovery" Query="($.[6]=0) and not ($.[5]=0)" Title="データベースの状態は 'オンライン バックアップから復元' です" Text="データベースはオンライン バックアップから復元されましたが、まだ回復していません。" Error="Warning"/>
					</Setting>
					<!-- TISP2 Database Attributes -->
					<Setting Key1="ECCFixSuccess"/>
					<Setting Key1="LogTimeECCFixSuccess"/>
					<Setting Key1="ECCFixSuccessOld"/>
					<Setting Key1="ECCFixFail"/>
					<Setting Key1="LogTimeECCFixFail"/>
					<Setting Key1="ECCFixFailOld"/>
					<Setting Key1="BadChecksum"/>
					<Setting Key1="LogTimeBadChecksum"/>
					<Setting Key1="BadChecksumOld"/>

					<!-- Verify SLV file.  -->
					<Object Type="If" Name="STMFileCheck" Key1="not('%Version%'='0x620' and '%Update%'='12')">
						<Object Type="EseInfo" Key2="%SLVPath%" Key3="ExDRA" Key4="%IsE12%" SecurityContext="EXLOGON">
							<Rule Name="fErrorAccessSLVFile" Query="../Exception/@Message" Title="ストリーミング ファイルへのアクセス エラー" Text="ストリーミング ファイル {0} へのアクセス中にエラーが発生しました。エラー メッセージは {1} です。" S0="%SLVPath%" P1="../Exception/@Message" Error="Error" NextStep="DisplayCorruptDBStep" GUID="e3c2d16d-f667-4a4a-9184-bb714d588cf6">
								<Variable Name="ErrorMessage" Scope="Children"/>
							</Rule>
							<Setting Key1="DBSignature">
								<Rule Name="szSLVSignature" Query="if($., concat($.[1],' ',$.[2]))" Text="ストリーミング ファイル '{0}' のデータベース ファイル署名は {1} {2} です。" S0="%SLVPath%" P1="$.[1]" P2="$.[2]"/>
								<Rule Name="fMatchDBSignature" Query="$szSLVSignatureInDB=$szSLVSignature" Error="None" Text="ストリーミング ファイル '{0}' の署名がデータベース '{1}' のストリーミング ファイル署名と一致します。" S0="%SLVPath%" S1="%SelectedDB%"/>
								<Rule Name="fNotMatchDBSignature" Query="not ($szSLVSignatureInDB=$szSLVSignature)" Error="Error" Title="データベースとストリーミング ファイルとの間で署名の不一致があります" Text="ストリーミング ファイル '{1}' の署名がデータベース '{0}' のストリーミング ファイル署名と一致しません。" S0="%SelectedDB%" S1="%SLVPath%" GUID="6b67d9c6-f704-4dd5-84f6-dcb841a4b988"/>
							</Setting>
						</Object>
					</Object>
					<!-- Verify Log files.  -->
					<Object Type="LogCheck" Key1="%LogPrefix%" Key2="%LogPath%" Key3="%LogSignature%" Key4="%MinLogRequired%,%MaxLogRequired%" Key5="%LastConsistentGenerationNumber%|%IsE12%" SecurityContext="EXLOGON">
						<Rule Name="fErrorLogCheck" Query="count(../Exception) &gt;0" Title="ログ ファイルを確認中にエラーが発生しました" Text="ログの確認で {0} へのアクセス中にエラーが発生しました。エラー メッセージは {1} です。" S0="%LogPath%" P1="../Exception/@Message" Error="Error" GUID="0543b1d5-b61a-44a1-90f6-10cbaad9244a"/>
						<Setting Key1="LogPrefix">
							<Rule Name="szLastPrefix" Query="$.">
								<Variable Name="Log[LogPrefix]" Scope="Children"/>
							</Rule>
						</Setting>
						<Setting Key1="LowestExistingSequenceNumberFileName">
							<Rule Name="szMinLogFileName" Query="$." Text="ログ ディレクトリ内の一番下のログ ファイル名は {1} です。" P1="$.">
								<Variable Name="Log[MinLogFileName]" Scope="Children"/>
							</Rule>
						</Setting>
						<Setting Key1="HighestSequenceNumber">
							<Rule Name="szLastSequenceNumber" Query="$.">
								<Variable Name="Log[LastSequenceNumber]" Scope="Children"/>
							</Rule>
						</Setting>
						<Setting Key1="HighestExistingSequenceNumberFileName">
							<Rule Name="szMaxLogFileName" Query="$." Text="ログ ディレクトリ内の一番上のログ ファイル名は {1} です。" P1="$.">
								<Variable Name="Log[MaxLogFileName]" Scope="Children"/>
							</Rule>
						</Setting>
						<Setting Key1="HighestExistingSequenceNumber">
							<Rule Name="szE00Filename" Query="concat($szLastPrefix, '.log')"/>
							<Rule Name="szExpandedMaxLogFileName" Query="if( $szMaxLogFileName != $szE00Filename, string($szMaxLogFileName), concat($szMaxLogFileName, ' ', '(', $., ')' ))">
								<Variable Name="Log[MaxLogFileNameExpanded]" Scope="Children"/>
							</Rule>
						</Setting>
						<Setting Key1="MissingOptionalLogFiles" Substitution="MissingLogs">
							<Rule Name="fMissingLogs" Query="not ($.='')"/>
							<Rule Name="szMissingLogsList" Query="$.">
								<Variable Name="Log[MissingLogFiles]" Scope="Children"/>
							</Rule>
							<Rule Name="szGlobalOptionalLogFiles" Query="concat(@S0, $.)" S0="%DBName%">
								<Variable Name="INFO[GlobalMissingOptionalLogFiles][%DBPath%]" Scope="Global"/>
							</Rule>
						</Setting>
						<Setting Key1="MissingRequiredLogFiles" Substitution="MissingRequiredLogs">
							<Rule Name="fMissingRequiredLogs" Query="not ($.='')"/>
							<Rule Name="szMissingRequiredLogsList" Query="$.">
								<Variable Name="Log[MissingRequiredLogs]" Scope="Children"/>
							</Rule>
							<Rule Name="szGlobalMissingRequiredLogFiles" Query="concat(@S0, $.)" S0="%DBName%">
								<Variable Name="INFO[GlobalMissingRequiredLogFiles][%DBPath%]" Scope="Global"/>
							</Rule>
						</Setting>
						<Setting Key1="InconsistentLogPairs">
							<Rule Name="szInconsistentLogPairs" Query="$.">
								<Variable Name="Log[InconsistentLogPairs]" Scope="Children"/>
							</Rule>
							<Rule Name="fInconsistentLogPairs" Query="not ($.='')" Title="ログのペアに不整合があります" Text="次のログ ファイルのペアに不整合があります。{1}" P1="$szInconsistentLogPairs" Error="Error" GUID="44b15801-e6d6-41e1-af9c-c3d2b5b55769"/>
						</Setting>
						<Setting Key1="E00SequenceNumber">
							<Rule Name="szE00SequenceString" Query="if($. != '', string($.))">
								<Variable Name="E00SequenceNumber" Scope="Children"/>
							</Rule>
						</Setting>
						<Setting Key1="HighestRecoverableGenerationNumber">
							<Rule Name="szHighestRecoverableGenerationNumber" Query="if($. != '', string($.))">
								<Variable Name="Log[HighestRecoverableGenerationNumber]" Scope="Children"/>
							</Rule>
						</Setting>
						<Setting Key1="SignatureFailLogsList">
							<Rule Name="szSignatureFailLogs" Query="join(',',$.)"/>
						</Setting>
						<Setting Key1="SignatureFailLogsCount">
							<Rule Name="fSignatureFailLogs" Query="$. != 0" Title="ログの署名に不一致があります" Text="次のログの署名が、データベース '{0}' の署名と一致しません。{1}" S0="%SelectedDB%" P1="$szSignatureFailLogs" Error="Error" GUID="dd306480-3148-4d7b-ba58-b88622385d8f"/>
						</Setting>
						<Setting Key1="MislabeledLogsList">
							<Rule Name="szMislabeledLogs" Query="join(',',$.)"/>
						</Setting>
						<Setting Key1="MislabeledLogsCount">
							<Rule Name="fMislabeledLogs" Query="$. != 0" Error="Error" Title="ログ生成に不一致があります" Text="次のログのファイル名が、これらの世代番号と一致しません: {1}" P1="$szMislabeledLogs" GUID="d1ac44f0-1d14-4771-9376-b750a0eaeaad"/>
						</Setting>
						<!-- Aggregate the conditions upon which we do not do analysis but just go to the summary page -->
						<Rule Name="fDispatchHardRecovery" Query="not ($fErrorAccessDatabase) and not ($fErrorAccessSLVFile) and $fNeedHardRecovery" NextStep="DisplayHardRecoveryStep" AlwaysEvaluate="True"/>
						<Rule Name="fAlreadyHandledConditions" Query="$fErrorAccessDatabase or $fDispatchHardRecovery or $fErrorAccessSLVFile" AlwaysEvaluate="True"/>
						<Rule Name="fCrazyUnhandledConditions" Query="$fInconsistentLogPairs or $fDirtyWithNoRequiredLogs or $fSignatureFailLogs or $fMislabeledLogs" AlwaysEvaluate="True"/>
						<Rule Name="fResult1" Query="not ($fAlreadyHandledConditions) and not ($fCrazyUnhandledConditions) and ($fDBStateDirty) and ($fMissingLogs) and not ($fMissingRequiredLogs)" Title="データベースにオプションのログ ファイルがありませんが、これは必須のログ ファイルではありません" Text="データベース '{0}' には、不足している、または不一致があるオプションのログ ファイル {1} があります。ただし、これは必須のログ ファイルではありません。" S0="%SelectedDB%" Error="Warning" P1="$szMissingLogsList" NextStep="DisplayDirtyShutdownStep1" GUID="e4e29f08-6579-4f59-acbb-ff52d6704a1d" AlwaysEvaluate="True"/>
						<Rule Name="fResult2" Query="not ($fAlreadyHandledConditions) and not ($fCrazyUnhandledConditions) and ($fDBStateDirty) and ($fMissingLogs) and ($fMissingRequiredLogs)" Title="データベースにオプションのログ ファイルおよび必須のログ ファイルがありません" Text="データベース '{0}' には、不足している、または不一致があるオプションのログ ファイル {1} および必須のログ ファイル {2} があります。" S0="%SelectedDB%" Error="Error" P1="$szMissingLogsList" P2="$szMissingRequiredLogsList" NextStep="DisplayDirtyShutdownStep2" GUID="42008975-92f9-4051-9012-33ea2709d9dc" AlwaysEvaluate="True"/>
						<Rule Name="fResult3" Query="not ($fAlreadyHandledConditions) and not ($fCrazyUnhandledConditions) and ($fDBStateDirty) and not ($fMissingLogs) and ($fMissingRequiredLogs)" Title="データベースに必須のログ ファイルがありません" Text="データベース '{0}' には、不足している、または不一致がある必須のログ ファイル {1} があります。" S0="%SelectedDB%" Error="Error" P1="$szMissingRequiredLogsList" NextStep="DisplayDirtyShutdownStep3" GUID="a3617b61-6480-4db7-8b85-735abd0b2864" AlwaysEvaluate="True"/>
						<Rule Name="fResult4" Query="not ($fAlreadyHandledConditions) and not ($fCrazyUnhandledConditions) and ($fDBStateDirty) and not ($fMissingLogs) and not ($fMissingRequiredLogs)" Title="データベースにはすべてのログ ファイルが存在しています" Text="データベース '{0}' にはすべてのログ ファイルが存在していることが検出されました。" S0="%SelectedDB%" Error="None" NextStep="DisplayDirtyShutdownStep4" GUID="958a930d-7c3e-4794-b460-3b539accb69f" AlwaysEvaluate="True"/>
					</Object>
				</Object>
			</Object>
		</Object>
	</Object>
	<Object Type="Step" Name="DisplayCorruptDBStep" Title="破損しているデータベース情報の表示" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%varContinueRun%" Substitution="varContinueRun" Display="Hide"/>
			<Setting Key1="%SelectedDB%" Substitution="SelectedDB" Display="Hide"/>
			<Setting Key1="%SelectedSG%" Substitution="SelectedSG" Display="Hide"/>
			<Setting Key1="%ErrorMessage%" Substitution="ErrorMessage" Display="Hide"/>
			<Setting Key1="%DC%" Substitution="DC" Display="Hide"/>
			<Setting Key1="%Server%" Substitution="Server" Display="Hide"/>
			<Object Type="Information" Hide="%varContinueRun%">
				<Object Type="Control" SubType="Title" Name="Title" Position="Top" Text="分析結果の表示"/>
				<Object Type="RichTextBox" Name="CorruptedDBRichTextBox" Position="Below" LineSpace="2" Height="450" Width="FullWidth" Display="Hide">
					<Setting Text="分析結果: {1}" S1="%SelectedDB%" Key2="Font=Title,Type=Append"/>
					<Setting Text="データベース情報の取得に失敗しました" Key2="Font=Title,FontStyle=Bold,ForeColor=Black"/>
					<Setting Key2="Type=NewLine" Key3="1"/>
					<Setting Text="詳細: " Key2="FontStyle=Bold,ForeColor=Black"/>
					<Setting Text="エラー メッセージは {1} です" S1="%ErrorMessage%" Key3="2"/>
					<Setting Key2="Type=NewLine" Key3="3"/>
					<Setting Text="データベース情報: " Key2="FontStyle=Bold"/>
					<Setting Text="選択したドメイン コントローラは {1} です" S1="%DC%" Key3="4"/>
					<Setting Text="選択したサーバーは {1} です" S1="%Server%" Key3="5"/>
					<Setting Text="選択したストレージ グループは {1} です" S1="%SelectedSG%" Key3="6"/>
					<Setting Text="選択したデータベースは {1} です" S1="%SelectedDB%" Key3="7"/>
					<Setting Key2="Type=NewLine" Key3="8"/>
					<Setting Text="ソリューション: " Key2="FontStyle=Bold,ForeColor=Black">
						<Rule Text="ソリューション: "/>
					</Setting>
					<Setting Text="このファイルから情報を読み取るときに問題が発生しました。このエラーは複数の問題によって生じた可能性があります。このエラーの最も一般的な原因は次のとおりです。(1) ファイルが見つからない。(2) ファイル サイズが 0 バイトである。(3) ファイルが他のアプリケーションによって排他的にロックされている。(4) ファイルが破損している。 " Key3="9">
						<Rule Text="このファイルから情報を読み取るときに問題が発生しました。このエラーは複数の問題によって生じた可能性があります。このエラーの最も一般的な原因は次のとおりです。(1) ファイルが見つからない。(2) ファイル サイズが 0 バイトである。(3) ファイルが他のアプリケーションによって排他的にロックされている。(4) ファイルが破損している。 "/>
					</Setting>
					<Setting Key2="Type=NewLine" Key3="10"/>
					<Setting Text="ファイルが見つからないか破損している場合は、ファイルの別のコピーを配置します。ファイルが Exchange ストリーミング ファイル (.STM ファイル) で、復元できない場合は、{1} ドキュメントで新しいストリーミング ファイルの生成についての情報を参照してください。別のアプリケーションがファイルをロックしている場合は、そのアプリケーションを停止するか、サーバーを再起動してロックを強制的に解除してください。" S1="Eseutil.exe" Key2="Type=NoLineFeed" Key3="11">
						<Rule Text="ファイルが見つからないか破損している場合は、ファイルの別のコピーを配置します。ファイルが Exchange ストリーミング ファイル (.STM ファイル) で、復元できない場合は、{1} ドキュメントで新しいストリーミング ファイルの生成についての情報を参照してください。別のアプリケーションがファイルをロックしている場合は、そのアプリケーションを停止するか、サーバーを再起動してロックを強制的に解除してください。" S1="Eseutil.exe"/>
					</Setting>
				</Object>
				<Object Type="Control" SubType="Button" Name="Copy" Position="LeftBelow" Width="100" Text="コピー">
					<Event Type="Click">
						<Action Type="ExecuteQuery" ControlName="CorruptedDBRichTextBox" Query="ActionHandler('CorruptedDBRichTextBox', 'Copy')"/>
					</Event>
				</Object>
				<Object Type="Control" SubType="Button" Name="Print" Position="NextTo" Width="100" Text="印刷">
					<Event Type="Click">
						<Action Type="ExecuteQuery" ControlName="CorruptedDBRichTextBox" Query="ActionHandler('CorruptedDBRichTextBox', 'Print')"/>
					</Event>
				</Object>
				<Object Type="Control" SubType="Button" Name="Save" Position="NextTo" Width="100" Text="保存">
					<Event Type="Click">
						<Action Type="ExecuteQuery" ControlName="CorruptedDBRichTextBox" Query="ActionHandler('CorruptedDBRichTextBox', 'Save')"/>
					</Event>
				</Object>
				<Object Type="Control" SubType="Button" Name="SelectAll" Position="NextTo" Width="100" Text="すべて選択">
					<Event Type="Click">
						<Action Type="ExecuteQuery" ControlName="CorruptedDBRichTextBox" Query="ActionHandler('CorruptedDBRichTextBox', 'SelectAll')"/>
					</Event>
				</Object>

				<Object Type="Control" SubType="Link" Name="Previous" Position="LeftBelow" LineSpace="2" Text="前へ"/>
				<Object Type="Control" SubType="Link" Name="Next" Position="NextTo" Percent="30" Text="次へ"/>
			</Object>
		</Object>
	</Object>
	<Object Type="Step" Name="DisplayHardRecoveryStep" Title="ハード回復データベース情報の表示" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%varContinueRun%" Substitution="varContinueRun" Display="Hide"/>
			<Setting Key1="%SelectedDB%" Substitution="SelectedDB" Display="Hide"/>
			<Setting Key1="%SelectedSG%" Substitution="SelectedSG" Display="Hide"/>
			<Setting Key1="%DC%" Substitution="DC" Display="Hide"/>
			<Setting Key1="%Server%" Substitution="Server" Display="Hide"/>
			<Object Type="Information" Hide="%varContinueRun%">
				<Object Type="Control" SubType="Title" Name="Title" Position="Top" Text="分析結果の表示"/>
				<Object Type="RichTextBox" Name="HardRecoveryRichTextBox" Position="Below" LineSpace="2" Height="450" Width="FullWidth">
					<Setting Text="分析結果: {1}" S1="%SelectedDB%" Key2="Font=Title"/>
					<Setting Text="データベースの状態は 'オンライン バックアップから復元' です" Key2="Font=Title,FontStyle=Bold,ForeColor=Black"/>
					<Setting Key2="Type=NewLine" Key3="1"/>
					<Setting Text="詳細: " Key2="FontStyle=Bold,ForeColor=Black"/>
					<Setting Text="このデータベースはオンライン バックアップから復元されましたが、まだ回復していません。オンライン バックアップから復元されたデータベースは特別な状態で、他のデータベースに適用できる手順とは異なる手順で回復する必要があります。"/>
					<Setting Text="データベース情報: " Key2="FontStyle=Bold"/>
					<Setting Text="選択したドメイン コントローラは {1} です" S1="%DC%" Key3="2"/>
					<Setting Text="選択したサーバーは {1} です" S1="%Server%" Key3="3"/>
					<Setting Text="選択したストレージ グループは {1} です" S1="%SelectedSG%" Key3="4"/>
					<Setting Text="選択したデータベースは {1} です" S1="%SelectedDB%" Key3="5"/>
					<Setting Key2="Type=NewLine" Key3="6"/>
					<Setting Text="ソリューション: " Key2="FontStyle=Bold,ForeColor=Black">
						<Rule Text="ソリューション: "/>
					</Setting>
					<Setting Text="ストレージ グループ内の他のデータベースを回復する前に、このデータベースを回復する必要があります。">
						<Rule Text="ストレージ グループ内の他のデータベースを回復する前に、このデータベースを回復する必要があります。"/>
					</Setting>
					<Setting Key2="Type=NewLine" Key3="7"/>
					<Setting Text="1. このデータベースの Restore.env ファイルが存在するかどうか、およびどこにあるかを特定します。Restore.env が見つからない場合は、このデータベースをバックアップから再度復元する必要があります。" Key3="8">
						<Rule Text="1. このデータベースの Restore.env ファイルが存在するかどうか、およびどこにあるかを特定します。Restore.env が見つからない場合は、このデータベースをバックアップから再度復元する必要があります。"/>
					</Setting>
					<Setting Text="2. このデータベースで再生するトランザクション ログ ファイルを特定します。これらのログ ファイルのセットのコピーは、Restore.env のある場所、および通常のトランザクション ログ ファイルのフォルダの両方に配置する必要があります。" Key3="9">
						<Rule Text="2. このデータベースで再生するトランザクション ログ ファイルを特定します。これらのログ ファイルのセットのコピーは、Restore.env のある場所、および通常のトランザクション ログ ファイルのフォルダの両方に配置する必要があります。"/>
					</Setting>
					<Setting Key2="Type=NewLine" Key3="10"/>
					<Setting Text="   注: このデータベースで再生する必要のあるトランザクション ログ ファイルの最小セットを特定するには、コマンド プロンプトで Restore.env のある場所に移動し、このコマンドを実行します。">
						<Rule Text="   注: このデータベースで再生する必要のあるトランザクション ログ ファイルの最小セットを特定するには、コマンド プロンプトで Restore.env のある場所に移動し、このコマンドを実行します。"/>
					</Setting>
					<Setting Key2="Type=NewLine" Key3="11"/>
					<Setting Text="   {1}" S1="ESEUTIL /CM" Key3="12">
						<Rule Text="   {1}" S1="ESEUTIL /CM"/>
					</Setting>
					<Setting Key2="Type=NewLine" Key3="13"/>
					<Setting Text="3. その他のすべてのログ ファイルを、Restore.env のある場所、および通常のトランザクション ログ フォルダの両方から、一時的に別の場所に移動します。">
						<Rule Text="3. その他のすべてのログ ファイルを、Restore.env のある場所、および通常のトランザクション ログ フォルダの両方から、一時的に別の場所に移動します。"/>
					</Setting>
					<Setting Text="4. Restore.env のある場所、および通常のトランザクション ログ フォルダの両方から、次のコマンドを実行します。">
						<Rule Text="4. Restore.env のある場所、および通常のトランザクション ログ フォルダの両方から、次のコマンドを実行します。"/>
					</Setting>
					<Setting Key2="Type=NewLine" Key3="14"/>
					<Setting Text="   {1}" S1="ESEUTIL /ML Enn" Key3="15">
						<Rule Text="   {1}" S1="ESEUTIL /ML Enn"/>
					</Setting>
					<Setting Key2="Type=NewLine" Key3="16"/>
					<Setting Text="   このコマンド ラインで、Enn は、トランザクション ログ ファイル名の最初の 3 文字を示します。たとえばトランザクション ログ {1} の場合は、次のコマンドを実行します。" S1="E0101234.LOG">
						<Rule Text="   このコマンド ラインで、Enn は、トランザクション ログ ファイル名の最初の 3 文字を示します。たとえばトランザクション ログ {1} の場合は、次のコマンドを実行します。" S1="E0101234.LOG"/>
					</Setting>
					<Setting Key2="Type=NewLine" Key3="17"/>
					<Setting Text="   {1}" S1="ESEUTIL /ML E01" Key3="18">
						<Rule Text="   {1}" S1="ESEUTIL /ML E01"/>
					</Setting>
					<Setting Key2="Type=NewLine" Key3="19"/>
					<Setting Text="   このコマンドは、すべてのトランザクション ログ ファイルをスキャンして、すべての順序が正しいこと、それぞれのファイルが正しく対応していること、および破損しているファイルがないことを確認します。">
						<Rule Text="   このコマンドは、すべてのトランザクション ログ ファイルをスキャンして、すべての順序が正しいこと、それぞれのファイルが正しく対応していること、および破損しているファイルがないことを確認します。"/>
					</Setting>
					<Setting Key2="Type=NewLine" Key3="20"/>
					<Setting Text="5. Restore.env のある場所から、次のコマンドを実行します。">
						<Rule Text="5. Restore.env のある場所から、次のコマンドを実行します。"/>
					</Setting>
					<Setting Key2="Type=NewLine" Key3="21"/>
					<Setting Text="   {1}" S1="Eseutil /CC" Key3="22">
						<Rule Text="   {1}" S1="Eseutil /CC"/>
					</Setting>
					<Setting Key2="Type=NewLine" Key3="23"/>
					<Setting Text="   このコマンドは、ハード回復を起動し、トランザクション ログ ファイルを再生します。">
						<Rule Text="   このコマンドは、ハード回復を起動し、トランザクション ログ ファイルを再生します。"/>
					</Setting>
					<Setting Key2="Type=NewLine" Key3="24"/>
					<Setting Text="6. データベースをマウントして、回復が正常に完了したことを確認します。">
						<Rule Text="6. データベースをマウントして、回復が正常に完了したことを確認します。"/>
					</Setting>
					<Setting Text="7. 別のデータベースを回復する前に、データベースのマウントを解除します。">
						<Rule Text="7. 別のデータベースを回復する前に、データベースのマウントを解除します。"/>
					</Setting>
					<Setting Text="8. 必要に応じて、トランザクション ログ ファイルを元の場所に戻します。" Key2="Type=NoLineFeed">
						<Rule Text="8. 必要に応じて、トランザクション ログ ファイルを元の場所に戻します。"/>
					</Setting>
				</Object>
				<Object Type="Control" SubType="Button" Name="Copy" Position="LeftBelow" Width="100" Text="コピー">
					<Event Type="Click">
						<Action Type="ExecuteQuery" ControlName="HardRecoveryRichTextBox" Query="ActionHandler('HardRecoveryRichTextBox', 'Copy')"/>
					</Event>
				</Object>
				<Object Type="Control" SubType="Button" Name="Print" Position="NextTo" Width="100" Text="印刷">
					<Event Type="Click">
						<Action Type="ExecuteQuery" ControlName="HardRecoveryRichTextBox" Query="ActionHandler('HardRecoveryRichTextBox', 'Print')"/>
					</Event>
				</Object>
				<Object Type="Control" SubType="Button" Name="Save" Position="NextTo" Width="100" Text="保存">
					<Event Type="Click">
						<Action Type="ExecuteQuery" ControlName="HardRecoveryRichTextBox" Query="ActionHandler('HardRecoveryRichTextBox', 'Save')"/>
					</Event>
				</Object>
				<Object Type="Control" SubType="Button" Name="SelectAll" Position="NextTo" Width="100" Text="すべて選択">
					<Event Type="Click">
						<Action Type="ExecuteQuery" ControlName="HardRecoveryRichTextBox" Query="ActionHandler('HardRecoveryRichTextBox', 'SelectAll')"/>
					</Event>
				</Object>

				<Object Type="Control" SubType="Link" Name="Previous" Position="LeftBelow" LineSpace="2" Text="前へ"/>
				<Object Type="Control" SubType="Link" Name="Next" Position="NextTo" Percent="30" Text="次へ"/>
			</Object>
		</Object>
	</Object>
	<Object Type="Step" Name="DisplayCleanShutdownStep" Title="'クリーン シャットダウン' データベース情報を表示します" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%varContinueRun%" Substitution="varContinueRun" Display="Hide"/>
			<Setting Key1="%DC%" Substitution="DC" Display="Hide"/>
			<Setting Key1="%Server%" Substitution="Server" Display="Hide"/>
			<Setting Key1="%SelectedSG%" Substitution="SelectedSG" Display="Hide"/>
			<Setting Key1="%SelectedDB%" Substitution="SelectedDB" Display="Hide"/>
			<Setting Key1="%DBHeader[DBSignature]%" Substitution="DBHeader[DBSignature]" Display="Hide"/>
			<Setting Key1="%DBHeader[LogSignature]%" Substitution="DBHeader[LogSignature]" Display="Hide"/>
			<Object Type="Information" Hide="%varContinueRun%" HelpId="html\8df2ff5a-288f-4e40-a727-96f60ee34f11.htm">
				<Object Type="Control" SubType="Title" Name="Title" Position="Top" Text="分析結果の表示"/>
				<Object Type="RichTextBox" Name="CleanShutdownRichTextBox" Position="Below" LineSpace="2" Height="450" Width="FullWidth" Display="Hide">
					<Setting Text="分析結果: {1}" S1="%SelectedDB%" Key2="Font=Title"/>
					<Setting Text="データベースの状態は、'クリーン シャットダウン' です" Key2="Font=Title,FontStyle=Bold,ForeColor=Black"/>
					<Setting Key2="Type=NewLine" Key3="1"/>
					<Setting Text="詳細: " Key2="FontStyle=Bold,ForeColor=Black"/>
					<Setting Text="このデータベースは、'クリーン シャットダウン' 状態です。このため、トランザクション ログ ファイルをデータベースに適用しなくてもマウントできます。ただし、追加のトランザクション ログ ファイルをこのデータベースに適用することで、このデータベースを更新できます。 "/>
					<Setting Key2="Type=NewLine" Key3="2"/>
					<Setting Text="データベース情報: " Key2="FontStyle=Bold"/>
					<Setting Text="選択したドメイン コントローラは {1} です" S1="%DC%" Key3="3"/>
					<Setting Text="選択したサーバーは {1} です" S1="%Server%" Key3="4"/>
					<Setting Text="選択したストレージ グループは {1} です" S1="%SelectedSG%" Key3="5"/>
					<Setting Text="選択したデータベースは {1} です" S1="%SelectedDB%" Key3="6"/>
					<Setting Text="データベースの署名は {1} です。" S1="%DBHeader[DBSignature]%" Key3="7"/>
					<Setting Text="ログの署名は {1} です。" S1="%DBHeader[LogSignature]%" Key3="8"/>
					<Setting Key2="Type=NewLine" Key3="9"/>
					<Setting Text="ソリューション: " Key2="FontStyle=Bold,ForeColor=Black">
						<Rule Name="SolutionRule" Text="ソリューション: "/>
					</Setting>
					<Setting Text="このデータベースが 'クリーン シャットダウン' 状態にもかかわらずマウントできない場合、その原因としては、同じストレージ グループ内の他のデータベースの回復が必要であることが考えられます。ストレージ グループ内の各データベースに対してこのツールを実行し、各データベースが 'クリーン シャットダウン' 状態であるかどうか確認してください。すべてのデータベースが 'クリーン シャットダウン' 状態であり、エラー -1216 が発生する場合は、マイクロソフト サポート技術情報の記事 296843 (http://go.microsoft.com/fwlink/?linkid=3052&amp;kbid=296843) を参照してください。" Key2="Type=NoLineFeed">
						<Rule Name="InstructionRule" Text="このデータベースが 'クリーン シャットダウン' 状態にもかかわらずマウントできない場合、その原因としては、同じストレージ グループ内の他のデータベースの回復が必要であることが考えられます。ストレージ グループ内の各データベースに対してこのツールを実行し、各データベースが 'クリーン シャットダウン' 状態であるかどうか確認してください。すべてのデータベースが 'クリーン シャットダウン' 状態であり、エラー -1216 が発生する場合は、マイクロソフト サポート技術情報の記事 296843 (http://go.microsoft.com/fwlink/?linkid=3052&amp;kbid=296843) を参照してください。"/>
					</Setting>
				</Object>
				<Object Type="Control" SubType="Button" Name="Copy" Position="LeftBelow" Width="100" Text="コピー">
					<Event Type="Click">
						<Action Type="ExecuteQuery" ControlName="CleanShutdownRichTextBox" Query="ActionHandler('CleanShutdownRichTextBox', 'Copy')"/>
					</Event>
				</Object>
				<Object Type="Control" SubType="Button" Name="Print" Position="NextTo" Width="100" Text="印刷">
					<Event Type="Click">
						<Action Type="ExecuteQuery" ControlName="CleanShutdownRichTextBox" Query="ActionHandler('CleanShutdownRichTextBox', 'Print')"/>
					</Event>
				</Object>
				<Object Type="Control" SubType="Button" Name="Save" Position="NextTo" Width="100" Text="保存">
					<Event Type="Click">
						<Action Type="ExecuteQuery" ControlName="CleanShutdownRichTextBox" Query="ActionHandler('CleanShutdownRichTextBox', 'Save')"/>
					</Event>
				</Object>
				<Object Type="Control" SubType="Button" Name="SelectAll" Position="NextTo" Width="100" Text="すべて選択">
					<Event Type="Click">
						<Action Type="ExecuteQuery" ControlName="CleanShutdownRichTextBox" Query="ActionHandler('CleanShutdownRichTextBox', 'SelectAll')"/>
					</Event>
				</Object>

				<Object Type="Control" SubType="Link" Name="Previous" Position="LeftBelow" LineSpace="2" Text="前へ"/>
				<Object Type="Control" SubType="Link" Name="Next" Position="NextTo" Percent="30" Text="次へ"/>
			</Object>
		</Object>
	</Object>
	<!-- Missing log files.  -->
	<Object Type="Step" Name="DisplayDirtyShutdownStep1" Title="不足しているオプション ログの表示" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%varContinueRun%" Substitution="varContinueRun" Display="Hide"/>
			<Setting Key1="%DBHeader[Max]%" Substitution="DBMax" Display="Hide"/>
			<Setting Key1="%DBHeader[Min]%" Substitution="DBMin" Display="Hide"/>
			<Setting Key1="%DBPath%" Substitution="DBPath" Display="Hide"/>
			<Setting Key1="%SLVPath%" Substitution="SLVPath" Display="Hide"/>
			<Setting Key1="%Log[LogPrefix]%" Substitution="LogPrefix" Display="Hide"/>
			<Setting Key1="%Log[MinLogFileName]%" Substitution="Log[MinLogFileName]" Display="Hide"/>
			<Setting Key1="%Log[MaxLogFileNameExpanded]%" Substitution="Log[MaxLogFileNameExpanded]" Display="Hide"/>
			<Setting Key1="%Log[MissingLogFiles]%" Substitution="Log[MissingLogFiles]" Display="Hide"/>
			<Setting Key1="%Server%" Substitution="Server" Display="Hide"/>
			<Setting Key1="%DC%" Substitution="DC" Display="Hide"/>
			<Setting Key1="%SelectedSG%" Substitution="SelectedSG" Display="Hide"/>
			<Setting Key1="%SelectedDB%" Substitution="SelectedDB" Display="Hide"/>
			<Setting Key1="%IsE12%" Substitution="IsE12" Display="Hide"/>
			<Object Type="Information" Hide="%varContinueRun%" HelpId="html\e4e29f08-6579-4f59-acbb-ff52d6704a1d.htm">
				<Object Type="Control" SubType="Title" Name="Title" Position="Top" Text="分析結果の表示"/>
				<Object Type="If" Name="TextString" Key1="true()">
					<Setting Key1="if(%IsE12%=0, get-formatted-attribute(@Text), get-formatted-attribute(@Title))" Text="2. {0} および {1} を一時フォルダに移動します。" Title="2. {0} を一時フォルダに移動します。" S0="%DBPath%" S1="%SLVPath%" Substitution="Item2String" Display="Hide"/>
					<Object Type="RichTextBox" Name="DirtyShutdown1RichTextBox" Position="Below" LineSpace="2" Height="450" Width="FullWidth">
						<Setting Text="分析結果: {1}" S1="%SelectedDB%" Key2="Font=Title"/>
						<Setting Text="データベースの状態は、'ダーティ シャットダウン' です" Key2="Font=Title,FontStyle=Bold,ForeColor=Black"/>
						<Setting Key2="Type=NewLine" Key3="1"/>
						<Setting Text="詳細: " Key2="FontStyle=Bold,ForeColor=Black"/>
						<Setting Text="このデータベースを最後の実行ポイントに正常に回復するために必要なトランザクション ログ ファイルはありますが、そのポイントからデータベースをロールフォワードするための追加のログ ファイルが見つかりません。これらのログ ファイルのコピーが見つからない場合でも、次の指示に従ってデータベースを回復できます。見つからないログを使用せずに状態でデータベースを回復すると、これらのログ内のデータは失われます。"/>
						<Setting Key2="Type=NewLine" Key3="2"/>
						<Setting Text="データベース情報: " Key2="FontStyle=Bold,ForeColor=Black"/>
						<Setting Text="選択したドメイン コントローラは {1} です" S1="%DC%" Key3="3"/>
						<Setting Text="選択したサーバーは {1} です" S1="%Server%" Key3="4"/>
						<Setting Text="選択したストレージ グループは {1} です" S1="%SelectedSG%" Key3="5"/>
						<Setting Text="データベースは {1} です" S1="%SelectedDB%" Key3="6"/>
						<Setting Text="一番下の必要なログ ファイルは {1} です" S1="%DBMin%" Key3="7"/>
						<Setting Text="一番上の必要なログ ファイルは {1} です" S1="%DBMax%" Key3="8"/>
						<Setting Text="ログ ディレクトリ内で見つかった一番下のログ ファイルは {1} です" S1="%Log[MinLogFileName]%" Key3="9"/>
						<Setting Text="ログ ディレクトリ内で見つかった一番上のログ ファイルは {1} です" S1="%Log[MaxLogFileNameExpanded]%" Key3="10"/>
						<Setting Text="見つからないまたは一致しないログ ファイルは {1} です" S1="%Log[MissingLogFiles]%" Key2="ForeColor=Red" Key3="11"/>
						<Setting Key2="Type=NewLine" Key3="12"/>
						<Setting Text="ソリューション: " Key2="FontStyle=Bold,ForeColor=Black">
							<Rule Text="ソリューション: "/>
						</Setting>
						<Setting Text="このデータベースをシーケンス番号 {1} に回復するには:" S1="%DBMax%" Key3="13">
							<Rule Text="このデータベースをシーケンス番号 {1} に回復するには:" S1="%DBMax%"/>
						</Setting>

						<Setting Text="1. 現在データベース ファイルが存在するドライブに、一時的な回復フォルダを作成します。これは、データベースの置かれたディレクトリのサブフォルダでもかまいません。たとえば {1} のように作成します。" S1="C:\Databases\Database-RECOVERY.">
							<Rule Text="1. 現在データベース ファイルが存在するドライブに、一時的な回復フォルダを作成します。これは、データベースの置かれたディレクトリのサブフォルダでもかまいません。たとえば、C:\Databases\Database-RECOVERY のように作成します。"/>
						</Setting>
						<Setting Key2="Type=NewLine" Key3="14"/>
						<Setting Text="重要: " Key2="ForeColor=Red" Key3="35">
							<Rule Text="重要: "/>
						</Setting>
						<Setting Text="この一時的な回復フォルダは、この時点で空にしておく必要があります。他の回復処理で残されたデータベースやトランザクション ログ ファイルをこのフォルダからなくす必要があります。">
							<Rule Text="この一時的な回復フォルダは、この時点で空にしておく必要があります。他の回復処理で残されたデータベースやトランザクション ログ ファイルをこのフォルダからなくす必要があります。"/>
						</Setting>
						<Setting Key2="Type=NewLine" Key3="15"/>
						<Setting Text="{1}" S1="%Item2String%" Key3="16">
							<Rule Text="{1}" S1="%Item2String%"/>
						</Setting>
						<Setting Key2="Type=NewLine" Key3="17"/>
						<Setting Text="3. {0} から {1} までのシーケンス番号を含むログ ファイルを一時フォルダにコピーします。" S0="%DBMin%" S1="%DBMax%" Key3="18">
							<Rule Text="3. {0} から {1} までのシーケンス番号を含むログ ファイルを一時フォルダにコピーします。" S0="%DBMin%" S1="%DBMax%"/>
						</Setting>
						<Setting Key2="Type=NewLine" Key3="19"/>
						<Setting Text="4. {0} 以降の連続したシーケンスで追加のトランザクション ログ ファイルがある場合は、これらのトランザクション ログ ファイルも一時フォルダにコピーすることで、追加のデータを回復できます。" S0="%DBMax%" Key3="20">
							<Rule Text="4. {0} 以降の連続したシーケンスで追加のログ ファイルがある場合は、これらのトランザクション ログ ファイルも一時フォルダにコピーすることで、追加のデータを回復できます。" S0="%DBMax%"/>
						</Setting>
						<Setting Key2="Type=NewLine" Key3="21"/>
						<Setting Text="5. コマンド プロンプト ウィンドウを開き、既定のディレクトリを一時フォルダに変更します (例: {1})。" S1="CD /D C:\Databases\Database-RECOVERY">
							<Rule Text="5. コマンド プロンプト ウィンドウを開き、既定のディレクトリを一時フォルダに変更します (例: CD /D C:\Databases\Database-RECOVERY)。"/>
						</Setting>
						<Setting Key2="Type=NewLine" Key3="22"/>
						<Setting Text="6. 一時フォルダ内の最も新しく生成されたトランザクション ログ ファイルの名前がまだ {0}.LOG でない場合は、名前を {1}.LOG に変更します。" S0="%LogPrefix%" S1="%LogPrefix%" Key3="23">
							<Rule Text="6. 一時フォルダ内の最も新しく生成されたトランザクション ログ ファイルの名前がまだ {0}.LOG でない場合は、名前を {1}.LOG に変更します。" S0="%LogPrefix%" S1="%LogPrefix%"/>
						</Setting>
						<Setting Key2="Type=NewLine" Key3="24"/>
						<Setting Text="7. 一時フォルダ内からこの {1} コマンドを実行します。 " S1="Eseutil.exe">
							<Rule Text="7. 一時フォルダ内からこの {1} コマンドを実行します。 " S1="Eseutil.exe"/>
						</Setting>
						<Setting Key2="Type=NewLine" Key3="25"/>
						<Setting Text="  {1}" S1="C:\Exchsrvr\bin\eseutil.exe /R %LogPrefix% /I /D" Key3="26">
							<Rule Text="  {1}" S1="C:\Exchsrvr\bin\eseutil.exe /R %LogPrefix% /I /D"/>
						</Setting>
						<Setting Key2="Type=NewLine" Key3="27"/>
						<Setting Text="重要: " Key2="ForeColor=Red" Key3="34">
							<Rule Text="重要: "/>
						</Setting>
						<Setting Text="このコマンドを {1} ディレクトリから実行しないでください。このコマンドは、トランザクション ログ ファイルとデータベース ファイルのあるディレクトリからのみ実行してください。 " S1="Eseutil.exe">
							<Rule Text="このコマンドを {1} ディレクトリから実行しないでください。このコマンドは、トランザクション ログ ファイルとデータベース ファイルのあるディレクトリからのみ実行してください。" S1="Eseutil.exe"/>
						</Setting>
						<Setting Key2="Type=NewLine" Key3="28"/>
						<Setting Text="8. データベースが 'クリーン シャットダウン' 状態であることを確認します。確認するには、このツールの別のインスタンスを起動して '手操作入力' モードを選択するか、この {1} コマンドを実行します。" S1="Eseutil.exe">
							<Rule Text="8. データベースが 'クリーン シャットダウン' 状態であることを確認します。確認するには、このツールの別のインスタンスを起動して '手操作入力' モードを選択するか、この {1} コマンドを実行してデータベース ヘッダーの &quot;状態&quot; フィールドを表示します。" S1="Eseutil.exe"/>
						</Setting>
						<Setting Key2="Type=NewLine" Key3="29"/>
						<Setting Text="  {1}" S1="C:\Exchsrvr\bin\eseutil.exe /MH %DBPath%" Key3="30">
							<Rule Text="  {1}" S1="C:\Exchsrvr\bin\eseutil.exe /MH %DBPath%"/>
						</Setting>
						<Setting Key2="Type=NewLine" Key3="31"/>
						<Setting Text="9. 'クリーン シャットダウン' 状態のデータベースを元のパスの場所に移動します。 ">
							<Rule Text="9. 'クリーン シャットダウン' 状態のデータベースを元の場所に移動します。"/>
						</Setting>
						<Setting Key2="Type=NewLine" Key3="32"/>
						<Setting Text="10. トランザクション ログ ファイルを一時フォルダから安全なバックアップ場所に移動します。このデータベースの以前のオンライン バックアップを復元するには、完全な回復のためにこれらのファイルが必要になることがあります。">
							<Rule Text="10. トランザクション ログ ファイルを一時フォルダから安全なバックアップ場所に移動します。このデータベースの以前のバックアップを復元するには、完全な回復のためにこれらのファイルが必要になることがあります。"/>
						</Setting>
						<Setting Key2="Type=NewLine" Key3="33"/>
						<Setting Text="このデータベースをマウントする前に、場合によってはストレージ グループ内の他のデータベースを復元する必要があります。ストレージ グループ内のすべてのデータベースが 'クリーン シャットダウン' 状態であるにもかかわらず、エラー -1216 または -551 が原因でデータベースをマウントできない場合は、マイクロソフト サポート技術情報の記事 296843 (http://go.microsoft.com/fwlink/?linkid=3052&amp;kbid=296843) を参照してください。" Key2="Type=NoLineFeed">
							<Rule Text="このデータベースをマウントする前に、場合によってはストレージ グループ内の他のデータベースを復元する必要があります。ストレージ グループ内のすべてのデータベースが 'クリーン シャットダウン' 状態であるにもかかわらず、エラー -1216 または -551 が原因でデータベースをマウントできない場合は、マイクロソフト サポート技術情報の記事 296843 (http://go.microsoft.com/fwlink/?linkid=3052&amp;kbid=296843) を参照してください。"/>
						</Setting>
					</Object>
					<Object Type="Control" SubType="Button" Name="Copy" Position="LeftBelow" Width="100" Text="コピー">
						<Event Type="Click">
							<Action Type="ExecuteQuery" ControlName="DirtyShutdown1RichTextBox" Query="ActionHandler('DirtyShutdown1RichTextBox', 'Copy')"/>
						</Event>
					</Object>
					<Object Type="Control" SubType="Button" Name="Print" Position="NextTo" Width="100" Text="印刷">
						<Event Type="Click">
							<Action Type="ExecuteQuery" ControlName="DirtyShutdown1RichTextBox" Query="ActionHandler('DirtyShutdown1RichTextBox', 'Print')"/>
						</Event>
					</Object>
					<Object Type="Control" SubType="Button" Name="Save" Position="NextTo" Width="100" Text="保存">
						<Event Type="Click">
							<Action Type="ExecuteQuery" ControlName="DirtyShutdown1RichTextBox" Query="ActionHandler('DirtyShutdown1RichTextBox', 'Save')"/>
						</Event>
					</Object>
					<Object Type="Control" SubType="Button" Name="SelectAll" Position="NextTo" Width="100" Text="すべて選択">
						<Event Type="Click">
							<Action Type="ExecuteQuery" ControlName="DirtyShutdown1RichTextBox" Query="ActionHandler('DirtyShutdown1RichTextBox', 'SelectAll')"/>
						</Event>
					</Object>

					<Object Type="Control" SubType="Link" Name="Previous" LineSpace="2" Position="LeftBelow" Text="前へ"/>
					<Object Type="Control" SubType="Link" Name="Next" Position="NextTo" Percent="30" Text="次へ"/>
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- Missing log files and required log files.  -->
	<Object Type="Step" Name="DisplayDirtyShutdownStep2" Title="見つからないログの表示" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%varContinueRun%" Substitution="varContinueRun" Display="Hide"/>
			<Setting Key1="%DBHeader[Min]%" Substitution="DBHeader[Min]" Display="Hide"/>
			<Setting Key1="%DBHeader[Max]%" Substitution="DBHeader[Max]" Display="Hide"/>
			<Setting Key1="%Log[MinLogFileName]%" Substitution="Log[MinLogFileName]" Display="Hide"/>
			<Setting Key1="%Log[MaxLogFileNameExpanded]%" Substitution="Log[MaxLogFileNameExpanded]" Display="Hide"/>
			<Setting Key1="%Log[MissingLogFiles]%" Substitution="Log[MissingLogFiles]" Display="Hide"/>
			<Setting Key1="%Log[MissingRequiredLogs]%" Substitution="Log[MissingRequiredLogs]" Display="Hide"/>
			<Setting Key1="%Server%" Substitution="Server" Display="Hide"/>
			<Setting Key1="%DC%" Substitution="DC" Display="Hide"/>
			<Setting Key1="%SelectedSG%" Substitution="SelectedSG" Display="Hide"/>
			<Setting Key1="%SelectedDB%" Substitution="SelectedDB" Display="Hide"/>
			<Object Type="Information" Hide="%varContinueRun%" HelpId="html\42008975-92f9-4051-9012-33ea2709d9dc.htm">
				<Object Type="Control" SubType="Title" Name="Title" Position="Top" Text="分析結果の表示"/>
				<Object Type="RichTextBox" Name="DirtyShutdown2RichTextBox" Position="Below" LineSpace="2" Height="450" Width="FullWidth" Display="Hide">
					<Setting Text="分析結果: {1}" S1="%SelectedDB%" Key2="Font=Title"/>
					<Setting Text="データベースの状態は、'ダーティ シャットダウン' です" Key2="Font=Title,FontStyle=Bold,ForeColor=Black"/>
					<Setting Key2="Type=NewLine" Key3="1"/>
					<Setting Text="詳細: " Key2="FontStyle=Bold,ForeColor=Black"/>
					<Setting Text="見つからないまたは一致しないログ ファイルがあります。 "/>
					<Setting Key2="Type=NewLine" Key3="2"/>
					<Setting Text="データベース情報: " Key2="FontStyle=Bold,ForeColor=Black"/>
					<Setting Text="ドメイン コントローラ: {1}" S1="%DC%" Key3="3"/>
					<Setting Text="サーバー: {1}" S1="%Server%" Key3="4"/>
					<Setting Text="ストレージ グループ: {1}" S1="%SelectedSG%" Key3="5"/>
					<Setting Text="データベース: {1}" S1="%SelectedDB%" Key3="6"/>
					<Setting Text="一番下の必要なログ ファイルは {1} です" S1="%DBHeader[Min]%" Key3="7"/>
					<Setting Text="一番上の必要なログ ファイルは {1} です" S1="%DBHeader[Max]%" Key3="8"/>
					<Setting Text="ログ ディレクトリ内で見つかった一番下のログ ファイルは {1} です" S1="%Log[MinLogFileName]%" Key3="9"/>
					<Setting Text="ログ ディレクトリ内で見つかった一番上のログ ファイルは {1} です" S1="%Log[MaxLogFileNameExpanded]%" Key3="10"/>
					<Setting Text="見つからないまたは一致しないオプションのログ ファイル: {1}" S1="%Log[MissingLogFiles]%" Key2="ForeColor=Red" Key3="11"/>
					<Setting Text="見つからないまたは一致しないログ ファイル: {1}" S1="%Log[MissingRequiredLogs]%" Key2="ForeColor=Red" Key3="12"/>
					<Setting Key2="Type=NewLine" Key3="13"/>
					<Setting Text="ソリューション: " Key2="FontStyle=Bold,ForeColor=Black">
						<Rule Text="ソリューション: "/>
					</Setting>
					<Setting Text="上の一覧にあるログ ファイルの問題は、このデータベースを復元する前に解決する必要があります。" Key2="Type=NoLineFeed">
						<Rule Text="上の一覧にあるログ ファイルの問題は、このデータベースを復元する前に解決する必要があります。"/>
					</Setting>
				</Object>
				<Object Type="Control" SubType="Button" Name="Copy" Position="LeftBelow" Width="100" Text="コピー">
					<Event Type="Click">
						<Action Type="ExecuteQuery" ControlName="DirtyShutdown2RichTextBox" Query="ActionHandler('DirtyShutdown2RichTextBox', 'Copy')"/>
					</Event>
				</Object>
				<Object Type="Control" SubType="Button" Name="Print" Position="NextTo" Width="100" Text="印刷">
					<Event Type="Click">
						<Action Type="ExecuteQuery" ControlName="DirtyShutdown2RichTextBox" Query="ActionHandler('DirtyShutdown2RichTextBox', 'Print')"/>
					</Event>
				</Object>
				<Object Type="Control" SubType="Button" Name="Save" Position="NextTo" Width="100" Text="保存">
					<Event Type="Click">
						<Action Type="ExecuteQuery" ControlName="DirtyShutdown2RichTextBox" Query="ActionHandler('DirtyShutdown2RichTextBox', 'Save')"/>
					</Event>
				</Object>
				<Object Type="Control" SubType="Button" Name="SelectAll" Position="NextTo" Width="100" Text="すべて選択">
					<Event Type="Click">
						<Action Type="ExecuteQuery" ControlName="DirtyShutdown2RichTextBox" Query="ActionHandler('DirtyShutdown2RichTextBox', 'SelectAll')"/>
					</Event>
				</Object>

				<Object Type="Control" SubType="Link" Name="Previous" Position="LeftBelow" LineSpace="2" Text="前へ"/>
				<Object Type="Control" SubType="Link" Name="Next" Position="NextTo" Percent="30" Text="次へ"/>
			</Object>
		</Object>
	</Object>
	<!-- Missing required log files.  -->
	<Object Type="Step" Name="DisplayDirtyShutdownStep3" Title="見つからない必須のログの表示" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%varContinueRun%" Substitution="varContinueRun" Display="Hide"/>
			<Setting Key1="%DC%" Substitution="DC" Display="Hide"/>
			<Setting Key1="%Server%" Substitution="Server" Display="Hide"/>
			<Setting Key1="%SelectedSG%" Substitution="SelectedSG" Display="Hide"/>
			<Setting Key1="%SelectedDB%" Substitution="SelectedDB" Display="Hide"/>
			<Setting Key1="%DBHeader[Min]%" Substitution="DBHeader[Min]" Display="Hide"/>
			<Setting Key1="%DBHeader[Max]%" Substitution="DBHeader[Max]" Display="Hide"/>
			<Setting Key1="%Log[MinLogFileName]%" Substitution="Log[MinLogFileName]" Display="Hide"/>
			<Setting Key1="%Log[MaxLogFileNameExpanded]%" Substitution="Log[MaxLogFileNameExpanded]" Display="Hide"/>
			<Setting Key1="%Log[MissingRequiredLogs]%" Substitution="Log[MissingRequiredLogs]" Display="Hide"/>
			<Object Type="Information" Hide="%varContinueRun%" HelpId="html\a3617b61-6480-4db7-8b85-735abd0b2864.htm">
				<Object Type="Control" SubType="Title" Name="Title" Position="Top" Text="分析結果の表示"/>
				<Object Type="RichTextBox" Name="DirtyShutdown3RichTextBox" Position="Below" LineSpace="2" Height="450" Width="FullWidth" Display="Hide">
					<Setting Text="分析結果: {1}" S1="%SelectedDB%" Key2="Font=Title"/>
					<Setting Text="データベースの状態は、'ダーティ シャットダウン' です" Key2="Font=Title,FontStyle=Bold,ForeColor=Black"/>
					<Setting Key2="Type=NewLine" Key3="1"/>
					<Setting Text="詳細: " Key2="FontStyle=Bold,ForeColor=Black"/>
					<Setting Text="見つからないまたは一致しないログ ファイルがあります。 "/>
					<Setting Key2="Type=NewLine" Key3="2"/>
					<Setting Text="データベース情報: " Key2="FontStyle=Bold,ForeColor=Black"/>
					<Setting Text="選択したドメイン コントローラは {1} です" S1="%DC%" Key3="3"/>
					<Setting Text="選択したサーバーは {1} です" S1="%Server%" Key3="4"/>
					<Setting Text="選択したストレージ グループは {1} です" S1="%SelectedSG%" Key3="5"/>
					<Setting Text="選択したデータベースは {1} です" S1="%SelectedDB%" Key3="6"/>
					<Setting Text="一番下の必要なログ ファイルは {1} です" S1="%DBHeader[Min]%" Key3="7"/>
					<Setting Text="一番上の必要なログ ファイルは {1} です" S1="%DBHeader[Max]%" Key3="8"/>
					<Setting Text="ログ ディレクトリ内で見つかった一番下のログ ファイルは {1} です" S1="%Log[MinLogFileName]%" Key3="9"/>
					<Setting Text="ログ ディレクトリ内で見つかった一番上のログ ファイルは {1} です" S1="%Log[MaxLogFileNameExpanded]%" Key3="10"/>
					<Setting Text="見つからないまたは一致しないログ ファイル: {1}" S1="%Log[MissingRequiredLogs]%" Key2="ForeColor=Red" Key3="11"/>
					<Setting Key2="Type=NewLine" Key3="12"/>
					<Setting Text="ソリューション: " Key2="FontStyle=Bold,ForeColor=Black">
						<Rule Text="ソリューション: "/>
					</Setting>
					<Setting Text="上の一覧にあるログ ファイルの問題は、このデータベースを回復する前に解決する必要があります。" Key2="Type=NoLineFeed">
						<Rule Text="上の一覧にあるログ ファイルの問題は、このデータベースを回復する前に解決する必要があります。"/>
					</Setting>
				</Object>
				<Object Type="Control" SubType="Button" Name="Copy" Position="LeftBelow" Width="100" Text="コピー">
					<Event Type="Click">
						<Action Type="ExecuteQuery" ControlName="DirtyShutdown3RichTextBox" Query="ActionHandler('DirtyShutdown3RichTextBox', 'Copy')"/>
					</Event>
				</Object>
				<Object Type="Control" SubType="Button" Name="Print" Position="NextTo" Width="100" Text="印刷">
					<Event Type="Click">
						<Action Type="ExecuteQuery" ControlName="DirtyShutdown3RichTextBox" Query="ActionHandler('DirtyShutdown3RichTextBox', 'Print')"/>
					</Event>
				</Object>
				<Object Type="Control" SubType="Button" Name="Save" Position="NextTo" Width="100" Text="保存">
					<Event Type="Click">
						<Action Type="ExecuteQuery" ControlName="DirtyShutdown3RichTextBox" Query="ActionHandler('DirtyShutdown3RichTextBox', 'Save')"/>
					</Event>
				</Object>
				<Object Type="Control" SubType="Button" Name="SelectAll" Position="NextTo" Width="100" Text="すべて選択">
					<Event Type="Click">
						<Action Type="ExecuteQuery" ControlName="DirtyShutdown3RichTextBox" Query="ActionHandler('DirtyShutdown3RichTextBox', 'SelectAll')"/>
					</Event>
				</Object>

				<Object Type="Control" SubType="Link" Name="Previous" Position="LeftBelow" LineSpace="2" Text="前へ"/>
				<Object Type="Control" SubType="Link" Name="Next" Position="NextTo" Percent="30" Text="次へ"/>
			</Object>
		</Object>
	</Object>
	<!-- All log files present.  -->
	<Object Type="Step" Name="DisplayDirtyShutdownStep4" Title="存在するすべてのログの表示" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%varContinueRun%" Substitution="varContinueRun" Display="Hide"/>
			<Setting Key1="%DC%" Substitution="DC" Display="Hide"/>
			<Setting Key1="%Server%" Substitution="Server" Display="Hide"/>
			<Setting Key1="%SelectedSG%" Substitution="SelectedSG" Display="Hide"/>
			<Setting Key1="%SelectedDB%" Substitution="SelectedDB" Display="Hide"/>
			<Setting Key1="%DBPath%" Substitution="DBPath" Display="Hide"/>
			<Setting Key1="%SLVPath%" Substitution="SLVPath" Display="Hide"/>
			<Setting Key1="%DBHeader[Min]%" Substitution="DBMin" Display="Hide"/>
			<Setting Key1="%Log[LogPrefix]%" Substitution="LogPrefix" Display="Hide"/>
			<Setting Key1="%DBHeader[Max]%" Substitution="DBMax" Display="Hide"/>
			<Setting Key1="%Log[HighestRecoverableGenerationNumber]%" Substitution="HighestRecoverableGenerationNumber" Display="Hide"/>
			<Setting Key1="%Log[LogPrefix]%" Substitution="Log[LogPrefix]" Display="Hide"/>
			<Setting Key1="%Log[MinLogFileName]%" Substitution="Log[MinLogFileName]" Display="Hide"/>
			<Setting Key1="%Log[MaxLogFileNameExpanded]%" Substitution="Log[MaxLogFileNameExpanded]" Display="Hide"/>
			<Setting Key1="%IsE12%" Substitution="IsE12" Display="Hide"/>

			<Object Type="Information" Hide="%varContinueRun%" HelpId="html\958a930d-7c3e-4794-b460-3b539accb69f.htm">
				<Object Type="Control" SubType="Title" Name="Title" Position="Top" Text="分析結果の表示"/>
				<Object Type="If" Name="TextString" Key1="true()">
					<Setting Key1="if(%IsE12%=0, get-formatted-attribute(@Text), get-formatted-attribute(@Title))" Text="2. {0} および {1} を一時フォルダに移動します。" Title="2. {0} を一時フォルダに移動します。" S0="%DBPath%" S1="%SLVPath%" Substitution="Item2String" Display="Hide"/>
					<Object Type="RichTextBox" Name="DirtyShutdown4RichTextBox" Position="Below" LineSpace="2" Height="450" Width="FullWidth" Display="Hide">
						<Setting Text="分析結果: {1}" S1="%SelectedDB%" Key2="Font=Title"/>
						<Setting Text="データベースの状態は、'ダーティ シャットダウン' です" Key2="Font=Title,FontStyle=Bold,ForeColor=Black"/>
						<Setting Key2="Type=NewLine" Key3="1"/>
						<Setting Text="詳細: " Key2="FontStyle=Bold,ForeColor=Black"/>
						<Setting Text="このデータベースの回復に必要なログ ファイルはすべて存在します。このデータベースをマウントすると、Exchange サーバーは自動的にこのデータベースを回復しようとします。ただし次の場合には回復できないことがあります。(1) ストレージ グループ内の別のデータベースが回復可能な状態でない。(2) 見つからないまたは一致しないトランザクション ログ ファイルまたはチェックポイント ファイルがある。(3) このデータベースまたは必要なトランザクション ログ ファイルが破損している。"/>
						<Setting Key2="Type=NewLine" Key3="2"/>
						<Setting Text="データベース情報: " Key2="FontStyle=Bold,ForeColor=Black"/>
						<Setting Text="選択したドメイン コントローラは {1} です" S1="%DC%" Key3="3"/>
						<Setting Text="選択したサーバーは {1} です" S1="%Server%" Key3="4"/>
						<Setting Text="選択したストレージ グループは {1} です" S1="%SelectedSG%" Key3="5"/>
						<Setting Text="選択したデータベースは {1} です" S1="%SelectedDB%" Key3="6"/>
						<Setting Text="一番下の必要なログ ファイルは {1} です" S1="%DBMin%" Key3="7"/>
						<Setting Text="最大の必要なログ ファイルは {1} です" S1="%DBMax%" Key3="8"/>
						<Setting Text="ログ ディレクトリ内で見つかった一番下のログ ファイルは {1} です" S1="%Log[MinLogFileName]%" Key3="9"/>
						<Setting Text="ログ ディレクトリ内で見つかった一番上のログ ファイルは {1} です" S1="%Log[MaxLogFileNameExpanded]%" Key3="10"/>
						<Setting Key2="Type=NewLine" Key3="11"/>
						<Setting Text="ソリューション: " Key2="FontStyle=Bold,ForeColor=Black">
							<Rule Text="ソリューション: "/>
						</Setting>
						<Setting Text="これらの戦略のいずれかを使用してデータベースを回復します。一覧にある順序でそれぞれの戦略を試す必要があります。">
							<Rule Text="これらの戦略のいずれかを使用してデータベースを回復します。一覧にある順序でそれぞれの戦略を試す必要があります。"/>
						</Setting>
						<Setting Text="1. データベースをマウントします。">
							<Rule Text="1. データベースをマウントします。"/>
						</Setting>
						<Setting Text="2. 所定の場所にあるデータベースを手動で回復します。">
							<Rule Text="2. 所定の場所にあるデータベースを手動で回復します。"/>
						</Setting>
						<Setting Text="3. 所定の場所以外にあるデータベースを手動で回復します。">
							<Rule Text="3. 所定の場所以外にあるデータベースを手動で回復します。"/>
						</Setting>
						<Setting Key2="Type=NewLine" Key3="12"/>
						<Setting Text="データベースのマウント" Key2="ForeColor=Red">
							<Rule Text="データベースのマウント"/>
						</Setting>
						<Setting Text="データベースがマウントされると、Exchange Server は必要に応じて自動的に回復を実行します。自動回復を完了できなかった場合のみ、データベースを手動で回復する必要があります。">
							<Rule Text="データベースがマウントされると、Exchange Server は必要に応じて自動的に回復を実行します。自動回復を完了できなかった場合のみ、データベースを手動で回復する必要があります。"/>
						</Setting>
						<Setting Key2="Type=NewLine" Key3="13"/>
						<Setting Text="所定の場所にあるデータベースを手動で回復する" Key2="ForeColor=Red">
							<Rule Text="所定の場所にあるデータベースを手動で回復する"/>
						</Setting>
						<Setting Text="{1} を使用して、データベースを手動で回復できます。所定の場所での手動の回復は、ストレージ グループ内のすべてのデータベースに対して同時に実行されます。{1} で所定の場所での回復を実行するには:" S1="Eseutil.exe">
							<Rule Text="{1} を使用して、データベースを手動で回復できます。所定の場所での手動の回復は、ストレージ グループ内のすべてのデータベースに対して同時に実行されます。{1} で所定の場所での回復を実行するには:" S1="Eseutil.exe"/>
						</Setting>
						<Setting Text="1. すべての既存のトランザクション ログ ファイルを安全なバックアップ場所にコピーします。手動回復を実行すると、現在のトランザクション ログが変更されて、失われたデータベースや以前のバックアップが復元できなくなる可能性があります。これらのログ ファイルのバックアップ用コピーは、バックアップや失われたデータベースを完全に回復するために必要になることがあります。">
							<Rule Text="1. すべての既存のトランザクション ログ ファイルを安全なバックアップ場所にコピーします。手動回復を実行すると、現在のトランザクション ログが変更されて、失われたデータベースや以前のバックアップが復元できなくなる可能性があります。これらのログ ファイルのバックアップ用コピーは、バックアップや失われたデータベースを完全に回復するために必要になることがあります。"/>
						</Setting>
						<Setting Text="2. コマンド プロンプト ウィンドウを開き、既定のディレクトリをトランザクション ログ ファイルのディレクトリに変更します (例: {1})。" S1="CD /D C:\Logs">
							<Rule Text="2. コマンド プロンプト ウィンドウを開き、既定のディレクトリをトランザクション ログ ファイルのディレクトリに変更します (例: CD /D C:\Logs)。"/>
						</Setting>
						<Setting Text="3. この {1} コマンドをトランザクション ログ フォルダ内から実行します。 " S1="Eseutil.exe">
							<Rule Text="3. この {1} コマンドをトランザクション ログ フォルダ内から実行します。 " S1="Eseutil.exe"/>
						</Setting>
						<Setting Key2="Type=NewLine" Key3="14"/>
						<Setting Text="  {1}" S1="C:\Exchsrvr\bin\eseutil.exe /R %LogPrefix% /I " Key3="15">
							<Rule Text="  {1}" S1="C:\Exchsrvr\bin\eseutil.exe /R %LogPrefix% /I "/>
						</Setting>
						<Setting Key2="Type=NewLine" Key3="16"/>
						<Setting Text="重要: " Key2="ForeColor=Red" Key3="17">
							<Rule Text="重要: "/>
						</Setting>
						<Setting Text="このコマンドを {1} ディレクトリから実行しないでください。このコマンドは、トランザクション ログ ファイルのあるディレクトリからのみ実行してください。" S1="Eseutil.exe">
							<Rule Text="このコマンドを {1} ディレクトリから実行しないでください。このコマンドは、トランザクション ログ ファイルのあるディレクトリからのみ実行してください。" S1="Eseutil.exe"/>
						</Setting>
						<Setting Key2="Type=NewLine" Key3="18"/>
						<Setting Text="4. 回復が正常に完了するまで待機してから、データベースをマウントします。">
							<Rule Text="4. 回復が正常に完了するまで待機してから、データベースをマウントします。"/>
						</Setting>
						<Setting Key2="Type=NewLine" Key3="19"/>
						<Setting Text="所定の場所以外にあるデータベースを手動で回復する" Key2="ForeColor=Red">
							<Rule Text="所定の場所以外にあるデータベースを手動で回復する"/>
						</Setting>
						<Setting Text="{1} を使用して、データベースを手動で回復できます。所定の場所以外でこれを行うと、そのデータベースだけを回復するために、残りのストレージ グループから分離されます。これによって、ストレージ グループ内の他の問題がデータベースの回復に影響するのを防ぎます。{1} を使用して所定の場所以外でこのデータベースを回復するには: " S1="Eseutil.exe">
							<Rule Text="{1} を使用して、データベースを手動で回復できます。所定の場所以外でこれを行うと、そのデータベースだけを回復するために、残りのストレージ グループから分離されます。これによって、ストレージ グループ内の他の問題がデータベースの回復に影響するのを防ぎます。{1} を使用して所定の場所以外でこのデータベースを回復するには: " S1="Eseutil.exe"/>
						</Setting>
						<Setting Text="1. 現在データベース ファイルが存在するドライブに、一時的な回復フォルダを作成します。これは、データベースの置かれたディレクトリのサブフォルダでもかまいません。たとえば {1} のように作成します。" S1="C:\Databases\Database-RECOVERY">
							<Rule Text="1. 現在データベース ファイルが存在するドライブに、一時的な回復フォルダを作成します。これは、データベースの置かれたディレクトリのサブフォルダでもかまいません。たとえば {1} のように作成します。" S1="C:\Databases\Database-RECOVERY"/>
						</Setting>
						<Setting Key2="Type=NewLine" Key3="20"/>
						<Setting Text="重要: " Key2="ForeColor=Red">
							<Rule Text="重要: "/>
						</Setting>
						<Setting Text="この一時的な回復フォルダは、この時点で空にしておく必要があります。他の回復処理で残されたデータベースやトランザクション ログ ファイルをこのフォルダからなくす必要があります。 ">
							<Rule Text="この一時的な回復フォルダは、この時点で空にしておく必要があります。他の回復処理で残されたデータベースやトランザクション ログ ファイルをこのフォルダからなくす必要があります。 "/>
						</Setting>
						<Setting Key2="Type=NewLine" Key3="21"/>
						<Setting Text="{1}" S1="%Item2String%" Key3="22">
							<Rule Text="{1}" S1="%Item2String%"/>
						</Setting>
						<Setting Key2="Type=NewLine" Key3="23"/>
						<Setting Text="3. {0} から {1} までのシーケンス番号を含むログ ファイルを一時フォルダにコピーします。" S0="%DBMin%" S1="%HighestRecoverableGenerationNumber%">
							<Rule Text="3. {0} から {1} までのシーケンス番号を含むログ ファイルを一時フォルダにコピーします。" S0="%DBMin%" S1="%HighestRecoverableGenerationNumber%"/>
						</Setting>
						<Setting Key2="Type=NewLine" Key3="24"/>
						<Setting Text="4. コマンド プロンプト ウィンドウを開き、既定のディレクトリを一時フォルダに変更します (例: {1})。" S1="CD /D C:\Databases\Database-RECOVERY">
							<Rule Text="4. コマンド プロンプト ウィンドウを開き、既定のディレクトリを一時フォルダに変更します (例: {1})。" S1="CD /D C:\Databases\Database-RECOVERY"/>
						</Setting>
						<Setting Key2="Type=NewLine" Key3="25"/>
						<Setting Text="5. 一時フォルダ内の最も新しく生成されたトランザクション ログ ファイルの名前がまだ {0}.LOG でない場合は、名前を {0}.LOG に変更します。" S0="%LogPrefix%" Key3="26">
							<Rule Text="5. 一時フォルダ内の最も新しく生成されたトランザクション ログ ファイルの名前がまだ {0}.LOG でない場合は、名前を {0}.LOG に変更します。" S0="%LogPrefix%"/>
						</Setting>
						<Setting Key2="Type=NewLine" Key3="27"/>
						<Setting Text="6. 一時フォルダ内からこの {1} コマンドを実行します。 " S1="Eseutil.exe">
							<Rule Text="6. 一時フォルダ内からこの {1} コマンドを実行します。 " S1="Eseutil.exe"/>
						</Setting>
						<Setting Key2="Type=NewLine" Key3="28"/>
						<Setting Text="  {1}" S1="C:\Exchsrvr\bin\eseutil.exe /R %LogPrefix% /I /D" Key3="29">
							<Rule Text="  {1}" S1="C:\Exchsrvr\bin\eseutil.exe /R %LogPrefix% /I /D"/>
						</Setting>
						<Setting Key2="Type=NewLine" Key3="30"/>
						<Setting Text="重要: " Key2="ForeColor=Red" Key3="31">
							<Rule Text="重要: "/>
						</Setting>
						<Setting Text="このコマンドを {1} ディレクトリから実行しないでください。このコマンドは、トランザクション ログ ファイルとデータベース ファイルのあるディレクトリからのみ実行してください。 " S1="Eseutil.exe">
							<Rule Text="このコマンドを {1} ディレクトリから実行しないでください。このコマンドは、トランザクション ログ ファイルとデータベース ファイルのあるディレクトリからのみ実行してください。" S1="Eseutil.exe"/>
						</Setting>
						<Setting Key2="Type=NewLine" Key3="32"/>
						<Setting Text="7. データベースが 'クリーン シャットダウン' 状態であることを確認します。確認するには、このツールの別のインスタンスを起動して '手操作入力' モードを選択するか、この {1} コマンドを実行します。" S1="Eseutil.exe">
							<Rule Text="7. データベースが 'クリーン シャットダウン' 状態であることを確認します。確認するには、このツールの別のインスタンスを起動して '手操作入力' モードを選択するか、この {1} コマンドを実行してデータベース ヘッダーの &quot;状態&quot; フィールドを表示します。" S1="Eseutil.exe"/>
						</Setting>
						<Setting Key2="Type=NewLine" Key3="33"/>
						<Setting Text="  {1}" S1="C:\Exchsrvr\bin\eseutil.exe /MH %DBPath%" Key3="34">
							<Rule Text="  {1}" S1="C:\Exchsrvr\bin\eseutil.exe /MH %DBPath%"/>
						</Setting>
						<Setting Key2="Type=NewLine" Key3="35"/>
						<Setting Text="8. 'クリーン シャットダウン' 状態のデータベースを元のパスの場所に移動します。">
							<Rule Text="8. 'クリーン シャットダウン' 状態のデータベースを元の場所に移動します。"/>
						</Setting>
						<Setting Key2="Type=NewLine" Key3="36"/>
						<Setting Text="9. トランザクション ログ ファイルを一時フォルダから安全なバックアップ場所に移動します。このデータベースの以前のオンライン バックアップを復元するには、完全な回復のためにこれらのファイルが必要になることがあります。">
							<Rule Text="9. トランザクション ログ ファイルを一時フォルダから安全なバックアップ場所に移動します。このデータベースの以前のバックアップを復元するには、完全な回復のためにこれらのファイルが必要になることがあります。"/>
						</Setting>
						<Setting Key2="Type=NewLine" Key3="37"/>
						<Setting Text="このデータベースをマウントする前に、場合によってはストレージ グループ内の他のデータベースを復元する必要があります。ストレージ グループ内のすべてのデータベースが 'クリーン シャットダウン' 状態であるにもかかわらず、エラー -1216 または -551 が原因でデータベースをマウントできない場合は、マイクロソフト サポート技術情報の記事 296843 (http://go.microsoft.com/fwlink/?linkid=3052&amp;kbid=296843) を参照してください。" Key2="Type=NoLineFeed">
							<Rule Text="このデータベースをマウントする前に、場合によってはストレージ グループ内の他のデータベースを復元する必要があります。ストレージ グループ内のすべてのデータベースが 'クリーン シャットダウン' 状態であるにもかかわらず、エラー -1216 または -551 が原因でデータベースをマウントできない場合は、マイクロソフト サポート技術情報の記事 296843 (http://go.microsoft.com/fwlink/?linkid=3052&amp;kbid=296843) を参照してください。"/>
						</Setting>
					</Object>
					<Object Type="Control" SubType="Button" Name="Copy" Position="LeftBelow" Width="100" Text="コピー">
						<Event Type="Click">
							<Action Type="ExecuteQuery" ControlName="DirtyShutdown4RichTextBox" Query="ActionHandler('DirtyShutdown4RichTextBox', 'Copy')"/>
						</Event>
					</Object>
					<Object Type="Control" SubType="Button" Name="Print" Position="NextTo" Width="100" Text="印刷">
						<Event Type="Click">
							<Action Type="ExecuteQuery" ControlName="DirtyShutdown4RichTextBox" Query="ActionHandler('DirtyShutdown4RichTextBox', 'Print')"/>
						</Event>
					</Object>
					<Object Type="Control" SubType="Button" Name="Save" Position="NextTo" Width="100" Text="保存">
						<Event Type="Click">
							<Action Type="ExecuteQuery" ControlName="DirtyShutdown4RichTextBox" Query="ActionHandler('DirtyShutdown4RichTextBox', 'Save')"/>
						</Event>
					</Object>
					<Object Type="Control" SubType="Button" Name="SelectAll" Position="NextTo" Width="100" Text="すべて選択">
						<Event Type="Click">
							<Action Type="ExecuteQuery" ControlName="DirtyShutdown4RichTextBox" Query="ActionHandler('DirtyShutdown4RichTextBox', 'SelectAll')"/>
						</Event>
					</Object>
				</Object>

				<Object Type="Control" SubType="Link" Name="Previous" LineSpace="2" Position="LeftBelow" Text="前へ"/>
				<Object Type="Control" SubType="Link" Name="Next" Position="NextTo" Percent="30" Text="次へ"/>
			</Object>
		</Object>
	</Object>
	<Object Type="Step" Name="CheckConnectivityStep" Title="接続の確認" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%DCName%" Substitution="DC" Display="Hide"/>
			<Setting Key1="%ServerName%" Substitution="EXSERVER" Display="Hide"/>
			<Object Type="Progress" Title="Active Directory および Exchange Server への接続を確認しています" Text="接続の確認と資格情報の検証を行っています。しばらくお待ちください。">
				<Object Type="Group" Name="Check connectivity and retrieve database information">
					<Object Type="Group" Name="Check DC connectivity, and EXLOGON against the DC">
						<Setting Key1="Rule">
							<Rule Name="fDCInvalid" Query="not($fDCAlive)" Title="ドメイン コントローラに接続できません" Text="指定したドメイン コントローラ '{0}' は、接続不能であるか、ドメイン コントローラではありません。" S0="%DC%" AlwaysEvaluate="True" Error="Error"/>
							<Rule Name="fEXLOGONInvalid1" Query="not($fDCInvalid or $szExchangeContainerCN)" Title="資格情報が無効です" Text="指定された資格情報には、ドメイン コントローラ {0} から Exchange 構成情報を読み取る権限がありません。" S0="%DC%" AlwaysEvaluate="True" Error="Error"/>
						</Setting>
						<Object Type="Port" Name="Port 389" Key1="%DC%">
							<Setting Key1="389" Substitution="PORT389_RESPONSE">
								<Rule Name="fDCAlive" Query="($.[2]='389 Available')"/>
							</Setting>
							<Object Type="If" Key1="contains('%PORT389_RESPONSE%','389 Available')">
								<Object Type="Directory" Key1="%DC%" Name="cn">
									<Setting Key1="configurationNamingContext" Substitution="CONFIGDN"/>
									<Object Type="Directory" Key2="cn=Microsoft Exchange,cn=Services,%CONFIGDN%" SecurityContext="EXLOGON">
										<Setting Key1="cn">
											<Rule Name="szExchangeContainerCN" Query="$."/>
										</Setting>
										<Object Type="Cache" Name="Suitability" Key1="Add" Key2="DCLDP" Key3="true" Display="Hide"/>
									</Object>
								</Object>
							</Object>
						</Object>
					</Object>
					<Object Type="Group" Name="Check Exchange connectivity">
						<Setting Key1="Rule">
							<Rule Name="fEXInvalid" Query="not($fEPAlive)" Title="Exchange サーバーに接続できません" Text="指定されたサーバー '{0}' に接続できません。" S0="%EXSERVER%" AlwaysEvaluate="True" Error="Error"/>
						</Setting>
						<Object Type="Port" Name="DCE Endpoint Mapper" Key1="%EXSERVER%">
							<Setting Key1="135" Substitution="PORT135_RESPONSE">
								<Rule Name="fEPAlive" Query="($.[2]='135 Available')"/>
							</Setting>
							<Object Type="If" Key1="contains('%PORT135_RESPONSE%','135 Available')">
								<Object Type="Cache" Name="Suitability" Key1="Add" Key2="EXRPC" Key3="true" Display="Hide"/>
							</Object>
						</Object>
					</Object>
					<Object Type="Group" Name="Check Exchange Suitability" SecurityContext="EXLOGON">
						<Setting Key1="Rule">
							<Rule Name="fEXLOGONInvalid2" Query="not($fEXInvalid or $szCTExWinVer)" Title="資格情報が無効です" Text="指定された資格情報には、サーバー {0} のレジストリにアクセスする権限がありません。" S0="%EXSERVER%" AlwaysEvaluate="True" Error="Error"/>
							<Rule Name="fEXSERVERInvalid" Query="not($fEXInvalid or $fEXLOGONInvalid2 or $szMSExchangeISPath)" Title="Exchange データベース サーバーではありません" Text="指定されたサーバー '{0}' は、Exchange データベース用に構成されていない可能性があります。" S0="%EXSERVER%" AlwaysEvaluate="True" Error="Error"/>
						</Setting>
						<Object Type="Registry" Key1="%EXSERVER%" Key3="Software\Microsoft\Windows NT\CurrentVersion">
							<Setting Key1="CurrentVersion">
								<Rule Name="szCTExWinVer" Query="$."/>
							</Setting>
							<Object Type="Cache" Name="Suitability" Key1="Add" Key2="EXREG" Key3="true" Display="Hide"/>
						</Object>
						<Object Type="Registry" Key1="%EXSERVER%" Key3="System\CurrentControlSet\Services\MSExchangeIS">
							<Setting Key1="__KEYPATH">
								<Rule Name="szMSExchangeISPath" Query="$."/>
							</Setting>
							<Object Type="Cache" Name="Suitability" Key1="Add" Key2="EXIS" Key3="true" Display="Hide"/>
						</Object>
					</Object>
					<Object Type="Cache" Name="Suitability" Key1="Dump" Key2="DCLDP" Display="Hide">
						<Object Type="Cache" Name="Suitability" Key1="Dump" Key2="EXRPC" Display="Hide">
							<Object Type="Cache" Name="Suitability" Key1="Dump" Key2="EXREG" Display="Hide">
								<Object Type="Cache" Name="Suitability" Key1="Dump" Key2="EXIS" Display="Hide">
									<Object Type="Cache" Name="Suitability" Key1="Add" Key2="Suitable" Key3="true" Display="Hide"/>
								</Object>
							</Object>
						</Object>
					</Object>
					<Object Type="Cache" Name="Suitability" Key1="Dump" Key2="Suitable" Display="Hide">

						<Object Type="Group" Name="Exchange Server Information">
							<Rule Name="fCheckConnectivityOK" Query="true()" Text="接続は確認済みです。" Error="Information">
								<Variable Name="CheckConnectivity" Scope="Children"/>
							</Rule>

							<!-- We will link type files to here -->

							<!-- Get MountPoint and LogicalDisk Info -->
							<Object Type="Group" Name="Get Disk Info" SecurityContext="EXLOGON">
								<Setting Key1="Mountpoint Check">
									<Rule Name="fMountpointsExist" Query="count($fMountPoint) &gt;0" AlwaysEvaluate="True" Text="このサーバーはマウント ポイントを使用しています。" Error="Information"/>
									<Rule Name="szNotMountpointsText" Query="not($fMountpointsExist)" Text="このサーバーはマウント ポイントを使用していません。" AlwaysEvaluate="True" Error="Information"/>
								</Setting>

								<Object Type="WMI" Key1="%EXSERVER%" Key3="Win32_Volume">
									<Setting Key1="Name" Format="\\$----" Substitution="DriveName">
										<Rule Name="fMountPoint" Query="string-length($.) &gt;3 and substring($., 2,1)=':'"/>
										<Rule Name="szPackName" Query="if($fMountPoint, pack($.))"/>
									</Setting>
									<Setting Key1="FreeSpace">
										<Rule Name="iFreeDiskSpace" Query="if($fMountPoint, roundto(($. div (1024*1024*1024)), 3))" Text="ボリューム ({2}) の空き領域は {1} GB です。" P1="roundto(($. div (1024*1024*1024)), 3)" S2="%DriveName%" Error="Information">
											<Variable Name="DiskInfo[%DriveName%][FreeSpace]" Scope="Children"/>
										</Rule>
									</Setting>
								</Object>
								<Object Type="WMI" Key1="%EXSERVER%" Key3="Win32_LogicalDisk">
									<Setting Key1="Name" Format="\\$----" Substitution="LogicalName">
										<Rule Name="szLogicalDeviceID" Query="$."/>
										<Rule Name="szPackLogicalName" AlwaysEvaluate="True" Query="if(not($fMountpointsExist[1]), pack($.))"/>
									</Setting>
									<Setting Key1="DriveType">
										<Rule Name="fDiskFixed" Query="$.=3"/>
									</Setting>
									<Setting Key1="FreeSpace">
										<Rule Name="iFreeLogicalDiskSpace" Query="if($szPackLogicalName, roundto(($. div (1024*1024*1024)), 3))" Text="論理ディスク ({2}) の空き領域は {1} GB です。" P1="roundto(($. div (1024*1024*1024)), 3)" S2="%LogicalName%" Error="Information">
											<Variable Name="DiskInfo[%LogicalName%][FreeSpace]" Scope="Children"/>
										</Rule>
									</Setting>
								</Object>
								<Rule Name="szAllDisks" Query="concat(join('', $szPackName), join('', $szPackLogicalName))" AlwaysEvaluate="True">
									<Variable Name="AllDrives" Scope="Children"/>
								</Rule>
							</Object>

							<!-- Get Local machine name -->
							<Object Type="GetComputerNameEx" Name="Local Machine">
								<Setting Key1="ComputerNameNetBIOS">
									<Rule Name="szLocalMachineName" Query="upper-case($.)">
										<Variable Name="LocalMachineName" Scope="Children"/>
									</Rule>
								</Setting>
							</Object>

							<!-- Detect Exchange Server Version.  -->
							<Object Type="Registry" Key1="%EXSERVER%" Key3="Software\Microsoft\Exchange\v8.0" SecurityContext="EXLOGON">
								<Object Type="Group">
									<Rule Name="fE12" Query="true()"/>
								</Object>
							</Object>
							<Rule Name="fIsE12" Query="if($fE12, 1, 0)" AlwaysEvaluate="True">
								<Variable Name="IsE12" Scope="Children"/>
							</Rule>
							<Rule Name="szLogPattern" Query="if($fE12, '????????.log', '?????.log')" AlwaysEvaluate="True">
								<Variable Name="LogPattern" Scope="Children"/>
							</Rule>
						</Object>
					</Object>
					<Rule Name="szPreviousStepName" Query="'CheckConnectivityStep'">
						<Variable Name="PreviousStepName" Scope="Children"/>
					</Rule>
					<Rule Name="fDispatchFail" Query="not ($fCheckConnectivityOK)" NextStep="DisplayCheckConnectivityResultStep" AlwaysEvaluate="True"/>
					<Rule Name="fDispatchOk" Query="$fCheckConnectivityOK" NextStep="GetDBInfoFromADStep" AlwaysEvaluate="True"/>
				</Object>
			</Object>
		</Object>
	</Object>

	<Object Type="Step" Name="DisplayCheckConnectivityResultStep" Title="接続確認の結果の表示" Display="Hide">
		<Object Type="Variable" Name="Get Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%PreviousStepName%" Substitution="PreviousStepName" Display="Hide"/>
			<Setting Key1="%Server%" Substitution="Server" Display="Hide"/>
			<Setting Key1="%CheckConnectivity%" Substitution="CheckResult" Display="Hide"/>
			<Setting Key1="%varContinueRun%" Substitution="varContinueRun" Display="Hide"/>
			<Object Type="Information" Hide="%varContinueRun%">
				<Object Type="Control" SubType="Title" Name="Title" Position="Top" Text="接続確認の結果の表示"/>
				<Object Type="Control" SubType="Label" Name="Label" Position="Below" Text="サーバー名: %Server%"/>

				<Object Type="Control" SubType="Reports" Name="InterimReports" Position="LeftBelow" Width="FullWidth" Height="400">
					<Report Title="接続エラー" Query="//Object[@Type='Step' and @Name='%STEPNAMEPREFIX%%PreviousStepName%' and not(@StepStatus='Deactivated')][last()]/*//Message[@Error='Error']"/>
					<Report Title="接続の警告" Query="//Object[@Type='Step' and @Name='%STEPNAMEPREFIX%%PreviousStepName%' and not(@StepStatus='Deactivated')][last()]/*//Message[@Error='Warning']"/>
					<Report Title="接続情報" Query="//Object[@Type='Step' and @Name='%STEPNAMEPREFIX%%PreviousStepName%' and not(@StepStatus='Deactivated')][last()]/*//Message[@Error='Information' or not (@Error)]"/>
				</Object>

				<Object Type="Control" SubType="Link" Position="Below" Name="Previous" Text="前へ"/>
				<Object Type="If" Name="IfName" Key1="%CheckResult%=1">
					<Object Type="Control" SubType="Link" Position="NextTo" Percent="30" Name="Next" Text="Active Directory からデータベース情報を収集する" NextStep="GetDBInfoFromADStep"/>
				</Object>
			</Object>
		</Object>
	</Object>

	<Object Type="Step" Name="GetDBInfoFromADStep" Title="Active Directory から情報を取得" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%DCName%" Substitution="DC" Display="Hide"/>
			<Setting Key1="%ServerName%" Substitution="EXSERVER" Display="Hide"/>
			<Setting Key1="%AllDrives%" Substitution="AllDrives" Display="Hide"/>
			<Setting Key1="%IsSymptom%" Substitution="IsSymptom" Display="Hide"/>
			<Object Type="Progress" Title="Active Directory から Exchange Server の情報の読み取り" Text="Active Directory から情報を取得しています。しばらくお待ちください。">
				<Object Type="Group" Name="Clear Cache" Display="HideAll">
					<Setting Key1="EmptyString">
						<Rule Name="szEmptyInfo" Query="$.">
							<Variable Name="INFO" Scope="Global"/>
							<Variable Name="INFO" Scope="Children"/>
						</Rule>
					</Setting>
				</Object>

				<Object Type="Variable" Name="All Drivers" Key1="Unpack" Key2="%AllDrives%" Display="HideAll">
					<Setting Key1="__VALUE" Format="\\$----">
						<Rule Name="szDiskIDs" Query="upper-case($.)"/>
					</Setting>
				</Object>

				<Object Type="Directory" Name="cn" SecurityContext="EXLOGON">
					<Rule Name="fErrorAccessActiveDirectory" Query="count(../Exception) &gt;0" Title="Active Directory へのアクセス中にエラーが発生しました" Text="{1} の Active Directory へのアクセス中にエラーが発生しました。エラー メッセージは {0} です。" P0="../Exception/@Message" S1="%DC%" Error="Error" GUID="b15f87cc-938a-48f8-a14e-24ce1aef5b61"/>
					<Setting Key1="ServerName" Format="CN=(.*?),.*----$1">
						<Rule Name="szActualDCName" Query="$." Text="このツールが使用しているドメイン コントローラ: {0}。" P0="$."/>
					</Setting>
					<Setting Key1="configurationNamingContext" Substitution="CONFIGDN"/>
					<Object Type="Directory" Key2="cn=Microsoft Exchange,cn=Services,%CONFIGDN%">
						<Rule Name="fErrorAccessExchangeContainer" Query="count(../Exception) &gt;0" Title="Exchange 構成コンテナへのアクセス中にエラーが発生しました" Text="{1} の Active Directory にある Exchange 構成コンテナへのアクセスでエラーが発生しました。エラー メッセージは {0} です。" P0="../Exception/@Message" S1="%DC%" Error="Error" GUID="6eed505c-5112-4367-a21e-c750b944bfb2"/>
						<Setting Key1="distinguishedName" Substitution="DN"/>
						<Object Type="Directory" Key2="%DN%" Key3="objectClass=msExchOrganizationContainer" Key4="OneLevel">
							<Setting Key1="distinguishedName" Substitution="DN"/>
							<Object Type="Group" Name="Admin Group">
								<Rule Name="fZeroADServerInfo1" Query="count($szExchangeServerName)=0" Title="Exchange サーバーへのアクセス中にエラーが発生しました" Text="{1} には、サーバー '{0}' の情報はありません。" S0="%EXSERVER%" S1="%DN%" Error="Error" AlwaysEvaluate="True" GUID="b7def047-3b0d-4ed0-83b6-3a75f8db8b85"/>
								<Object Type="Directory" Key2="cn=Administrative Groups, %DN%" Key3="(ObjectCategory=msExchAdminGroup)" Key4="OneLevel" Class="管理グループ">
									<Rule Name="fNoAdminGroups" Query="count($.)=0" Title="Exchange 管理グループへのアクセス中にエラーが発生しました" Text="サーバー {0} 上の Active Directory 内から Exchange 管理グループは検出されませんでした。" S0="%DC%" Error="Error" GUID="ec5a8fcf-e6f0-4935-a406-7e769536dcc7"/>
									<Setting Key1="distinguishedName" Substitution="DN"/>
									<Object Type="Group" Name="Exchange Servers">
										<Object Type="Registry" Key1="%EXSERVER%" Key3="System\CurrentControlSet\Services\MSExchangeIS" Display="Hide">
											<Setting Key1="ImagePath" Substitution="ImagePath" Format=".(.*\\).*$----$1">
												<Rule Name="szSLVPathOrig" Query="replace(substring($.,1,string-length($.) -1),':', '$')"/>
												<Rule Name="szBinPath" Query="concat('\\', @S0,'\', $szSLVPathOrig)" S0="%EXSERVER%">
													<Variable Name="ExchBinDir" Scope="Children"/>
												</Rule>
											</Setting>
										</Object>
										<Object Type="Directory" Key2="%DN%" Key3="(&amp;(objectCategory=msExchExchangeServer)(cn=%EXSERVER%))" Class="サーバー">
											<Rule Name="fErrorAccessADServerInfo" Query="count(../Exception) &gt;0" Title="Exchange サーバーの情報へのアクセス中にエラーが発生しました" Text="{0} のサーバー情報へのアクセス中にエラーが発生しました。エラー メッセージ: {1}。" S0="%DN%" S1="../Exception/@Message" Error="Error" GUID="f1915b91-0f56-4272-9c24-4914daa8a944"/>
											<Setting Key1="distinguishedName" Substitution="DN"/>
											<Setting Key1="name" Substitution="SRVNAME">
												<Rule Name="szExchangeServerName" Query="$."/>
												<Rule Name="fE12ClusteredVariable" Query="if($fE12Clustered, '1', '0')" AlwaysEvaluate="True">
													<Variable Name="Clustered" Scope="Children"/>
												</Rule>
											</Setting>
											<Setting Key1="cn" Substitution="EXSRVNAME"/>
											<Setting Key1="legacyExchangeDn">
												<Rule Name="szServerLegDn" Query="upper-case($.)"/>
											</Setting>
											<Setting Key1="ClusteredStorageType">
												<Rule Name="fE12Clustered" Query="$.='NonShared'" Title="クラスタ化されたサーバーが検出されました" Text="サーバー {1} はクラスタ化されたメールボックス サーバーです。" S1="%SRVNAME%"/>
											</Setting>
											<Object Type="Group" Name="Storage Group">
												<Object Type="Directory" Key2="cn=InformationStore,%DN%" Display="Hide">
													<Setting Key1="distinguishedName" Substitution="DN"/>
													<!-- Let's drill into each Storage Group object on the server and find out how the transaction logs have been configured -->
													<Object Type="Directory" Key2="%DN%" Key3="objectClass=msExchStorageGroup" Display="Left" Class="ストレージ グループ">
														<Setting Key1="cn">
															<Rule Name="szUnMountedDBs" Query="join('', $szDBUnMountPack)"/>
															<Rule Name="szUnknownDBs" Query="if($szDBUNKNOWN, join('', $szDBUNKNOWNPack))"/>
														</Setting>
														<Setting Key1="distinguishedName" Substitution="DN"/>
														<Setting Key1="name" Substitution="SGNAME">
															<Rule Name="szStorageGroup" Query="$.">
																<Variable Name="INFO[AllSGs][%SGNAME%]" Scope="Children"/>
															</Rule>
															<Rule Name="iStorageGroupNum" Query="count($.)"/>
															<Rule Name="fStorageGroupNumZero" Query="count($.) = 0" Text="サーバー {0} には、ストレージ グループがありません。" P0="$szExchangeServerName"/>
															<Rule Name="iMountedDBCount" Query="count($szDBMount)" AlwaysEvaluate="True">
																<Variable Name="INFO[%SGNAME%][DBMountCount]" Scope="Children"/>
															</Rule>
															<Rule Name="iUnMountedDBCount" Query="count($szDBUnMount)+count($szDBUNKNOWN)" AlwaysEvaluate="True">
																<Variable Name="INFO[%SGNAME%][DBUnMountCount]" Scope="Children"/>
															</Rule>
															<Rule Name="szSelectableDBs" Query="join('',$szUnMountedDBs, $szUnknownDBs)" AlwaysEvaluate="True">
																<Variable Name="INFO[%SGNAME%][SelectableDBs]" Scope="Children"/>
															</Rule>
															<Rule Name="szUnSelectableDBs" Query="join('', $szDBMountPack)" AlwaysEvaluate="True">
																<Variable Name="INFO[%SGNAME%][UnSelectableDBs]" Scope="Children"/>
															</Rule>
															<Rule Name="iTotalDBCount" Query="count($szDBUnMount)+count($szDBUNKNOWN)+count($szDBMount)" AlwaysEvaluate="True">
																<Variable Name="INFO[%SGNAME%][DBCount]" Scope="Children"/>
															</Rule>
															<Rule Name="szAllMDBs" Query="join('',$szMailboxStorePack)" AlwaysEvaluate="True">
																<Variable Name="INFO[%SGNAME%][AllMDBs]" Scope="Children"/>
															</Rule>
															<Rule Name="szMDBNameList" Query="join('', $szMailboxNamePack)" AlwaysEvaluate="True">
																<Variable Name="INFO[%SGNAME%][MDBNameList]" Scope="Children"/>
															</Rule>
															<Rule Name="szRSGName" Query="if($fRSG, $.)">
																<Variable Name="INFO[RSG][Name]" Scope="Children"/>
															</Rule>
															<Rule Name="iLCR" Query="if($fLCR, '1', '0')" AlwaysEvaluate="True">
																<Variable Name="INFO[%SGNAME%][LCR]" Scope="Children"/>
															</Rule>
															<Rule Name="IsRSG" Query="if($fRSG,'True','False')" AlwaysEvaluate="True">
																<Variable Name="INFO[%SGNAME%][RSG]" Scope="Children"/>
															</Rule>
														</Setting>
														<Setting Key1="msExchESEParamBaseName" Substitution="BASENAME">
															<Rule Name="szBaseName" Query="$.">
																<Variable Name="INFO[%SGNAME%][BASENAME]" Scope="Children"/>
															</Rule>
														</Setting>
														<Setting Key1="msExchESEParamSystemPath" Substitution="SYSPATH" SubstitutionFormat="\\----\\">
															<Rule Name="szMsExchESEParamSystemPathDriveRaw" Query="substring($., 1, 2)"/>
															<Rule Name="szMsExchESEParamSystemPathDriveLetter" Query="upper-case($szMsExchESEParamSystemPathDriveRaw)"/>
															<Rule Name="szMsExchESEParamSystemPath" Query="upper-case($.)"/>
															<Rule Name="szSGSysPath" Query="$.">
																<Variable Name="INFO[%SGNAME%][SysPath]" Scope="Children"/>
															</Rule>
														</Setting>
														<Setting Key1="msExchESEParamSystemPath" Substitution="RSYSPATH" Format="(.):\\(.*)----\\%EXSERVER%\$1$\$2">
															<Rule Name="szRSysPath" Query="$.">
																<Variable Name="INFO[%SGNAME%][RSysPath]" Scope="Children"/>
															</Rule>
														</Setting>
														<Setting Key1="msExchESEParamLogFilePath" Substitution="LOGPATH" SubstitutionFormat="\\----\\">
															<Rule Name="szMsExchESEParamLogFilePath" Query="$."/>
															<Rule Name="szMsExchESEParamLogFilePathUpper" Query="upper-case($.)"/>
															<Rule Name="szExchangeTransLogPath" Query="$." Error="None" Text="ストレージ グループ '{3}' の Exchange サーバーのトランザクション ログ フォルダは '{5}' に配置されています。" P5="$." P3="$szStorageGroup"/>
															<Rule Name="szRSGLogPath" Query="$.">
																<Variable Name="INFO[%SGNAME%][LogPath]" Scope="Children"/>
															</Rule>
															<Rule Name="szLongestDrive" Query="longest-starts-with($szMsExchESEParamLogFilePathUpper, $szDiskIDs)">
																<Variable Name="INFO[%SGNAME%][LongestDriveMatch]" Scope="Children"/>
															</Rule>
															<Rule Name="szRLogPath" Query="concat('\\', @S1, '\', replace($., ':', '$'))" S1="%EXSERVER%">
																<Variable Name="INFO[%SGNAME%][RLogPath]" Scope="Children"/>
															</Rule>
														</Setting>
														<Setting Key1="msExchRestore" Substitution="RSGExists">
															<Rule Name="fRSG" Query="if($.='True','True','False')" AlwaysEvaluate="True">
																<Variable Name="INFO[RSG][Exist]" Scope="Children"/>
															</Rule>
														</Setting>
														<Setting Key1="msExchHasLocalCopy">
															<Rule Name="fLCR" Query="$.=1" Title="ローカル連続レプリケーション (LCR) が検出されました" Text="{1} 上で {2} のローカル連続レプリケーション (LCR) が検出されました。" S1="%Server%" S2="%SGName%"/>
														</Setting>
														<Setting Key1="msExchESEParamLogFileSize">
															<Rule Name="iLogFileSize" Query="$. * 1024">
																<Variable Name="INFO[%SGNAME%][LogFileSize]" Scope="Children"/>
															</Rule>
														</Setting>
														<Setting Key1="msExchESEParamCircularLog">
															<Rule Name="fCircularLog" Query="$.">
																<Variable Name="INFO[%SGNAME%][CircularLog]" Scope="Children"/>
															</Rule>
														</Setting>
														<Setting Key1="msExchESEParamLogFilePath" Substitution="ORILOGPATH"/>
														<Object Type="Group" Name="GetLogPathWithPrefix" Display="Hide">
															<Rule Name="szSGLogPathWithPrefix" Query="concat(@S1, '\', @S2)" S1="%ORILOGPATH%" S2="%BASENAME%" AlwaysEvaluate="True">
																<Variable Name="INFO[%SGNAME%][LogPathWithPrefix]" Scope="Children"/>
															</Rule>
														</Object>
														<Object Type="CheckPointInfo" Name="Checkpoint File Information" Key2="%RSYSPATH%\%BASENAME%.chk">
															<Setting Key1="CheckSum"/>
															<Setting Key1="LastFullBackupCheckpoint.IB"/>
															<Setting Key1="LastFullBackupCheckpoint.ISec"/>
															<Setting Key1="LastFullBackupCheckpoint.LGeneration"/>
															<Setting Key1="CheckPoint.IB"/>
															<Setting Key1="CheckPoint.ISec"/>
															<Setting Key1="CheckPoint.LGeneration"/>
															<Setting Key1="LogSignature.CreateTime"/>
															<Setting Key1="LogSignature.RandomNumber"/>
															<Setting Key1="FullBackup.IB"/>
															<Setting Key1="FullBackup.ISec"/>
															<Setting Key1="FullBackup.LGeneration"/>
															<Setting Key1="DBMS"/>
															<Setting Key1="LogTimeFullBackup"/>
															<Setting Key1="IncBackup.IB"/>
															<Setting Key1="IncBackup.ISec"/>
															<Setting Key1="IncBackup.LGeneration"/>
															<Setting Key1="LogTimeIncBackup"/>
															<Setting Key1="FileType"/>
														</Object>
														<Object Type="File" Key1="%SRVNAME%" Key2="%LOGPATH%">
															<Setting Key1="Files" Key2="%BASENAME%*.log" Key3="Generation">
																<Rule Name="fHighLogGeneration" Query="$.&gt;950000" Error="Warning" Sev="1" Title="ログ生成に関する警告" Text="サーバー {2} のストレージ グループ '{3}' に対する現在のトランザクション ログ生成が最大値に近づいています。データベースの停止を防止するための処置を実行する必要があります。" P2="$szExchangeServerName" P3="$szStorageGroup" GUID="fbf10107-5e0c-4c64-a99e-730370a49147"/>
															</Setting>
														</Object>
														<!-- Now into the Mailbox Stores. First of all, we'll get the data paths, then we'll inspect the physical files on disk -->
														<Object Type="Directory" Key2="%DN%" Key3="(|(objectClass=msExchPrivateMDB)(objectClass=msExchPublicMDB))">
															<Setting Key1="distinguishedName" Substitution="DN"/>
															<Setting Key1="cn" Substitution="MDBNAME">
																<Rule Name="szMailboxStore" Query="$."/>
																<Rule Name="szMailboxStorePack" Query="pack($.)"/>
															</Setting>
															<Setting Key1="legacyExchangeDn" Substitution="MailboxLegacyDN">
																<Rule Name="szMailboxStoreLegacyDn" Query="$."/>
															</Setting>
															<Setting Key1="msExchEDBFile" Substitution="EDBPATH" SubstitutionFormat="\\----\\">
																<Rule Name="szMsExchMailboxEDBFile" Query="upper-case($.)"/>
																<Rule Name="szExchangeMailboxMDBPath" Query="$." Error="None" Text="メールボックス ストア '{3}' のプライマリ データベース ファイルが '{5}' に配置されています。" P5="$." P3="$szMailboxStore"/>
															</Setting>
															<Setting Key1="msExchEDBOffline"/>
															<Setting Key1="msExchSLVFile" Substitution="SLVPATH" SubstitutionFormat="\\----\\">
																<Rule Name="szMsExchMailboxSLVFile" Query="upper-case($.)"/>
															</Setting>
															<Setting Key1="objectGUID" Format="System.Guid" SubstitutionFormat="System.Guid" Substitution="DBGUID">
																<Parameter Name="Guid" Type="Hashtable"/>
																<Rule Name="szGUID" Query="$.">
																	<Variable Name="INFO[%SGNAME%][%MDBNAME%][GUID]" Scope="Children"/>
																</Rule>
																<Rule Name="szSysPath" Query="$szExchangeMailboxMDBPath">
																	<Variable Name="INFO[%SGNAME%][%MDBNAME%][SYSPATH]" Scope="Children"/>
																</Rule>
																<Rule Name="szLogPath" Query="$szMsExchESEParamLogFilePath">
																	<Variable Name="INFO[%SGNAME%][%MDBNAME%][LOGPATH]" Scope="Children"/>
																</Rule>
																<Rule Name="szMDBBase" Query="$szBaseName">
																	<Variable Name="INFO[%SGNAME%][%MDBNAME%][MDBBASE]" Scope="Children"/>
																</Rule>
																<Rule Name="szMDBPath" Query="$szExchangeMailboxMDBPath">
																	<Variable Name="INFO[%SGNAME%][%MDBNAME%][MDBPATH]" Scope="Children"/>
																</Rule>
																<Rule Name="szRMDBPath" Query="concat('\\', @S1, '\', replace($szExchangeMailboxMDBPath, ':', '$'))" S1="%EXSERVER%">
																	<Variable Name="INFO[%SGNAME%][%MDBNAME%][RMDBPATH]" Scope="Children"/>
																</Rule>
																<Rule Name="szSLVPath" Query="$szMsExchMailboxSLVFile">
																	<Variable Name="INFO[%SGNAME%][%MDBNAME%][SLVPATH]" Scope="Children"/>
																</Rule>
																<Rule Name="szRSLVPath" Query="concat('\\', @S1, '\', replace($szMsExchMailboxSLVFile, ':', '$'))" S1="%EXSERVER%">
																	<Variable Name="INFO[%SGNAME%][%MDBNAME%][RSLVPATH]" Scope="Children"/>
																</Rule>
																<Rule Name="szDBInfo" Query="concat(pack($szExchangeServerName),pack($szStorageGroup),pack($szMailboxStore),pack($szExchangeMailboxMDBPath),pack($szMsExchESEParamLogFilePath),pack($szBaseName),if($szMsExchMailboxSLVFile, pack($szMsExchMailboxSLVFile), pack(string(''))),pack($szGUID))" AlwaysEvaluate="True">
																	<Variable Name="INFO[%SGNAME%][%MDBNAME%][DATA]" Scope="Children"/>
																</Rule>
																<Rule Name="szDBInfoPack" Query="pack($szDBInfo)"/>
															</Setting>
															<Setting Key1="objectCategory">
																<Rule Name="fPublicFolderDatabase" Query="starts-with($., 'CN=ms-Exch-Public-MDB')"/>
																<Rule Name="szPublicDB" Query="if($fPublicFolderDatabase, '1', '0')" AlwaysEvaluate="True">
																	<Variable Name="INFO[%SGNAME%][%MDBNAME%][IsPublic]" Scope="Children"/>
																</Rule>
																<Rule Name="szMailboxInfo" Query="if(not ($fPublicFolderDatabase), $szDBInfoPack)" AlwaysEvaluate="True"/>
																<Rule Name="szMailboxNamePack" Query="if(not ($fPublicFolderDatabase), $szMailboxStorePack)" AlwaysEvaluate="True"/>
															</Setting>
															<Setting Key1="msExchOrigMDB" Substitution="OrigMDB">
																<Rule Name="fOrigMDBName" Query="if($., replace(slice($.,',',0), 'CN=', ''))">
																	<Variable Name="INFO[RSG][%MDBNAME%][OrigMDB]" Scope="Children"/>
																</Rule>
																<Rule Name="fOrigSGName" Query="if($., replace(slice($.,',',1), 'CN=', ''))">
																	<Variable Name="INFO[RSG][%MDBNAME%][OrigSG]" Scope="Children"/>
																</Rule>
															</Setting>
															<Object Type="MdbAdmin" Key1="%SRVNAME%" Key2="ListMdbStatus" Key3="%DBGUID%">
																<Rule Name="fErrorAccessMdbAdmin" Query="count(../Exception) &gt;0" Text="データベース状態へのアクセス中にエラーが発生しました。エラー メッセージ: {0}。" P0="../Exception/@Message"/>
																<Rule Name="szDBUNKNOWN" Query="if(($fErrorAccessMdbAdmin), string($szMailboxStore))"/>
																<Rule Name="szDBUNKNOWNPack" Query="if(($fErrorAccessMdbAdmin), string(pack($szMailboxStore)))"/>
																<Setting Key1="Status">
																	<Rule Name="szDBUnMount" Query="if(($.='0'), string($szMailboxStore))"/>
																	<Rule Name="szDBUnMountPack" Query="if(($.='0'), string(pack($szMailboxStore)))"/>
																	<Rule Name="szDBMount" Query="if((not ($.='0')), string($szMailboxStore))">
																		<Variable Name="INFO[%SGNAME%][MOUNTED][%DBGUID%]" Scope="Children"/>
																	</Rule>
																	<Rule Name="szDBMountPack" Query="if((not ($.='0')), string(pack($szMailboxStore)))"/>
																</Setting>
															</Object>
														</Object>
													</Object>
												</Object>
											</Object>
											<Rule Name="fDispatchToTaskCenterStep" Query="not ($fErrorAccessADServerInfo) and ($szExchangeServerName) and not ($fStorageGroupNumZero) and @S1=0" S1="%IsSymptom%" NextStep="TaskCenterStep"/>
											<Rule Name="fDispatchToEventDetectStep" Query="not ($fErrorAccessADServerInfo) and ($szExchangeServerName) and not ($fStorageGroupNumZero) and @S1=1" S1="%IsSymptom%" NextStep="GatherEventLogDetectOptionStep"/>
										</Object>
									</Object>
								</Object>
							</Object>
						</Object>
					</Object>
				</Object>
			</Object>
		</Object>
	</Object>

	<Object Type="Step" Name="TaskCenterStep" Title="タスク センター" Display="Hide">
		<Object Type="Panel" HelpId="html\ab4933c0-906e-4b0b-bbfd-8fbeeb5faff6.htm">
			<Object Type="Variable" Key1="Scalar" Display="Hide">
				<Setting Key1="%Server%" Substitution="Server" Display="Hide"/>
				<Setting Key1="%ServerName%" Substitution="EXSERVER" Display="Hide"/>
				<Setting Key1="%INFO[RSG][Exist]%" Substitution="RSGExist" Display="Hide"/>
				<Setting Key1="%IsE12%" Substitution="IsE12" Display="Hide"/>
				<Setting Key1="%LocalMachineName%" Substitution="LocalMachineName" Display="Hide"/>
				<Object Type="Control" SubType="Title" Name="Title" Position="Top" Text="次のいずれかのタスクを選択します"/>
				<Object Type="Control" SubType="Label" Name="Server" Position="Below" Text="サーバー名: %Server%"/>

				<Object Type="Control" SubType="Label" Name="DatabaseAnalyzer" Position="Below" FontStyle="Bold" Width="FullWidth" LineSpace="2" Text="データベースの管理"/>
				<Object Type="Control" SubType="Label" Name="DatabaseAnalyzerLabel" Position="Below" Width="FullWidth" LineSpace="0" Text="データベース管理タスクを実行するには、次のいずれかのタスクを選択します。"/>
				<Object Type="Control" SubType="Link" Name="DatabaseMountIssue" Position="Below" Text="データベースおよびトランザクション ログ ファイルの検証" NextStep="SelectSGStep"/>

				<Object Type="Control" SubType="Link" Name="LogDriveIssue" Position="Below" Text="ログ ドライブ領域の分析" NextStep="PrepareLogDriveAnalysisStep"/>
				<Object Type="If" Name="ResetLogNumber" Key1="not (%IsE12%=1)">
					<Object Type="Control" SubType="Link" Name="ResetLogNumberLink" Position="Below" Text="ログの世代番号のリセット" NextStep="ResetLogOptionsStep"/>
				</Object>

				<!-- Limit Repair task to local machine only since it can cause dramatic network traffic impact -->
				<Object Type="If" Name="CheckMachineName" Key1="'%EXSERVER%'='%LocalMachineName%'">
					<Object Type="Control" SubType="Link" Name="RepairTask" Position="Below" Text="データベースの修復" NextStep="SelectRepairOptionStep"/>
				</Object>
				<Object Type="Control" SubType="Link" Name="ShowEventLog" Position="Below" Text="データベース関連のイベント ログの表示" NextStep="SelectEventViewOptionStep"/>

				<Object Type="If" Name="DetectE12" Key1="%IsE12%=1">
					<!-- Double check Exchange Monad command environment by running an echo command through Exchange Monad Shell -->
					<Object Type="MonadCommand" Key1="echo 1">
						<Object Type="Control" SubType="Label" Name="RSGManager" Position="Below" FontStyle="Bold" Width="FullWidth" Text="回復用ストレージ グループの管理"/>
						<Object Type="Control" SubType="Label" Name="RSGManagerLabel" Position="Below" LineSpace="0" Width="FullWidth" Text="回復用ストレージ グループを管理するには、次のいずれかのタスクを選択します。"/>

						<Object Type="If" Name="NoRSG" Key1="not ('%RSGExist%'='True')">
							<Object Type="Control" SubType="Link" Name="CreateRSG" Position="Below" Text="回復用ストレージ グループの作成" NextStep="SelectOSGStep"/>
						</Object>
						<Object Type="If" Name="ManageRSGCondition" Key1="'%RSGExist%'='True'">
							<Object Type="Control" SubType="Link" Name="MountRSGDatabase" Position="Below" Text="回復用ストレージ グループ内のデータベースのマウントまたはマウント解除" NextStep="MountDismountDatabaseStep"/>
							<Object Type="Control" SubType="Link" Name="RemoveRSG" Position="Below" Text="回復用ストレージ グループの削除" NextStep="RemoveRSGStep"/>
							<Object Type="Control" SubType="Link" Name="MergeMailbox" Position="Below" Text="メールボックス内容の結合またはコピー" NextStep="SelectDatabaseForMergeStep"/>
							<Object Type="Control" SubType="Link" Name="SetDatabaseFlag" Position="Below" Text="'復元時はこのデータベースを上書きする' フラグの設定" NextStep="SetDatabaseFlagStep"/>
						</Object>
					</Object>
				</Object>

				<Object Type="Control" SubType="Label" Name="ExitLabel" Position="Below" FontStyle="Bold" Width="FullWidth" LineSpace="2" Text="結果の表示"/>
				<Object Type="Control" SubType="Label" Name="ExitLabel1" Position="Below" Width="FullWidth" LineSpace="0" Text="実行したすべてのタスクの最終結果を表示します。"/>

				<Object Type="Control" SubType="Link" Name="Next" Position="LeftBelow" Text="結果ページに移動する"/>
			</Object>
		</Object>
	</Object>

	<Object Type="Step" Name="SelectSGStep" Title="ストレージ グループの選択" Display="Left">
		<Object Type="Panel">
			<Object Type="Variable" Name="GetVariable" Key1="Scalar" Display="Hide">
				<Setting Key1="%SG%" Substitution="InputSG" Display="Hide"/>
				<Setting Key1="%Server%" Substitution="Server" Display="Hide"/>
				<Setting Key1="%INFO[AllSGs]%" Substitution="AllSGs" Display="Hide"/>
				<Setting Key1="%Clustered%" Substitution="Clustered" Display="Hide"/>
				<Object Type="Control" SubType="Title" Name="Title" Position="Top" Text="Exchange Server のストレージ グループの選択"/>
				<Object Type="Control" SubType="Label" Name="Server" Position="Below" Text="サーバー名: %Server%"/>

				<Object Type="Control" SubType="ListBox" Name="ListBox" Position="Below" Width="450" Text="使用可能なストレージ グループ" Default="%AllSGs%">
					<Setting Key1="SelectedSG">
						<Rule Name="szSG" Query="if(not ($.=''),string($.),(if(not ('@S0'=''),string(@S0))))" S0="%InputSG%" Text="選択されたストレージ グループは {1} です。" P1="$.">
							<Variable Name="SelectedSG" Scope="Local"/>
						</Rule>
						<Rule Name="szStepId" Query="get-stepid()"/>
					</Setting>
				</Object>

				<Object Type="Control" SubType="Link" Name="Previous" LineSpace="2" Position="Below" Text="前へ"/>
				<Object Type="Control" SubType="Link" Name="Next" Position="NextTo" Percent="30" Text="次へ">
					<Rule Name="fDispatchToSelectDB" Query="$szSG" NextStep="SelectDBStep"/>
				</Object>
			</Object>
		</Object>
	</Object>

	<Object Type="Step" Name="SelectDBStep" Title="データベースの選択" Display="Hide">
		<Object Type="Panel">
			<Object Type="Variable" Key1="Scalar" Display="Hide">
				<Setting Key1="%Mode%" Substitution="InputMode" Display="Hide"/>
				<Setting Key1="%DB%" Substitution="InputDB" Display="Hide"/>
				<Setting Key1="%Server%" Substitution="Server" Display="Hide"/>
				<Setting Key1="%SelectedSG%" Substitution="SelectedSG" Display="Hide"/>
				<Setting Key1="%INFO[%SelectedSG%][DBMountCount]%" Substitution="MountCount" Display="Hide"/>
				<Setting Key1="%INFO[%SelectedSG%][MOUNTED]%" Substitution="Mounted" Display="Hide"/>
				<Setting Key1="%INFO[%SelectedSG%][DBUnMountCount]%" Substitution="UnmountCount" Display="Hide"/>
				<Setting Key1="%INFO[%SelectedSG%][SelectableDBs]%" Substitution="Selectable" Display="Hide"/>
				<Setting Key1="%IsSymptom%" Substitution="IsSymptom" Display="Hide"/>
				<Setting Key1="%EventDisplayStepID%" Substitution="EventDisplayStepID" Display="Hide"/>
				<Object Type="Control" SubType="Title" Name="Title" Position="Top" Text="次のマウント解除したデータベースの一覧から Exchange Server データベースを選択します"/>
				<Object Type="Control" SubType="Label" Name="Server" Position="Below" Text="サーバー名: %Server%"/>
				<Object Type="Control" SubType="Label" Name="SG" Position="Below" LineSpace="0" Text="選択したストレージ グループ: %SelectedSG%"/>

				<Object Type="If" Name="Dismounted" Key1="%UnmountCount% &gt;0">
					<Object Type="Control" SubType="Label" Name="Dismounted" Position="Below" Text="これらのデータベースはマウントを解除されているため選択できます。"/>
					<Object Type="Control" SubType="Label" Name="InvalidSelection" Position="NextTo" Percent="50" ForeColor="Red" Text="次の中から 1 つ以上のデータベースを選択してください。" Flags="Visible=False"/>
					<Object Type="Control" SubType="ListView" Name="DismountedListView" Position="LeftBelow" Text="使用可能なデータベースの一覧" Height="150" Width="600" Title="使用可能なデータベース" SelectionMode="True" Flags="DefaultSelection=True" Default="%Selectable%">
						<Setting Key1="Pack">
							<Rule Name="fDBEmpty" Query="$.=''" Text="分析で使用できるデータベースがありません。"/>
							<Rule Name="szDB" Query="if(not ($.=''),string($.),(if(not ('@S0'=''),string(@S0))))" S0="%InputDB%">
								<Variable Name="SelectedDB" Scope="Local"/>
							</Rule>
						</Setting>
					</Object>
				</Object>

				<Object Type="If" Name="Mounted" Key1="%MountCount% &gt;0">
					<Object Type="Control" SubType="Label" Name="Mounted" Position="Below" Text="これらのデータベースはマウントされているため選択できません。分析できるのはマウント解除されたデータベースのみです。"/>
					<Object Type="Control" SubType="ListBox" Name="MountedListBox" Position="Below" Width="300" Default="%Mounted%" SelectionMode="None"/>
				</Object>

				<Object Type="If" Name="MultipleDismounted" Key1="%UnmountCount% &gt;0">
					<Object Type="Control" SubType="Link" Name="Previous" Position="Below" LineSpace="2" Text="前へ"/>
					<Object Type="Control" SubType="Link" Name="Next" Position="NextTo" Percent="30" Text="選択されたデータベースの分析" NextStep="ProcessSelectedDBsStep">
						<Rule Query="''">
							<Variable Name="SelectedDBForDisplay" Scope="Children"/>
						</Rule>
						<Rule Query="(@S0=1) and not ($szDB='')" S0="%InputMode%" NextStep="ProcessSelectedDBsStep"/>
						<Event Type="Click">
							<Action Type="Proceed" Query="control-value('DismountedListView') !=''"/>
							<Action Type="Visible" ControlName="InvalidSelection" Query="control-value('DismountedListView') =''"/>
						</Event>
					</Object>
				</Object>
				<Object Type="If" Name="NODBCase" Key1="%UnmountCount%=0 and %MountCount%=0">
					<Object Type="Control" SubType="Label" Name="NoDBLabel" Position="LeftBelow" Text="ストレージ グループにデータベースがありません"/>
				</Object>
				<Object Type="If" Name="NoUnMountedSpacelabel" Key1="%UnmountCount%=0">
					<Object Type="Control" SubType="Link" Name="Previous" Position="Below" LineSpace="2" Text="前へ"/>
					<Object Type="If" Name="IsNotSymptom" Key1="'%IsSymptom%'='0'">
						<Object Type="Control" SubType="Link" Name="TaskCenter" Position="NextTo" Percent="30" Text="タスク センターに戻る" NextStep="GetDBInfoFromADStep"/>
					</Object>
					<Object Type="If" Name="IsSymptom" Key1="'%IsSymptom%'='1'">
						<Object Type="Control" SubType="Link" Name="Goto" Position="NextTo" Percent="30" Text="イベント表示ページに戻る" NextStep="%EventDisplayStepID%"/>
					</Object>
				</Object>
			</Object>
		</Object>
	</Object>
	<Object Type="Step" Name="ProcessOneDBStep" Title="データベースの処理" Display="Hide">
		<Object Type="Action">
			<Object Type="Variable" Key1="Scalar" Display="Hide">
				<Setting Key1="%INFO[%SelectedSG%][%SelectedDB%][DATA]%" Substitution="DBData" Display="Hide"/>
				<Object Type="Group" Name="ProcessDBName">
					<Rule Name="szDBINFO" Query="@S0" S0="%DBData%"/>
					<Rule Name="szServer" Query="unpack($szDBINFO, 0)"/>
					<Rule Name="szDBPath" Query="unpack($szDBINFO, 3)"/>
					<Rule Name="szDBPath1" Query="replace($szDBPath, ':', '$')"/>
					<Rule Name="szDBPath2" Query="concat('\\',$szServer,'\',$szDBPath1)">
						<Variable Name="DBPath" Scope="Children"/>
					</Rule>
					<Rule Name="szLogPath" Query="unpack($szDBINFO, 4)"/>
					<Rule Name="szLogPath1" Query="replace($szLogPath, ':', '$')"/>
					<Rule Name="szLogPath2" Query="concat('\\',$szServer,'\',$szLogPath1)">
						<Variable Name="LogPath" Scope="Children"/>
					</Rule>
					<Rule Name="szLogPrefix" Query="unpack($szDBINFO, 5)">
						<Variable Name="LogPrefix" Scope="Children"/>
					</Rule>
					<Rule Name="szSLVPath" Query="unpack($szDBINFO, 6)"/>
					<Rule Name="szSLVPath1" Query="replace($szSLVPath,':', '$')"/>
					<Rule Name="szSLVPath2" Query="concat('\\',$szServer,'\',$szSLVPath1)">
						<Variable Name="SLVPath" Scope="Children"/>
					</Rule>
					<Rule Name="fDispatchToDBAnalysisStepFromProcDBName" NextStep="DBAnalysisStep"/>
				</Object>
			</Object>
		</Object>
	</Object>
	<Object Type="Step" Name="ProcessSelectedDBsStep" Title="選択されたデータベースの処理" Display="Hide">
		<Object Type="Action">
			<Object Type="If" Key1="true()" Display="HideAll">
				<Setting Key1="'1'" SQM="97;Set"/>
			</Object>
			<Object Type="Variable" Key1="Scalar" Display="Hide">
				<Setting Key1="%SelectedDB%" Substitution="SelectedDBList" Display="Hide"/>
				<Object Type="Group" Name="Process Databases">
					<Rule Name="fDisplayDetailInfo" Query="count($szSaveSelectedDBName) &gt; 1" Priority="99" NextStep="DetailDBInfoStep"/>
					<Rule Name="fGoBacktoTaskCenterPage" Query="count($szSaveSelectedDBName) &gt; 0" Priority="100" NextStep="DisplayAnalysisResultsStep"/>
					<Rule Name="szStepNodeID" Query="get-stepid()"/>
					<Rule Name="szStepID" Query="concat($szStepNodeID,'.')">
						<Variable Name="StepID" Scope="Children"/>
					</Rule>
					<Object Type="Variable" Name="Selected DBs" Key1="Unpack" Key2="%SelectedDBList%">
						<Setting Key1="__VALUE">
							<Rule Name="szSelectedDBName" Query="$." Priority="1" NextStep="ProcessOneDBStep">
								<Rule Name="szSaveSelectedDBName" Query="$szSelectedDBName">
									<Variable Name="SelectedDB"/>
								</Rule>
								<Rule Name="szDBNameWithSpaces" Query="concat($szSelectedDBName, '                              ')"/>
								<Rule Name="szDBName30" Query="substring($szDBNameWithSpaces, 0, 30)"/>
								<Rule Name="szDBNameForGlobalCache" Query="concat($szDBName30, '     ')">
									<Variable Name="SelectedDBForDisplay"/>
								</Rule>
							</Rule>
						</Setting>
					</Object>
				</Object>
			</Object>
		</Object>
	</Object>
	<Object Type="Step" Name="DetailDBInfoStep" Title="詳細なデータベースの情報の表示" Display="Left">
		<Object Type="Panel">
			<Object Type="Variable" Key1="Scalar" Display="Hide">
				<Setting Key1="%INFO[GlobalDBSignature]%" Substitution="GlobalDBSignature" Display="Hide"/>
				<Setting Key1="%INFO[GlobalLogSignature]%" Substitution="GlobalLogSignature" Display="Hide"/>
				<Setting Key1="%INFO[GlobalDBStatus]%" Substitution="GlobalDBStatus" Display="Hide"/>
				<Setting Key1="%INFO[GlobalMinLogRequired]%" Substitution="GlobalMinLogRequired" Display="Hide"/>
				<Setting Key1="%INFO[GlobalMaxLogRequired]%" Substitution="GlobalMaxLogRequired" Display="Hide"/>
				<Setting Key1="%INFO[GlobalRepairCount]%" Substitution="GlobalRepairCount" Display="Hide"/>
				<Setting Key1="%INFO[GlobalLogTimeRepair]%" Substitution="GlobalLogTimeRepair" Display="Hide"/>
				<Setting Key1="%INFO[GlobalLogTimeAttach]%" Substitution="GlobalLogTimeAttach" Display="Hide"/>
				<Setting Key1="%INFO[GlobalLogTimeDetach]%" Substitution="GlobalLogTimeDetach" Display="Hide"/>
				<Setting Key1="%INFO[GlobalLogTimeConsistent]%" Substitution="GlobalLogTimeConsistent" Display="Hide"/>
				<Setting Key1="%INFO[GlobalLastConsistentGenerationNumber]%" Substitution="GlobalLastConsistentGenerationNumber" Display="Hide"/>
				<Setting Key1="%INFO[GlobalUpdateAndVersion]%" Substitution="GlobalUpdateAndVersion" Display="Hide"/>
				<Setting Key1="%INFO[GlobalBKInfoFullPrev]%" Substitution="GlobalBKInfoFullPrev" Display="Hide"/>
				<Setting Key1="%INFO[GlobalBKInfoIncPrev]%" Substitution="GlobalBKInfoIncPrev" Display="Hide"/>
				<Setting Key1="%INFO[GlobalBKInfoFullCur]%" Substitution="GlobalBKInfoFullCur" Display="Hide"/>
				<Setting Key1="%INFO[GlobalMissingRequiredLogFiles]%" Substitution="GlobalMissingRequiredLogFiles" Display="Hide"/>
				<Setting Key1="%INFO[GlobalMissingOptionalLogFiles]%" Substitution="GlobalMissingOptionalLogFiles" Display="Hide"/>
				<Object Type="Control" SubType="Title" Name="Title" Position="Top" Text="概要結果の表示"/>
				<Object Type="RichTextBox" Name="DetailDBRichTextBox" Position="Below" LineSpace="2" Height="450" Width="FullWidth" FontFamily="Courier New" Display="Hide">
					<Setting Text="ファイル ヘッダーの概要" Key2="Font=Title"/>
					<Setting Key2="Type=NewLine" Key3="1"/>
					<Setting Text="このページには、選択されたストレージ グループ内の使用可能なすべてのデータベースに対する分析結果が表示されます。"/>
					<Setting Key2="Type=NewLine" Key3="2"/>
					<Setting Text="データベースの署名:" Key2="FontStyle=Bold"/>
					<Setting Text="{1}" S1="%GlobalDBSignature%" Key2="Type=List" Key3="3"/>
					<Setting Key2="Type=NewLine" Key3="4"/>
					<Setting Text="ログの署名:" Key2="FontStyle=Bold"/>
					<Setting Text="{1}" S1="%GlobalLogSignature%" Key2="Type=List" Key3="5"/>
					<Setting Key2="Type=NewLine" Key3="6"/>
					<Setting Text="データベースの状態:" Key2="FontStyle=Bold"/>
					<Setting Text="{1}" S1="%GlobalDBStatus%" Key2="Type=List" Key3="7"/>
					<Setting Key2="Type=NewLine" Key3="8"/>
					<Setting Text="必要な最小ログ:" Key2="FontStyle=Bold"/>
					<Setting Text="{1}" S1="%GlobalMinLogRequired%" Key2="Type=List" Key3="9"/>
					<Setting Key2="Type=NewLine" Key3="10"/>
					<Setting Text="必要な最大ログ:" Key2="FontStyle=Bold"/>
					<Setting Text="{1}" S1="%GlobalMaxLogRequired%" Key2="Type=List" Key3="11"/>
					<Setting Key2="Type=NewLine" Key3="12"/>
					<Setting Text="修復カウント:" Key2="FontStyle=Bold"/>
					<Setting Text="{1}" S1="%GlobalRepairCount%" Key2="Type=List" Key3="13"/>
					<Setting Key2="Type=NewLine" Key3="14"/>
					<Setting Text="修復日:" Key2="FontStyle=Bold"/>
					<Setting Text="{1}" S1="%GlobalLogTimeRepair%" Key2="Type=List" Key3="15"/>
					<Setting Key2="Type=NewLine" Key3="16"/>
					<Setting Text="最終アタッチ:" Key2="FontStyle=Bold"/>
					<Setting Text="{1}" S1="%GlobalLogTimeAttach%" Key2="Type=List" Key3="17"/>
					<Setting Key2="Type=NewLine" Key3="18"/>
					<Setting Text="最終デタッチ:" Key2="FontStyle=Bold"/>
					<Setting Text="{1}" S1="%GlobalLogTimeDetach%" Key2="Type=List" Key3="19"/>
					<Setting Key2="Type=NewLine" Key3="20"/>
					<Setting Text="最後の整合:" Key2="FontStyle=Bold"/>
					<Setting Text="{1}" S1="%GlobalLogTimeConsistent%" Key2="Type=List" Key3="21"/>
					<Setting Key2="Type=NewLine" Key3="22"/>
					<Setting Text="最後の整合世代番号:" Key2="FontStyle=Bold"/>
					<Setting Text="{1}" S1="%GlobalLastConsistentGenerationNumber%" Key2="Type=List" Key3="23"/>
					<Setting Key2="Type=NewLine" Key3="24"/>
					<Setting Text="更新とバージョン番号:" Key2="FontStyle=Bold"/>
					<Setting Text="{1}" S1="%GlobalUpdateAndVersion%" Key2="Type=List" Key3="25"/>
					<Setting Key2="Type=NewLine" Key3="26"/>
					<Setting Text="以前の完全バックアップの情報:" Key2="FontStyle=Bold"/>
					<Setting Text="{1}" S1="%GlobalBKInfoFullPrev%" Key2="Type=List" Key3="27"/>
					<Setting Key2="Type=NewLine" Key3="28"/>
					<Setting Text="以前の増分バックアップの情報:" Key2="FontStyle=Bold"/>
					<Setting Text="{1}" S1="%GlobalBKInfoIncPrev%" Key2="Type=List" Key3="29"/>
					<Setting Key2="Type=NewLine" Key3="30"/>
					<Setting Text="現在の完全バックアップの情報:" Key2="FontStyle=Bold"/>
					<Setting Text="{1}" S1="%GlobalBKInfoFullCur%" Key2="Type=List" Key3="31"/>
					<Setting Key2="Type=NewLine" Key3="32"/>
					<Setting Text="見つからないまたは一致しないログ ファイル:" Key2="FontStyle=Bold"/>
					<Setting Text="{1}" S1="%GlobalMissingRequiredLogFiles%" Key2="Type=List" Key3="33"/>
					<Setting Key2="Type=NewLine" Key3="34"/>
					<Setting Text="見つからないまたは一致しないオプションのログ ファイル:" Key2="FontStyle=Bold"/>
					<Setting Text="{1}" S1="%GlobalMissingOptionalLogFiles%" Key2="Type=List" Key3="35"/>
				</Object>
				<Object Type="Control" SubType="Button" Name="Copy" Position="LeftBelow" Width="100" Text="コピー">
					<Event Type="Click">
						<Action Type="ExecuteQuery" ControlName="DetailDBRichTextBox" Query="ActionHandler('DetailDBRichTextBox', 'Copy')"/>
					</Event>
				</Object>
				<Object Type="Control" SubType="Button" Name="Print" Position="NextTo" Width="100" Text="印刷">
					<Event Type="Click">
						<Action Type="ExecuteQuery" ControlName="DetailDBRichTextBox" Query="ActionHandler('DetailDBRichTextBox', 'Print')"/>
					</Event>
				</Object>
				<Object Type="Control" SubType="Button" Name="Save" Position="NextTo" Width="100" Text="保存">
					<Event Type="Click">
						<Action Type="ExecuteQuery" ControlName="DetailDBRichTextBox" Query="ActionHandler('DetailDBRichTextBox', 'Save')"/>
					</Event>
				</Object>
				<Object Type="Control" SubType="Button" Name="SelectAll" Position="NextTo" Width="100" Text="すべて選択">
					<Event Type="Click">
						<Action Type="ExecuteQuery" ControlName="DetailDBRichTextBox" Query="ActionHandler('DetailDBRichTextBox', 'SelectAll')"/>
					</Event>
				</Object>

				<Object Type="Control" SubType="Link" Name="Previous" Position="LeftBelow" LineSpace="2" Text="前へ"/>
				<Object Type="Control" SubType="Link" Name="Next" Position="NextTo" Percent="30" Text="次へ"/>
			</Object>
		</Object>
	</Object>
	<Object Type="Step" Name="DisplayAnalysisResultsStep" Title="データベースの分析結果の表示" Display="Left">
		<Object Type="Variable" Name="Prepare Variables" Key1="Scalar" Display="Hide">
			<Setting Key1="%StepID%" Substitution="StepID" Display="Hide"/>
			<Setting Key1="%Server%" Substitution="Server" Display="Hide"/>
			<Setting Key1="%SelectedSG%" Substitution="SGName" Display="Hide"/>
			<Setting Key1="%IsSymptom%" Substitution="IsSymptom" Display="Hide"/>
			<Setting Key1="%EventDisplayStepID%" Substitution="EventDisplayStepID"/>
			<Object Type="Panel">
				<Object Type="Control" SubType="Title" Name="Title" Position="Top" Text="データベースの分析結果の表示"/>
				<Object Type="Control" SubType="Label" Name="Label1" Position="Below" LineSpace="2" Text="サーバー名: %Server%"/>
				<Object Type="Control" SubType="Label" Name="Label2" Position="Below" LineSpace="0" Text="ストレージ グループ名: %SGName%"/>

				<Object Type="Control" SubType="Reports" Name="InterimReports" Position="LeftBelow" Width="FullWidth" Height="400">
					<Report Title="エラー" Query="//Object[@Type='Step' and starts-with(@StepNodeID, '%StepID%') and not(@StepStatus='Deactivated')]/*//Message[@Error='Error']"/>
					<Report Title="警告" Query="//Object[@Type='Step' and starts-with(@StepNodeID, '%StepID%') and not(@StepStatus='Deactivated')]/*//Message[@Error='Warning']"/>
					<Report Title="情報" Query="//Object[@Type='Step' and starts-with(@StepNodeID, '%StepID%') and not(@StepStatus='Deactivated')]/*//Message[@Error='Information' or @Error='None']"/>
				</Object>

				<Object Type="If" Name="IsNotSymptom" Key1="'%IsSymptom%'='0'">
					<Object Type="Control" SubType="Link" Name="TaskCenter" Position="Below" LineSpace="2" Text="タスク センターに戻る" NextStep="GetDBInfoFromADStep"/>
				</Object>
				<Object Type="If" Name="IsSymptom" Key1="'%IsSymptom%'='1'">
					<Object Type="Control" SubType="Link" Name="Goto" Position="Below" LineSpace="2" Text="イベント表示ページに戻る" NextStep="%EventDisplayStepID%"/>
				</Object>
			</Object>
		</Object>
	</Object>

	<Object Type="Step" Name="SelectEventViewOptionStep" Title="イベント表示のオプションの選択" Display="Left">
		<Object Type="Panel">
			<Object Type="Variable" Name="Select Hour" Key1="Scalar" Display="Hide">
				<Setting Key1="%ServerName%" Substitution="EXSERVER" Display="Hide"/>
				<Setting Key1="%Server%" Substitution="Server" Display="Hide"/>
				<Object Type="Control" SubType="Title" Name="Title" Position="Top" Text="イベント表示オプションの選択"/>
				<Object Type="Control" SubType="Label" Name="Label" Position="Below" Text="サーバー名: %Server%"/>

				<Object Type="Control" SubType="Label" Name="TimeLabel" Position="Below" LineSpace="2" Text="表示するデータベース イベントの時間数を入力してください (すべての場合は 0 を入力): "/>
				<!-- Limit up to one year -->
				<Object Type="Control" SubType="NumericInput" Name="InputHour" Position="NextTo" Width="75" MinValue="0" MaxValue="2147483647" Default="2">
					<Setting Key1="Value" Substitution="InputHour">
						<Rule Name="dHour" Query="$.">
							<Variable Name="INFO[FilterHour]" Scope="Children"/>
						</Rule>
						<Rule Name="szLocalTime" Query="'01/01/2000 00:00:00'">
							<Variable Name="INFO[LocalTime]" Scope="Children"/>
						</Rule>
					</Setting>
				</Object>
			</Object>
			<Object Type="Control" SubType="Link" Name="Previous" LineSpace="2" Position="LeftBelow" Text="前へ"/>
			<Object Type="Control" SubType="Link" Name="Next" Position="NextTo" Percent="30" Text="イベント ログ エントリの取得" NextStep="CalculateTimeFilterStep"/>
		</Object>
	</Object>

	<Object Type="Step" Name="CalculateTimeFilterStep" Title="時間計算フィルタ" Display="Hide">
		<Object Type="Action">
			<Object Type="Variable" Name="Get Variable" Key1="Scalar" Display="Hide">
				<Setting Key1="%INFO[FilterHour]%" Substitution="InputHour" Display="Hide"/>
				<Setting Key1="%ServerName%" Substitution="EXSERVER" Display="Hide"/>
				<Object Type="If" Name="WMICall" Key1="not (%InputHour%=0)">
					<Object Type="WMI" Key1="%EXSERVER%" Key2="root\cimv2" Key3="Win32_OperatingSystem" SecurityContext="EXLOGON">
						<Rule Name="fException" Query="count(../Exception)" Title="リモート時間へのアクセス中にエラーが発生しました" Text="リモート サーバー %Server% 上の現地時刻を取得できませんでした。例外メッセージ: {1}" P1="../Exception/@Message" Error="Error"/>
						<Setting Key1="LocalDateTime" Format="CIMDateTime">
							<Rule Name="dNewTime" Query="$.">
								<Variable Name="INFO[LocalTime]" Scope="Children"/>
							</Rule>
						</Setting>
					</Object>
				</Object>
			</Object>
			<Rule Name="fDispatch" Query="true()" NextStep="PrepareEventLogStep"/>
		</Object>
	</Object>
	<Object Type="Step" Name="PrepareEventLogStep" Title="データベース関連のイベント ログの収集" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%Server%" Substitution="Server" Display="Hide"/>
			<Setting Key1="%ServerName%" Substitution="EXSERVER" Display="Hide"/>
			<Setting Key1="%INFO[FilterHour]%" Substitution="InputHour" Display="Hide"/>
			<Setting Key1="%INFO[LocalTime]%" Substitution="LocalTime" Display="Hide"/>
			<Object Type="Progress" Title="データベース関連のイベント ログの収集" Text="%Server% からデータベース関連のイベント ログ エントリを収集しています。しばらくお待ちください。">
				<Object Type="If" Name="Gather database event logs" Key1="true()" SecurityContext="EXLOGON">
					<Setting Key1="date-add('%LocalTime%', get-timespan(-(%InputHour% * 3600)))" Substitution="TimeFilter" SubstitutionFormat="(\d{2})/(\d{2})/(\d{4}).(\d{2}):(\d{2}):(\d{2})----$3$1$2$4$5$6.000000+000" Display="Hide"/>
					<Object Type="WMI" Key1="%EXSERVER%" Key2="root\cimv2" Key3="Win32_NTLogEvent" Key4="(SourceName = 'ESE' OR SourceName = 'ESE BACKUP' OR SourceName = 'MsExchangeIS') AND LogFile = 'Application' AND TimeWritten &gt; '%TimeFilter%'" Sort="TimeWritten DESC" TrackProgress="TrackProgress">
						<Rule Name="szException" Query="../Exception" Title="イベント ログへのアクセス中にエラーが発生しました" Text="{2} のデータベース イベント ログを取得できませんでした。例外メッセージ: {1}" P1="../Exception/@Message" S2="%Server%" Error="Error"/>
						<Setting Key1="CategoryString" Format="([\r\n])----" Substitution="Category">
							<Rule Name="szCategory" Query="pack($.)"/>
						</Setting>
						<Setting Key1="Type" Substitution="Type">
							<Rule Name="szType" Query="pack($.)"/>
						</Setting>
						<Setting Key1="EventCode" Substitution="EventID">
							<Rule Name="szEventID" Query="pack($.)"/>
						</Setting>
						<Setting Key1="SourceName" Substitution="SourceName">
							<Rule Name="szSourceName" Query="pack($.)"/>
						</Setting>
						<Setting Key1="TimeWritten" Format="(\d{4})(\d{2})(\d{2})(\d{2})(\d{2})(\d{2})\.\d{6}([\+|\-])(\d{3})----$1/$2/$3 $4:$5:$6 GMT $7 $8" Substitution="Time">
							<Rule Name="szTime" Query="pack($.)"/>
						</Setting>
						<Setting Key1="ComputerName"/>
						<Setting Key1="Message" Format="([\r\n])---- " Substitution="Message">
							<Rule Name="szMessage" Query="pack($.)"/>
							<Rule Name="szMessageEntry" Query="not ($szException)" Title="{1}" Text="時刻: {2}、種類: {3}、カテゴリ: {4}、SourceName: {5}、EventID: {6}" S1="%Message%" S2="%Time%" S3="%Type%" S4="%Category%" S5="%SourceName%" S6="%EventID%"/>
							<Rule Name="szEntry" Query="pack(concat($szTime, $szType, $szEventID, $szMessage))"/>
						</Setting>
					</Object>
					<Rule Name="szAllEntries" Query="join('', $szEntry)">
						<Variable Name="INFO[EventLogs]" Scope="Children"/>
					</Rule>
					<Rule Name="iAllEntries" Query="count($szEntry)" AlwaysEvaluate="True">
						<Variable Name="INFO[EventCount]" Scope="Children"/>
					</Rule>
					<Rule Name="fDispatch" Query="true()" NextStep="ShowEventLogStep">
						<Rule Name="PreviousStepName" Query="'PrepareEventLogStep'">
							<Variable Name="PreviousStepName" Scope="Children"/>
						</Rule>
					</Rule>
				</Object>
			</Object>
		</Object>
	</Object>
	<Object Type="Step" Name="ShowEventLogStep" Title="イベント ログの表示" Display="Hide">
		<Object Type="Panel">
			<Object Type="Variable" Name="Display event logs" Key1="Scalar" Display="Hide">
				<Setting Key1="%PreviousStepName%" Substitution="PreviousStepName" Display="Hide"/>
				<Setting Key1="%Server%" Substitution="Server" Display="Hide"/>
				<Setting Key1="%INFO[EventLogs]%" Substitution="Logs" Display="Hide"/>
				<Setting Key1="%INFO[EventCount]%" Substitution="Count" Display="Hide"/>
				<Object Type="Control" SubType="Title" Name="Title" Position="Top" Text="データベース関連のイベント ログの表示"/>
				<Object Type="Control" SubType="Label" Name="Label" Position="Below" Text="サーバー名: %Server%"/>

				<Object Type="If" Name="ZeroEntry" Key1="%Count%=0">
					<Object Type="Control" SubType="Label" Name="ZeroEntry" Position="Below" LineSpace="2" Text="指定された時間範囲では、データベース関連のイベントは見つかりませんでした。"/>
				</Object>
				<Object Type="If" Name="MoreEntries" Key1="not (%Count%=0)">
					<Object Type="Control" SubType="ListViewWithPreview" Name="EventLogs" Position="Below" Height="450" Width="FullWidth" Title="時間、種類、EventID、メッセージ" ColumnWidth="15,8,5,72" SelectionMode="False" Default="%Logs%"/>
				</Object>

			</Object>
			<Object Type="Control" SubType="Link" Name="Next" Position="LeftBelow" Percent="30" Text="タスク センターに戻る" NextStep="TaskCenterStep"/>
		</Object>
	</Object>

	<Object Type="Step" Name="PrepareLogDriveAnalysisStep" Title="すべてのストレージ グループのログ情報の取得" Display="Hide">
		<Object Type="Action">
			<Object Type="If" Key1="true()" Display="HideAll">
				<Setting Key1="'1'" SQM="98;Set"/>
			</Object>
			<Object Type="Variable" Key1="Scalar" Display="Hide">
				<Setting Key1="%IsSymptom%" Substitution="IsSymptom" Display="Hide"/>
				<Setting Key1="%SelectedSG%" Substitution="SelectedSG" Display="Hide"/>
				<Setting Key1="%Server%" Substitution="Server" Display="Hide"/>
				<Setting Key1="%ServerName%" Substitution="EXSERVER" Display="Hide"/>
				<Setting Key1="%INFO[AllSGs]%" Substitution="AllSGs" Display="Hide"/>
				<Setting Key1="%IsE12%" Substitution="IsE12" Display="Hide"/>

				<Object Type="If" Key1="true()" Name="Parameters">
					<Setting Key1="if('%IsSymptom%'='0', '%AllSGs%', pack('%SelectedSG%'))" Substitution="SGList"/>
					<Object Type="Variable" Name="AllSGs" Key1="Unpack" Key2="%SGList%">
						<Setting Key1="__VALUE" Substitution="SGName"/>
						<Object Type="Variable" Name="GetSGVariables" Key1="Scalar" Display="Hide">
							<Setting Key1="%INFO[%SGName%][DBUnMountCount]%" Substitution="Count" Display="Hide"/>
							<Setting Key1="%INFO[%SGName%][Selectable]%" Substitution="DBList" Display="Hide"/>
							<Setting Key1="%INFO[%SGName%][LogPath]%" Substitution="LogPath" Display="Hide"/>
							<Setting Key1="%INFO[%SGName%][RLogPath]%" Substitution="RLogPath" Display="Hide"/>
							<Setting Key1="%INFO[%SGName%][RSysPath]%" Substitution="RSysPath" Display="Hide"/>
							<Setting Key1="%INFO[%SGName%][BASENAME]%" Substitution="LogPrefix" Display="Hide"/>
							<Setting Key1="%INFO[%SGName%][LogFileSize]%" Substitution="LogFileSize" Display="Hide"/>
							<Setting Key1="%INFO[%SGName%][LongestDriveMatch]%" Substitution="LongestDriveMatch" Display="Hide"/>
							<Setting Key1="%DiskInfo[%INFO[%SGName%][LongestDriveMatch]%][FreeSpace]%" Substitution="FreeSpace" Display="Hide"/>
							<Object Type="If" Name="Analysis" Key1="%Count% &gt; 0">
								<Object Type="Variable" Name="GetDBInfo" Key1="Unpack" Key2="%DBList%">
									<Setting Key1="__VALUE" Substitution="DBName"/>
									<Object Type="Variable" Name="Database Information" Key1="Scalar" Display="Hide">
										<Setting Key1="%INFO[%SGName%][%DBName%][RMDBPATH]%" Substitution="MDBPATH" Display="Hide"/>
										<Object Type="EseInfo" Key2="%MDBPATH%" Key3="EXDRA" SecurityContext="EXLOGON" Display="Hide">
											<Rule Name="fErrorAccessDatabase" Query="../Exception/@Message" Text="データベース {0} へのアクセス中にエラーが発生しました。エラー メッセージは {1} です。" S0="%MDBPATH%" P1="../Exception/@Message" Error="Error"/>
											<Setting Key1="DBSignature"/>
											<Setting Key1="LogSignature" Substitution="LogSignature" SubstitutionFormat="$---- "/>
											<Setting Key1="DBState">
												<Rule Name="fDirtyShutdown" Query="$.=2"/>
											</Setting>
											<Setting Key1="MinLogRequired" Substitution="MinLogRequired">
												<Rule Name="iMin" Query="hex(replace($., '0x',''))" Text="データベース '{0}' で必要な最小のログ ファイルは {1} です。" S0="%DBName%" P1="$.">
													<Variable Name="INFO[%SGName%][%DBName%][MinLogRequired]" Scope="Children"/>
												</Rule>
											</Setting>
											<Setting Key1="MaxLogRequired" Substitution="MaxLogRequired">
												<Rule Name="iMax" Query="hex(replace($., '0x', ''))" Text="データベース '{0}' で必要な最大のログ ファイルは {1} です。" S0="%DBName%" P1="$.">
													<Variable Name="INFO[%SGName%][%DBName%][MaxLogRequired]" Scope="Children"/>
												</Rule>
											</Setting>
											<Setting Key1="BKInfoIncPrev"/>
											<Setting Key1="BKInfoIncPrev.GenLow">
												<Rule Name="iBKIncGenLow" Query="hex(replace($., '0x',''))">
													<Variable Name="INFO[%SGName%][%DBName%][BKIncGenLow]" Scope="Children"/>
												</Rule>
											</Setting>
										</Object>
									</Object>
								</Object>
								<Rule Name="fMinLogList" Query="join(',', $iMin)">
									<Variable Name="INFO[%SGName%][MinRequiredLogList]" Scope="Children"/>
								</Rule>
								<Rule Name="fMinGenLow" Query="join(',', $iBKIncGenLow)">
									<Variable Name="INFO[%SGName%][BKIncGenLowList]" Scope="Children"/>
								</Rule>
								<Rule Name="iCountBadDB" Query="count($fErrorAccessDatabase)">
									<Variable Name="INFO[%SGName%][BadDBCount]" Scope="Children"/>
								</Rule>
								<Rule Name="iCountDirtyDB" Query="count($fDirtyShutdown)">
									<Variable Name="INFO[%SGName%][DirtyDBCount]" Scope="Children"/>
								</Rule>
							</Object>
							<Object Type="If" Name="All DBs are mounted" Key1="%Count%=0">
								<Rule Name="iDefaultValue" Query="string('0')">
									<Variable Name="INFO[%SGName%][MinRequiredLogList]" Scope="Children"/>
									<Variable Name="INFO[%SGName%][BKIncGenLowList]" Scope="Children"/>
									<Variable Name="INFO[%SGName%][BadDBCount]" Scope="Children"/>
									<Variable Name="INFO[%SGName%][DirtyDBCount]" Scope="Children"/>
								</Rule>
							</Object>
							<Object Type="LogGenInfo" Name="LogGen" Key2="%RLogPath%" Key3="%LogPrefix%" Key4="%IsE12%" Key5="10" SecurityContext="EXLOGON">
								<Rule Name="fErrorAccessLogDir" Query="../Exception/@Message" Text="ログ パス {0} へのアクセス中にエラーが発生しました。エラー メッセージは {1} です。" S0="%LogPath%" P1="../Exception/@Message" Error="Error"/>
								<Setting Key1="LogGenRate">
									<Rule Name="iLogGenRate" Query="roundto(($.+0.5), 0)">
										<Variable Name="INFO[%SGName%][LogGenRate]" Scope="Children"/>
									</Rule>
									<Rule Name="iLogSpaceAvailable" Query="if(not ($.=0), round(@S1 div (($iLogGenRate * @S2) div (1024*1024*1024))), 0)" S1="%FreeSpace%" S2="%LogFileSize%">
										<Variable Name="INFO[%SGName%][AvailLogSpace]" Scope="Children"/>
									</Rule>
								</Setting>

								<Setting Key1="LowestLogNumber">
									<Rule Name="iLowestLogNumber" Query="$.">
										<Variable Name="INFO[%SGName%][LowestLogNumber]" Scope="Children"/>
									</Rule>
								</Setting>

								<Setting Key1="HighestLogNumber">
									<Rule Name="iHighestLogNumber" Query="$.">
										<Variable Name="INFO[%SGName%][HighestLogNumber]" Scope="Children"/>
									</Rule>
									<Rule Name="iDaysLeftForLogGen" Query="if(@S1=0,round((1048575 - $.) div $iLogGenRate),0)" S1="%IsE12%">
										<Variable Name="INFO[%SGName%][DaysLeftForLogGen]" Scope="Children"/>
									</Rule>
									<Rule Name="fHighLogGeneration" Query="@S1=0 and $.&gt;950000" S1="%IsE12%" Error="Warning" Sev="1" Title="ログ生成に関する警告" Text="サーバー {2} 上のストレージ グループ '{3}' に対する現在のトランザクション ログ生成が最大値に近づいています。データベースの停止を確実に防ぐための操作が必要です。" S2="%EXSERVER%" S3="%SGName%" GUID="fbf10107-5e0c-4c64-a99e-730370a49147" EventID="1236"/>
									<Rule Name="fHighLogGenerationCritical" Query="@S1=0 and $.&gt;1020000" S1="%IsE12%" Error="Error" Sev="1" Title="ログ生成に重大な問題があります" Text="サーバー {2} 上のストレージ グループ '{3}' に対する現在のトランザクション ログ生成が最大値に近づいています。データベースの停止を確実に防ぐための操作が必要です。" S2="%EXSERVER%" S3="%SGName%" GUID="fbf10107-5e0c-4c64-a99e-730370a49147" EventID="2322"/>
								</Setting>

								<Setting Key1="LogFileList" Substitution="LogFileList">
									<Rule Name="szLogFileList" Query="$.">
										<Variable Name="INFO[%SGName%][LogFileList]" Scope="Children"/>
									</Rule>
								</Setting>
								<Setting Key1="TotalNumberOfLogs">
									<Rule Name="iTotalNumberOfLogs" Query="$.">
										<Variable Name="INFO[%SGName%][TotalLogNumber]" Scope="Children"/>
									</Rule>
									<Rule Name="iTotalLogSize" Query="roundto((($. * @S1) div (1024*1024*1024)), 3)" S1="%LogFileSize%">
										<Variable Name="INFO[%SGName%][TotalLogSize]" Scope="Children"/>
									</Rule>
								</Setting>
							</Object>
							<Object Type="CheckPointInfo" Name="CheckpointInfo" Key2="%RSysPath%\%LogPrefix%.chk" SecurityContext="EXLOGON">
								<Rule Name="fErrorAccessCheckPointFile" Query="../Exception/@Message" Title="チェックポイント ファイルへのアクセス中にエラーが発生しました" Text="チェックポイント ファイル ({0}\{1}.chk) へのアクセス中にエラーが発生しました。エラー メッセージは {2} です。" S0="%RSysPath%" S1="%LogPrefix%" P2="../Exception/@Message" Error="Warning"/>
								<Setting Key1="CheckSum"/>
								<Setting Key1="LogSignature"/>
								<Setting Key1="CheckPoint.LGeneration">
									<Rule Name="iCheckPointGen" Query="$.">
										<Variable Name="INFO[%SGName%][CheckPointGen]" Scope="Children"/>
									</Rule>
									<Rule Name="szCheckPointGenName" Query="if(not($.=0), create-logname(@S1, $., @S2))" S1="%LogPrefix%" S2="%IsE12%">
										<Variable Name="INFO[%SGName%][CheckPointGenName]" Scope="Children"/>
									</Rule>
								</Setting>
								<Setting Key1="IncBackup.LGeneration"/>
							</Object>
							<Rule Name="iErrorCheckPointFile" Query="if($fErrorAccessCheckPointFile, 1, 0)" AlwaysEvaluate="True">
								<Variable Name="INFO[%SGName%][BadCheckPointFile]" Scope="Children"/>
							</Rule>
							<Rule Name="iErrorLogPath" Query="if($fErrorAccessLogDir, 1, 0)" AlwaysEvaluate="True">
								<Variable Name="INFO[%SGName%][BadLogPath]" Scope="Children"/>
							</Rule>
						</Object>
						<Rule Name="fDispatch" Query="true()" NextStep="DisplayLogDriveAnalysisStep"/>
					</Object>
				</Object>
			</Object>
		</Object>
	</Object>

	<Object Type="Step" Name="DisplayLogDriveAnalysisStep" Title="ログのドライブ領域の分析結果の表示" Display="Left">
		<Object Type="Panel" Display="Hide">
			<Object Type="Variable" Name="Display Log Drive Analysis Results" Key1="Scalar" Display="Hide">
				<Setting Key1="%IsSymptom%" Substitution="IsSymptom" Display="Hide"/>
				<Setting Key1="%Server%" Substitution="Server" Display="Hide"/>
				<Setting Key1="%ServerName%" Substitution="EXSERVER" Display="Hide"/>
				<Setting Key1="%INFO[AllSGs]%" Substitution="AllSGs" Display="Hide"/>
				<Setting Key1="%Clustered%" Substitution="Clustered" Display="Hide"/>
				<Setting Key1="%IsE12%" Substitution="IsE12" Display="Hide"/>
				<Setting Key1="%SelectedSG%" Substitution="SelectedSG" Display="Hide"/>

				<Object Type="Control" SubType="Title" Name="Title" Position="Top" Text="Exchange トランザクション ログ ドライブの統計"/>
				<Object Type="Control" SubType="Label" Name="ServerName" Position="Below" LineSpace="2" Text="サーバー名: %EXSERVER%"/>

				<Object Type="Control" SubType="Label" Name="Label1" Position="Below" Text="Exchange に対応した '通常' および '増分' オンライン バックアップでは、余分なトランザクション ログ ファイルは自動的に削除されます。通常は、定期的なバックアップ周期に基づいてログ ディスク領域を管理してください。"/>
				<Object Type="Control" SubType="Label" Name="Label2" Position="Below" LineSpace="0" Text="ストレージ グループのバックアップ実行時にストレージ グループ内のいずれかのデータベースがオフラインであった場合は、トランザクション ログ ファイルの削除は遅延されます。トランザクション ログ ファイルを削除する前に、ストレージ グループ内のすべてのデータベースをバックアップする必要があります。"/>

				<Object Type="If" Key1="true()" Name="Parameters">
					<Setting Key1="if('%IsSymptom%'='0', '%AllSGs%', pack('%SelectedSG%'))" Substitution="SGList"/>
					<Object Type="Variable" Name="All SGs" Key1="Unpack" Key2="%SGList%">
						<Setting Key1="__VALUE" Substitution="SGName">
							<Rule Name="szSGNamePack" Query="pack($.)"/>
						</Setting>
						<!-- Check log disk free space -->
						<Object Type="Variable" Name="SGInfo" Key1="Scalar" Display="Hide">
							<Setting Key1="%DiskInfo[%INFO[%SGName%][LongestDriveMatch]%][FreeSpace]%" Substitution="FreeSpace" Display="Hide"/>
							<Setting Key1="%INFO[%SGName%][LogPath]%" Substitution="LogPath" Display="Hide"/>
							<Setting Key1="%INFO[%SGName%][LogFileSize]%" Substitution="LogFileSize" Display="Hide"/>
							<Setting Key1="%INFO[%SGName%][DBMountCount]%" Substitution="MountCount" Display="Hide"/>
							<Setting Key1="%INFO[%SGName%][DBUnMountCount]%" Substitution="UnmountCount" Display="Hide"/>
							<Setting Key1="%INFO[%SGName%][LogGenRate]%" Substitution="LogGenRate" Display="Hide"/>
							<Setting Key1="%INFO[%SGName%][BadDBCount]%" Substitution="BadDBCount" Display="Hide"/>
							<Setting Key1="%INFO[%SGName%][DirtyDBCount]%" Substitution="DirtyDBCount" Display="Hide"/>
							<Setting Key1="%INFO[%SGName%][BadLogPath]%" Substitution="BadLogPath" Display="Hide"/>
							<Setting Key1="%INFO[%SGName%][TotalLogSize]%" Substitution="TotalLogSize" Display="Hide"/>
							<Setting Key1="%INFO[%SGName%][AvailLogSpace]%" Substitution="AvailLogSpace" Display="Hide"/>
							<Setting Key1="%INFO[%SGName%][LCR]%" Substitution="IsLCR" Display="Hide"/>
							<Setting Key1="%INFO[%SGName%][RSG]%" Substitution="IsRSG" Display="Hide"/>
							<Setting Key1="%INFO[%SGName%][HighestLogNumber]%" Substitution="HighestLogNumber" Display="Hide"/>
							<Setting Key1="%INFO[%SGName%][DaysLeftForLogGen]%" Substitution="DaysLeftForLogGen" Display="Hide"/>
							<Setting Key1="%INFO[%SGName%][CircularLog]%" Substitution="CircularLog" Display="Hide"/>
							<Object Type="If" Name="SkipRSG" Key1="not ('%IsRSG%'='True')">
								<Object Type="Control" SubType="Label" Position="Below" FontStyle="Bold" Width="FullWidth" Text="ストレージ グループ名: %SGName%"/>
								<Object Type="Control" SubType="Label" Position="Below" Text="ログ パス: %LogPath%"/>

								<Object Type="Control" SubType="Label" Position="Below" LineSpace="0" Text="空き領域 (GB): %FreeSpace%"/>
								<Object Type="If" Name="DiskSpace1" Key1="%FreeSpace% &lt; 0.5">
									<Object Type="Control" SubType="Label" Position="Below" LineSpace="0" ForeColor="Red" Text="ディスク領域の不足 (500 MB 未満)"/>
									<Rule Name="fFreeSpaceLessThan500M" Query="@S1 &lt; 0.5" S1="%FreeSpace%" Text="残りのログ ドライブ領域は 500 MB 未満です。" Error="Error"/>
								</Object>
								<Object Type="If" Name="DiskSpace2" Key1="(%FreeSpace% &lt; 3) and (%FreeSpace% &gt; 0.5)">
									<Object Type="Control" SubType="Label" Position="Below" LineSpace="0" Text="残りの空き領域は 3 GB 未満"/>
									<Rule Name="fFreeSpaceLessThan3G" Query="@S1 &lt; 3" S1="%FreeSpace%" Text="残りのログ ドライブ領域は 3 GB 未満です。" GUID="620c733e-ce53-43ca-bd34-d2242de77795" Error="Warning"/>
								</Object>

								<Object Type="If" Name="NotBadLogPath" Key1="(%BadLogPath%=0) and (%LogGenRate% &gt; 0)" Display="Hide">
									<Object Type="Control" SubType="Label" Position="Below" LineSpace="0" Text="ログ (GB): %TotalLogSize%"/>
									<Object Type="Control" SubType="Label" Position="Below" LineSpace="0" Text="毎日の平均ログ生成速度: %LogGenRate%"/>
									<Object Type="Control" SubType="Label" Position="Below" LineSpace="0" Text="Exchange サーバーのログ ドライブ空き領域が 0 になるまでの推定日数: %AvailLogSpace%"/>
									<Object Type="If" Name="DiskSpace3" Key1="((%LogGenRate%*%LogFileSize%*7) div (1024*1024*1024)) &gt; %FreeSpace%">
										<Object Type="Control" SubType="Label" Position="Below" LineSpace="0" ForeColor="Red" Text="ログ領域の残りが 7 日分未満です。"/>
										<Rule Name="fLessThanOneWeekLogSpace" Query="((@S1 * @S3 * 7) div (1024*1024*1024)) &gt; @S2" Title="ログ領域の残りが 7 日分未満です。" Text="ストレージ グループ ({4}) のログ ドライブの空き領域は {2} GB です。このストレージ グループが 7 日間稼動するために十分なディスクの空き領域がありません。" S1="%LogGenRate%" S2="%FreeSpace%" S3="%LogFileSize%" S4="%SGName%" GUID="4e212b48-fdf8-485d-bf72-15a7763c43ab" Error="Error"/>
									</Object>
									<Object Type="If" Name="LogGeneration" Key1="%IsE12%=0 and %HighestLogNumber% &gt; 950000 and %HighestLogNumber% &lt;= 1020000">
										<Object Type="Control" SubType="Label" Position="Below" LineSpace="0" Text="現在のトランザクション ログ生成は最大値に近づいています。最大値に達するまでの推定残り日数は %DaysLeftForLogGen% 日です。"/>
									</Object>
									<Object Type="If" Name="LogGeneration" Key1="%IsE12%=0 and %HighestLogNumber% &gt; 1020000">
										<Object Type="Control" SubType="Label" Position="Below" LineSpace="0" ForeColor="Red" Text="現在のトランザクション ログ生成は最大値に近づいています。最大値に達するまでの推定残り日数は %DaysLeftForLogGen% 日です。"/>
									</Object>
								</Object>
								<Object Type="If" Name="CircularLog" Key1="%CircularLog%=1" Display="Hide">
									<Object Type="Control" SubType="Label" Position="Below" LineSpace="0" Text="循環ログが有効になっています"/>
								</Object>
								<Object Type="If" Name="MountCount" Key1="%MountCount% &gt; 0" Display="Hide">
									<Object Type="Control" SubType="Label" Position="Below" LineSpace="0" Text="%MountCount% 個のデータベースがマウントされています"/>
								</Object>
								<Object Type="If" Name="UnMountCount" Key1="%UnmountCount% &gt; 0" Display="Hide">
									<Object Type="Control" SubType="Label" Position="Below" LineSpace="0" Text="%UnmountCount% 個のデータベースがマウント解除されています"/>
								</Object>
								<Object Type="If" Name="DirtyDBCount" Key1="%DirtyDBCount% &gt; 0" Display="Hide">
									<Object Type="Control" SubType="Label" Position="Below" LineSpace="0" Text="%DirtyDBCount% 個のデータベースが 'ダーティ シャットダウン' 状態です"/>
								</Object>
								<Object Type="If" Name="BadDBOrLogPath" Key1="(%BadDBCount% &gt; 0) or (%BadLogPath% &gt; 0)" Display="Hide">
									<Object Type="Control" SubType="Label" Position="Below" LineSpace="0" Text="ログ パスまたはデータベースへのアクセス中にエラーが発生しました"/>
								</Object>
								<Object Type="Group">
									<Rule Name="szSGMovable" Query="if((@S1=0 and @S2=0 and @S3=0 and @S4=0), $szSGNamePack)" S1="%IsLCR%" S2="%BadLogPath%" S3="%CircularLog%" S4="%BadDBCount%"/>
								</Object>
							</Object>
						</Object>
						<Rule Name="szMovableSGs" Query="join('', $szSGMovable)">
							<Variable Name="INFO[LogMove][MovableSGList]" Scope="Children"/>
						</Rule>
						<Rule Name="szMovableSGCount" Query="count($szSGMovable)">
							<Variable Name="INFO[LogMove][MovableSGCount]" Scope="Children"/>
						</Rule>
					</Object>

					<Object Type="If" Name="Clustered" Key1="%Clustered%=1" Display="Hide">
						<Object Type="Control" SubType="Label" Position="LeftBelow" LineSpace="2" Text="このサーバーは、クラスタ連続レプリケーション (CCR) を使用しています。現時点では、このツールは CCR 環境でのサーバー上のログ移動をサポートしていません。 "/>
					</Object>

					<Object Type="Control" SubType="Link" Name="Previous" Position="LeftBelow" LineSpace="2" Text="前へ"/>
					<Object Type="If" Name="NextLabel" Key1="%Clustered%=0" Display="Hide">
						<Object Type="If" Name="IsNotSymptom" Key1="'%IsSymptom%'='0'">
							<Object Type="Control" SubType="Link" Name="LogDriveSpaceWizard" Position="NextTo" Percent="30" Text="ログを移動するストレージ グループの選択" NextStep="SelectLogMoveSGStep"/>
						</Object>
						<Object Type="If" Name="IsSymptom" Key1="'%IsSymptom%'='1'">
							<Object Type="Control" SubType="Link" Name="Next" Position="NextTo" Percent="30" Text="次へ" NextStep="PrepareLogMoveStep">
								<Rule Name="szLogMoveSGName" Query="@S1" S1="%SelectedSG%">
									<Variable Name="INFO[LogMove][SGName]" Scope="Children"/>
								</Rule>
							</Object>
						</Object>
					</Object>
				</Object>
			</Object>
		</Object>
	</Object>

	<Object Type="Step" Name="SelectLogMoveSGStep" Title="ログを移動するストレージ グループの選択" Display="Hide">
		<Object Type="Panel">
			<Object Type="If" Key1="true()" Display="HideAll">
				<Setting Key1="'1'" SQM="99;Set"/>
			</Object>
			<Object Type="Variable" Key1="Scalar" Display="Hide">
				<Setting Key1="%Server%" Substitution="Server" Display="Hide"/>
				<Setting Key1="%ServerName%" Substitution="EXSERVER" Display="Hide"/>
				<Setting Key1="%INFO[LogMove][MovableSGList]%" Substitution="SGList" Display="Hide"/>
				<Setting Key1="%INFO[LogMove][MovableSGCount]%" Substitution="SGCount" Display="Hide"/>
				<Setting Key1="%IsE12%" Substitution="IsE12" Display="Hide"/>
				<Object Type="Control" SubType="Title" Name="Title" Position="Top" Text="ログを移動するストレージ グループの選択"/>
				<Object Type="Control" SubType="Label" Name="ServerLabel" Position="Below" LineSpace="2" Text="サーバー名: %Server%"/>

				<Object Type="If" Name="SGAvailable" Key1="%SGCount% &gt; 0">
					<Object Type="Control" SubType="Label" Name="Label1" Position="Below" LineSpace="2" Text="一部のトランザクション ログ ファイルは、データベースをマウント解除したり現在の操作に影響を与えたりすることなく、別の場所に移動できます。このツールは、移動しても問題ないファイルを特定して、これらのファイルを指定した場所にコピーします。"/>
					<Object Type="Control" SubType="Label" Name="Label2" Position="Below" LineSpace="2" Text="これらのログ ファイルよりも古いバックアップを復元する場合、復元したバックアップを現在の状態に戻すためにこれらのログ ファイルが必要です。"/>

					<Object Type="If" Name="IsE12LCR" Key1="%IsE12%=1">
						<Object Type="Control" SubType="Label" Name="Label3" Position="Below" LineSpace="2" Text="ストレージ グループにログ ファイルがない場合、またはストレージ グループでローカル連続レプリケーションが有効になっている場合、そのストレージ グループは次の一覧には表示されません。 "/>
					</Object>
					<Object Type="If" Name="IsNotE12" Key1="%IsE12%=0">
						<Object Type="Control" SubType="Label" Name="Label31" Position="Below" LineSpace="2" Text="ストレージ グループにログ ファイルがない場合、そのストレージ グループは次の一覧には表示されません。 "/>
					</Object>

					<Object Type="Control" SubType="Label" Name="ListBoxLabel" Position="Below" LineSpace="2" Text="使用可能なストレージ グループ"/>
					<Object Type="Control" SubType="ListBox" Name="ListBox" Position="LeftBelow" LineSpace="0" Default="%SGList%">
						<Setting Key1="SelectedValue">
							<Rule Name="szSelectedSG" Query="$.">
								<Variable Name="INFO[LogMove][SGName]" Scope="Children"/>
							</Rule>
						</Setting>
					</Object>

				</Object>
				<Object Type="If" Name="NoSGAvailable" Key1="%SGCount%=0">
					<Object Type="Control" SubType="Label" Name="NoSGAvailableLabel" Position="Below" Text="ログの移動が可能なストレージ グループがありません。この原因としては、次のことが考えられます。1) データベース ファイルが見つからないか壊れている。2) ログの移動のための十分なトランザクション ログ ファイルがない。3) 循環ログが有効になっている。4) クラスタ連続レプリケーション (CCR) またはローカル連続レプリケーション (LCR) が有効になっている。"/>
				</Object>

				<Object Type="Control" SubType="Link" Name="Previous" Position="LeftBelow" LineSpace="2" Text="前へ"/>
				<Object Type="If" Name="SGAvailableLink" Key1="%SGCount% &gt; 0">
					<Object Type="Control" SubType="Link" Name="PrepareLogMoveLink" Position="NextTo" Percent="30" Text="ログの移動オプションの確認" NextStep="PrepareLogMoveStep"/>
				</Object>
				<Object Type="If" Name="SGAvailableLink" Key1="%SGCount%=0">
					<Object Type="Control" SubType="Link" Name="TaskCenterLink" Position="LeftBelow" Text="タスク センターに戻る" NextStep="GetDBInfoFromADStep"/>
				</Object>
			</Object>
		</Object>
	</Object>
	<Object Type="Step" Name="PrepareLogMoveStep" Title="ログの移動の準備" Display="Hide">
		<Object Type="Action">
			<Object Type="Variable" Key1="Scalar" Display="Hide">
				<Setting Key1="%INFO[%INFO[LogMove][SGName]%][BASENAME]%" Substitution="LogPrefix" Display="Hide"/>
				<Setting Key1="%INFO[%INFO[LogMove][SGName]%][LogFileList]%" Substitution="FileList" Display="Hide"/>
				<Setting Key1="%INFO[LogMove][SGName]%" Substitution="SGName" Display="Hide"/>
				<Setting Key1="%INFO[%INFO[LogMove][SGName]%][SelectableDBs]" Substitution="DBList" Display="Hide"/>
				<Setting Key1="%INFO[%INFO[LogMove][SGName]%][LowestLogNumber]%" Substitution="LowestLogNumber" Display="Hide"/>
				<Setting Key1="%INFO[%INFO[LogMove][SGName]%][HighestLogNumber]%" Substitution="HighestLogNumber" Display="Hide"/>
				<Setting Key1="%INFO[%INFO[LogMove][SGName]%][CheckPointGen]%" Substitution="CheckPointGen" Display="Hide"/>
				<Setting Key1="%INFO[%INFO[LogMove][SGName]%][BadCheckPointFile]%" Substitution="BadCheckPointFile" Display="Hide"/>
				<Setting Key1="%INFO[%INFO[LogMove][SGName]%][CheckPointGenName]%" Substitution="CheckPointGenName" Display="Hide"/>
				<Setting Key1="%IsE12%" Substitution="IsE12" Display="Hide"/>
				<Object Type="Variable" Name="MinRequireLog" Key1="Scalar" Display="Hide">
					<Setting Key1="%INFO[%SGName%][BKIncGenLowList]%" Substitution="MinNonZeroBkIncLog" Format="MinNonZero" Display="Hide">
						<Rule Name="iMinBkIncLog" Query="$.">
							<Variable Name="INFO[LogMove][MinBkIncLog]" Scope="Children"/>
						</Rule>
					</Setting>
					<Setting Key1="%INFO[%SGName%][BKIncGenLowList]%" Substitution="MaxBkIncLog" Format="Max" Display="Hide">
						<Rule Name="iMaxBkIncLog" Query="$.">
							<Variable Name="INFO[LogMove][MaxBkIncLog]" Scope="Children"/>
						</Rule>
					</Setting>

					<Setting Key1="%INFO[%SGName%][LogFileSize]%" Substitution="LogFileSize"/>
					<Setting Key1="%INFO[%SGName%][MinRequiredLogList]%" Substitution="MaxLog" Format="Max"/>
					<Setting Key1="%INFO[%SGName%][MinRequiredLogList]%" Substitution="MinLog" Format="Min"/>
					<Setting Key1="%INFO[%SGName%][MinRequiredLogList]%" Substitution="MinNonZeroLog" Format="MinNonZero">
						<Rule Name="iMinRemovableLog" Query="if((@S1=0 and @S2=0), @S3, if(@S4 &gt; @S3, @S3, 0))" S1="%MinLog%" S2="%MaxLog%" S3="%LowestLogNumber%" S4="%MinNonZeroLog%">
							<Variable Name="INFO[LogMove][MinRemovableLog]" Scope="Children"/>
						</Rule>
						<Rule Name="szMinRemovableLog" Query="if(not ($iMinRemovableLog=0), create-logname(@S1, $iMinRemovableLog, @S2))" S1="%LogPrefix%" S2="%IsE12%">
							<Variable Name="INFO[LogMove][MinRemovableLogName]" Scope="Children"/>
						</Rule>
						<Rule Name="iMaxRemovableLog1" Query="if((@S1=0 and @S2=0), @S3, if(@S4 &gt; @S5, @S4 -1, 0))" S1="%MinLog%" S2="%MaxLog%" S3="%HighestLogNumber%" S4="%MinNonZeroLog%" S5="%LowestLogNumber%"/>
						<Rule Name="iMaxRemovableLog" Query="if(($iMaxRemovableLog1 &gt; 0), if(@S3=0, if(($iMaxRemovableLog1 &gt;= @S2), @S2 -1, $iMaxRemovableLog1), $iMaxRemovableLog1), 0)" S2="%CheckPointGen%" S3="%BadCheckPointFile%">
							<Variable Name="INFO[LogMove][MaxRemovableLog]" Scope="Children"/>
						</Rule>
						<Rule Name="szMaxRemovableLog" Query="if(not ($iMaxRemovableLog=0), create-logname(@S1, $iMaxRemovableLog, @S2))" S1="%LogPrefix%" S2="%IsE12%">
							<Variable Name="INFO[LogMove][MaxRemovableLogName]" Scope="Children"/>
						</Rule>
						<Rule Name="iRemovableLogNumber" Query="if((($iMaxRemovableLog &gt; 0) and ($iMinRemovableLog &gt; 0) and ($iMaxRemovableLog &gt;= $iMinRemovableLog)), ($iMaxRemovableLog -$iMinRemovableLog + 1), 0)">
							<Variable Name="INFO[LogMove][RemovableLogNumber]" Scope="Children"/>
						</Rule>
						<Rule Name="iRemovableLogSize" Query="if($iRemovableLogNumber,roundto(($iRemovableLogNumber * @S1 div (1024*1024*1024)), 3),0)" S1="%LogFileSize%">
							<Variable Name="INFO[LogMove][RemovableLogSize]" Scope="Children"/>
						</Rule>
					</Setting>

					<Rule Name="fDispatch" Query="true()" NextStep="ConfirmLogMoveStep"/>
				</Object>
			</Object>
		</Object>
	</Object>
	<Object Type="Step" Name="ConfirmLogMoveStep" Title="ログの移動オプションの確認" Display="Left">
		<Object Type="Panel">
			<Object Type="Variable" Key1="Scalar" Display="Hide">
				<Setting Key1="%Server%" Substitution="Server" Display="Hide"/>
				<Setting Key1="%INFO[LogMove][SGName]%" Substitution="SGNAME" Display="Hide"/>
				<Setting Key1="%INFO[LogMove][MinRemovableLog]%" Substitution="MinRemovableLog" Display="Hide"/>
				<Setting Key1="%INFO[LogMove][MinRemovableLogName]%" Substitution="MinRemovableLogName" Display="Hide"/>
				<Setting Key1="%INFO[LogMove][MaxRemovableLog]%" Substitution="MaxRemovableLog" Display="Hide"/>
				<Setting Key1="%INFO[LogMove][MaxRemovableLogName]%" Substitution="MaxRemovableLogName" Display="Hide"/>
				<Setting Key1="%INFO[LogMove][MinBkIncLog]%" Substitution="MinBkIncLog" Display="Hide"/>
				<Setting Key1="%INFO[LogMove][MaxBkIncLog]%" Substitution="MaxBkIncLog" Display="Hide"/>
				<Setting Key1="%INFO[LogMove][RemovableLogNumber]%" Substitution="RemovableLogNumber" Display="Hide"/>
				<Setting Key1="%INFO[LogMove][RemovableLogSize]%" Substitution="RemovableLogSize" Display="Hide"/>
				<Setting Key1="%INFO[%INFO[LogMove][SGName]%][LogPath]%" Substitution="LogPath" Display="Hide"/>
				<Setting Key1="%INFO[%INFO[LogMove][SGName]%][LogFileSize]%" Substitution="LogFileSize" Display="Hide"/>
				<Setting Key1="%INFO[%INFO[LogMove][SGName]%][CheckPointGen]%" Substitution="CheckPointGen" Display="Hide"/>
				<Setting Key1="%INFO[%INFO[LogMove][SGName]%][BadCheckPointFile]%" Substitution="BadCheckPointFile" Display="Hide"/>
				<Setting Key1="%INFO[%INFO[LogMove][SGName]%][CheckPointGenName]%" Substitution="CheckPointGenName" Display="Hide"/>
				<Setting Key1="%IsSymptom%" Substitution="IsSymptom" Display="Hide"/>
				<Setting Key1="%EventDisplayStepID%" Substitution="EventDisplayStepID" Display="Hide"/>

				<Object Type="Control" SubType="Title" Name="Title" Position="Top" Text="ログの移動の構成の確認"/>
				<Object Type="Control" SubType="Label" Name="Label1" Position="Below" Text="サーバー名: %Server%"/>
				<Object Type="Control" SubType="Label" Name="Label2" Position="Below" LineSpace="0" Text="選択されたストレージ グループ名: %SGNAME%"/>
				<Object Type="Control" SubType="Label" Name="Label2" Position="Below" LineSpace="0" Text="選択されたストレージ グループのログ パス: %LogPath%"/>
				<Object Type="If" Name="VerifyCheckPointFile" Key1="'%BadCheckPointFile%'='0'">
					<Object Type="Control" SubType="Label" Name="Label2" Position="Below" LineSpace="0" Text="現在のチェックポイントのログ ファイル名: %CheckPointGenName%"/>
				</Object>

				<Object Type="If" Name="MinLogNumber" Key1="%MinRemovableLog% &gt; 0" Display="Hide">
					<Object Type="Control" SubType="Label" Name="Label3" Position="Below" Text="一番下の削除可能なログ: %MinRemovableLogName%"/>
				</Object>

				<Object Type="If" Name="MinLogNumber" Key1="%MaxRemovableLog% &gt; 0" Display="Hide">
					<Object Type="Control" SubType="Label" Name="Label4" Position="Below" LineSpace="0" Text="一番上の削除可能なログ: %MaxRemovableLogName%"/>
				</Object>

				<Object Type="Control" SubType="Label" Name="Label6" Position="Below" LineSpace="0" Text="削除可能なログの数: %RemovableLogNumber%"/>
				<Object Type="Control" SubType="Label" Name="Label7" Position="Below" LineSpace="0" Text="回復可能な領域 (GB): %RemovableLogSize% "/>

				<Object Type="If" Name="ifLabel" Key1="not (%MinBkIncLog%=0 and %MaxBkIncLog%=0)" Display="Hide">
					<Object Type="Control" SubType="Label" Name="Label8" Position="Below" Text="警告: これらのトランザクション ログ ファイルは、今後の増分バックアップまたは差分バックアップで必要です。"/>
					<Object Type="Control" SubType="Label" Name="Label9" Position="Below" LineSpace="0" Text="最小ログ番号: %MinBkIncLog%"/>
					<Object Type="Control" SubType="Label" Name="Label9" Position="Below" LineSpace="0" Text="最大ログ番号: %MaxBkIncLog%"/>
				</Object>

				<Object Type="If" Name="NonZeroRemovableLogs" Key1="%RemovableLogNumber% &gt; 0" Display="Hide">
					<!-- Select a new path -->
					<Object Type="Control" SubType="Label" Name="LogDirectoryLabel" Position="LeftBelow" LineSpace="2" Text="バックアップ場所の選択: "/>
					<Object Type="Control" SubType="FileDialog" Text="参照..." Title="ログのバックアップ ディレクトリの選択" DialogType="OpenFolder" Name="LogPath" Position="NextTo" Percent="30" Width="300" Flags="ReadOnly=True|AllowCreate=True">
						<Setting Key1="NewLogPath" Substitution="NewLogPath">
							<Rule Name="fLogPathEmpty" Query="$.=''" Text="指定されたログ ディレクトリは空です。有効なログ ディレクトリを指定してください。" Error="Error" NextStep="DisplayLogMoveStatusStep">
								<Rule Name="szBadTitle" Query="string(@Title)" Title="指定されたログ ディレクトリは空です。有効なログ ディレクトリを指定してください。">
									<Variable Name="INFO[LogMove][Result][Title]" Scope="Children"/>
								</Rule>
							</Rule>
							<Rule Name="szLogPathSetVar" Query="$.">
								<Variable Name="INFO[LogMove][NewLogPath]" Scope="Children"/>
							</Rule>
							<Rule Name="iLogFileSize" Query="@S1" S1="%LogFileSize%">
								<Variable Name="INFO[LogMove][LogFileSize]" Scope="Children"/>
							</Rule>
							<Rule Name="szPreviousStepName" Query="'ConfirmLogMoveStep'">
								<Variable Name="PreviousStepName" Scope="Children"/>
							</Rule>
						</Setting>
						<Event Type="Changed">
							<Action Type="Enable" ControlName="Next" Query="not (control-value('LogPath')='')"/>
						</Event>
					</Object>
				</Object>

				<Object Type="If" Name="WarningLabel" Key1="%RemovableLogNumber% &gt; 0">
					<Object Type="Control" SubType="Label" Name="Label10" Position="LeftBelow" Text="これらのログ ファイルをコピーして削除する場合は、差分バックアップまたは増分バックアップを実行する前に、ストレージ グループ内のすべてのデータベースの標準 (完全) バックアップを実行する必要があります。"/>
				</Object>
				<Object Type="If" Name="WarningLabel2" Key1="%RemovableLogNumber%=0">
					<Object Type="Control" SubType="Label" Name="Label11" Position="LeftBelow" Text="これ以上使用できるトランザクション ログ ファイルはありません。"/>
				</Object>

				<Object Type="Control" SubType="Link" Name="Previous" Position="LeftBelow" LineSpace="2" Text="前へ"/>
				<Object Type="If" Name="MoveLogs" Key1="%RemovableLogNumber% &gt; 0" Display="Hide">
					<Object Type="Control" SubType="Link" Name="Next" Position="NextTo" Percent="30" Flags="Enabled=False" Text="ログの移動処理の実行">
						<Rule Name="fDispatch" Query="not ($fLogPathEmpty)" NextStep="LogMoveSpaceCheckStep" AlwaysEvaluate="True"/>
					</Object>
				</Object>
				<Object Type="If" Name="NoMovableLogs" Key1="%RemovableLogNumber%=0">
					<Object Type="If" Name="IsSymptom" Key1="'%IsSymptom%'='0'">
						<Object Type="Control" SubType="Link" Name="TaskCenter" Position="NextTo" Percent="30" Text="タスク センターに戻る" NextStep="GetDBInfoFromADStep"/>
					</Object>
					<Object Type="If" Name="IsSymptom" Key1="'%IsSymptom%'='1'">
						<Object Type="Control" SubType="Link" Name="Goto" Position="NextTo" Percent="30" Text="イベント表示ページに戻る" NextStep="%EventDisplayStepID%"/>
					</Object>
				</Object>
			</Object>
		</Object>
	</Object>
	<Object Type="Step" Name="LogMoveSpaceCheckStep" Title="ログの移動での領域の確認" Display="Left">
		<Object Type="Action" Display="Hide">
			<Object Type="Variable" Name="Disk Free Space Check" Key1="Scalar" Display="Hide">
				<Setting Key1="%INFO[LogMove][MinRemovableLog]%" Substitution="MinValue" Display="Hide">
					<Rule Name="iMin" Query="$."/>
				</Setting>
				<Setting Key1="%INFO[LogMove][MaxRemovableLog]%" Substitution="MaxValue" Display="Hide">
					<Rule Name="iMax" Query="$."/>
				</Setting>
				<Setting Key1="%INFO[LogMove][NewLogPath]%" Substitution="NewLogPath" Display="Hide"/>
				<Setting Key1="%INFO[LogMove][LogFileSize]%" Substitution="LogFileSize" Display="Hide"/>
				<Object Type="Command" Key2="cmd" Key3="/C dir /-C &quot;%NewLogPath%&quot;" SecurityContext="EXLOGON">
					<Rule Name="fException" Query="../Exception/@Message" Title="新しいログ パスのディスク領域の取得中にエラーが発生しました" Text="新しいログ パス {0} のディスク領域を取得中にエラーが発生しました。エラー メッセージは {1} です。" S0="%NewLogPath%" P1="../Exception/@Message" Error="Error"/>
					<Rule Name="szPreviousStepName" Query="'LogMoveSpaceCheckStep'">
						<Variable Name="PreviousStepName" Scope="Children"/>
					</Rule>
					<Rule Name="szTitle" Query="string(@Title)" Title="新しいログ パスでエラーが発生しました">
						<Variable Name="INFO[LogMove][Result][Title]" Scope="Children"/>
					</Rule>
					<Rule Name="fFailToAccess" Query="not ($szDiskSpace)" Title="新しいログ パスのディスク領域の取得中にエラーが発生しました" Text="新しいログ パス ({1}) のディスク領域の取得中にエラーが発生しました" S1="%NewLogPath%" Error="Error" AlwaysEvaluate="True"/>
					<Rule Name="fNotEnoughDiskSpace" Query="$szDiskSpace and $fNotEnoughSpace" Title="新しいログ パスには、十分なディスク領域がありません" Text="新しいログ パス ({1}) のディスク領域が不足しています。" S1="%NewLogPath%" Error="Error" AlwaysEvaluate="True"/>
					<Rule Name="fFailure" Query="$fException or $fFailToAccess or $fNotEnoughDiskSpace or $fNotEmpty" NextStep="DisplayLogMoveStatusStep" AlwaysEvaluate="True"/>
					<Rule Name="fSuccess" Query="not ($fFailure)" NextStep="LogMoveActionStep" AlwaysEvaluate="True"/>

					<Setting Key1="RegexExecute" Key2="((\d+)([^\d\n]+))\Z" Key3="stdout"/>
					<Setting Key1="RegexExtract" Key2="0" Key3="0" Key4="0" Format="(\d+)\s([\S\s]*)----$1" Substitution="FreeSpace">
						<Rule Name="szDiskSpace" Query="roundto((@S1 div (1024*1024*1024)), 3)" S1="%FreeSpace%"/>
						<Rule Name="fNotEnoughSpace" Query="((($iMax -$iMin) * @S1) div (1024*1024*1024)) &gt; $szDiskSpace" S1="%LogFileSize%"/>
					</Setting>
					<!-- Check Empty Path -->
					<Object Type="File" Key2="%NewLogPath%" SecurityContext="EXLOGON">
						<Setting Key1="Files" Key2="*.*" Retrieve="CountOnly">
							<Rule Name="fNotEmpty" Query="$. &gt; 0" Title="パスが空ではありません" Text="バックアップのパス ({1}) が空ではありません。" S1="%NewLogPath%" Error="Error"/>
						</Setting>
					</Object>
				</Object>
			</Object>
		</Object>
	</Object>

	<Object Type="Step" Name="LogMoveActionStep" Title="ログの移動処理" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%INFO[LogMove][SGName]%" Substitution="SGName" Display="Hide"/>
			<Setting Key1="%INFO[LogMove][NewLogPath]%" Substitution="NewLogPath" Display="Hide"/>
			<Object Type="Progress" Title="ログのコピーと削除" Text="%SGName% のログを %NewLogPath% にコピーしています。しばらくお待ちください。">
				<Object Type="Variable" Name="Variable Info" Key1="Scalar" Display="Hide">
					<Setting Key1="%Server%" Substitution="Server" Display="Hide"/>
					<Setting Key1="%ServerName%" Substitution="EXSERVER" Display="Hide"/>
					<Setting Key1="%LocalMachineName%" Substitution="LocalMachineName" Display="Hide"/>
					<Setting Key1="%INFO[LogMove][SGName]%" Substitution="SGName" Display="Hide"/>
					<Setting Key1="%INFO[LogMove][NewLogPath]%" Substitution="NewLogPath" Display="Hide"/>
					<Setting Key1="%INFO[%INFO[LogMove][SGName]%][LogPath]%" Substitution="LogPath" Display="Hide"/>
					<Setting Key1="%INFO[%INFO[LogMove][SGName]%][RLogPath]%" Substitution="RLogPath" Display="Hide"/>
					<Setting Key1="%INFO[%INFO[LogMove][SGName]%][BASENAME]%" Substitution="LogPrefix" Display="Hide"/>
					<Setting Key1="%INFO[LogMove][FilePattern]%" Substitution="FilePattern" Display="Hide"/>
					<Setting Key1="%INFO[%INFO[LogMove][SGName]%][LogFileList]%" Substitution="FileList" Display="Hide"/>
					<Setting Key1="%INFO[LogMove][MinRemovableLog]%" Substitution="MinMovableLog" Display="Hide"/>
					<Setting Key1="%INFO[LogMove][MaxRemovableLog]%" Substitution="MaxMovableLog" Display="Hide"/>
					<Object Type="EventReport" Key2="ExTRA" Key3="Application" Key5="1000" Text="サーバー {3} 上の {2} の {1} へのトランザクション ログ ファイルのコピーと削除を開始します。" S1="%NewLogPath%" S2="%SGName%" S3="%Server%"/>
					<Object Type="If" Name="CheckMachineName" Key1="not ('%EXSERVER%'='%LocalMachineName%')">
						<Object Type="EventReport" Key1="%EXSERVER%" Key2="ExTRA" Key3="Application" Key5="1000" Text="サーバー {3} 上の {2} の {1} へのトランザクション ログ ファイルのコピーと削除を開始します。" S1="%NewLogPath%" S2="%SGName%" S3="%Server%"/>
					</Object>

					<Object Type="File" Key2="%RLogPath%" TrackProgress="TrackProgress" SecurityContext="EXLOGON">
						<Rule Name="fErrorAccessLogDirectory" Query="count(../Exception) &gt;0" Title="ログ ディレクトリへのアクセス中にエラーが発生しました" Text="ログ ディレクトリ {0} へのアクセス中にエラーが発生しました。エラー メッセージは {1} です。" S0="%LogPath%" P1="../Exception/@Message" Error="Error" GUID="4bfee6b4-1c51-472a-ac92-efd14fdecb1f"/>
						<Setting Key1="Files" Key2="%FilePattern%" Substitution="LogFiles" SubstitutionFormat="$----;"/>
						<Object Type="FileOp" Name="Copy Operation" Key1="Initial">
							<Object Type="Variable" Name="LogFileVariable" Key1="Unpack" Key2="%FileList%">
								<Setting Key1="__VALUE" Substitution="FileName" Format=".(.*\\)(.*)$----$2"/>
								<Setting Key1="__VALUE" Substitution="LogFile"/>
								<Object Type="LogInfo" Key2="%LogFile%" Key3="ExDRA">
									<Setting Key1="GenerationInDecimal" Substitution="GenNumber"/>
									<Object Type="If" Name="LogMove" Key1="%GenNumber% &gt;= %MinMovableLog% and %GenNumber% &lt;= %MaxMovableLog%">
										<Object Type="Cache" Name="AllFileList" Key1="AddValue" Key2="AllFileList" Key3="%LogFile%"/>
										<Object Type="FileOp" Name="CopyLog" Key1="Copy" Key2="%LogFile%" Key3="%NewLogPath%\%FileName%">
											<Rule Name="fMoveException" Query="count(../Exception) &gt;0" Title="ログ ファイルの移動中にエラーが発生しました" Text="ログ ファイル {0} を {2} に移動しているときにエラーが発生しました。エラー メッセージ: {1}。" S0="%LogFile%" P1="../Exception/@Message" S2="%NewLogPath%" Error="Error"/>
											<Setting Key1="__VALUE" Substitution="CopyResult">
												<Rule Name="szMessageOK" Query="if($.='True', string(@Text))" Text="ログ ファイル %LogFile% を %NewLogPath% に正常にコピーしました。" S1="%LogFile%" S2="%NewLogPath%"/>
											</Setting>
											<Object Type="If" Name="CheckCopyResult" Key1="'%CopyResult%'='True'" Display="Hide">
												<Object Type="Cache" Name="FileList" Key1="AddValue" Key2="FileList" Key3="%LogFile%"/>
											</Object>
											<Object Type="SaveLogNow" Name="ForceLogSave"/>
										</Object>
									</Object>
								</Object>
							</Object>
						</Object>

						<Object Type="Cache" Name="AllFileList" Key1="DumpValue" Key2="AllFileList" Key4=",">
							<Setting Key1="__VALUE" Substitution="AllFileList"/>
							<Object Type="Cache" Name="FileList" Key1="DumpValue" Key2="FileList" Key4=",">
								<Setting Key1="__VALUE" Substitution="FileList"/>
								<Object Type="If" Name="Remove Operation" Key1="'%AllFileList%'='%FileList%'">
									<Object Type="Cache" Name="FileList" Key1="Dump" Key2="FileList">
										<Setting Key1="__VALUE" Substitution="LogFileName"/>
										<Object Type="FileOp" Key1="Remove" Key2="%LogFileName%">
											<Rule Name="fRemoveException" Query="count(../Exception) &gt;0" Title="ログ ファイルの削除中にエラーが発生しました" Text="ログ ファイル ({2}) の削除中にエラーが発生しました。エラー メッセージ: {1}。" P1="../Exception/@Message" S2="%LogFileName%" Error="Error"/>
											<Rule Name="szMessageRemoveOK" Query="if(not ($fRemoveException), string(@Text))" Text="ログ ファイル (%LogFileName%) を正常にコピーして削除しました。" S2="%LogFileName%" Error="Information"/>
										</Object>
									</Object>
								</Object>
							</Object>
						</Object>

						<Rule Name="szTitleFail" Query="string(@Title)" Title="ログ ファイルの新しい場所へのコピー中またはログの削除中にエラーが発生しました"/>
						<Rule Name="szTitleOK" Query="string(@Title)" Title="ログ ファイルを新しい場所に正常にコピーして、ログを削除しました"/>
						<Rule Name="szTitle" Query="if(((count($fMoveException)=0) and (count($fRemoveException)=0)),$szTitleOK,$szTitleFail)" AlwaysEvaluate="True">
							<Variable Name="INFO[LogMove][Result][Title]" Scope="Children"/>
						</Rule>

						<Rule Name="fDispatch" Query="true()" NextStep="DisplayLogMoveStatusStep">
							<Rule Name="szPreviousStep" Query="'LogMoveActionStep'">
								<Variable Name="PreviousStepName" Scope="Children"/>
							</Rule>
						</Rule>
					</Object>
					<Object Type="EventReport" Key2="ExTRA" Key3="Application" Key5="1001" Text="サーバー {3} 上の {2} の {1} へのトランザクション ログ ファイルのコピーと削除を終了します。" S1="%NewLogPath%" S2="%SGName%" S3="%Server%"/>
					<Object Type="If" Name="CheckMachineName2" Key1="not ('%EXSERVER%'='%LocalMachineName%')">
						<Object Type="EventReport" Key1="%EXSERVER%" Key2="ExTRA" Key3="Application" Key5="1001" Text="サーバー {3} 上の {2} の {1} へのトランザクション ログ ファイルのコピーと削除を終了します。" S1="%NewLogPath%" S2="%SGName%" S3="%Server%"/>
					</Object>
				</Object>
			</Object>
		</Object>
	</Object>
	<Object Type="Step" Name="DisplayLogMoveStatusStep" Title="ログの移動の状態の表示" Display="Hide">
		<Object Type="Panel">
			<Object Type="Variable" Name="VariableInfo" Key1="Scalar" Display="Hide">
				<Setting Key1="%Server%" Substitution="Server" Display="Hide"/>
				<Setting Key1="%INFO[LogMove][SGName]%" Substitution="SGName" Display="Hide"/>
				<Setting Key1="%INFO[LogMove][Result][Title]%" Substitution="Title" Display="Hide"/>
				<Setting Key1="%INFO[LogMove][NewLogPath]%" Substitution="NewLogPath" Display="Hide"/>
				<Setting Key1="%INFO[%INFO[LogMove][SGName]%][LogPath]%" Substitution="LogPath" Display="Hide"/>
				<Setting Key1="%PreviousStepName%" Substitution="PreviousStepName" Display="Hide"/>
				<Setting Key1="%IsSymptom%" Substitution="IsSymptom" Display="Hide"/>
				<Setting Key1="%EventDisplayStepID%" Substitution="EventDisplayStepID" Display="Hide"/>
				<Object Type="Control" SubType="Title" Name="Title" Position="Top" Text="%Title%"/>
				<Object Type="Control" SubType="Label" Name="Label1" Position="Below" LineSpace="2" Text="サーバー名: %Server%"/>
				<Object Type="Control" SubType="Label" Name="Label2" Position="Below" LineSpace="0" Text="ストレージ グループ名: %SGName%"/>
				<Object Type="Control" SubType="Label" Name="Label3" Position="Below" LineSpace="0" Text="ストレージ グループのログ パス: %LogPath%"/>
				<Object Type="Control" SubType="Label" Name="Label4" Position="Below" LineSpace="0" Text="新しいログの場所: %NewLogPath%"/>

				<Object Type="Control" SubType="Reports" Name="InterimReports" Position="LeftBelow" Width="FullWidth" Height="400">
					<Report Title="エラー" Query="//Object[@Type='Step' and @Name='%STEPNAMEPREFIX%%PreviousStepName%' and not(@StepStatus='Deactivated')][last()]/*//Message[@Error='Error']"/>
					<Report Title="情報" Query="//Object[@Type='Step' and @Name='%STEPNAMEPREFIX%%PreviousStepName%' and not(@StepStatus='Deactivated')][last()]/*//Message[@Error='Information']"/>
				</Object>

				<Object Type="If" Name="IsSymptom" Key1="'%IsSymptom%'='0'">
					<Object Type="Control" SubType="Link" Name="TaskCenter" Position="Below" LineSpace="2" Text="タスク センターに戻る" NextStep="GetDBInfoFromADStep"/>
				</Object>
				<Object Type="If" Name="IsSymptom" Key1="'%IsSymptom%'='1'">
					<Object Type="Control" SubType="Link" Name="Goto" Position="Below" LineSpace="2" Text="イベント表示ページに戻る" NextStep="%EventDisplayStepID%"/>
				</Object>

			</Object>
		</Object>
	</Object>

	<Object Type="Step" Name="SelectOSGStep" Title="元のストレージ グループの選択の手順" Display="Left">
		<Object Type="Panel">
			<Object Type="Variable" Key1="Scalar" Display="Hide">
				<Setting Key1="%SG%" Substitution="InputSG" Display="Hide"/>
				<Setting Key1="%Server%" Substitution="Server" Display="Hide"/>
				<Setting Key1="%INFO[AllSGs]%" Substitution="AllSGs" Display="Hide"/>
				<Object Type="Control" SubType="Title" Name="Title" Position="Top" Text="回復用ストレージ グループとリンクするストレージ グループの選択"/>
				<Object Type="Control" SubType="Label" Name="Server" Position="Below" Text="サーバー名: %Server%"/>
				<Object Type="Control" SubType="ListBox" Name="ListBox" Position="Below" Width="450" Text="使用可能なストレージ グループ" Default="%AllSGs%">
					<Setting Key1="SelectedSG">
						<Rule Name="szSG" Query="if(not ($.=''),string($.),(if(not ('@S0'=''),string(@S0))))" S0="%InputSG%" Text="選択されたストレージ グループは {1} です。" P1="$.">
							<Variable Name="SelectedSG" Scope="Local"/>
						</Rule>
					</Setting>
				</Object>
				<Object Type="Control" SubType="Label" Name="Info" Position="LeftBelow" LineSpace="2" Text="回復用ストレージ グループは、既存のストレージ グループにリンクされています。回復用ストレージ グループでマウントできるのは、リンクされたストレージ グループ内のデータベースのみです。"/>
				<Object Type="Control" SubType="Link" Name="Previous" LineSpace="2" Position="Below" Text="前へ"/>
				<Object Type="Control" SubType="Link" Name="Next" Position="NextTo" Percent="30" Text="次へ">
					<Rule Name="fCreateRSGStep" Query="$szSG" NextStep="GenerateTempDataStep"/>
				</Object>
			</Object>
		</Object>
	</Object>

	<Object Type="Step" Name="GenerateTempDataStep" Title="一時データの生成" Display="Left">
		<Object Type="Action">
			<Object Type="Variable" Key1="Scalar" Display="Hide">
				<Setting Key1="%INFO[%SelectedSG%][MDBNameList]%" Substitution="MDBNameList" Display="Hide"/>
				<Setting Key1="%INFO[%SelectedSG%][LogPath]%" Substitution="OSGLogPath" Display="Hide"/>
				<Setting Key1="%INFO[%SelectedSG%][SysPath]%" Substitution="OSGSysPath" Display="Hide"/>
				<Setting Key1="%SelectedSG%" Substitution="SGName" Display="Hide"/>

				<Object Type="WMI" Key1="" Key3="Win32_OperatingSystem" SecurityContext="EXLOGON">
					<Setting Key1="LocalDateTime" Substitution="dPrettyDateTime" SubstitutionFormat="(.*?)(\..*)----$1"/>
					<Object Type="Group" Name="SetVariables">
						<Rule Name="szNSGLogPath" Query="concat(@S0, '\RSG', @S1)" S0="%OSGLogPath%" S1="%dPrettyDateTime%">
							<Variable Name="INFO[RSG][LogPath]" Scope="Children"/>
						</Rule>
						<Rule Name="szNSGSysPath" Query="concat(@S0, '\RSG', @S1)" S0="%OSGSysPath%" S1="%dPrettyDateTime%">
							<Variable Name="INFO[RSG][SysPath]" Scope="Children"/>
						</Rule>
					</Object>
					<Object Type="Variable" Name="GetVariables" Key1="Unpack" Key2="%MDBNameList%">
						<Setting Key1="__VALUE" Substitution="DBName"/>
						<Object Type="Variable" Name="GetDBVariables" Key1="Scalar" Display="Hide">
							<Setting Key1="%INFO[%SGName%][%DBName%][MDBPATH]%" Substitution="Path" Display="Hide">
								<Rule Name="szDBPathName" Query="replace($., '\\[^\\]*$', '')"/>
								<Rule Name="szDBFileName" Query="replace($., '.*\\', '')"/>
								<Rule Name="szDBNewPath" Query="concat($szDBPathName, '\RSG', @S1, '\', $szDBFileName)" S1="%dPrettyDateTime%">
									<Variable Name="INFO[NDB][%DBName%][Path]" Scope="Children"/>
								</Rule>
							</Setting>
						</Object>
					</Object>
				</Object>
				<Rule Name="fDispatch" Query="true()" NextStep="CreateRSGStep"/>
			</Object>
		</Object>
	</Object>

	<Object Type="Step" Name="CreateRSGStep" Title="RSG 作成の手順" Display="Left">
		<Object Type="Panel">
			<Object Type="If" Key1="true()" Display="HideAll">
				<Setting Key1="'1'" SQM="102;Set"/>
			</Object>
			<Object Type="Variable" Key1="Scalar" Display="Hide">
				<Setting Key1="%INFO[%SelectedSG%][LogPath]%" Substitution="OSGLogPath" Display="Hide"/>
				<Setting Key1="%INFO[%SelectedSG%][SysPath]%" Substitution="OSGSysPath" Display="Hide"/>
				<Setting Key1="%RSG%" Substitution="RSGName" Display="Hide"/>
				<Setting Key1="%INFO[RSG][LogPath]%" Substitution="RSGLogPath" Display="Hide"/>
				<Setting Key1="%INFO[RSG][SysPath]%" Substitution="RSGSysPath" Display="Hide"/>
				<Setting Key1="%Server%" Substitution="Server" Display="Hide"/>
				<Setting Key1="%SelectedSG%" Substitution="SelectedSG" Display="Hide"/>
				<Setting Key1="%INFO[%SelectedSG%][MDBNameList]%" Substitution="MDBNameList" Display="Hide"/>
				<Object Type="Control" SubType="Title" Name="Title" Position="Top" Text="回復用ストレージ グループの作成"/>
				<Object Type="Control" SubType="Label" Name="ServerName" Position="Below" Text="サーバー名: %Server%"/>
				<Object Type="Control" SubType="Label" Name="LinkedOSG" Position="Below" LineSpace="0" Text="リンクされたストレージ グループ: %SelectedSG%"/>

				<!-- Get Recovery Storage Group Name  -->
				<Object Type="Control" SubType="Label" Name="RSGNameLabel" Position="Below" LineSpace="2" Width="225" Text="回復用ストレージ グループ名: " FontStyle="Bold"/>
				<Object Type="Control" SubType="TextBox" Name="RSGName" Position="230," Width="375" Default="%RSGName%">
					<Setting Key1="RSGName">
						<Rule Name="fRSGNameEmpty" Query="not ($.)" Text="回復用ストレージ グループの名前が空です。" Error="Error"/>
						<Rule Name="szRSGName" Query="$.">
							<Variable Name="INFO[RSG][Name]" Scope="Local"/>
						</Rule>
					</Setting>
				</Object>

				<!-- Transaction Log Path  -->
				<Object Type="Control" SubType="Label" Name="LogFolderLabel" Position="At(RSGNameLabel),After(RSGNameLabel)" Width="225" Text="トランザクション ログ ファイル フォルダ" FontStyle="Bold"/>
				<Object Type="Control" SubType="Label" Name="OSGLogLabel" Position="Below" LineSpace="0" Width="225" Text="元のストレージ グループ (Enn.log) のログ パス: "/>
				<Object Type="Control" SubType="TextBox" Name="OSGLogLabel1" Position="At(RSGName)," Width="375" Flags="ReadOnly=True" Default="%OSGLogPath%"/>
				<Object Type="Control" SubType="Label" Name="RSGLogLabel" Position="At(OSGLogLabel),After(OSGLogLabel)" LineSpace="0" Width="225" Text="回復用ストレージ グループ (R00.log) のログ パス:"/>
				<Object Type="Control" SubType="FileDialog" Name="RSGLogPath" Position="At(RSGName)," Width="375" Title="回復用ストレージ グループのログ パスの選択" Text="参照..." DialogType="OpenFolder" Default="%RSGLogPath%" Flags="ReadOnly=True|AllowCreate=True">
					<Setting Key1="LogPath">
						<Rule Name="szRSGLogPath" Query="$.">
							<Variable Name="INFO[RSG][LogPath]" Scope="Children"/>
						</Rule>
					</Setting>
				</Object>

				<!-- System Folder and CheckPoint File folder  -->
				<Object Type="Control" SubType="Label" Name="SysFolderLabel" Position="At(RSGLogLabel),After(RSGLogLabel)" LineSpace="2" Width="225" Text="システム フォルダおよびチェックポイント ファイル フォルダ" FontStyle="Bold"/>
				<Object Type="Control" SubType="Label" Name="OSGSysFolderLabel" Position="Below" LineSpace="0" Width="225" Text="元のストレージ グループ (Enn.chk) のパス: "/>
				<Object Type="Control" SubType="TextBox" Name="OSGSysFolderLabel1" Position="At(RSGName)," Width="375" Flags="ReadOnly=True" Default="%OSGSysPath%"/>
				<Object Type="Control" SubType="Label" Name="RSGSysFolderLabel" Position="At(OSGSysFolderLabel),After(OSGSysFolderLabel)" LineSpace="0" Width="225" Text="回復用ストレージ グループ (R00.chk) のパス:"/>
				<Object Type="Control" SubType="FileDialog" Name="RSGSysPath" Position="At(RSGName)," Width="375" Title="回復用ストレージ グループのシステム パスの選択" Text="参照..." DialogType="OpenFolder" Default="%RSGSysPath%" Flags="ReadOnly=True|AllowCreate=True">
					<Setting Key1="SysPath">
						<Rule Name="szRSGSysPath" Query="$.">
							<Variable Name="INFO[RSG][SysPath]" Scope="Children"/>
						</Rule>
					</Setting>
				</Object>

				<!-- Database Folders and file names  -->
				<Object Type="Control" SubType="Label" Name="DataFolderLabel" Position="At(RSGSysFolderLabel),After(RSGSysFolderLabel)" Width="225" Text="データベース フォルダおよびファイル名" FontStyle="Bold"/>

				<Object Type="Variable" Name="GetDBNames" Key1="Unpack" Key2="%MDBNameList%">
					<Setting Key1="__VALUE" Substitution="DBName"/>
					<Object Type="Variable" Name="MDBVariables" Key1="Scalar" Display="Hide">
						<Setting Key1="%INFO[%SelectedSG%][%DBName%][MDBPATH]%" Substitution="DBPath" Display="Hide"/>
						<Setting Key1="%INFO[NDB][%DBName%][Path]%" Substitution="RDBPath" Display="Hide"/>
						<Object Type="Control" SubType="Label" Name="DBLabel" Position="LeftBelow" LineSpace="0" Width="225" Text="データベース名: "/>
						<Object Type="Control" SubType="TextBox" Name="DBName" Position="At(RSGName)," Width="375" Flags="ReadOnly=True" Default="%DBName%"/>
						<Object Type="Control" SubType="Label" Name="DBPathLabel" Position="At(DBLabel),After(DBLabel)" LineSpace="0" Width="225" Text="データベース パス: "/>
						<Object Type="Control" SubType="TextBox" Name="DBPath" Position="At(RSGName)," Width="375" Flags="ReadOnly=True" Default="%DBPath%"/>
						<Object Type="Control" SubType="Label" Name="RDBPathLabel" Position="At(DBPathLabel),After(DBPathLabel)" LineSpace="0" Width="225" Text="回復用データベースのパス: "/>
						<Object Type="Control" SubType="FileDialog" Name="RDBPath%DBName%" Position="At(RSGName)," Width="375" Title="新しいデータベース パスの選択" Text="参照..." DialogType="OpenFile" FileFilter="EDB Files(*.edb)|*.edb|All Files(*.*)|*.*" Default="%RDBPath%" Flags="ReadOnly=True|AllowCreate=True">
							<Setting Key1="Value">
								<Rule Name="szRDBPath" Query="$.">
									<Variable Name="INFO[NDB][%DBName%][Path]" Scope="Children"/>
								</Rule>
							</Setting>
						</Object>
					</Object>
				</Object>

				<Object Type="Control" SubType="Link" Name="Previous" Position="LeftBelow" LineSpace="2" Text="前へ"/>
				<Object Type="Control" SubType="Link" Name="Next" Position="NextTo" Percent="30" Text="回復用ストレージ グループの作成" NextStep="CreateRSGActionStep"/>
			</Object>
		</Object>
	</Object>
	<Object Type="Step" Name="CreateRSGActionStep" Title="回復用ストレージ グループの作成" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%INFO[RSG][Name]%" Substitution="RSGName" Display="Hide"/>
			<Setting Key1="%INFO[RSG][SysPath]%" Substitution="RSGSysPath" Display="Hide"/>
			<Setting Key1="%INFO[RSG][LogPath]%" Substitution="RSGLogPath" Display="Hide"/>
			<Setting Key1="%DC%" Substitution="DC" Display="Hide"/>
			<Setting Key1="%Server%" Substitution="Server" Display="Hide"/>
			<Setting Key1="%ServerName%" Substitution="EXSERVER" Display="Hide"/>
			<Setting Key1="%SelectedSG%" Substitution="SelectedSG" Display="Hide"/>
			<Setting Key1="%INFO[%SelectedSG%][MDBNameList]%" Substitution="MDBNameList" Display="Hide"/>
			<Object Type="Progress" Title="回復用ストレージ グループの作成" Text="%Server% 上に回復用ストレージ グループを作成しています。しばらくお待ちください。">
				<Object Type="MonadCommand" Name="Identity" Key1="new-storagegroup -DomainController %DC% -Server %EXSERVER% -LogFolderPath &quot;%RSGLogPath%&quot; -Name &quot;%RSGName%&quot; -SystemFolderPath &quot;%RSGSysPath%&quot; -Recovery" SecurityContext="EXLOGON">
					<Rule Name="fRSGCreationException" Query="count(../Exception) &gt;0" Title="回復用ストレージ グループの作成中にエラーが発生しました" Text="回復用ストレージ グループ ({1}) の作成中にエラーが発生しました。エラー メッセージ: {0}。" P0="../Exception/@Message" S1="%RSGName%" Error="Error"/>
					<Rule Name="fRSGMsg" Query="not ($fRSGCreationException)" Title="回復用ストレージ グループが正常に作成されました" Text="回復用ストレージ グループ ({1}) が正常に作成されました。" S1="%RSGName%" Error="Information" AlwaysEvaluate="True"/>
					<Setting Key1="__VALUES"/>

					<Object Type="Variable" Name="UnpackDBNames" Key1="Unpack" Key2="%MDBNameList%">
						<Setting Key1="__VALUE" Substitution="DBName"/>
						<Object Type="Variable" Name="DBInfo" Key1="Scalar" Display="Hide">
							<Setting Key1="%INFO[%SelectedSG%][%DBName%][GUID]%" Substitution="DBGUID" Display="Hide"/>
							<Setting Key1="%INFO[NDB][%DBName%][Path]%" Substitution="DBPath" Display="Hide"/>
							<Object Type="MonadCommand" Name="Identity" Key1="new-mailboxdatabase -DomainController %DC% -mailboxdatabasetorecover %DBGUID% -storagegroup &quot;%EXSERVER%\%RSGName%&quot; -EDBFilePath &quot;%DBPath%&quot;">
								<Rule Name="fMonadExceptionOnDB" Query="count(../Exception) &gt;0" Title="回復用ストレージ グループにデータベースを追加中にエラーが発生しました" Text="回復用ストレージ グループ ({2}) にデータベース ({1}) を追加中にエラーが発生しました。エラー メッセージ: {0}。" P0="../Exception/@Message" S1="%DBName%" S2="%RSGName%" Error="Error"/>
								<Rule Name="szDBMsg" Query="not ($fMonadExceptionOnDB)" Title="データベース ({1}) は回復用ストレージ グループに追加されました" Text="データベース ({1}) は回復用ストレージ グループ ({2}) に正常に追加されました。" S1="%DBName%" S2="%RSGName%" Error="Information" AlwaysEvaluate="True"/>
								<Setting Key1="__VALUES"/>
							</Object>
						</Object>
					</Object>

				</Object>

				<Rule Name="fReportRSGCreationStep" Query="true()" NextStep="DisplayRSGCreationStep" AlwaysEvaluate="True">
					<Rule Name="szPreviousStepName" Query="'CreateRSGActionStep'">
						<Variable Name="PreviousStepName" Scope="Children"/>
					</Rule>
				</Rule>
			</Object>
		</Object>
	</Object>

	<Object Type="Step" Name="DisplayRSGCreationStep" Title="RSG の作成結果の表示" Display="Left">
		<Object Type="Panel">
			<Object Type="Variable" Key1="Scalar" Display="Hide">
				<Setting Key1="%INFO[%SelectedSG%][LogPath]%" Substitution="OSGLogPath" Display="Hide"/>
				<Setting Key1="%INFO[%SelectedSG%][SysPath]%" Substitution="OSGSysPath" Display="Hide"/>
				<Setting Key1="%INFO[RSG][Name]%" Substitution="RSGName" Display="Hide"/>
				<Setting Key1="%INFO[RSG][LogPath]%" Substitution="RSGLogPath" Display="Hide"/>
				<Setting Key1="%INFO[RSG][SysPath]%" Substitution="RSGSysPath" Display="Hide"/>
				<Setting Key1="%Server%" Substitution="Server" Display="Hide"/>
				<Setting Key1="%SelectedSG%" Substitution="SelectedSG" Display="Hide"/>
				<Setting Key1="%INFO[%SelectedSG%][MDBNameList]%" Substitution="MDBNameList" Display="Hide"/>
				<Setting Key1="%PreviousStepName%" Substitution="PreviousStepName" Display="Hide"/>
				<Object Type="Control" SubType="Title" Name="Title" Position="Top" Text="回復用ストレージ グループの作成結果"/>
				<Object Type="Control" SubType="Label" Name="ServerName" Position="Below" Text="サーバー名: %Server%"/>
				<Object Type="Control" SubType="Label" Name="LinkedOSG" Position="Below" LineSpace="0" Text="リンクされたストレージ グループ名: %SelectedSG%"/>
				<Object Type="Control" SubType="Label" Name="RSGName" Position="Below" LineSpace="0" Text="回復用ストレージ グループ名: %RSGName%"/>

				<Object Type="Control" SubType="Label" Name="Info" Position="Below" LineSpace="2" FontStyle="Bold" Text="結果の表示"/>

				<Object Type="Control" SubType="Reports" Name="InterimReports" Position="LeftBelow" Width="FullWidth" Height="300">
					<Report Title="結果" Query="//Object[@Type='Step' and @Name='%STEPNAMEPREFIX%%PreviousStepName%' and not(@StepStatus='Deactivated')][last()]/*//Message[@Error]"/>
				</Object>

				<Object Type="Control" SubType="Label" Name="Info" Position="LeftBelow" LineSpace="2" Text="これで、データベースおよびトランザクション ログ ファイルを、回復用ストレージ グループ パスに移動、コピー、または復元することができます。回復用ストレージ グループでデータベースをマウントする準備ができたら、タスク センターに移動するか、このアナライザをもう一度起動してください。指定したドメイン コントローラが、Exchange サーバーが使用するドメイン コントローラと異なる場合は、変更内容がレプリケートされるまで待つ必要がある場合があります。"/>

				<Object Type="Control" SubType="ShowHide" Name="ShowHideRSGInfo" Position="Below" Text="回復用ストレージ グループの作成情報を表示する、回復用ストレージ グループの作成情報を表示しない">

					<!-- Transaction Log Path  -->
					<Object Type="Control" SubType="Label" Name="LogFolderLabel" Position="Top" LineSpace="2" FontStyle="Bold" Text="トランザクション ログ ファイル フォルダ"/>
					<Object Type="Control" SubType="Label" Name="OSGLogLabel" Position="Below" LineSpace="0" Text="元のストレージ グループ (Enn.log) のログ パス: "/>
					<Object Type="Control" SubType="TextBox" Name="OSGLogLabel1" Position="NextTo" Percent="30" Width="500" Flags="ReadOnly=True" Default="%OSGLogPath%"/>
					<Object Type="Control" SubType="Label" Name="RSGLogLabel" Position="LeftBelow" LineSpace="0" Text="回復用ストレージ グループ (R00.log) のログ パス:"/>
					<Object Type="Control" SubType="TextBox" Name="RSGLogPath" Position="NextTo" Percent="30" Width="500" Flags="ReadOnly=True" Default="%RSGLogPath%"/>

					<!-- System Folder and CheckPoint File folder  -->
					<Object Type="Control" SubType="Label" Name="SysFolderLabel" Position="LeftBelow" LineSpace="2" FontStyle="Bold" Text="システム フォルダおよびチェックポイント ファイル フォルダ"/>
					<Object Type="Control" SubType="Label" Name="OSGSysFolderLabel" Position="Below" LineSpace="0" Text="元のストレージ グループ (Enn.chk) のパス: "/>
					<Object Type="Control" SubType="TextBox" Name="OSGSysFolderLabel1" Position="NextTo" Percent="30" Width="500" Flags="ReadOnly=True" Default="%OSGSysPath%"/>
					<Object Type="Control" SubType="Label" Name="RSGSysFolderLabel" Position="LeftBelow" LineSpace="0" Text="回復用ストレージ グループ (R00.chk) のパス:"/>
					<Object Type="Control" SubType="TextBox" Name="RSGSysPath" Position="NextTo" Percent="30" Width="500" Flags="ReadOnly=True" Default="%RSGSysPath%"/>

					<!-- Database Folders and file names  -->
					<Object Type="Control" SubType="Label" Name="DataFolderLabel" Position="LeftBelow" FontStyle="Bold" Text="データベース フォルダおよびファイル名"/>

					<Object Type="Variable" Name="UnpackMDBName" Key1="Unpack" Key2="%MDBNameList%">
						<Setting Key1="__VALUE" Substitution="DBName"/>
						<Object Type="Variable" Name="GetDBVariables" Key1="Scalar" Display="Hide">
							<Setting Key1="%INFO[%SelectedSG%][%DBName%][MDBPATH]%" Substitution="DBPath" Display="Hide"/>
							<Setting Key1="%INFO[NDB][%DBName%][Path]%" Substitution="RSGDBPath" Display="Hide"/>
							<Object Type="Control" SubType="Label" Name="DBLabel" Position="LeftBelow" Text="データベース名: "/>
							<Object Type="Control" SubType="TextBox" Name="DBName" Position="NextTo" Percent="30" Width="500" Flags="ReadOnly=True" Default="%DBName%"/>
							<Object Type="Control" SubType="Label" Name="DBPathLabel" Position="LeftBelow" LineSpace="0" Text="データベース パス: "/>
							<Object Type="Control" SubType="TextBox" Name="DBPath" Position="NextTo" Percent="30" Width="500" Flags="ReadOnly=True" Default="%DBPath%"/>
							<Object Type="Control" SubType="Label" Name="RDBPathLabel" Position="LeftBelow" LineSpace="0" Text="回復用データベースのパス: "/>
							<Object Type="Control" SubType="TextBox" Name="RDBPath" Position="NextTo" Percent="30" Width="500" Flags="ReadOnly=True" Default="%RSGDBPath%"/>
						</Object>
					</Object>
				</Object>

				<Object Type="Control" SubType="Link" Name="Next" Position="LeftBelow" LineSpace="2" Text="タスク センターに戻る" NextStep="GetDBInfoFromADStep"/>
			</Object>
		</Object>
	</Object>

	<Object Type="Step" Name="MountDismountDatabaseStep" Title="回復用ストレージ グループ内のデータベースのマウントまたはマウント解除" Display="Left">
		<Object Type="Panel">
			<Object Type="If" Key1="true()" Display="HideAll">
				<Setting Key1="'1'" SQM="104;Set"/>
			</Object>
			<Object Type="Variable" Key1="Scalar" Display="Hide">
				<Setting Key1="%Mode%" Substitution="InputMode" Display="Hide"/>
				<Setting Key1="%DB%" Substitution="InputDB" Display="Hide"/>
				<Setting Key1="%Server%" Substitution="Server" Display="Hide"/>
				<Setting Key1="%INFO[RSG][Name]%" Substitution="RSGName" Display="Hide"/>
				<Setting Key1="%INFO[%INFO[RSG][Name]%][DBMountCount]%" Substitution="MountCount" Display="Hide"/>
				<Setting Key1="%INFO[%INFO[RSG][Name]%][MOUNTED]%" Substitution="Mounted" Display="Hide"/>
				<Setting Key1="%INFO[%INFO[RSG][Name]%][DBUnMountCount]%" Substitution="UnmountCount" Display="Hide"/>
				<Setting Key1="%INFO[%INFO[RSG][Name]%][SelectableDBs]%" Substitution="UnMounted" Display="Hide"/>
				<Setting Key1="%INFO[%INFO[RSG][Name]%][UnSelectableDBs]%" Substitution="UnSelectable" Display="Hide"/>
				<Object Type="Control" SubType="Title" Name="Title" Position="Top" Text="データベースのマウントまたはマウント解除"/>
				<Object Type="Control" SubType="Label" Name="Server" Position="Below" Text="サーバー名: %Server%"/>
				<Object Type="Control" SubType="Label" Name="SG" Position="Below" LineSpace="0" Text="選択されたストレージ グループ: %RSGName%"/>

				<Object Type="If" Name="Mounted" Key1="%MountCount% &gt;0">
					<Object Type="Control" SubType="Label" Name="Mounted" Position="Below" Text="次のデータベースはマウントされています:"/>
					<Object Type="Control" SubType="ListView" Name="MountedListView" Position="Below" Text="マウントされたメールボックス" Height="150" Width="600" Title="マウントされたデータベース" SelectionMode="True" Flags="DefaultSelection=False" Default="%Mounted%">
						<Setting Key1="Pack">
							<Rule Name="szDBMount" Query="if(not ($.=''),string($.))"/>
						</Setting>
					</Object>

					<Object Type="Control" SubType="Link" Name="UnMountDBs" Position="Below" Text="選択したデータベースのマウント解除" NextStep="UnMountMDBStep">
						<Rule Name="UnMountMDB" Query="$szDBMount">
							<Variable Name="INFO[RSG][SelectedMountedMDB]" Scope="Children"/>
						</Rule>
					</Object>
				</Object>

				<Object Type="If" Name="Dismounted" Key1="%UnmountCount% &gt;0">
					<Object Type="Control" SubType="Label" Name="Dismounted" Position="Below" Text="次のデータベースはマウント解除されています:"/>
					<Object Type="Control" SubType="ListView" Name="UnMountedListView" Position="Below" Text="マウント解除されたメールボックス" Height="150" Width="600" Title="マウント解除されたデータベース" SelectionMode="True" Flags="DefaultSelection=False" Default="%UnMounted%">
						<Setting Key1="Pack" Substitution="SelectedDB">
							<Rule Name="szDB" Query="if(not ($.=''),string($.))"/>
						</Setting>
					</Object>

					<Object Type="Control" SubType="Link" Name="MountDBs" Position="Below" Text="選択したデータベースのマウント" NextStep="MountMDBStep">
						<Rule Name="MountDB" Query="$szDB">
							<Variable Name="INFO[RSG][SelectedUnMountedMDB]" Scope="Children"/>
						</Rule>
					</Object>
				</Object>

				<Object Type="Control" SubType="Link" Name="Previous" Position="Below" LineSpace="0" Text="前へ"/>
				<Object Type="Control" SubType="Link" Name="Next" Position="NextTo" Percent="30" Text="タスク センターに戻る" NextStep="GetDBInfoFromADStep"/>

			</Object>
		</Object>
	</Object>
	<Object Type="Step" Name="MountAllMDBStep" Title="データベース手順をすべてマウント" Display="Left">
		<Object Type="Action">
			<Object Type="Variable" Key1="Scalar" Display="Hide">
				<Setting Key1="%INFO[%INFO[RSG][Name]%][SelectableDBs]%" Substitution="Mountable" Display="Hide"/>
				<Object Type="Group" Name="Group">
					<Rule Name="szSetupValue" Query="@S0" S0="%Mountable%">
						<Variable Name="INFO[RSG][SelectedUnMountedMDB]" Scope="Children"/>
					</Rule>
					<Rule Name="fDispatchToMount" Query="true()" NextStep="MountMDBStep"/>
				</Object>
			</Object>
		</Object>
	</Object>
	<Object Type="Step" Name="UnMountAllMDBStep" Title="データベース手順をすべてマウント解除" Display="Left">
		<Object Type="Action">
			<Object Type="Variable" Key1="Scalar" Display="Hide">
				<Setting Key1="%INFO[%INFO[RSG][Name]%][UnSelectableDBs]%" Substitution="UnMountable" Display="Hide"/>
				<Object Type="Group" Name="Group">
					<Rule Name="szSetupValue" Query="@S0" S0="%UnMountable%">
						<Variable Name="INFO[RSG][SelectedMountedMDB]" Scope="Children"/>
					</Rule>
					<Rule Name="fDispatchToMount" Query="true()" NextStep="UnMountMDBStep"/>
				</Object>
			</Object>
		</Object>
	</Object>

	<Object Type="Step" Name="MountMDBStep" Title="マウント解除されたデータベースをマウント" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%DC%" Substitution="DC" Display="Hide"/>
			<Setting Key1="%Server%" Substitution="Server" Display="Hide"/>
			<Setting Key1="%ServerName%" Substitution="EXSERVER" Display="Hide"/>
			<Setting Key1="%INFO[RSG][Name]%" Substitution="RSGName" Display="Hide"/>
			<Setting Key1="%INFO[RSG][SelectedUnMountedMDB]%" Substitution="UnmountMDB" Display="Hide"/>
			<Object Type="Progress" Title="データベースのマウント" Text="%Server% でデータベースをマウントしています。しばらくお待ちください。">
				<Object Type="Variable" Name="MountDBs" Key1="Unpack" Key2="%UnmountMDB%" SecurityContext="EXLOGON">
					<Setting Key1="__VALUE" Substitution="DBName"/>
					<Object Type="MonadCommand" Key1="set-mailboxdatabase -Identity &quot;%EXSERVER%\%RSGName%\%DBName%&quot; -DomainController %DC% -AllowFileRestore:$True"/>
					<Object Type="MonadCommand" Key1="mount-database -Identity &quot;%EXSERVER%\%RSGName%\%DBName%&quot; -DomainController %DC%">
						<Rule Name="fMonadException" Query="../Exception" Title="データベースのマウント中にエラーが発生しました" Text="回復用ストレージ グループ ({2}) 内のデータベース ({1}) のマウント中にエラーが発生しました。エラー メッセージ: {0}。" P0="../Exception/@Message" S1="%DBName%" S2="%RSGName%" Error="Error"/>
						<Rule Name="szMountMsg" Query="if(not ($fMonadException), string(@Text))" Text="データベース (%DBName%) は正常にマウントされました。" S1="%DBName%" Error="Information" AlwaysEvaluate="True"/>
						<Setting Key1="__THIS"/>
					</Object>
				</Object>
				<Rule Name="fDispatchToStatusReport" Query="true()" NextStep="MDBStatusReportStep">
					<Rule Name="szPreviousStepName" Query="'MountMDBStep'">
						<Variable Name="PreviousStepName" Scope="Children"/>
					</Rule>
				</Rule>
			</Object>
		</Object>
	</Object>
	<Object Type="Step" Name="UnMountMDBStep" Title="マウントされたメールボックス データベースのマウント解除" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%DC%" Substitution="DC" Display="Hide"/>
			<Setting Key1="%Server%" Substitution="Server" Display="Hide"/>
			<Setting Key1="%ServerName%" Substitution="EXSERVER" Display="Hide"/>
			<Setting Key1="%INFO[RSG][Name]%" Substitution="RSGName" Display="Hide"/>
			<Setting Key1="%INFO[RSG][SelectedMountedMDB]%" Substitution="MountMDB" Display="Hide"/>
			<Object Type="Progress" Title="データベースのマウント解除" Text="%Server% でデータベースをマウント解除しています。しばらくお待ちください。">
				<Object Type="Variable" Name="UnMountDBs" Key1="Unpack" Key2="%MountMDB%" SecurityContext="EXLOGON">
					<Setting Key1="__VALUE" Substitution="DBName"/>
					<Object Type="MonadCommand" Key1="dismount-database -Identity &quot;%EXSERVER%\%RSGName%\%DBName%&quot; -DomainController %DC% -confirm:$false">
						<Rule Name="fMonadException" Query="../Exception" Title="データベースのマウント解除中にエラーが発生しました" Text="回復用ストレージ グループ ({2}) 内のデータベース ({1}) のマウント解除中にエラーが発生しました。エラー メッセージ: {0}。" P0="../Exception/@Message" S1="%DBName%" S2="%RSGName%" Error="Error"/>
						<Rule Name="szUnMountMsg" Query="if(not ($fMonadException), string(@Text))" Text="データベース (%DBName%) は正常にマウント解除されました。" S1="%DBName%" Error="Information" AlwaysEvaluate="True"/>
						<Setting Key1="__THIS"/>
					</Object>
				</Object>
				<Rule Name="fDispatchToStatusReport" Query="true()" NextStep="MDBStatusReportStep">
					<Rule Name="szPreviousStepName" Query="'UnMountMDBStep'">
						<Variable Name="PreviousStepName" Scope="Children"/>
					</Rule>
				</Rule>
			</Object>
		</Object>
	</Object>
	<Object Type="Step" Name="MDBStatusReportStep" Title="データベースのマウントまたはマウント解除のレポート" Display="Left">
		<Object Type="Panel">
			<Object Type="Variable" Name="Variable Info" Key1="Scalar" Display="Hide">
				<Setting Key1="%Server%" Substitution="Server" Display="Hide"/>
				<Setting Key1="%INFO[RSG][Name]%" Substitution="RSGName" Display="Hide"/>
				<Setting Key1="%PreviousStepName%" Substitution="PreviousStepName" Display="Hide"/>
				<Setting Key1="%INFO[Mount][Message]%" Substitution="Messages" Display="Hide"/>
				<Object Type="Control" SubType="Title" Name="Title" Position="Top" Text="データベースのマウントまたはマウント解除のレポート"/>
				<Object Type="Control" SubType="Label" Name="Server" Position="Below" Text="サーバー名: %Server%"/>
				<Object Type="Control" SubType="Label" Name="SG" Position="Below" LineSpace="0" Text="選択されたストレージ グループ: %RSGName%"/>

				<Object Type="Control" SubType="Reports" Name="InterimReports" Position="LeftBelow" Width="FullWidth" Height="400">
					<Report Title="エラー" Query="//Object[@Type='Step' and @Name='%STEPNAMEPREFIX%%PreviousStepName%' and not(@StepStatus='Deactivated')][last()]/*//Message[@Error='Error']"/>
					<Report Title="情報" Query="//Object[@Type='Step' and @Name='%STEPNAMEPREFIX%%PreviousStepName%' and not(@StepStatus='Deactivated')][last()]/*//Message[@Error='Information']"/>
				</Object>

				<Object Type="Control" SubType="Link" Name="Next" Position="LeftBelow" LineSpace="2" Text="タスク センターに戻る" NextStep="GetDBInfoFromADStep"/>
			</Object>
		</Object>
	</Object>

	<Object Type="Step" Name="RemoveRSGStep" Title="回復用ストレージ グループの削除" Display="Left">
		<Object Type="Panel">
			<Object Type="If" Key1="true()" Display="HideAll">
				<Setting Key1="'1'" SQM="103;Set"/>
			</Object>
			<Object Type="Variable" Key1="Scalar" Display="Hide">
				<Setting Key1="%Server%" Substitution="Server" Display="Hide"/>
				<Setting Key1="%INFO[RSG][Name]%" Substitution="RSGName" Display="Hide"/>
				<Setting Key1="%INFO[%INFO[RSG][Name]%][DBMountCount]%" Substitution="MountCount" Display="Hide"/>
				<Setting Key1="%INFO[%INFO[RSG][Name]%][MOUNTED]%" Substitution="Mounted" Display="Hide"/>
				<Setting Key1="%INFO[%INFO[RSG][Name]%][DBUnMountCount]%" Substitution="UnMountCount" Display="Hide"/>
				<Setting Key1="%INFO[%INFO[RSG][Name]%][SelectableDBs]%" Substitution="Selectable" Display="Hide"/>
				<Object Type="Control" SubType="Title" Name="Title" Position="Top" Text="回復用ストレージ グループの削除"/>
				<Object Type="Control" SubType="Label" Name="Server" Position="Below" LineSpace="2" Text="サーバー名: %Server%"/>
				<Object Type="Control" SubType="Label" Name="Storage Group Name" Position="Below" Text="回復用ストレージ グループ名: %RSGName%"/>

				<Object Type="If" Name="MountedCondition" Key1="%MountCount% &gt;0">
					<Object Type="Control" SubType="Label" Name="Mounted" Position="Below" Text="次ののデータベースはマウントされています:"/>
					<Object Type="Control" SubType="ListBox" Name="MountedListBox" Position="Below" Width="300" Default="%Mounted%" SelectionMode="None"/>
					<Object Type="Control" SubType="Label" Name="Info" Position="LeftBelow" LineSpace="2" Text="いずれかのデータベースがマウントされている場合は、回復用ストレージ グループを削除できません。タスク センターに戻り、'回復用ストレージ グループ内のデータベースのマウントまたはマウント解除' タスクを選択してすべてのデータベースをマウント解除してから、やり直してください。 "/>
				</Object>

				<Object Type="If" Name="DismountedCondition" Key1="%UnMountCount% &gt;0">
					<Object Type="Control" SubType="Label" Name="Dismounted" Position="Below" Text="次のデータベースはマウント解除されています:"/>
					<Object Type="Control" SubType="ListBox" Name="SelectableListBox" Position="Below" Width="300" Default="%Selectable%" SelectionMode="None"/>
				</Object>

				<Object Type="Control" SubType="Link" Name="Previous" Position="LeftBelow" LineSpace="2" Text="前へ"/>
				<Object Type="If" Name="RemoveRSG" Key1="%MountCount%=0">
					<Object Type="Control" SubType="Link" Name="Remove RSG" Position="NextTo" Percent="30" Text="回復用ストレージ グループの削除" NextStep="RemoveRSGActionStep"/>
				</Object>
			</Object>
		</Object>
	</Object>

	<Object Type="Step" Name="RemoveRSGActionStep" Title="回復用ストレージ グループの削除" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%DC%" Substitution="DC" Display="Hide"/>
			<Setting Key1="%Server%" Substitution="Server" Display="Hide"/>
			<Setting Key1="%INFO[RSG][Name]%" Substitution="RSGName" Display="Hide"/>
			<Setting Key1="%ServerName%" Substitution="EXSERVER" Display="Hide"/>
			<Setting Key1="%LocalMachineName%" Substitution="LocalMachineName" Display="Hide"/>
			<Setting Key1="%INFO[%INFO[RSG][Name]%][AllMDBs]%" Substitution="AllMDBs" Display="Hide"/>
			<Object Type="Progress" Title="回復用ストレージ グループの削除" Text="%Server% で回復用ストレージ グループを削除しています。しばらくお待ちください。">
				<Object Type="EventReport" Key2="ExTRA" Key3="Application" Key5="1000" Text="サーバー {1} 上の回復用ストレージ グループの削除を開始します。" S1="%Server%"/>
				<Object Type="If" Name="CheckMachineName" Key1="not ('%EXSERVER%'='%LocalMachineName%')">
					<Object Type="EventReport" Key1="%EXSERVER%" Key2="ExTRA" Key3="Application" Key5="1000" Text="サーバー {1} 上の回復用ストレージ グループの削除を開始します。" S1="%Server%"/>
				</Object>

				<Object Type="Variable" Name="RemoveMountMDBs" Key1="Unpack" Key2="%AllMDBs%" SecurityContext="EXLOGON">
					<Setting Key1="__VALUE" Substitution="DBName"/>
					<Object Type="MonadCommand" Key1="remove-mailboxdatabase -Identity &quot;%EXSERVER%\%RSGName%\%DBName%&quot; -DomainController %DC%">
						<Rule Name="fMonadException" Query="../Exception" Title="データベースの削除中にエラーが発生しました" Text="回復用ストレージ グループ ({2}) 内のデータベース ({1}) を削除中にエラーが発生しました。エラー メッセージ: {0}。" P0="../Exception/@Message" S1="%DBName%" S2="%RSGName%" Error="Error"/>
						<Rule Name="szRemoveDBMsg" Query="not ($fMonadException)" Title="回復用ストレージ グループからデータベース ({1}) が正常に削除されました" Text="回復用ストレージ グループ ({2}) からデータベース ({1}) が正常に削除されました。" S1="%DBName%" S2="%RSGName%" Error="Information" AlwaysEvaluate="True"/>
						<Setting Key1="__VALUES"/>
					</Object>
				</Object>
				<Object Type="MonadCommand" Key1="remove-storagegroup -Identity &quot;%EXSERVER%\%RSGName%&quot; -DomainController %DC%" SecurityContext="EXLOGON">
					<Rule Name="fMonadExceptionRSG" Query="../Exception" Title="回復用ストレージ グループの削除中にエラーが発生しました" Text="回復用ストレージ グループ ({1}) の削除中にエラーが発生しました。エラー メッセージ: {0}。" P0="../Exception/@Message" S1="%RSGName%" Error="Error"/>
					<Rule Name="szRemoveRSGMsg" Query="not ($fMonadExceptionRSG)" Title="回復用ストレージ グループが正常に削除されました" Text="回復用ストレージ グループ ({1}) が正常に削除されました" S1="%RSGName%" Error="Information" AlwaysEvaluate="True"/>
					<Setting Key1="__VALUES"/>
				</Object>
				<Object Type="EventReport" Key2="ExTRA" Key3="Application" Key5="1001" Text="サーバー {1} 上の回復用ストレージ グループの削除を終了します。" S1="%Server%"/>
				<Object Type="If" Name="CheckMachineName2" Key1="not ('%EXSERVER%'='%LocalMachineName%')">
					<Object Type="EventReport" Key1="%EXSERVER%" Key2="ExTRA" Key3="Application" Key5="1001" Text="サーバー {1} 上の回復用ストレージ グループの削除を終了します。" S1="%Server%"/>
				</Object>
				<Rule Name="fDispatchToDisplayRemoveResultStep" Query="true()" NextStep="DisplayRemoveResultStep">
					<Rule Name="szPreviousStep" Query="'RemoveRSGActionStep'">
						<Variable Name="INFO[PreviousStepName]" Scope="Children"/>
					</Rule>
				</Rule>
			</Object>
		</Object>
	</Object>
	<Object Type="Step" Name="DisplayRemoveResultStep" Title="RSG の削除結果の表示" Display="Left">
		<Object Type="Panel">
			<Object Type="Variable" Key1="Scalar" Display="Hide">
				<Setting Key1="%Server%" Substitution="Server" Display="Hide"/>
				<Setting Key1="%INFO[RSG][Name]%" Substitution="RSGName" Display="Hide"/>
				<Setting Key1="%INFO[%INFO[RSG][Name]%][LogPath]%" Substitution="RSGLogPath" Display="Hide"/>
				<Setting Key1="%INFO[%INFO[RSG][Name]%][SysPath]%" Substitution="RSGSysPath" Display="Hide"/>
				<Setting Key1="%INFO[%INFO[RSG][Name]%][MDBNameList]%" Substitution="MDBNameList" Display="Hide"/>
				<Setting Key1="%INFO[PreviousStepName]%" Substitution="PreviousStepName" Display="Hide"/>
				<Object Type="Control" SubType="Title" Name="Title" Position="Top" Text="回復用ストレージ グループの削除結果"/>
				<Object Type="Control" SubType="Label" Name="Server" Position="Below" Text="サーバー名: %Server%"/>
				<Object Type="Control" SubType="Label" Name="SG" Position="Below" LineSpace="0" Text="回復用ストレージ グループ名: %RSGName%"/>

				<Object Type="Control" SubType="Label" Name="ResultLable" Position="LeftBelow" LineSpace="2" Text="結果の表示:"/>
				<Object Type="Control" SubType="Reports" Name="InterimReports" Position="LeftBelow" Width="FullWidth" Height="300">
					<Report Title="結果" Query="//Object[@Type='Step' and @Name='%STEPNAMEPREFIX%%PreviousStepName%' and not(@StepStatus='Deactivated')][last()]/*//Message[@Error]"/>
				</Object>


				<Object Type="Control" SubType="Label" Name="Info" Position="LeftBelow" LineSpace="2" Text="回復用ストレージ グループが削除されました。この回復用ストレージ グループに関連付けられているファイルとフォルダは、ファイル システム内に残ります。これらのファイルとフォルダは、バックアップ場所にコピーするか、削除することができます。指定したドメイン コントローラが、Exchange サーバーが使用するドメイン コントローラと異なる場合は、変更内容がレプリケートされるまで待つ必要がある場合があります。"/>

				<Object Type="Control" SubType="ShowHide" Name="ShowHideRSGInfo" Position="Below" Text="削除した回復用ストレージ グループの情報を表示する、削除した回復用ストレージ グループの情報を表示しない">

					<!-- Transaction Log Path  -->
					<Object Type="Control" SubType="Label" Name="LogFolderLabel" Position="Top" LineSpace="2" FontStyle="Bold" Text="トランザクション ログ ファイル フォルダ"/>
					<Object Type="Control" SubType="Label" Name="RSGLogLabel" Position="LeftBelow" LineSpace="0" Text="回復用ストレージ グループ (R00.log) のログ パス:"/>
					<Object Type="Control" SubType="TextBox" Name="RSGLogPath" Position="NextTo" Percent="30" Width="500" Flags="ReadOnly=True" Default="%RSGLogPath%"/>

					<!-- System Folder and CheckPoint File folder  -->
					<Object Type="Control" SubType="Label" Name="SysFolderLabel" Position="LeftBelow" LineSpace="2" FontStyle="Bold" Text="システム フォルダおよびチェックポイント ファイル フォルダ"/>
					<Object Type="Control" SubType="Label" Name="RSGSysFolderLabel" Position="LeftBelow" LineSpace="0" Text="回復用ストレージ グループ (R00.chk) のパス:"/>
					<Object Type="Control" SubType="TextBox" Name="RSGSysPath" Position="NextTo" Percent="30" Width="500" Flags="ReadOnly=True" Default="%RSGSysPath%"/>

					<!-- Database Folders and file names  -->
					<Object Type="Control" SubType="Label" Name="DataFolderLabel" Position="LeftBelow" FontStyle="Bold" Text="データベース フォルダおよびファイル名"/>

					<Object Type="Variable" Name="GetVariables" Key1="Unpack" Key2="%MDBNameList%">
						<Setting Key1="__VALUE" Substitution="DBName"/>
						<Object Type="Variable" Name="GetDBVariable" Key1="Scalar" Display="Hide">
							<Setting Key1="%INFO[%RSGName%][%DBName%][MDBPATH]%" Substitution="DBPath" Display="Hide"/>
							<Object Type="Control" SubType="Label" Name="DBLabel" Position="LeftBelow" Text="データベース名: "/>
							<Object Type="Control" SubType="TextBox" Name="DBName" Position="NextTo" Percent="30" Width="500" Flags="ReadOnly=True" Default="%DBName%"/>
							<Object Type="Control" SubType="Label" Name="DBPathLabel" Position="LeftBelow" LineSpace="0" Text="データベース パス: "/>
							<Object Type="Control" SubType="TextBox" Name="DBPath" Position="NextTo" Percent="30" Width="500" Flags="ReadOnly=True" Default="%DBPath%"/>
						</Object>
					</Object>
				</Object>

				<Object Type="Control" SubType="Link" Name="Next" Position="LeftBelow" LineSpace="2" Text="タスク センターに戻る" NextStep="GetDBInfoFromADStep"/>
			</Object>
		</Object>
	</Object>

	<Object Type="Step" Name="SelectDatabaseForMergeStep" Title="結合するデータベースの選択" Display="Left">
		<Object Type="Panel">
			<Object Type="If" Key1="true()" Display="HideAll">
				<Setting Key1="'1'" SQM="105;Set"/>
			</Object>
			<Object Type="Variable" Key1="Scalar" Display="Hide">
				<Setting Key1="%Server%" Substitution="Server" Display="Hide"/>
				<Setting Key1="%ServerName%" Substitution="EXSERVER" Display="Hide"/>
				<Setting Key1="%INFO[RSG][Name]%" Substitution="RSGName" Display="Hide"/>
				<Setting Key1="%INFO[%INFO[RSG][Name]%][DBMountCount]%" Substitution="MountCount" Display="Hide"/>
				<Setting Key1="%INFO[%INFO[RSG][Name]%][MOUNTED]%" Substitution="Mounted" Display="Hide"/>
				<Setting Key1="%INFO[%INFO[RSG][Name]%][DBUnMountCount]%" Substitution="UnmountCount" Display="Hide"/>
				<Setting Key1="%INFO[%INFO[RSG][Name]%][SelectableDBs]%" Substitution="UnMounted" Display="Hide"/>
				<Setting Key1="%INFO[%INFO[RSG][Name]%][UnSelectableDBs]%" Substitution="UnSelectable" Display="Hide"/>
				<Object Type="Control" SubType="Title" Name="Title" Position="Top" Text="回復用ストレージ グループ内のマウントされたデータベースの選択"/>
				<Object Type="Control" SubType="Label" Name="Server" Position="Below" Text="サーバー名: %Server%"/>
				<Object Type="Control" SubType="Label" Name="RSG" Position="Below" LineSpace="0" Text="回復用ストレージ グループ名: %RSGName%"/>

				<Object Type="If" Name="Mounted" Key1="%MountCount% &gt;0">
					<Object Type="RichTextBox" Name="Warning" Position="Below" Width="FullWidth" LineSpace="2">
						<Setting Text="重要:" Key2="FontStyle=Bold" Key3="1"/>
						<Setting Text="'ダイヤル トーン' 回復手段の一部としてメールボックス データを結合する場合は、データ結合の完了後に追加の管理タスクを実行する必要があります。マイクロソフト サポート技術情報の記事 (http://go.microsoft.com/fwlink/?linkid=3052&amp;kbid=282496) を参照してください。" Key2="Type=NoLineFeed" Key3="2"/>
					</Object>
					<Object Type="Control" SubType="Label" Name="Mounted" Position="Below" FontStyle="Bold" LineSpace="2" Text="回復用ストレージ グループ内のマウントされたデータベース"/>
					<Object Type="Control" SubType="ListBox" Name="MountedListBox" Position="Below" Width="300" Default="%Mounted%">
						<Setting Key1="Value">
							<Rule Name="szDBMount" Query="if(not ($.=''),string($.))">
								<Variable Name="INFO[RSG][SelectedDB]" Scope="Children"/>
							</Rule>
						</Setting>
					</Object>
					<Object Type="Control" SubType="Label" Name="Label1" Position="LeftBelow" Text="メールボックス内容の結合元またはコピー元となるデータベースを選択します。他のオプションと結合先またはコピー先については後で選択します。"/>
				</Object>

				<Object Type="If" Name="Dismounted" Key1="%UnmountCount% &gt;0">
					<Object Type="Control" SubType="Label" Name="Dismounted" Position="Below" FontStyle="Bold" Text="回復用ストレージ グループ内のマウント解除されたデータベース"/>
					<Object Type="Control" SubType="ListBox" Name="DismountedListBox" Position="Below" Width="300" Text="マウント解除されたデータベースの一覧" Default="%UnMounted%" SelectionMode="None"/>
					<Object Type="Control" SubType="Label" Name="Label1" Position="LeftBelow" Text="結合元またはコピー元として使用するデータベースが実行中でない場合は、下の [前へ] をクリックして戻り、データベースをマウントします。"/>
				</Object>

				<Object Type="Control" SubType="Link" Name="Previous" Position="Below" Text="前へ"/>

				<Object Type="If" Name="Mounted" Key1="%MountCount% &gt;0">
					<Object Type="Control" SubType="Link" Name="UnMountDBs" Position="NextTo" Percent="30" Text="結合情報の収集" NextStep="GatherMergeInfoStep"/>
				</Object>
				<Object Type="If" Name="NoMounted" Key1="%MountCount%=0">
					<Object Type="Control" SubType="Link" Name="Next" Position="NextTo" Percent="30" Text="タスク センターに戻る" NextStep="GetDBInfoFromADStep"/>
				</Object>
			</Object>
		</Object>
	</Object>

	<Object Type="Step" Name="GatherMergeInfoStep" Title="結合するデータベースの情報の収集" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%Server%" Substitution="Server" Display="Hide"/>
			<Setting Key1="%ServerName%" Substitution="EXSERVER" Display="Hide"/>
			<Setting Key1="%INFO[RSG][Name]%" Substitution="RSGName" Display="Hide"/>
			<Setting Key1="%INFO[RSG][SelectedDB]%" Substitution="SelectedDB" Display="Hide"/>
			<Setting Key1="%INFO[RSG][%INFO[RSG][SelectedDB]%][OrigMDB]%" Substitution="OrigMDB" Display="Hide"/>
			<Setting Key1="%INFO[RSG][%INFO[RSG][SelectedDB]%][OrigSG]%" Substitution="OrigSG" Display="Hide"/>
			<Object Type="Progress" Title="詳細なデータベースの情報の収集" Text="%Server% で詳細なデータベース情報を収集しています。しばらくお待ちください。">
				<Object Type="Group" Name="Gather database information" SecurityContext="EXLOGON">
					<Object Type="MonadCommand" Name="Identity" Key1="get-mailboxstatistics -database &quot;%EXSERVER%\%RSGName%\%SelectedDB%&quot;">
						<Rule Name="fRDBException" Query="count(../Exception) &gt;0" Title="データベース情報の取得中にエラーが発生しました" Text="{2} からデータベース ({0}/{1}) の統計情報を取得するときにエラーが発生しました。エラー メッセージは {3} です。" S0="%RSGName%" S1="%SelectedDB%" S2="%Server%" P3="../Exception/@Message" Error="Error"/>
						<Setting Key1="ItemCount">
							<Rule Name="iRDBTotalItemCount" Query="$."/>
						</Setting>
						<Setting Key1="TotalItemSize" Format="B----">
							<Rule Name="iRDBTotalItemSize" Query="$."/>
						</Setting>
					</Object>
					<Rule Name="iRDBCount" Query="if($iRDBTotalItemCount, sum($iRDBTotalItemCount), 0)" AlwaysEvaluate="True">
						<Variable Name="INFO[Swap][RDB][Count]" Scope="Children"/>
					</Rule>
					<Rule Name="iRDBSize" Query="if($iRDBTotalItemSize, sum($iRDBTotalItemSize), 0)" AlwaysEvaluate="True">
						<Variable Name="INFO[Swap][RDB][Size]" Scope="Children"/>
					</Rule>
					<Object Type="MonadCommand" Name="Identity" Key1="get-mailboxstatistics -database &quot;%EXSERVER%\%OrigSG%\%OrigMDB%&quot;">
						<Rule Name="fODBException" Query="count(../Exception) &gt;0" Title="データベース情報の取得中にエラーが発生しました" Text="{2} からデータベース ({0}/{1}) の統計情報を取得するときにエラーが発生しました。エラー メッセージは {3} です。" S0="%OrigSG%" S1="%OrigMDB%" S2="%Server%" P3="../Exception/@Message" Error="Error"/>
						<Setting Key1="ItemCount">
							<Rule Name="iODBTotalItemCount" Query="$."/>
						</Setting>
						<Setting Key1="TotalItemSize" Format="B----">
							<Rule Name="iODBTotalItemSize" Query="$."/>
						</Setting>
					</Object>
					<Rule Name="iODBCount" Query="sum($iODBTotalItemCount)">
						<Variable Name="INFO[Swap][ODB][Count]" Scope="Children"/>
					</Rule>
					<Rule Name="iODBSize" Query="sum($iODBTotalItemSize)">
						<Variable Name="INFO[Swap][ODB][Size]" Scope="Children"/>
					</Rule>
				</Object>
				<Object Type="Group" Name="Prepare Select Options">
					<Object Type="Group" Name="Match Option">
						<Rule Name="szMatchOption1" Query="string(@Title)" Title="表示名">
							<Variable Name="OPT[MatchOption][1]" Scope="Global"/>
						</Rule>
						<Rule Name="szMatchOption2" Query="string(@Title)" Title="メールボックス GUID">
							<Variable Name="OPT[MatchOption][2]" Scope="Global"/>
						</Rule>
						<Rule Name="szMatchOption3" Query="string(@Title)" Title="Exchange の古い識別名">
							<Variable Name="OPT[MatchOption][3]" Scope="Global"/>
						</Rule>
					</Object>

					<Object Type="Group" Name="Sort Option">
						<Rule Name="szSortOption1" Query="string(@Title)" Title="表示名">
							<Variable Name="OPT[SortOption][1]" Scope="Global"/>
						</Rule>
						<Rule Name="szSortOption2" Query="string(@Title)" Title="メールボックス GUID">
							<Variable Name="OPT[SortOption][2]" Scope="Global"/>
						</Rule>
						<Rule Name="szSortOption3" Query="string(@Title)" Title="Exchange の古い識別名">
							<Variable Name="OPT[SortOption][3]" Scope="Global"/>
						</Rule>
					</Object>

					<Rule Name="iBadItemLimit" Query="string('0')">
						<Variable Name="INFO[Merge][BadItemLimit]" Scope="Children"/>
					</Rule>
				</Object>
				<Rule Name="fDispatch" Query="not ($fRDBException or $fODBException)" NextStep="SelectSwapOptionStep" AlwaysEvaluate="True"/>
				<Rule Name="fDispatch1" Query="$fRDBException or $fODBException" NextStep="ReportErrorStep" AlwaysEvaluate="True">
					<Rule Name="szPreviousStep" Query="'GatherMergeInfoStep'">
						<Variable Name="INFO[PreviousStepName]" Scope="Children"/>
					</Rule>
					<Rule Name="szTitle" Query="string(@Title)" Title="結合またはコピーするデータベースの情報を収集できませんでした">
						<Variable Name="INFO[Title]" Scope="Children"/>
					</Rule>
				</Rule>
			</Object>
		</Object>
	</Object>

	<Object Type="Step" Name="ReportErrorStep" Title="エラーのレポートの手順" Display="Left">
		<Object Type="Panel">
			<Object Type="Variable" Name="Display Fail result" Key1="Scalar" Display="Hide">
				<Setting Key1="%INFO[PreviousStepName]%" Substitution="PreviousStepName" Display="Hide"/>
				<Setting Key1="%INFO[Title]%" Substitution="Title" Display="Hide"/>
				<Setting Key1="%IsSymptom%" Substitution="IsSymptom" Display="Hide"/>
				<Setting Key1="%EventDisplayStepID%" Substitution="EventDisplayStepID" Display="Hide"/>

				<Object Type="Control" SubType="Title" Name="Title" Position="Top" Text="%Title%"/>

				<Object Type="Control" SubType="Reports" Name="InterimReports" Position="LeftBelow" Width="FullWidth" Height="450">
					<Report Title="エラー" Query="//Object[@Type='Step' and @Name='%STEPNAMEPREFIX%%PreviousStepName%' and not(@StepStatus='Deactivated')][last()]/*//Message[@Error='Error']"/>
				</Object>

				<Object Type="Control" SubType="Link" Name="Previous" Position="LeftBelow" LineSpace="2" Text="前へ"/>
				<Object Type="If" Name="IsNotSymptom" Key1="'%IsSymptom%'='0'">
					<Object Type="Control" SubType="Link" Name="Next" Position="NextTo" Percent="30" Text="タスク センターに戻る" NextStep="GetDBInfoFromADStep"/>
				</Object>
				<Object Type="If" Name="IsSymptom" Key1="'%IsSymptom%'='1'">
					<Object Type="Control" SubType="Link" Name="Goto" Position="NextTo" Percent="30" Text="イベント表示ページに戻る" NextStep="%EventDisplayStepID%"/>
				</Object>

			</Object>
		</Object>
	</Object>

	<Object Type="Step" Name="SelectSwapOptionStep" Title="切り替えオプションの選択" Display="Left">
		<Object Type="Panel">
			<Object Type="Variable" Key1="Scalar" Display="Hide">
				<Setting Key1="%Server%" Substitution="Server" Display="Hide"/>
				<Setting Key1="%ServerName%" Substitution="EXSERVER" Display="Hide"/>
				<Setting Key1="%INFO[RSG][Name]%" Substitution="RSGName" Display="Hide"/>
				<Setting Key1="%INFO[RSG][SelectedDB]%" Substitution="SelectedDB" Display="Hide"/>
				<Setting Key1="%INFO[%INFO[RSG][Name]%][%INFO[RSG][SelectedDB]%][MDBPATH]%" Substitution="SelectedDBPath" Display="Hide"/>
				<Setting Key1="%INFO[Swap][RDB][Count]%" Substitution="RDBCount" Display="Hide"/>
				<Setting Key1="%INFO[Swap][RDB][Size]%" Substitution="RDBSize" Display="Hide"/>
				<Setting Key1="%INFO[RSG][%INFO[RSG][SelectedDB]%][OrigMDB]%" Substitution="OrigMDB" Display="Hide"/>
				<Setting Key1="%INFO[RSG][%INFO[RSG][SelectedDB]%][OrigSG]%" Substitution="OrigSG" Display="Hide"/>
				<Setting Key1="%INFO[%INFO[RSG][%INFO[RSG][SelectedDB]%][OrigSG]%][%INFO[RSG][%INFO[RSG][SelectedDB]%][OrigMDB]%][MDBPATH]%" Substitution="OrigMDBPath" Display="Hide"/>
				<Setting Key1="%INFO[Swap][ODB][Count]%" Substitution="ODBCount" Display="Hide"/>
				<Setting Key1="%INFO[Swap][ODB][Size]%" Substitution="ODBSize" Display="Hide"/>
				<Setting Key1="%OPT[SortOption]%" Substitution="SortOption" Display="Hide"/>
				<Setting Key1="%OPT[MatchOption]%" Substitution="MatchOption" Display="Hide"/>
				<Setting Key1="%INFO[Merge][BadItemLimit]%" Substitution="BadItemLimit" Display="Hide"/>
				<Object Type="Control" SubType="Title" Name="Title" Position="Top" Text="データベース切り替えオプションの選択"/>
				<Object Type="Control" SubType="Label" Name="Server" Position="Below" Text="サーバー名: %Server%"/>

				<Object Type="Control" SubType="Label" Name="RSGName" Position="Below" FontStyle="Bold" Text="回復用ストレージ グループ名: %RSGName%"/>
				<Object Type="Control" SubType="Label" Name="SelectedDB" Position="Below" LineSpace="0" Text="回復用ストレージ グループ内の選択されたデータベース: %SelectedDB%"/>
				<Object Type="Control" SubType="Label" Name="RDBPathLabel" Position="Below" LineSpace="0" Text="回復用ストレージ グループのデータベース パス: %SelectedDBPath%"/>
				<Object Type="Control" SubType="Label" Name="RDBItemCountLabel" Position="Below" LineSpace="0" Text="回復用ストレージ グループのデータベースの合計アイテム数: %RDBCount%"/>
				<Object Type="Control" SubType="Label" Name="RDBItemSizeLabel" Position="Below" LineSpace="0" Text="回復用ストレージ グループのデータベースの合計アイテム サイズ (バイト): %RDBSize%"/>


				<Object Type="Control" SubType="Label" Name="LinkedSG" Position="Below" FontStyle="Bold" Text="リンクされたストレージ グループ名: %OrigSG%"/>
				<Object Type="Control" SubType="Label" Name="OrigMDB" Position="Below" LineSpace="0" Text="リンクされた元のデータベース名: %OrigMDB%"/>
				<Object Type="Control" SubType="Label" Name="ODBPathLabel" Position="Below" LineSpace="0" Text="リンクされた元のデータベース パス: %OrigMDBPath%"/>
				<Object Type="Control" SubType="Label" Name="ODBItemCountLabel" Position="Below" LineSpace="0" Text="元のデータベースの合計アイテム数: %ODBCount%"/>
				<Object Type="Control" SubType="Label" Name="ODBItemSizeLabel" Position="Below" LineSpace="0" Text="元のデータベースの合計アイテム サイズ (バイト): %ODBSize%"/>

				<Object Type="Control" SubType="Label" Name="SwapOption" Position="Below" FontStyle="Bold" Text="データベース切り替えオプション"/>
				<Object Type="Control" SubType="Label" Name="SwapLabel" Position="Below" LineSpace="0" Text="注意: 下のチェック ボックスをオンにした場合は、切り替え時に元のデータベースと回復用データベースの両方が停止します。これにより、このデータベースにメールボックスが配置されているユーザーに対するメール サービスが中断されます。"/>
				<Object Type="Control" SubType="Label" Name="SwapLabel1" Position="LeftBelow" LineSpace="0" Text="新規ユーザーの追加などによって元のデータベースが既に変更されている場合は、データベースを切り替えるために下のチェック ボックスをオンにしないでください。 "/>
				<Object Type="Control" SubType="CheckBox" Name="SwapDatabase" Position="Below" Text="データベースの構成を切り替える">
					<Setting Key1="Checked">
						<Rule Name="fSwapDatabase" Query="$.=0" NextStep="SelectMergeOptionStep" AlwaysEvaluate="True"/>
						<Rule Name="fSwapDatabase1" Query="$.=1" NextStep="PerformSwapOptionStep" AlwaysEvaluate="True"/>
					</Setting>
				</Object>
				<Object Type="Control" SubType="Link" Name="Previous" Position="LeftBelow" LineSpace="2" Text="前へ"/>
				<Object Type="Control" SubType="Link" Name="Next" Position="NextTo" Percent="30" Text="次へ"/>
			</Object>
		</Object>
	</Object>

	<Object Type="Step" Name="PerformSwapOptionStep" Title="データベースの切り替えの構成の手順" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%DC%" Substitution="DC" Display="Hide"/>
			<Setting Key1="%Server%" Substitution="Server" Display="Hide"/>
			<Setting Key1="%ServerName%" Substitution="EXSERVER" Display="Hide"/>
			<Setting Key1="%LocalMachineName%" Substitution="LocalMachineName" Display="Hide"/>
			<Setting Key1="%INFO[RSG][Name]%" Substitution="RSGName" Display="Hide"/>
			<Setting Key1="%INFO[RSG][SelectedDB]%" Substitution="RDBName" Display="Hide"/>
			<Setting Key1="%INFO[%INFO[RSG][Name]%][%INFO[RSG][SelectedDB]%][MDBPATH]%" Substitution="RDBPath" Display="Hide"/>
			<Setting Key1="%INFO[RSG][%INFO[RSG][SelectedDB]%][OrigMDB]%" Substitution="ODBName" Display="Hide"/>
			<Setting Key1="%INFO[RSG][%INFO[RSG][SelectedDB]%][OrigSG]%" Substitution="OSGName" Display="Hide"/>
			<Setting Key1="%INFO[%INFO[RSG][%INFO[RSG][SelectedDB]%][OrigSG]%][%INFO[RSG][%INFO[RSG][SelectedDB]%][OrigMDB]%][MDBPATH]%" Substitution="ODBPath" Display="Hide"/>
			<Object Type="Progress" Title="データベースの切り替えの構成" Text="%RSGName%\%RDBName% および %OSGName%\%ODBName% のデータベースの構成設定を切り替えています。しばらくお待ちください。">
				<Object Type="EventReport" Key2="ExTRA" Key3="Application" Key5="1000" Text="サーバー {5} でデータベース ({1}\{2}) およびデータベース ({3}\{4}) 間のデータベース構成の切り替えを開始します。" S1="%OSGName%" S2="%ODBName%" S3="%RSGName%" S4="%RDBName%" S5="%Server%"/>
				<Object Type="If" Name="CheckMachineName" Key1="not ('%EXSERVER%'='%LocalMachineName%')">
					<Object Type="EventReport" Key1="%EXSERVER%" Key2="ExTRA" Key3="Application" Key5="1000" Text="サーバー {5} でデータベース ({1}\{2}) およびデータベース ({3}\{4}) 間のデータベース構成の切り替えを開始します。" S1="%OSGName%" S2="%ODBName%" S3="%RSGName%" S4="%RDBName%" S5="%Server%"/>
				</Object>

				<Object Type="Group" Name="Perform Swap" SecurityContext="EXLOGON">
					<Object Type="MonadCommand" Key1="dismount-database -Identity &quot;%EXSERVER%\%RSGName%\%RDBName%&quot; -DomainController %DC% -confirm:$false">
						<Rule Name="szDismountRDB" Query="../Exception/@Message" Title="データベースのマウント解除中にエラーが発生しました" Text="回復用ストレージ グループ ({2}) 内のデータベース ({1}) のマウント解除中にエラーが発生しました。エラー メッセージ: {0}。" P0="../Exception/@Message" S1="%RDBName%" S2="%RSGName%" Error="Error"/>
					</Object>
					<Object Type="SaveLogNow" Name="SaveLogForDismountRDB"/>
					<Object Type="MonadCommand" Key1="dismount-database -Identity &quot;%EXSERVER%\%OSGName%\%ODBName%&quot; -DomainController %DC% -confirm:$false">
						<Rule Name="szDismountODB" Query="../Exception/@Message" Title="データベースのマウント解除中にエラーが発生しました" Text="ストレージ グループ ({2}) 内のデータベース ({1}) のマウント解除中にエラーが発生しました。エラー メッセージ: {0}。" P0="../Exception/@Message" S1="%ODBName%" S2="%OSGName%" Error="Error"/>
					</Object>
					<Object Type="SaveLogNow" Name="SaveLogForDismountODB"/>
					<Object Type="MonadCommand" Key1="move-databasepath -Identity &quot;%EXSERVER%\%RSGName%\%RDBName%&quot; -DomainController %DC% -EDBFilePath &quot;%ODBPath%&quot; -ConfigurationOnly:$true -force">
						<Rule Name="szMoveRDB" Query="../Exception/@Message" Title="データベースの移動中にエラーが発生しました" Text="回復用ストレージ グループ ({2}) 内のデータベース ({1}) の移動中にエラーが発生しました。エラー メッセージ: {0}。" P0="../Exception/@Message" S1="%RDBName%" S2="%RSGName%" Error="Error"/>
					</Object>
					<Object Type="SaveLogNow" Name="SaveLogForMoveRDB"/>
					<Object Type="MonadCommand" Key1="move-databasepath -Identity &quot;%EXSERVER%\%OSGName%\%ODBName%&quot; -DomainController %DC% -EDBFilePath &quot;%RDBPath%&quot; -ConfigurationOnly:$true -force">
						<Rule Name="szMoveODB" Query="../Exception/@Message" Title="データベースの移動中にエラーが発生しました" Text="ストレージ グループ ({2}) 内のデータベース ({1}) の移動中にエラーが発生しました。エラー メッセージ: {0}。" P0="../Exception/@Message" S1="%ODBName%" S2="%OSGName%" Error="Error"/>
					</Object>
					<Object Type="SaveLogNow" Name="SaveLogForMoveODB"/>
					<Object Type="MonadCommand" Key1="set-mailboxdatabase -Identity &quot;%EXSERVER%\%OSGName%\%ODBName%&quot; -DomainController %DC% -AllowFileRestore:$True">
						<Rule Name="szSetODBFlag" Query="../Exception/@Message" Title="データベース フラグの構成中にエラーが発生しました" Text="ストレージ グループ ({2}) 内のデータベース ({1}) で '復元時はこのデータベースを上書きする' フラグを構成しているときにエラーが発生しました。エラー メッセージ: {0}。" P0="../Exception/@Message" S1="%ODBName%" S2="%OSGName%" Error="Error"/>
					</Object>
					<Object Type="SaveLogNow" Name="SaveLogForSetODBFlag"/>
					<Object Type="MonadCommand" Key1="set-mailboxdatabase -Identity &quot;%EXSERVER%\%RSGName%\%RDBName%&quot; -DomainController %DC% -AllowFileRestore:$True">
						<Rule Name="szSetRDBFlag" Query="../Exception/@Message" Title="データベース フラグの構成中にエラーが発生しました" Text="ストレージ グループ ({2}) 内のデータベース ({1}) で '復元時はこのデータベースを上書きする' フラグの構成中にエラーが発生しました。エラー メッセージ: {0}。" P0="../Exception/@Message" S1="%RDBName%" S2="%RSGName%" Error="Error"/>
					</Object>
					<Object Type="SaveLogNow" Name="SaveLogForSetRDBFlag"/>
					<Object Type="MonadCommand" Key1="mount-database -Identity &quot;%EXSERVER%\%OSGName%\%ODBName%&quot; -DomainController %DC%">
						<Rule Name="szMountODB" Query="../Exception/@Message" Title="データベースのマウント中にエラーが発生しました" Text="ストレージ グループ ({2}) 内のデータベース ({1}) のマウント中にエラーが発生しました。エラー メッセージ: {0}。" P0="../Exception/@Message" S1="%ODBName%" S2="%OSGName%" Error="Error"/>
					</Object>
					<Object Type="SaveLogNow" Name="SaveLogForMountODB"/>
					<Object Type="MonadCommand" Key1="mount-database -Identity &quot;%EXSERVER%\%RSGName%\%RDBName%&quot; -DomainController %DC%">
						<Rule Name="szMountRDB" Query="../Exception/@Message" Title="データベースのマウント中にエラーが発生しました" Text="ストレージ グループ ({2}) 内のデータベース ({1}) のマウント中にエラーが発生しました。エラー メッセージ: {0}。" P0="../Exception/@Message" S1="%RDBName%" S2="%RSGName%" Error="Error"/>
					</Object>
					<Object Type="SaveLogNow" Name="SaveLogForMountRDB"/>
					<Rule Name="szExceptionMessage" Query="if($szDismountRDB or $szDismountODB or $szMoveRDB or $szMoveODB or $szSetODBFlag or $szSetRDBFlag or $szMountODB or $szMountRDB, concat($szDismountRDB, $szDismountODB, $szMoveRDB, $szMoveODB, $szSetODBFlag, $szSetRDBFlag, $szMountODB, $szMountRDB))" AlwaysEvaluate="True"/>
					<Rule Name="szMsgError" Query="$szDismountRDB or $szDismountODB or $szMoveRDB or $szMoveODB or $szSetODBFlag or $szSetRDBFlag or $szMountODB or $szMountRDB" Title="データベースを切り替えできませんでした" Text="{2}\{3} および {4}\{5} のデータベースを切り替えできませんでした。エラー メッセージ: {1}。" P1="$szExceptionMessage" S2="%RSGName%" S3="%RDBName%" S4="%OSGName%" S5="%ODBName%" Error="Error" AlwaysEvaluate="True"/>
					<Rule Name="szMsgSuccess" Query="not ($szMsgError)" Title="データベースは正常に切り替えられました" Text="{1}\{2} と {3}\{4} の間でデータベースが正常に切り替えられました。" S1="%RSGName%" S2="%RDBName%" S3="%OSGName%" S4="%ODBName%" Error="Information" AlwaysEvaluate="True"/>
					<Rule Name="fDispatch" Query="true()" NextStep="DisplaySwapResultStep">
						<Rule Name="szPreviousStepName" Query="'PerformSwapOptionStep'">
							<Variable Name="PreviousStepName" Scope="Children"/>
						</Rule>
					</Rule>
				</Object>
				<Object Type="EventReport" Key2="ExTRA" Key3="Application" Key5="1001" Text="サーバー {5} でデータベース ({1}\{2}) およびデータベース ({3}\{4}) 間のデータベース構成の切り替えを終了します。" S1="%OSGName%" S2="%ODBName%" S3="%RSGName%" S4="%RDBName%" S5="%Server%"/>
				<Object Type="If" Name="CheckMachineName2" Key1="not ('%EXSERVER%'='%LocalMachineName%')">
					<Object Type="EventReport" Key1="%EXSERVER%" Key2="ExTRA" Key3="Application" Key5="1001" Text="サーバー {5} でデータベース ({1}\{2}) およびデータベース ({3}\{4}) 間のデータベース構成の切り替えを終了します。" S1="%OSGName%" S2="%ODBName%" S3="%RSGName%" S4="%RDBName%" S5="%Server%"/>
				</Object>
			</Object>
		</Object>
	</Object>

	<Object Type="Step" Name="DisplaySwapResultStep" Title="切り替えの結果表示の手順" Display="Left">
		<Object Type="Panel">
			<Object Type="Variable" Key1="Scalar" Display="Hide">
				<Setting Key1="%Server%" Substitution="Server" Display="Hide"/>
				<Setting Key1="%ServerName%" Substitution="EXSERVER" Display="Hide"/>
				<Setting Key1="%INFO[RSG][Name]%" Substitution="RSGName" Display="Hide"/>
				<Setting Key1="%INFO[RSG][SelectedDB]%" Substitution="SelectedDB" Display="Hide"/>
				<Setting Key1="%INFO[RSG][%INFO[RSG][SelectedDB]%][OrigMDB]%" Substitution="ODBName" Display="Hide"/>
				<Setting Key1="%INFO[RSG][%INFO[RSG][SelectedDB]%][OrigSG]%" Substitution="OSGName" Display="Hide"/>
				<Setting Key1="%PreviousStepName%" Substitution="PreviousStepName" Display="Hide"/>
				<Object Type="Control" SubType="Title" Name="Title" Position="Top" Text="データベースの切り替え結果の表示"/>
				<Object Type="Control" SubType="Label" Name="Server" Position="Below" Text="サーバー名: %Server%"/>
				<Object Type="Control" SubType="Label" Name="RSG" Position="Below" LineSpace="0" Text="回復用ストレージ グループ名: %RSGName%"/>
				<Object Type="Control" SubType="Label" Name="LinkedSG" Position="Below" LineSpace="0" Text="リンクされたストレージ グループ名: %OSGName%"/>
				<Object Type="Control" SubType="Label" Name="SelectedDB" Position="Below" LineSpace="0" Text="選択されたデータベース名: %SelectedDB%"/>
				<Object Type="Control" SubType="Label" Name="LinkedDB" Position="Below" LineSpace="0" Text="リンクされたデータベース名: %ODBName%"/>

				<Object Type="Control" SubType="Label" Name="SwapLabel" Position="Below" FontStyle="Bold" Text="データベースの切り替え結果:"/>

				<Object Type="Control" SubType="Reports" Name="InterimReports" Position="LeftBelow" Width="FullWidth" Height="300">
					<Report Title="結果" Query="//Object[@Type='Step' and @Name='%STEPNAMEPREFIX%%PreviousStepName%' and not(@StepStatus='Deactivated')][last()]/*//Message[@Error]"/>
				</Object>

				<Object Type="Control" SubType="Link" Name="Previous" Position="LeftBelow" LineSpace="2" Text="前へ"/>
				<Object Type="Control" SubType="Link" Name="Next" Position="NextTo" Percent="30" Text="タスク センターに戻る" NextStep="GetDBInfoFromADStep"/>
			</Object>
		</Object>
	</Object>

	<Object Type="Step" Name="SelectMergeOptionStep" Title="結合のオプションの選択" Display="Left">
		<Object Type="Panel">
			<Object Type="Variable" Key1="Scalar" Display="Hide">
				<Setting Key1="%Server%" Substitution="Server" Display="Hide"/>
				<Setting Key1="%ServerName%" Substitution="EXSERVER" Display="Hide"/>
				<Setting Key1="%INFO[RSG][Name]%" Substitution="RSGName" Display="Hide"/>
				<Setting Key1="%INFO[RSG][SelectedDB]%" Substitution="SelectedDB" Display="Hide"/>
				<Setting Key1="%INFO[%INFO[RSG][Name]%][%INFO[RSG][SelectedDB]%][MDBPATH]%" Substitution="SelectedDBPath" Display="Hide"/>
				<Setting Key1="%INFO[RSG][%INFO[RSG][SelectedDB]%][OrigMDB]%" Substitution="OrigMDB" Display="Hide"/>
				<Setting Key1="%INFO[RSG][%INFO[RSG][SelectedDB]%][OrigSG]%" Substitution="OrigSG" Display="Hide"/>
				<Setting Key1="%INFO[%INFO[RSG][%INFO[RSG][SelectedDB]%][OrigSG]%][%INFO[RSG][%INFO[RSG][SelectedDB]%][OrigMDB]%][MDBPATH]%" Substitution="OrigMDBPath" Display="Hide"/>
				<Setting Key1="%OPT[SortOption]%" Substitution="SortOption" Display="Hide"/>
				<Setting Key1="%OPT[MatchOption]%" Substitution="MatchOption" Display="Hide"/>
				<Setting Key1="%INFO[Merge][BadItemLimit]%" Substitution="BadItemLimit" Display="Hide"/>
				<Object Type="Control" SubType="Title" Name="Title" Position="Top" Text="結合オプションの選択"/>
				<Object Type="Control" SubType="Label" Name="Server" Position="Below" Text="サーバー名: %Server%"/>

				<Object Type="Control" SubType="Label" Name="RSGName" Position="Below" FontStyle="Bold" Text="回復用ストレージ グループ名: %RSGName%"/>
				<Object Type="Control" SubType="Label" Name="SelectedDB" Position="Below" LineSpace="0" Text="回復用ストレージ グループ内の選択されたデータベース: %SelectedDB%"/>
				<Object Type="Control" SubType="Label" Name="RDBPathLabel" Position="Below" LineSpace="0" Text="回復用ストレージ グループのデータベース パス: %SelectedDBPath%"/>


				<Object Type="Control" SubType="Label" Name="LinkedSG" Position="Below" FontStyle="Bold" Text="リンクされたストレージ グループ名: %OrigSG%"/>
				<Object Type="Control" SubType="Label" Name="OrigMDB" Position="Below" LineSpace="0" Text="リンクされた元のデータベース名: %OrigMDB%"/>
				<Object Type="Control" SubType="Label" Name="ODBPathLabel" Position="Below" LineSpace="0" Text="リンクされた元のデータベース パス: %OrigMDBPath%"/>

				<Object Type="Control" SubType="ShowHide" Name="ShowHideOptionInfo" Position="Below" Text="詳細オプションを表示する、詳細オプションを表示しない">

					<Object Type="Control" SubType="Label" Name="MatchOptionsLabel" Position="Below" LineSpace="2" FontStyle="Bold" Text="オプションの一致"/>
					<Object Type="Control" SubType="ComboBox" Name="MatchOptions" Position="Below" SelectedIndex="1" Default="%MatchOption%">
						<Setting Key1="SelectedIndex">
							<Rule Name="szMatchOption" Query="$.">
								<Variable Name="INFO[Merge][MatchOption]" Scope="Children"/>
							</Rule>
						</Setting>
					</Object>

					<Object Type="Control" SubType="Label" Name="SortOptionsLabel" Position="Below" LineSpace="2" FontStyle="Bold" Text="オプションの並べ替え"/>
					<Object Type="Control" SubType="ComboBox" Name="SortOptions" Position="Below" SelectedIndex="1" Default="%SortOption%">
						<Setting Key1="SelectedIndex">
							<Rule Name="szSortOption" Query="$.">
								<Variable Name="INFO[Merge][SortOption]" Scope="Children"/>
							</Rule>
						</Setting>
					</Object>

					<Object Type="Control" SubType="Label" Name="MatchAllOptions" Position="Below" LineSpace="2" FontStyle="Bold" Text="すべてのオプションの一致"/>
					<Object Type="Control" SubType="Label" Name="MatchAllLabel" Position="Below" LineSpace="0" Text="下のチェック ボックスをオンにすると、自動一致は無効になり、すべてのソース メールボックスはユーザーが定義したメールボックスに一致させられます。"/>
					<Object Type="Control" SubType="CheckBox" Name="MatchAll" Position="Below" Text="すべてのソース メールボックスを 1 つのターゲット メールボックスに一致させる">
						<Setting Key1="Value">
							<Rule Name="szMatchAllOption" Query="$.">
								<Variable Name="INFO[Merge][MatchAll]" Scope="Children"/>
							</Rule>
						</Setting>
					</Object>
					<Object Type="Control" SubType="Label" Name="MatchAllTextboxLabel" Position="Below" LineSpace="0" Text="ターゲット メールボックスの一意のエイリアス:"/>
					<Object Type="Control" SubType="TextBox" Name="MatchAllTextBox" Position="NextTo" Percent="30">
						<Setting Key1="Value">
							<Rule Name="szMatchAllAlias" Query="$.">
								<Variable Name="INFO[Merge][MatchAlias]" Scope="Children"/>
							</Rule>
						</Setting>
					</Object>
					<Object Type="Control" SubType="Label" Name="TargetFolderLabel" Position="LeftBelow" LineSpace="0" Text="ターゲット フォルダ:"/>
					<Object Type="Control" SubType="TextBox" Name="TargetFolderTextBox" Position="NextTo" Percent="30">
						<Setting Key1="Value">
							<Rule Name="szTargetFolder" Query="$.">
								<Variable Name="INFO[Merge][TargetFolder]" Scope="Children"/>
							</Rule>
						</Setting>
					</Object>

					<Object Type="Control" SubType="Label" Name="FilterLabel" Position="LeftBelow" FontStyle="Bold" Text="フィルタ オプション: "/>
					<Object Type="Control" SubType="Label" Name="StartTime" Position="Below" LineSpace="0" Text="開始日: "/>
					<Object Type="Control" SubType="TextBox" Name="StartTimeTextBox" Position="NextTo" Percent="30">
						<Setting Key1="Value">
							<Rule Name="szStartTime" Query="$.">
								<Variable Name="INFO[Merge][StartTime]" Scope="Children"/>
							</Rule>
						</Setting>
					</Object>
					<Object Type="Control" SubType="Label" Name="EndTime" Position="LeftBelow" LineSpace="0" Text="終了日: "/>
					<Object Type="Control" SubType="TextBox" Name="EndTimeTextBox" Position="NextTo" Percent="30">
						<Setting Key1="Value">
							<Rule Name="szEndTime" Query="$.">
								<Variable Name="INFO[Merge][EndTime]" Scope="Children"/>
							</Rule>
						</Setting>
					</Object>
					<Object Type="Control" SubType="Label" Name="Subject" Position="LeftBelow" LineSpace="0" Text="件名: "/>
					<Object Type="Control" SubType="TextBox" Name="SubjectTextBox" Position="NextTo" Percent="30">
						<Setting Key1="Value">
							<Rule Name="szSubject" Query="$.">
								<Variable Name="INFO[Merge][Subject]" Scope="Children"/>
							</Rule>
						</Setting>
					</Object>

					<Object Type="Control" SubType="Label" Name="BadItemLimitLabel" Position="LeftBelow" FontStyle="Bold" Text="無効なアイテムの制限値"/>
					<Object Type="Control" SubType="Label" Name="MaxBadItemLimit" Position="Below" LineSpace="0" Text="無効なアイテムの上限値: "/>
					<Object Type="Control" SubType="TextBox" Name="BadItemLimit" Position="NextTo" Percent="30" Default="%BadItemLimit%">
						<Setting Key1="Value">
							<Rule Name="iBadItemLimit" Query="if(not ($.=''), $., '0')">
								<Variable Name="INFO[Merge][BadItemLimit]" Scope="Local"/>
							</Rule>
						</Setting>
					</Object>
				</Object>

				<Object Type="Control" SubType="Link" Name="Previous" Position="LeftBelow" LineSpace="2" Text="前へ"/>
				<Object Type="Control" SubType="Link" Name="Next" Position="NextTo" Percent="30" Text="結合前のタスクの実行" NextStep="PerformPreMergeStep"/>
			</Object>
		</Object>
	</Object>

	<Object Type="Step" Name="PerformPreMergeStep" Title="結合前の処理の実行" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%DC%" Substitution="DC" Display="Hide"/>
			<Setting Key1="%Server%" Substitution="Server" Display="Hide"/>
			<Setting Key1="%ServerName%" Substitution="EXSERVER" Display="Hide"/>
			<Setting Key1="%INFO[RSG][Name]%" Substitution="RSGName" Display="Hide"/>
			<Setting Key1="%INFO[RSG][SelectedDB]%" Substitution="RDBName" Display="Hide"/>
			<Setting Key1="%INFO[%INFO[RSG][Name]%][%INFO[RSG][SelectedDB]%][MDBPATH]%" Substitution="RDBPath" Display="Hide"/>
			<Setting Key1="%INFO[RSG][%INFO[RSG][SelectedDB]%][OrigMDB]%" Substitution="ODBName" Display="Hide"/>
			<Setting Key1="%INFO[RSG][%INFO[RSG][SelectedDB]%][OrigSG]%" Substitution="OSGName" Display="Hide"/>
			<Setting Key1="%INFO[%INFO[RSG][%INFO[RSG][SelectedDB]%][OrigSG]%][%INFO[RSG][%INFO[RSG][SelectedDB]%][OrigMDB]%][MDBPATH]%" Substitution="ODBPath" Display="Hide"/>
			<Setting Key1="%INFO[Merge][SortOption]%" Substitution="SortOption" Display="Hide"/>
			<Setting Key1="%INFO[Merge][MatchOption]%" Substitution="MatchOption" Display="Hide"/>
			<Setting Key1="%INFO[Merge][MatchAll]%" Substitution="MatchAll" Display="Hide"/>
			<Setting Key1="%INFO[Merge][MatchAllAlias]%" Substitution="MatchAlias" Display="Hide"/>
			<Object Type="Progress" Title="結合前のタスクの実行" Text="%RSGName%\%RDBName% および %OSGName%\%ODBName% に対して結合前のタスクを実行しています。しばらくお待ちください。">
				<Object Type="Group" Name="MatchingRecipients" SecurityContext="EXLOGON">
					<Object Type="MonadCommand" Name="Identity" Key1="get-mailboxstatistics -database &quot;%EXSERVER%\%RSGName%\%RDBName%&quot; | where {$_.ObjectClass -notmatch '(SystemAttendantMailbox|ExOleDbSystemMailbox)'}">
						<Rule Name="fRDBException" Query="count(../Exception) &gt;0" Title="データベース情報の取得中にエラーが発生しました" Text="{2} からデータベース ({1}) の統計情報の取得中にエラーが発生しました。エラー メッセージは {0} です。" P0="../Exception/@Message" S1="%ODBName%" S2="%Server%" Error="Error"/>
						<Setting Key1="MailboxGuid" Format="System.Guid" Substitution="Guid" SubstitutionFormat="System.Guid">
							<Rule Name="szRDBMailboxGuid" Query="$."/>
							<Rule Name="szRDBMailboxGuidPack" Query="pack($.)"/>
							<Rule Name="szRDBUser" Query="join('',$szRDBDisplayNamePack,$szRDBMailboxGuidPack,$szRDBLegacyDNPack)"/>
							<Rule Name="szRDBUserPack" Query="pack($szRDBUser)"/>
						</Setting>
						<Setting Key1="LegacyDN" Substitution="LegacyDN">
							<Rule Name="szRDBLegacyDN" Query="$."/>
							<Rule Name="szRDBLegacyDNPack" Query="pack($.)"/>
						</Setting>
						<Setting Key1="DisplayName" Substitution="DisplayName">
							<Rule Name="szRDBDisplayName" Query="$."/>
							<Rule Name="szRDBDisplayNamePack" Query="pack($.)"/>
						</Setting>
						<Object Type="If" Name="MatchDisplayName" Key1="%MatchOption%=0 and %MatchAll%=0">
							<Object Type="MonadCommand" Name="Identity" Key1="get-mailbox -Identity &quot;%DisplayName%&quot; -DomainController %DC%">
								<Rule Name="fMatchDisplayNameException" Query="count(../Exception) &gt; 0" Title="表示名によるユーザーの一致エラー" Text="ユーザー ({1}) の一致エラー。" S1="%DisplayName%" Error="Warning"/>
								<Setting Key1="Identity">
									<Rule Name="fMatchDisplayName" Query="$."/>
								</Setting>
							</Object>
						</Object>
						<Object Type="If" Name="MatchGuid" Key1="%MatchOption%=1 and %MatchAll%=0">
							<Object Type="MonadCommand" Name="Identity" Key1="get-mailbox -Identity &quot;%Guid%&quot; -DomainController %DC%">
								<Rule Name="fMatchGUIDException" Query="count(../Exception) &gt; 0" Title="GUID によるユーザーの一致エラー" Text="GUID ({2}) によるユーザー ({1}) の一致エラー" S1="%DisplayName%" S2="%Guid%" Error="Warning"/>
								<Setting Key1="Identity">
									<Rule Name="fMatchGuid" Query="$."/>
								</Setting>
							</Object>
						</Object>
						<Object Type="If" Name="MatchLegacyDN" Key1="%MatchOption%=2 and %MatchAll%=0">
							<Object Type="MonadCommand" Name="Identity" Key1="get-mailbox -Identity &quot;%LegacyDN%&quot; -DomainController %DC%">
								<Rule Name="fMatchLegacyDNException" Query="count(../Exception) &gt; 0" Title="Exchange の古い識別名によるユーザーの一致エラー" Text="Exchange の古い識別名 ({2}) によるユーザー ({1}) の一致エラー" S1="%DisplayName%" S2="%LegacyDN%" Error="Warning"/>
								<Setting Key1="Identity">
									<Rule Name="fMatchLegacyDN" Query="$."/>
								</Setting>
							</Object>
						</Object>
					</Object>
					<Rule Name="szMatchList" Query="if(($fMatchGuid or $fMatchDisplayName or $fMatchLegacyDN or (@S1=1)), join('', $szRDBUserPack))" S1="%MatchAll%" AlwaysEvaluate="True"/>
					<Rule Name="szMatchListCount" Query="if(($fMatchGuid or $fMatchDisplayName or $fMatchLegacyDN or @S1=1), count($szRDBUserPack), 0)" S1="%MatchAll%" AlwaysEvaluate="True">
						<Variable Name="INFO[Merge][MatchListCount]" Scope="Children"/>
					</Rule>
					<Rule Name="szUnMatchList" Query="if((not ($fMatchGuid or $fMatchDisplayName or $fMatchLegacyDN) and @S1=0), join('', $szRDBUserPack))" S1="%MatchAll%" AlwaysEvaluate="True"/>
					<Rule Name="szUnMatchListCount" Query="if((not ($fMatchGuid or $fMatchDisplayName or $fMatchLegacyDN) and @S1=0), count($szRDBUserPack), 0)" S1="%MatchAll%" AlwaysEvaluate="True">
						<Variable Name="INFO[Merge][UnMatchListCount]" Scope="Children"/>
					</Rule>
					<Rule Name="szSortedMatchList" Query="if($szMatchList, sort($szMatchList, @S1))" S1="%SortOption%" AlwaysEvaluate="True">
						<Variable Name="INFO[Merge][MatchList]" Scope="Children"/>
					</Rule>
					<Rule Name="szSortedUnMatchList" Query="if($szUnMatchList, sort($szUnMatchList, @S1))" S1="%SortOption%" AlwaysEvaluate="True">
						<Variable Name="INFO[Merge][UnMatchList]" Scope="Children"/>
					</Rule>
					<Rule Name="szDefaultSelectionMode" Query="if((@S0=0), string('True'), string('False'))" S0="%MatchAll%" AlwaysEvaluate="True">
						<Variable Name="INFO[Merge][DefaultSelectionMode]" Scope="Children"/>
					</Rule>
				</Object>
				<!-- Prepare Filter String -->
				<Object Type="Variable" Name="GetMergeOptions" Key1="Scalar" Display="Hide">
					<Setting Key1="%INFO[Merge][StartTime]%" Display="Hide">
						<Rule Name="szStartTime" Query="if(not ($.=''), concat(' -StartTime ', $.))"/>
					</Setting>
					<Setting Key1="%INFO[Merge][EndTime]%" Display="Hide">
						<Rule Name="szEndTime" Query="if(not ($.=''), concat(' -EndTime ', $.))"/>
					</Setting>
					<Setting Key1="%INFO[Merge][Subject]%" Display="Hide">
						<Rule Name="szSubject" Query="if(not ($.=''), concat(' -Subject &quot;', $., '&quot;'))"/>
					</Setting>
					<Setting Key1="%INFO[Merge][BadItemLimit]%" Display="Hide">
						<Rule Name="szBadItem" Query="if(not ($.=''), concat(' -BadItemLimit ', $.))"/>
					</Setting>
					<Rule Name="szOptionString" Query="concat($szStartTime, $szEndTime, $szSubject, $szBadItem)" AlwaysEvaluate="True">
						<Variable Name="INFO[Merge][OptionString]" Scope="Children"/>
					</Rule>
				</Object>
				<Rule Name="fDispatch" Query="true()" NextStep="DisplayMatchStep"/>
			</Object>
		</Object>
	</Object>

	<Object Type="Step" Name="DisplayMatchStep" Title="一致の表示の手順" Display="Left">
		<Object Type="Panel">
			<Object Type="Variable" Key1="Scalar" Display="Hide">
				<Setting Key1="%Server%" Substitution="Server" Display="Hide"/>
				<Setting Key1="%ServerName%" Substitution="EXSERVER" Display="Hide"/>
				<Setting Key1="%INFO[RSG][Name]%" Substitution="RSGName" Display="Hide"/>
				<Setting Key1="%INFO[RSG][SelectedDB]%" Substitution="SelectedDB" Display="Hide"/>
				<Setting Key1="%INFO[RSG][%INFO[RSG][SelectedDB]%][OrigMDB]%" Substitution="ODBName" Display="Hide"/>
				<Setting Key1="%INFO[RSG][%INFO[RSG][SelectedDB]%][OrigSG]%" Substitution="OSGName" Display="Hide"/>
				<Setting Key1="%INFO[Merge][MatchOption]%" Substitution="MatchOption" Display="Hide"/>
				<Setting Key1="%INFO[Merge][MatchList]%" Substitution="MatchList" Display="Hide"/>
				<Setting Key1="%INFO[Merge][MatchListCount]%" Substitution="MatchCount" Display="Hide"/>
				<Setting Key1="%INFO[Merge][UnMatchList]%" Substitution="UnMatchList" Display="Hide"/>
				<Setting Key1="%INFO[Merge][UnMatchListCount]%" Substitution="UnMatchCount" Display="Hide"/>
				<Setting Key1="%INFO[Merge][MatchAll]%" Substitution="MatchAll" Display="Hide"/>
				<Setting Key1="%INFO[Merge][MatchAlias]%" Substitution="MatchAllAlias" Display="Hide"/>
				<Setting Key1="%INFO[Merge][TargetFolder]%" Substitution="MatchAllFolder" Display="Hide"/>
				<Setting Key1="%INFO[Merge][DefaultSelectionMode]%" Substitution="DefaultSelectionMode" Display="Hide"/>
				<Object Type="Control" SubType="Title" Name="Title" Position="Top" Text="コピーまたは結合するメールボックスの選択"/>
				<Object Type="Control" SubType="Label" Name="Server" Position="Below" Text="サーバー名: %Server%"/>
				<Object Type="Control" SubType="Label" Name="RSG" Position="Below" LineSpace="0" Text="回復用ストレージ グループ名: %RSGName%"/>
				<Object Type="Control" SubType="Label" Name="LinkedSG" Position="Below" LineSpace="0" Text="リンクされたストレージ グループ名: %OSGName%"/>
				<Object Type="Control" SubType="Label" Name="SelectedDB" Position="Below" LineSpace="0" Text="選択されたデータベース名: %SelectedDB%"/>
				<Object Type="Control" SubType="Label" Name="LinkedDB" Position="Below" LineSpace="0" Text="リンクされたデータベース名: %ODBName%"/>

				<Object Type="If" Name="MatchAllOption" Key1="%MatchAll%=1">
					<Object Type="Control" SubType="Label" Name="MatchAllLabel" Position="Below" FontStyle="Bold" Text="すべてのオプションの一致:"/>
					<Object Type="Control" SubType="Label" Name="MatchAllAlias" Position="Below" LineSpace="0" Text="すべてのエイリアスの一致: %MatchAllAlias%"/>
					<Object Type="Control" SubType="Label" Name="MatchAllTargetFolder" Position="Below" LineSpace="0" Text="すべてのターゲット フォルダの一致: %MatchAllFolder%"/>
				</Object>

				<Object Type="If" Name="MatchCount" Key1="%MatchCount% &gt; 0">
					<Object Type="Control" SubType="Label" Name="matchMailboxes" Position="Below" FontStyle="Bold" Text="一致したメールボックス"/>
					<Object Type="Control" SubType="Label" Name="InvalidSelection" Position="NextTo" Percent="30" ForeColor="Red" Text="次の中から 1 つ以上のメールボックスを選択してください。" Flags="Visible=False"/>
					<Object Type="Control" SubType="ListView" Name="matched" Position="LeftBelow" Text="一致したメールボックス" Height="300" Width="FullWidth" Title="表示名、メールボックス GUID、Exchange の古い識別名" Default="%MatchList%" SelectionMode="True" Flags="DefaultSelection=%DefaultSelectionMode%">
						<Setting Key1="Pack">
							<Rule Name="SelectedData" Query="$.">
								<Variable Name="INFO[Merge][SelectedData]" Scope="Children"/>
							</Rule>
						</Setting>
					</Object>

					<Object Type="Control" SubType="Button" Name="SaveButton" Position="LeftBelow" Width="100" Text="保存">
						<Setting Key1="__VALUE"/>
						<Event Type="Click">
							<Action Type="ExecuteQuery" ControlName="matched" Query="ActionHandler('matched', 'SaveCSV')"/>
						</Event>
					</Object>
					<Object Type="Control" SubType="Button" Name="SelectAllButton" Position="NextTo" Width="100" Text="すべて選択">
						<Setting Key1="__VALUE"/>
						<Event Type="Click">
							<Action Type="ExecuteQuery" ControlName="matched" Query="ActionHandler('matched', 'SelectAll')"/>
						</Event>
					</Object>
					<Object Type="Control" SubType="Button" Name="UnselectAllButton" Position="NextTo" Width="100" Text="すべての選択を解除">
						<Setting Key1="__VALUE"/>
						<Event Type="Click">
							<Action Type="ExecuteQuery" ControlName="matched" Query="ActionHandler('matched', 'UnselectAll')"/>
						</Event>
					</Object>
				</Object>

				<Object Type="If" Name="NoMatchMailbox" Key1="%MatchCount%=0">
					<Object Type="Control" SubType="Label" Name="NoMatchMailboxLabel" Position="LeftBelow" Text="一致条件に該当するメールボックスがありません。"/>
				</Object>

				<Object Type="If" Name="UnMatchCount" Key1="%UnMatchCount% &gt; 0">
					<Object Type="Control" SubType="Label" Name="UnmatchMailboxes" Position="Below" FontStyle="Bold" Text="一致しないメールボックス"/>
					<Object Type="Control" SubType="ListView" Name="Unmatched" Position="Below" Text="一致しないメールボックス" Height="300" Width="FullWidth" Title="表示名、メールボックス GUID、Exchange の古い識別名" Default="%UnMatchList%" SelectionMode="Disabled"/>
				</Object>

				<Object Type="Control" SubType="Link" Name="Previous" Position="LeftBelow" LineSpace="2" Text="前へ"/>

				<Object Type="If" Name="NextLink" Key1="%MatchCount% &gt; 0">
					<Object Type="Control" SubType="Link" Name="Next" Position="NextTo" Percent="30" Text="結合処理の実行" NextStep="PrepareMergeActionStep">
						<Event Type="Click">
							<Action Type="Proceed" Query="control-value('matched') !=''"/>
							<Action Type="Visible" ControlName="InvalidSelection" Query="control-value('matched') =''"/>
						</Event>
					</Object>
				</Object>
				<Object Type="If" Name="TaskCenterLinkCase" Key1="%MatchCount%=0">
					<Object Type="Control" SubType="Link" Name="TaskCenterLink" Position="NextTo" Percent="30" Text="タスク センターに戻る" NextStep="GetDBInfoFromADStep"/>
				</Object>
			</Object>
		</Object>
	</Object>

	<Object Type="Step" Name="PrepareMergeActionStep" Title="結合処理の準備" Display="Hide">
		<Object Type="Action">
			<Object Type="Variable" Key1="Scalar" Display="Hide">
				<Setting Key1="%INFO[Merge][SelectedData]%" Substitution="ListViewData" Display="Hide"/>
				<Setting Key1="%INFO[Merge][MatchAll]%" Substitution="MatchAll" Display="Hide"/>
				<Object Type="Group" Name="Create Merge List">
					<Object Type="Variable" Name="Create each instance" Key1="Unpack" Key2="%ListViewData%">
						<Setting Key1="__VALUE" Substitution="Item">
							<Rule Name="szLegacyDN" Query="unpack($., 2)">
								<Variable Name="INFO[Merge][MergeList][%Item%]" Scope="Children"/>
							</Rule>
						</Setting>
					</Object>
					<Rule Name="fDisPatch" Query="true()" NextStep="MergeActionStep"/>
				</Object>
			</Object>
		</Object>
	</Object>

	<Object Type="Step" Name="MergeActionStep" Title="結合またはコピー処理の実行の手順" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%Server%" Substitution="Server" Display="Hide"/>
			<Setting Key1="%ServerName%" Substitution="EXSERVER" Display="Hide"/>
			<Setting Key1="%LocalMachineName%" Substitution="LocalMachineName" Display="Hide"/>
			<Setting Key1="%INFO[RSG][Name]%" Substitution="RSGName" Display="Hide"/>
			<Setting Key1="%INFO[RSG][SelectedDB]%" Substitution="RDBName" Display="Hide"/>
			<Setting Key1="%INFO[Merge][MergeList]%" Substitution="MergeList" Display="Hide"/>
			<Setting Key1="%INFO[Merge][MatchAll]%" Substitution="MatchAll" Display="Hide"/>
			<Setting Key1="%INFO[Merge][MatchAlias]%" Substitution="MatchAlias" Display="Hide"/>
			<Setting Key1="%INFO[Merge][TargetFolder]%" Substitution="TargetFolder" Display="Hide"/>
			<Setting Key1="%INFO[Merge][BadItemLimit]%" Substitution="BadItemLimit" Display="Hide"/>
			<Setting Key1="%INFO[Merge][OptionString]%" Substitution="OptionString" Display="Hide"/>
			<Object Type="Progress" Title="メールボックスの結合またはコピー" Text="%RSGName%\%RDBName% 内のメールボックス データを結合またはコピーしています。しばらくお待ちください。">
				<Object Type="If" Name="MatchAllOption" Key1="%MatchAll%=1" SecurityContext="EXLOGON">
					<Object Type="EventReport" Key2="ExTRA" Key3="Application" Key5="1000" Text="{1}\{2} からサーバー {3} 上の {4} へのメールボックス内容のコピーを開始します。" S1="%RSGName%" S2="%RDBName%" S3="%Server%" S4="%MatchAlias%"/>
					<Object Type="If" Name="CheckMachineName" Key1="not ('%EXSERVER%'='%LocalMachineName%')">
						<Object Type="EventReport" Key1="%EXSERVER%" Key2="ExTRA" Key3="Application" Key5="1000" Text="{1}\{2} からサーバー {3} 上の {4} へのメールボックス内容のコピーを開始します。" S1="%RSGName%" S2="%RDBName%" S3="%Server%" S4="%MatchAlias%"/>
					</Object>

					<Object Type="Variable" Name="UnpackMergeAllList" Key1="Unpack" Key2="%MergeList%">
						<Setting Key1="__VALUE" Substitution="LegacyDN"/>
						<Object Type="MonadCommand" Key1="restore-mailbox -Identity %MatchAlias% -rsgdatabase &quot;%EXSERVER%\%RSGName%\%RDBName%&quot; -rsgmailbox &quot;%LegacyDN%&quot; -TargetFolder %TargetFolder% %OptionString%">
							<Rule Name="fMatchAllRestoreException" Query="../Exception/@Message" Title="メールボックスをユーザー ({1}) に結合中にエラーが発生しました" Text="メールボックス ({2}) のユーザー ({1}) への結合エラー。エラー メッセージは {0} です。" P0="../Exception/@Message" S1="%MatchAlias%" S2="%LegacyDN%" Error="Error"/>
							<Setting Key1="StatusMessage" Substitution="StatusMessage"/>
							<Setting Key1="StatusCode">
								<Rule Name="MergeMatchAllMessage" Query="not ($fMatchAllRestoreException)" Title="メールボックス ({2}) は結合されました" Text="メールボックス ({2}) のユーザー ({3}) への結合は正常に実行されました。状態コード: {1}。状態メッセージ: {4}" P1="$." S2="%LegacyDN%" S3="%MatchAlias%" S4="%StatusMessage%" Error="Information"/>
							</Setting>
						</Object>
						<Object Type="SaveLogNow" Name="SaveLogForMergeAllList"/>
					</Object>
					<Object Type="EventReport" Key2="ExTRA" Key3="Application" Key5="1001" Text="{1}\{2} からサーバー ({3}) 上の {4} へのメールボックス内容のコピーを終了します。" S1="%RSGName%" S2="%RDBName%" S3="%Server%" S4="%MatchAlias%"/>
					<Object Type="If" Name="CheckMachineName2" Key1="not ('%EXSERVER%'='%LocalMachineName%')">
						<Object Type="EventReport" Key1="%EXSERVER%" Key2="ExTRA" Key3="Application" Key5="1001" Text="{1}\{2} からサーバー ({3}) 上の {4} へのメールボックス内容のコピーを終了します。" S1="%RSGName%" S2="%RDBName%" S3="%Server%" S4="%MatchAlias%"/>
					</Object>
				</Object>
				<Object Type="If" Name="NotMatchAllOption" Key1="not (%MatchAll%=1)" SecurityContext="EXLOGON">
					<Object Type="EventReport" Key2="ExTRA" Key3="Application" Key5="1000" Text="サーバー ({3}) 上の {1}\{2} からのメールボックス内容の結合を開始します。" S1="%RSGName%" S2="%RDBName%" S3="%Server%"/>
					<Object Type="If" Name="CheckMachineName3" Key1="not ('%EXSERVER%'='%LocalMachineName%')">
						<Object Type="EventReport" Key1="%EXSERVER%" Key2="ExTRA" Key3="Application" Key5="1000" Text="サーバー ({3}) 上の {1}\{2} からのメールボックス内容の結合を開始します。" S1="%RSGName%" S2="%RDBName%" S3="%Server%"/>
					</Object>

					<Object Type="Variable" Name="UnpackMergeList" Key1="Unpack" Key2="%MergeList%">
						<Setting Key1="__VALUE" Substitution="LegacyDN"/>
						<Object Type="MonadCommand" Key1="restore-mailbox -Identity &quot;%LegacyDN%&quot; -rsgdatabase &quot;%EXSERVER%\%RSGName%\%RDBName%&quot; %OptionString%">
							<Rule Name="fRestoreException" Query="../Exception/@Message" Title="メールボックスの復元中にエラーが発生しました" Text="メールボックス ({2}) の復元中にエラーが発生しました。エラー メッセージ: {0}。" P0="../Exception/@Message" S2="%LegacyDN%" Error="Error"/>
							<Setting Key1="StatusMessage" Substitution="StatusMessage"/>
							<Setting Key1="StatusCode">
								<Rule Name="RestoreMailboxMessage" Query="$." Title="メールボックス ({2}) は復元されました" Text="メールボックス ({2}) は、正常に復元されました。状態コード: {1}。状態メッセージ: {3}" P1="$." S2="%LegacyDN%" S3="%StatusMessage%" Error="Information"/>
							</Setting>
						</Object>
						<Object Type="SaveLogNow" Name="SaveLogForMergeAlias"/>
					</Object>
					<Object Type="EventReport" Key2="ExTRA" Key3="Application" Key5="1001" Text="サーバー ({3}) 上の {1}\{2} からのメールボックス内容の結合を終了します。" S1="%RSGName%" S2="%RDBName%" S5="%Server%"/>
					<Object Type="If" Name="CheckMachineName4" Key1="not ('%EXSERVER%'='%LocalMachineName%')">
						<Object Type="EventReport" Key1="%EXSERVER%" Key2="ExTRA" Key3="Application" Key5="1001" Text="サーバー ({3}) 上の {1}\{2} からのメールボックス内容の結合を終了します。" S1="%RSGName%" S2="%RDBName%" S5="%Server%"/>
					</Object>
				</Object>

				<Rule Name="fDisppatch" Query="true()" NextStep="DisplayMergeResultStep">
					<Rule Name="szPreviousStepName" Query="'MergeActionStep'">
						<Variable Name="PreviousStepName" Scope="Children"/>
					</Rule>
				</Rule>
			</Object>
		</Object>
	</Object>

	<Object Type="Step" Name="DisplayMergeResultStep" Title="結合またはコピーの結果の表示" Display="Left">
		<Object Type="Panel">
			<Object Type="Variable" Name="Get Variable" Key1="Scalar" Display="Hide">
				<Setting Key1="%Server%" Substitution="Server" Display="Hide"/>
				<Setting Key1="%ServerName%" Substitution="EXSERVER" Display="Hide"/>
				<Setting Key1="%INFO[RSG][Name]%" Substitution="RSGName" Display="Hide"/>
				<Setting Key1="%INFO[RSG][SelectedDB]%" Substitution="SelectedDB" Display="Hide"/>
				<Setting Key1="%INFO[RSG][%INFO[RSG][SelectedDB]%][OrigMDB]%" Substitution="ODBName" Display="Hide"/>
				<Setting Key1="%INFO[RSG][%INFO[RSG][SelectedDB]%][OrigSG]%" Substitution="OSGName" Display="Hide"/>
				<Setting Key1="%INFO[Merge][Message]%" Substitution="MergeResult" Display="Hide"/>
				<Setting Key1="%PreviousStepName%" Substitution="PreviousStepName" Display="Hide"/>
				<Object Type="Control" SubType="Title" Name="Title" Position="Top" Text="メールボックスの結合またはコピーの結果の表示"/>
				<Object Type="Control" SubType="Label" Name="Server" Position="Below" Text="サーバー名: %Server%"/>
				<Object Type="Control" SubType="Label" Name="RSG" Position="Below" LineSpace="0" Text="回復用ストレージ グループ名: %RSGName%"/>
				<Object Type="Control" SubType="Label" Name="SelectedDB" Position="Below" LineSpace="0" Text="回復用ストレージ グループ内の選択されたデータベース名: %SelectedDB%"/>
				<Object Type="Control" SubType="Label" Name="LinkedSG" Position="Below" LineSpace="0" Text="リンクされたストレージ グループ名: %OSGName%"/>
				<Object Type="Control" SubType="Label" Name="LinkedDB" Position="Below" LineSpace="0" Text="ターゲット データベース名: %ODBName%"/>

				<Object Type="Control" SubType="Reports" Name="InterimReports" Position="LeftBelow" Width="FullWidth" Height="400">
					<Report Title="結合結果" Query="//Object[@Type='Step' and @Name='%STEPNAMEPREFIX%%PreviousStepName%' and not(@StepStatus='Deactivated')][last()]/*//Message[@Error='Error' or @Error='Information']"/>
				</Object>
			</Object>

			<Object Type="Control" SubType="Link" Name="MissionControlStep" Position="LeftBelow" Text="タスク センターに戻る" NextStep="GetDBInfoFromADStep"/>
		</Object>
	</Object>

	<Object Type="Step" Name="ResetLogOptionsStep" Title="ログのリセット オプションの選択" Display="Left">
		<Object Type="Panel">
			<Object Type="Variable" Name="GetVariables" Key1="Scalar" Display="Hide">
				<Setting Key1="%Server%" Substitution="Server" Display="Hide"/>
				<Setting Key1="%INFO[AllSGs]%" Substitution="AllSGs" Display="Hide"/>
				<Object Type="Control" SubType="Title" Name="Title" Position="Top" Text="ログのリセット オプションの選択"/>
				<Object Type="Control" SubType="Label" Name="Server" Position="Below" Text="サーバー名: %Server%"/>

				<Object Type="Control" SubType="ListBox" Name="ListBox" Position="Below" Width="450" Text="使用可能なストレージ グループ" Default="%AllSGs%">
					<Setting Key1="SelectedSG">
						<Rule Name="szSG" Query="$.">
							<Variable Name="SelectedSG" Scope="Local"/>
						</Rule>
					</Setting>
				</Object>

				<!-- Select a new path -->
				<Object Type="Control" SubType="Label" Name="LogDirectoryLabel" Position="LeftBelow" LineSpace="2" Text="バックアップ場所の選択: "/>
				<Object Type="Control" SubType="FileDialog" Text="参照..." Title="ログのバックアップ ディレクトリの選択" DialogType="OpenFolder" Name="LogPath" Position="NextTo" Percent="30" Width="300" Flags="ReadOnly=True|AllowCreate=True">
					<Setting Key1="NewLogPath" Substitution="NewLogPath">
						<Rule Name="szLogPathSetVar" Query="$.">
							<Variable Name="INFO[LogMove][NewLogPath]" Scope="Children"/>
						</Rule>
					</Setting>
					<Event Type="Changed">
						<Action Type="Enable" ControlName="Next" Query="not (control-value('LogPath')='')"/>
					</Event>
				</Object>

				<Object Type="Control" SubType="Label" Name="WarningLabel" Position="LeftBelow" LineSpace="2" FontStyle="Bold" Text="重要:"/>
				<Object Type="Control" SubType="Label" Name="WarningLabel1" Position="LeftBelow" LineSpace="0" Text="このツールは、すべてのデータベースが存在しており正しくデタッチされていることを確認してから、ストレージ グループのログ ファイルを安全なバックアップ場所に移動します。これらのログを格納する空のフォルダを指定する必要があります。このプロセスでは、ストレージ グループのログ ファイル ストリームが &quot;リセット&quot; されます。"/>
				<Object Type="Control" SubType="Label" Name="WarningLabel2" Position="LeftBelow" LineSpace="1" Text="現在のログ シーケンス番号が上限値の 0xFFFFF (1,048,575) に近づいているか達している場合は、ログ ファイルをリセットする必要があります。リセット後は、新しい署名が付加された一連の新しいログ ファイルに 1 から順番に番号が割り当てられます。"/>
				<Object Type="Control" SubType="Label" Name="WarningLabel3" Position="LeftBelow" LineSpace="1" Text="ストレージ グループ内の各データベースの新しいバックアップを作成するまでは、以前のログ ファイルをすべて保存しておく必要があります。以前のバックアップを復元するには、これらの以前のログ ファイルが必要になります。"/>

				<Object Type="Control" SubType="Link" Name="Previous" LineSpace="2" Position="Below" Text="前へ"/>
				<Object Type="Control" SubType="Link" Name="Next" Position="NextTo" Percent="30" Text="次へ" Flags="Enabled=False">
					<Rule Name="fDispatch" Query="not ($szSG='')" NextStep="VerifyResetLogOptionsStep"/>
				</Object>
			</Object>
		</Object>
	</Object>

	<Object Type="Step" Name="VerifyResetLogOptionsStep" Title="ログのリセット オプションの確認" Display="Hide">
		<Object Type="Action">
			<Object Type="If" Key1="true()" Display="HideAll">
				<Setting Key1="'1'" SQM="117;Set"/>
			</Object>
			<Object Type="Variable" Name="GetVariables" Key1="Scalar" Display="Hide">
				<Setting Key1="%ServerName%" Substitution="EXSERVER" Display="Hide"/>
				<Setting Key1="%SelectedSG%" Substitution="SGName" Display="Hide"/>
				<Setting Key1="%LogPattern%" Substitution="LogPattern" Display="Hide"/>
				<Setting Key1="%INFO[%SelectedSG%][DBMountCount]%" Substitution="DBMountCount" Display="Hide">
					<Rule Name="fDBMounted" Query="not ($.=0)" Title="マウントされたデータベースが検出されました" Text="このストレージ グループ ({2}) には、{1} 個のマウントされたデータベースがあります。マウントされたデータベースがある場合は、ログ世代番号のリセット操作を完了できません。" P1="$." S2="%SGName%" Error="Error"/>
				</Setting>
				<Setting Key1="%INFO[%SelectedSG%][DBUnMountCount]%" Substitution="DBUnmountCount" Display="Hide">
					<Rule Name="fNoUnmountedDB" Query="not ($fDBMounted) and $.=0" Title="マウント解除されたデータベースはありません" Text="このストレージ グループ ({2}) には、マウント解除されたデータベースがありません。構成済みのデータベースがない場合は、ログ世代番号のリセット操作を完了できません。" S2="%SGName%" AlwaysEvaluate="True" Error="Error"/>
				</Setting>
				<Setting Key1="%INFO[%SelectedSG%][SelectableDBs]%" Substitution="DBList" Display="Hide"/>
				<Setting Key1="%INFO[%SelectedSG%][RLogPath]%" Substitution="LogPath" Display="Hide"/>
				<Setting Key1="%INFO[%SelectedSG%][BASENAME]%" Substitution="LogPrefix" Display="Hide"/>
				<Setting Key1="%INFO[%SelectedSG%][LogFileSize]%" Substitution="LogFileSize" Display="Hide"/>
				<Setting Key1="%IsE12%" Substitution="IsE12" Display="Hide"/>
				<Setting Key1="%INFO[LogMove][NewLogPath]%" Substitution="NewLogPath" Display="Hide"/>
				<Setting Key1="%DiskInfo[%INFO[%SelectedSG%][LongestDriveMatch]%][FreeSpace]%" Substitution="FreeSpace" Display="Hide"/>

				<Object Type="If" Name="Analysis" Key1="%DBUnmountCount% &gt; 0 and %DBMountCount%=0">
					<!-- Get LogFile List -->
					<Object Type="File" Key2="%LogPath%" SecurityContext="EXLOGON">
						<Rule Name="fErrorAccessLogDir" Query="../Exception/@Message" Text="ログ パス {0} へのアクセス中にエラーが発生しました。エラー メッセージは {1} です。" S0="%LogPath%" P1="../Exception/@Message" Error="Error"/>
						<Setting Key1="Files" Key2="%LogPrefix%%LogPattern%">
							<Rule Name="iFileCount" Query="count($.)">
								<Variable Name="INFO[%SGName%][TotalLogNumber]" Scope="Children"/>
							</Rule>
							<Rule Name="szLogFileList" Query="pack($.)">
								<Variable Name="INFO[%SGName%][LogFileList]" Scope="Children"/>
							</Rule>
							<Rule Name="iTotalLogSize" Query="roundto((($iFileCount * @S1) div (1024*1024*1024)), 3)" S1="%LogFileSize%">
								<Variable Name="INFO[%SGName%][TotalLogSize]" Scope="Children"/>
							</Rule>
						</Setting>
					</Object>

					<!-- Check Database files -->
					<Object Type="Variable" Name="GetDBInfo" Key1="Unpack" Key2="%DBList%">
						<Setting Key1="__VALUE" Substitution="DBName"/>
						<Object Type="Variable" Name="Database Information" Key1="Scalar" Display="Hide">
							<Setting Key1="%INFO[%SGName%][%DBName%][RMDBPATH]%" Substitution="MDBPATH" Display="Hide"/>
							<Setting Key1="%INFO[%SGName%][%DBName%][RSLVPATH]%" Substitution="SLVPATH" Display="Hide"/>
							<Object Type="EseInfo" Key2="%MDBPATH%" Key3="EXDRA" Key4="%IsE12%" SecurityContext="EXLOGON">
								<Rule Name="fErrorAccessDatabase" Query="../Exception/@Message" Text="データベース ファイル {0} へのアクセス中にエラーが発生しました。エラー メッセージは {1} です。この問題を最初に解決してください。" S0="%MDBPATH%" P1="../Exception/@Message" Error="Error"/>
								<Setting Key1="DBState">
									<Rule Name="fNotCleanShutdown" Query="not ($.=3)" Title="'クリーン シャットダウン' 状態ではないデータベース" Text="{1} のデータベース ({0}) は、'クリーン シャットダウン' 状態ではありません。この問題を最初に解決してください。" S0="%MDBPATH%" S1="%SGName%" Error="Error"/>
								</Setting>
							</Object>
							<Object Type="EseInfo" Key2="%SLVPATH%" Key3="EXDRA" Key4="%IsE12%" SecurityContext="EXLOGON">
								<Rule Name="fErrorAccessSLV" Query="../Exception/@Message" Text="ストリーミング ファイル {0} へのアクセス中にエラーが発生しました。エラー メッセージは {1} です。この問題を最初に解決してください。" S0="%SLVPATH%" P1="../Exception/@Message" Error="Error"/>
								<Setting Key1="DBState">
									<Rule Name="fNotCleanShutdownSLV" Query="not ($.=3)" Title="'クリーン シャットダウン' 状態ではないストリーミング ファイル" Text="{1} のストリーミング ファイル ({0}) は、'クリーン シャットダウン' 状態ではありません。この問題を最初に解決してください。" S0="%SLVPATH%" S1="%SGName%" Error="Error"/>
								</Setting>
							</Object>
						</Object>
					</Object>

					<!-- LogInfo to get log creation date -->
					<Object Type="LogInfo" Key2="%LogPath%\%LogPrefix%.log" Name="CheckEnnLog" SecurityContext="EXLOGON">
						<Rule Name="fExceptionEnnLog" Query="../Exception/@Message" Title="最後のログ ファイルへのアクセス中にエラーが発生しました" Text="{0} の {2}.log へのアクセス中にエラーが発生しました。エラー メッセージは {1} です。" S0="%LogPath%" P1="../Exception/@Message" S2="%LogPrefix%" Error="Error"/>
						<Setting Key1="GenerationInDecimal" Substitution="LogNumber">
							<Rule Name="iHighestLogNumber" Query="$.">
								<Variable Name="INFO[%SGName%][HighestLogNumber]" Scope="Children"/>
							</Rule>
						</Setting>
						<Setting Key1="Generation" Substitution="LogNumberInHex">
							<Rule Name="iHighestLogNumberInHex" Query="$.">
								<Variable Name="INFO[%SGName%][HighestLogNumberInHex]" Scope="Children"/>
							</Rule>
						</Setting>
						<Setting Key1="LogSignature.CreateTime" Substitution="LogCreateTime"/>
						<Object Type="WMI" Key1="%EXSERVER%" Key2="root\cimv2" Key3="Win32_OperatingSystem">
							<Rule Name="fExceptionWMI" Query="count(../Exception)" Title="リモート時間へのアクセス中にエラーが発生しました" Text="リモート サーバー {2} 上の現地時刻を取得できませんでした。例外メッセージ: {1}" P1="../Exception/@Message" S2="%Server%" Error="Error"/>
							<Setting Key1="LocalDateTime">
								<Rule Name="dCurrentTime" Query="date-parse(substring($.,1,14), 'yyyyMMddHHmmss')"/>
								<Rule Name="dTimeSpan" Query="get-days(date-difference($dCurrentTime, @S1))" S1="%LogCreateTime%"/>
								<Rule Name="dEstimateTime" Query="((1048575 - @S1) * $dTimeSpan) div @S1" S1="%LogNumber%"/>
								<Rule Name="dEstimateDays" Query="roundto($dEstimateTime, 0)">
									<Variable Name="INFO[DaysLeft]" Scope="Children"/>
								</Rule>
							</Setting>
						</Object>
					</Object>

					<!-- Check Path space -->
					<Object Type="Command" Key2="cmd" Key3="/C dir /-C &quot;%NewLogPath%&quot;" SecurityContext="EXLOGON">
						<Rule Name="fExceptionSpaceCheck" Query="../Exception/@Message" Title="新しいログ パスのディスク領域の取得中にエラーが発生しました" Text="新しいログ パス {0} のディスク領域を取得中にエラーが発生しました。エラー メッセージは {1} です。" S0="%NewLogPath%" P1="../Exception/@Message" Error="Error"/>
						<Setting Key1="RegexExecute" Key2="((\d+)([^\d\n]+))\Z" Key3="stdout"/>
						<Setting Key1="RegexExtract" Key2="0" Key3="0" Key4="0" Format="(\d+)\s([\S\s]*)----$1" Substitution="DiskSpace">
							<Rule Name="iDiskSpace" Query="roundto((@S1 div (1024*1024*1024)), 3)" S1="%DiskSpace%"/>
							<Rule Name="fNotEnoughSpace" Query="$iTotalLogSize &gt; $iDiskSpace" Title="ディスク領域が不足しています" Text="{1} のディスク領域が不足しているため、すべてのログをバックアップできません。現在の空き領域は {2} ですが必要な領域は {3} です。" S1="%NewLogPath%" P2="$iDiskSpace" P3="$iTotalLogSize" Error="Error"/>
						</Setting>
					</Object>

					<!-- Check Empty Path -->
					<Object Type="File" Key2="%NewLogPath%" SecurityContext="EXLOGON">
						<Setting Key1="Files" Key2="*.*" Retrieve="CountOnly">
							<Rule Name="fNotEmpty" Query="$. &gt; 0" Title="バックアップのパスが空ではありません" Text="バックアップのパス ({1}) が空ではありません。" S1="%NewLogPath%" Error="Error"/>
						</Setting>
					</Object>
				</Object>

				<Rule Name="fError" Query="$fErrorAccessLogDir or $fErrorAccessDatabase or $fErrorAccessSLV or $fDBMounted or $fNoUnmountedDB or $fNotCleanShutdown or $fNotCleanShutdownSLV or $fNotEnoughSpace or $fExceptionEnnLog or $fNotEmpty" NextStep="ReportErrorStep" AlwaysEvaluate="True">
					<Rule Name="szPreviousStep" Query="'VerifyResetLogOptionsStep'">
						<Variable Name="INFO[PreviousStepName]" Scope="Children"/>
					</Rule>
					<Rule Name="szTitle" Query="string(@Title)" Title="ログのリセット オプションの確認中にエラーが発生しました">
						<Variable Name="INFO[Title]" Scope="Children"/>
					</Rule>
				</Rule>
				<Rule Name="fDispatch" Query="not ($fError)" NextStep="ConfirmResetLogActionStep"/>
			</Object>
		</Object>
	</Object>

	<Object Type="Step" Name="ConfirmResetLogActionStep" Title="ログのリセット処理の確認" Display="Left">
		<Object Type="Panel">
			<!-- Display Information -->
			<Object Type="Variable" Name="GetVariables" Key1="Scalar" Display="Hide">
				<Setting Key1="%ServerName%" Substitution="Server" Display="Hide"/>
				<Setting Key1="%SelectedSG%" Substitution="SGName" Display="Hide"/>
				<Setting Key1="%INFO[LogMove][NewLogPath]%" Substitution="NewLogPath" Display="Hide"/>
				<Setting Key1="%INFO[%SelectedSG%][HighestLogNumber]%" Substitution="HighestLogNumber" Display="Hide"/>
				<Setting Key1="%INFO[%SelectedSG%][HighestLogNumberInHex]%" Substitution="HighestLogNumberInHex" Display="Hide"/>
				<Setting Key1="%INFO[%SelectedSG%][TotalLogNumber]%" Substitution="TotalLogNumber" Display="Hide"/>
				<Setting Key1="%INFO[DaysLeft]%" Substitution="DaysLeft" Display="Hide"/>

				<Object Type="Control" SubType="Title" Name="Title" Position="Top" Text="ログ生成のリセット オプションの確認"/>
				<Object Type="Control" SubType="Label" Name="ServerName" Position="LeftBelow" LineSpace="2" Text="サーバー名: %Server%"/>
				<Object Type="Control" SubType="Label" Name="SGName" Position="Below" LineSpace="0" Text="選択されたストレージ グループ: %SGName%"/>
				<Object Type="Control" SubType="Label" Name="NewLogPath" Position="Below" LineSpace="0" Text="バックアップ ログ パス: %NewLogPath%"/>

				<Object Type="Control" SubType="Label" Name="HighestLogNumber" Position="Below" LineSpace="2" Text="最大ログ番号: %HighestLogNumber% (%HighestLogNumberInHex%) "/>
				<Object Type="Control" SubType="Label" Name="TotalLogNumber" Position="Below" LineSpace="0" Text="ログ ファイルの合計数: %TotalLogNumber%"/>
				<Object Type="Control" SubType="Label" Name="DaysLeft" Position="Below" LineSpace="0" Text="ログ シーケンスの上限値に到達するまでの推測日数: %DaysLeft%"/>
			</Object>

			<Object Type="Control" SubType="Link" Name="Previous" LineSpace="2" Position="Below" Text="前へ"/>
			<Object Type="Control" SubType="Link" Name="Next" Position="NextTo" Percent="30" Text="次へ" NextStep="PerformResetLogActionStep"/>
		</Object>
	</Object>

	<Object Type="Step" Name="PerformResetLogActionStep" Title="ログのリセット処理の実行" Display="Left">
		<Object Type="Variable" Name="Variable Info" Key1="Scalar" Display="Hide">
			<Setting Key1="%Server%" Substitution="Server" Display="Hide"/>
			<Setting Key1="%ServerName%" Substitution="EXSERVER" Display="Hide"/>
			<Setting Key1="%LocalMachineName%" Substitution="LocalMachineName" Display="Hide"/>
			<Setting Key1="%SelectedSG%" Substitution="SGName" Display="Hide"/>
			<Setting Key1="%INFO[LogMove][NewLogPath]%" Substitution="NewLogPath" Display="Hide"/>
			<Setting Key1="%INFO[%SelectedSG%][LogPath]%" Substitution="LogPath" Display="Hide"/>
			<Setting Key1="%INFO[%SelectedSG%][RLogPath]%" Substitution="RLogPath" Display="Hide"/>
			<Setting Key1="%INFO[%SelectedSG%][BASENAME]%" Substitution="LogPrefix" Display="Hide"/>
			<Setting Key1="%INFO[%SelectedSG%][LogFileList]%" Substitution="FileList" Display="Hide"/>
			<Object Type="Progress" Title="ログの世代番号のリセット" Text="このツールによってログがバックアップされた後で、ログの世代番号をリセットしてください。">
				<!-- Copy Logs -->
				<Object Type="EventReport" Key2="ExTRA" Key3="Application" Key5="1000" Text="サーバー ({4}) 上のストレージ グループ ({3}) でログの世代番号をリセットするために、{1} から {2} へのトランザクション ログ ファイルのコピーと削除を開始します。" S1="%LogPath%" S2="%NewLogPath%" S3="%SGName%" S4="%Server%"/>
				<Object Type="If" Name="CheckMachineName" Key1="not ('%EXSERVER%'='%LocalMachineName%')">
					<Object Type="EventReport" Key1="%EXSERVER%" Key2="ExTRA" Key3="Application" Key5="1000" Text="サーバー ({4}) 上のストレージ グループ ({3}) でログの世代番号をリセットするために、{1} から {2} へのトランザクション ログ ファイルのコピーと削除を開始します。" S1="%LogPath%" S2="%NewLogPath%" S3="%SGName%" S4="%Server%"/>
				</Object>
				<Object Type="FileOp" Name="Copy Operation" Key1="Initial">
					<Object Type="Variable" Name="LogFileVariable" Key1="Unpack" Key2="%FileList%">
						<Setting Key1="__VALUE" Substitution="FileName" Format="..*\\(.*)$----$1"/>
						<Setting Key1="__VALUE" Substitution="LogFile"/>

						<Object Type="Cache" Name="AllFileList" Key1="AddValue" Key2="AllFileList" Key3="%LogFile%"/>
						<Object Type="FileOp" Name="CopyLog" Key1="Copy" Key2="%LogFile%" Key3="%NewLogPath%\%FileName%" SecurityContext="EXLOGON">
							<Rule Name="fMoveException" Query="count(../Exception) &gt;0" Title="ログ ファイルの移動中にエラーが発生しました" Text="ログ ファイル {0} を {2} に移動しているときにエラーが発生しました。エラー メッセージ: {1}。" S0="%LogFile%" P1="../Exception/@Message" S2="%NewLogPath%" Error="Error"/>
							<Setting Key1="__VALUE" Substitution="CopyResult">
								<Rule Name="szMessageOK" Query="if($.='True', string(@Text))" Text="ログ ファイル %LogFile% を %NewLogPath% に正常にコピーしました。 " S1="%LogFile%" S2="%NewLogPath%"/>
							</Setting>
							<Object Type="If" Name="CheckCopyResult" Key1="'%CopyResult%'='True'" Display="Hide">
								<Object Type="Cache" Name="FileList" Key1="AddValue" Key2="FileList" Key3="%LogFile%"/>
							</Object>
							<Object Type="SaveLogNow" Name="ForceLogSave"/>
						</Object>
					</Object>
				</Object>

				<!-- Remove Logs -->
				<Object Type="Cache" Name="AllFileList" Key1="DumpValue" Key2="AllFileList" Key4=",">
					<Setting Key1="__VALUE" Substitution="AllFileList"/>
					<Object Type="Cache" Name="FileList" Key1="DumpValue" Key2="FileList" Key4=",">
						<Setting Key1="__VALUE" Substitution="FileList"/>
						<Object Type="If" Name="Remove Operation" Key1="'%AllFileList%'='%FileList%'">
							<Object Type="Cache" Name="FileList" Key1="Dump" Key2="FileList">
								<Setting Key1="__VALUE" Substitution="LogFileName"/>
								<Object Type="FileOp" Key1="Remove" Key2="%LogFileName%" SecurityContext="EXLOGON">
									<Rule Name="fRemoveException" Query="count(../Exception) &gt;0" Title="ログ ファイルの削除中にエラーが発生しました" Text="ログ ファイル ({2}) の削除中にエラーが発生しました。エラー メッセージ: {1}。" P1="../Exception/@Message" S2="%LogFileName%" Error="Error"/>
									<Rule Name="szMessageRemoveOK" Query="if(not ($fRemoveException), string(@Text))" Text="ログ ファイル (%LogFileName%) を正常にコピーして削除しました。" S2="%LogFileName%" Error="Information"/>
								</Object>
							</Object>
						</Object>
					</Object>
				</Object>
				<Object Type="EventReport" Key2="ExTRA" Key3="Application" Key5="1001" Text="サーバー ({4}) 上のストレージ グループ ({3}) でログの世代番号をリセットするために、{1} から {2} へのトランザクション ログ ファイルのコピーと削除を終了します。" S1="%LogPath%" S2="%NewLogPath%" S3="%SGName%" S4="%Server%"/>
				<Object Type="If" Name="CheckMachineName2" Key1="not ('%EXSERVER%'='%LocalMachineName%')">
					<Object Type="EventReport" Key1="%EXSERVER%" Key2="ExTRA" Key3="Application" Key5="1001" Text="サーバー ({4}) 上のストレージ グループ ({3}) でログの世代番号をリセットするために、{1} から {2} へのトランザクション ログ ファイルのコピーと削除を終了します。" S1="%LogPath%" S2="%NewLogPath%" S3="%SGName%" S4="%Server%"/>
				</Object>

				<!-- Setup Display Variables -->
				<Object Type="Group" Name="SetVariables">
					<Rule Name="szSGName" Query="string(@S1)" S1="%SGName%">
						<Variable Name="INFO[LogMove][SGName]" Scope="Children"/>
					</Rule>
				</Object>

				<Rule Name="szTitleFail" Query="string(@Title)" Title="ログ ファイルの新しい場所へのコピー中またはログの削除中にエラーが発生しました"/>
				<Rule Name="szTitleOK" Query="string(@Title)" Title="ログ ファイルを新しい場所に正常にコピーし、ログを元のパスから削除しました"/>
				<Rule Name="szTitle" Query="if(((count($fMoveException)=0) and (count($fRemoveException)=0)),$szTitleOK,$szTitleFail)" AlwaysEvaluate="True">
					<Variable Name="INFO[LogMove][Result][Title]" Scope="Children"/>
				</Rule>

				<Rule Name="fDispatch" Query="true()" NextStep="DisplayLogMoveStatusStep">
					<Rule Name="szPreviousStep" Query="'PerformResetLogActionStep'">
						<Variable Name="PreviousStepName" Scope="Children"/>
					</Rule>
				</Rule>
			</Object>
		</Object>
	</Object>

	<Object Type="Step" Name="SelectRepairOptionStep" Title="修復オプションの選択" Display="Left">
		<Object Type="Panel">
			<Object Type="Variable" Name="GetVariables" Key1="Scalar" Display="Hide">
				<Setting Key1="%Server%" Substitution="Server" Display="Hide"/>
				<Setting Key1="%ServerName%" Substitution="EXSERVER" Display="Hide"/>
				<Setting Key1="%INFO[AllSGs]%" Substitution="AllSGs" Display="Hide"/>
				<Object Type="Control" SubType="Title" Name="Title" Position="Top" Text="修復オプションの選択"/>
				<Object Type="Control" SubType="Label" Name="Server" Position="Below" Text="サーバー名: %Server%"/>

				<Object Type="Control" SubType="ListBox" Name="ListBox" Position="Below" Width="450" Text="使用可能なストレージ グループ" Default="%AllSGs%">
					<Setting Key1="SelectedSG">
						<Rule Name="szSG" Query="$.">
							<Variable Name="SelectedSG" Scope="Local"/>
						</Rule>
					</Setting>
				</Object>

				<Object Type="Control" SubType="Link" Name="Previous" LineSpace="2" Position="Below" Text="前へ"/>
				<Object Type="Control" SubType="Link" Name="Next" Position="NextTo" Percent="30" Text="次へ" NextStep="VerifyRepairOptionStep"/>
			</Object>
		</Object>
	</Object>

	<Object Type="Step" Name="VerifyRepairOptionStep" Title="修復オプションの確認" Display="Left">
		<Object Type="Action">
			<Object Type="Variable" Name="GetVariables" Key1="Scalar" Display="Hide">
				<Setting Key1="%ServerName%" Substitution="EXSERVER" Display="Hide"/>
				<Setting Key1="%SelectedSG%" Substitution="SGName" Display="Hide"/>
				<Setting Key1="%INFO[%SelectedSG%][SelectableDBs]%" Substitution="DBList" Display="Hide"/>
				<Setting Key1="%INFO[%SelectedSG%][DBUnMountCount]%" Substitution="DBUnmountCount" Display="Hide">
					<Rule Name="szNoDismountedDatabase" Query="$.=0" Title="マウント解除されたデータベースはありません" Text="ストレージ グループ ({1}) にはマウント解除されたデータベースがありません。このストレージ グループでは修復は必要ありません。" S1="%SGName%" Error="Error"/>
				</Setting>
				<Setting Key1="%DiskInfo[%INFO[%SelectedSG%][LongestDriveMatch]%][FreeSpace]%" Substitution="FreeSpace" Display="Hide"/>
				<Setting Key1="%IsE12%" Substitution="IsE12" Display="Hide"/>

				<Object Type="If" Name="CheckDBUnmountCount" Key1="%DBUnmountCount% &gt; 0">
					<!-- GetCurrentTime -->
					<Object Type="WMI" Key1="%EXSERVER%" Key2="root\cimv2" Key3="Win32_OperatingSystem" SecurityContext="EXLOGON">
						<Rule Name="fException" Query="count(../Exception) &gt; 0" Title="リモート時間へのアクセス中にエラーが発生しました" Text="リモート サーバー {2} 上の現地時刻を取得できませんでした。例外メッセージ: {1}" P1="../Exception/@Message" S2="%Server%" Error="Error"/>
						<Rule Name="dDefaultTime" Query="if($fException, '19000101000000')">
							<Variable Name="INFO[LocalTime]" Scope="Children"/>
						</Rule>
						<Setting Key1="LocalDateTime">
							<Rule Name="dCurrentTime" Query="substring($.,1,14)">
								<Variable Name="INFO[LocalTime]" Scope="Children"/>
							</Rule>
						</Setting>
					</Object>

					<!-- Enumerate all DBs -->
					<Object Type="Variable" Name="EnumerateDBs" Key1="Unpack" Key2="%DBList%">
						<Setting Key1="__VALUE" Substitution="DBName" Display="Hide"/>
						<Object Type="Variable" Name="GetDBVariables" Key1="Scalar" Display="Hide">
							<Setting Key1="%INFO[%SelectedSG%][%DBName%][RMDBPATH]%" Substitution="MDBPath" Display="Hide"/>
							<Setting Key1="%INFO[%SelectedSG%][%DBName%][RSLVPATH]%" Substitution="SLVPath" Display="Hide"/>
							<!-- DB Exist -->
							<Object Type="EseInfo" Name="CheckDB" Key2="%MDBPath%" Key3="EXDRA" Key4="%IsE12%" SecurityContext="EXLOGON">
								<Rule Name="fErrorAccessMDB" Query="../Exception/@Message" Text="データベース {0} へのアクセス中にエラーが発生しました。エラー メッセージは {1} です。" S0="%MDBPath%" P1="../Exception/@Message" Error="Error"/>
								<Setting Key1="DBState"/>
							</Object>
							<!-- STM Exist -->
							<Object Type="If" Name="CheckSLVIfNotE12" Key1="%IsE12%=0">
								<Object Type="EseInfo" Name="CheckSLV" Key2="%SLVPath%" Key3="EXDRA" Key4="%IsE12%" SecurityContext="EXLOGON">
									<Rule Name="fErrorAccessSLV" Query="../Exception/@Message" Text="ストリーミング ファイル {0} へのアクセス中にエラーが発生しました。エラー メッセージは {1} です。" S0="%SLVPath%" P1="../Exception/@Message" Error="Error"/>
									<Setting Key1="DBState"/>
								</Object>
							</Object>
							<!-- Check Disk Space -->
							<Object Type="WMI" Key1="%EXSERVER%" Key3="CIM_DataFile" Key4="name='%MDBPATH%'" SecurityContext="EXLOGON">
								<Setting Key1="FileSize">
									<Rule Name="fCheckSpace" Query="($. * 1.1) &gt; @S1" Title="ディスク領域が不足しているため {3} を修復できません" Text="データベース ({3}) が配置されているドライブのディスク領域が不足しています。現在の空きディスク領域は {1} ですが、必要なディスク領域は {2} です。" S1="%FreeSpace%" P2="$.*1.1" S3="%DBName%" Error="Error"/>
								</Setting>
							</Object>
							<Rule Name="fInvalidDB" Query="$fErrorAccessMDB or $fErrorAccessSLV or $fCheckSpace" AlwaysEvaluate="True"/>
							<Rule Name="szInvalidDBPack" Query="if($fInvalidDB, string(pack(@S1)))" S1="%DBName%" AlwaysEvaluate="True"/>
							<Rule Name="szValidDBPack" Query="if(not ($fInvalidDB), string(pack(@S1)))" S1="%DBName%" AlwaysEvaluate="True"/>
						</Object>
					</Object>
					<Rule Name="szValidDBList" Query="join('', $szValidDBPack)">
						<Variable Name="INFO[RepairTask][ValidDBList]" Scope="Children"/>
					</Rule>
					<Rule Name="iValidDBCount" Query="count($szValidDBPack)">
						<Variable Name="INFO[RepairTask][ValidDBCount]" Scope="Children"/>
					</Rule>
					<Rule Name="fNoValidDB" Query="$iValidDBCount=0" Title="修復で使用可能なデータベースがありません" Text="修復に適したデータベースがありません。" Error="Error"/>
					<Rule Name="szInvalidDBList" Query="join('', $szInvalidDBPack)">
						<Variable Name="INFO[RepairTask][InvalidDBList]" Scope="Children"/>
					</Rule>
					<Rule Name="dInvalidDBCount" Query="count($szInvalidDBPack)">
						<Variable Name="INFO[RepairTask][InvalidDBCount]" Scope="Children"/>
					</Rule>
				</Object>
				<Object Type="Group">
					<Rule Name="fError" Query="@S1=0 or $fNoValidDB" S1="%DBUnmountCount%" NextStep="ReportErrorStep" AlwaysEvaluate="True">
						<Rule Name="szPreviousStep" Query="'VerifyRepairOptionStep'">
							<Variable Name="INFO[PreviousStepName]" Scope="Children"/>
						</Rule>
						<Rule Name="szTitle" Query="string(@Title)" Title="修復オプションの確認でエラーが検出されました">
							<Variable Name="INFO[Title]" Scope="Children"/>
						</Rule>
					</Rule>
					<Rule Name="fDispatch" Query="not ($fError)" NextStep="SelectDBsForRepairStep"/>
				</Object>
			</Object>
		</Object>
	</Object>

	<Object Type="Step" Name="SelectDBsForRepairStep" Title="修復するデータベースの選択" Display="Left">
		<Object Type="Panel">
			<Object Type="Variable" Name="GetVariables" Key1="Scalar" Display="Hide">
				<Setting Key1="%Server%" Substitution="Server" Display="Hide"/>
				<Setting Key1="%SelectedSG%" Substitution="SGName" Display="Hide"/>
				<Setting Key1="%INFO[%SelectedSG%][DBMountCount]%" Substitution="DBMountCount" Display="Hide"/>
				<Setting Key1="%INFO[%SelectedSG%][MOUNTED]%" Substitution="DBMountList" Display="Hide"/>
				<Setting Key1="%INFO[RepairTask][ValidDBCount]%" Substitution="ValidDBCount" Display="Hide"/>
				<Setting Key1="%INFO[RepairTask][ValidDBList]%" Substitution="ValidDBList" Display="Hide"/>
				<Setting Key1="%INFO[RepairTask][InvalidDBCount]%" Substitution="InvalidDBCount" Display="Hide"/>
				<Setting Key1="%INFO[RepairTask][InvalidDBList]%" Substitution="InvalidDBList" Display="Hide"/>

				<Object Type="Control" SubType="Title" Name="Tile" Position="Top" Text="修復するデータベースの選択"/>
				<Object Type="Control" SubType="Label" Name="Label" Position="Below" LineSpace="2" Text="サーバー名: %Server%"/>
				<Object Type="Control" SubType="Label" Name="Label" Position="Below" LineSpace="0" Text="選択されたストレージ グループ名: %SGName%"/>

				<!-- Display Available Databases -->
				<Object Type="If" Name="DisplayAvailableDBs" Key1="%ValidDBCount% &gt; 0">
					<Object Type="Control" SubType="Label" Name="AvailableDBList" Position="Below" LineSpace="2" Text="次の一覧から、修復タスクを実行する 1 つ以上のデータベースを選択してください。"/>
					<Object Type="Control" SubType="Label" Name="InvalidSelection" Position="Below" LineSpace="0" Text="次の中から 1 つ以上のデータベースを選択してください。" ForeColor="Red" Flags="Visible=False"/>
					<Object Type="Control" SubType="ListView" Name="AvailableDBListView" Position="Below" LineSpace="0" Height="150" Width="600" Title="使用可能なデータベースの名前" SelectionMode="True" Default="%ValidDBList%">
						<Setting Key1="Pack">
							<Rule Name="szPack" Query="$.">
								<Variable Name="INFO[RepairTask][DBList]" Scope="Children"/>
							</Rule>
						</Setting>
					</Object>
				</Object>
				<!-- Display Mounted Databases -->
				<Object Type="If" Name="DisplayMountedDBs" Key1="%DBMountCount% &gt; 0">
					<Object Type="Control" SubType="Label" Name="MountDBList" Position="Below" LineSpace="2" Text="マウントされたデータベースの一覧:"/>
					<Object Type="Control" SubType="ListBox" Name="MountDBListBox" Position="Below" Width="300" Default="%DBMountList%" SelectionMode="None"/>
				</Object>

				<!-- Display Error Databases -->
				<Object Type="If" Name="DisplayInvalidDBs" Key1="%InvalidDBCount% &gt; 0">
					<Object Type="Control" SubType="Label" Name="InvalidDBList" Position="Below" LineSpace="2" Text="以下は、修復対象として選択できないデータベースの一覧です。その原因としては、データベース ファイルが見つからないか、これらのファイルを処理するのに十分なディスク領域がないことが考えられます。 "/>
					<Object Type="Control" SubType="Label" Name="InvalidDBList1" Position="Below" LineSpace="0" Text="無効なデータベースの一覧:"/>
					<Object Type="Control" SubType="ListBox" Name="InvalidDBListBox" Position="Below" Width="300" Default="%InvalidDBList%" SelectionMode="None"/>
				</Object>

				<Object Type="Control" SubType="Link" Name="Previous" LineSpace="2" Position="Below" Text="前へ"/>
				<Object Type="If" Name="DisplayNextLink" Key1="%ValidDBCount% &gt; 0">
					<Object Type="Control" SubType="Link" Name="Next" Position="NextTo" Percent="30" Text="次へ" NextStep="RepairWarningStep">
						<Event Type="Click">
							<Action Type="Proceed" Query="control-value('AvailableDBListView') !=''"/>
							<Action Type="Visible" ControlName="InvalidSelection" Query="control-value('AvailableDBListView') =''"/>
						</Event>
					</Object>
				</Object>
			</Object>
		</Object>
	</Object>

	<Object Type="Step" Name="RepairWarningStep" Title="修復の警告" Display="Left">
		<Object Type="Variable" Name="GetVariable" Key1="Scalar" Display="Hide">
			<Setting Key1="%Server%" Substitution="Server" Display="Hide"/>
			<Setting Key1="%SelectedSG%" Substitution="SelectedSG" Display="Hide"/>
			<Setting Key1="%IsSymptom%" Substitution="IsSymptom" Display="Hide"/>
			<Setting Key1="IsE12" Substitution="IsE12" Display="Hide"/>
			<Setting Key1="%EventDisplayStepID%" Substitution="EventDisplayStepID" Display="Hide"/>

			<Object Type="Panel">
				<Object Type="Control" SubType="Title" Name="Title" Position="Top" ForeColor="Red" Text="修復タスクの警告"/>
				<Object Type="Control" SubType="Label" Name="Label1" Position="Below" Text="サーバー名: %Server%"/>
				<Object Type="Control" SubType="Label" Name="Label2" Position="Below" LineSpace="0" Text="選択されたストレージ グループ: %SelectedSG%"/>

				<Object Type="Control" SubType="Label" Name="Label3" Position="Below" Text="この修復タスクは、バックアップから復元できない損傷または破損したデータベースに対してのみ実行してください。このタスクを続行した場合は、データベースを再び利用可能にするために、ハード修復 (eseutil /p)、最適化 (eseutil /d)、そして最後に最大 2 段階の論理データベース構造修復ユーティリティ (isinteg -fix -test alltests) が実行されます。"/>
				<Object Type="Control" SubType="Label" Name="Label4" Position="Below" FontStyle="Bold" Text="続行する前に、次のことに留意してください。"/>
				<Object Type="Control" SubType="Label" Name="Label5" Position="Below" Text="ほとんどの場合、データベースの破損の原因となるのは、利用しているハード ディスク ドライブ サブシステムの問題です。この手順を実行する前に、ハード ディスクの問題を調べて修正する必要があります。アプリケーション イベント ログで、過去の Extensible Storage Engine (ESE) の読み取り/書き込みのタイムアウトや失敗が記録されていないか確認すると共に、システム イベント ログで、ディスクの読み取り/書き込みイベントやアクセシビリティ イベントが記録されていないか確認してください。"/>
				<Object Type="Control" SubType="Label" Name="Label6" Position="Below" Text="これらの一連の修復タスクは必ず成功するとは限りません。"/>
				<Object Type="Control" SubType="Label" Name="Label7" Position="Below" Text="このため、これらの修復タスクを実行する前に、このストレージ グループのすべてのログ ファイルおよびデータベースのファイル レベルのバックアップを作成しておくことを強くお勧めします。"/>
				<Object Type="Control" SubType="Label" Name="Label8" Position="Below" Text="このプロセスを正常に完了するには、データベース ファイル サイズの 1.1 倍の空き領域がデータベース ドライブ上で必要になります。このタスクを複数のデータベースに対して実行する場合は、最大のデータベース ファイルの 1.1 倍の空き領域が必要になります。"/>
				<Object Type="Control" SubType="Label" Name="Label9" Position="Below" Text="修復が成功した場合、以前のすべてのバックアップは、修復プロセス後に作成されたバックアップとは互換性がなくなります。したがって、この手順の直後に、このストレージ グループ内のすべてのデータベースの完全オンライン バックアップと検証済みオンライン バックアップを作成することを強くお勧めします。"/>
				<Object Type="Control" SubType="label" Name="Label10" Position="Below" Text="将来のすべてのオンライン バックアップは通常どおりスケジュールする必要があり、必要に応じて標準の Exchange 復元手順を使用できます。"/>

				<Object Type="Control" SubType="Link" Name="Previous" Position="Below" LineSpace="2" Text="前へ"/>

				<Object Type="Control" SubType="Link" Name="Next" Position="NextTo" Percent="30" Text="修復タスクの続行" NextStep="PerformRepairStep">
					<Event Type="Click">
						<Action Type="PopupProceed" Query="true()" Title="選択されたデータベースに対してこの修復タスクを続行しますか?"/>
					</Event>
				</Object>

				<Object Type="If" Name="IsNotSymptom" Key1="'%IsSymptom%'='0'">
					<Object Type="Control" SubType="Link" Name="TaskCenter" Position="LeftBelow" Text="タスク センターに戻る" NextStep="GetDBInfoFromADStep"/>
				</Object>
				<Object Type="If" Name="IsSymptom" Key1="'%IsSymptom%'='1'">
					<Object Type="Control" SubType="Link" Name="Goto" Position="LeftBelow" Text="イベント表示ページに戻る" NextStep="%EventDisplayStepID%"/>
				</Object>

			</Object>
		</Object>
	</Object>

	<Object Type="Step" Name="PerformRepairStep" Title="修復処理の実行" Display="Left">
		<Object Type="If" Key1="true()" Display="HideAll">
			<Setting Key1="'1'" SQM="100;Set"/>
		</Object>
		<Object Type="Variable" Name="GetVariables" Key1="Scalar" Display="Hide">
			<Setting Key1="%SelectedSG%" Substitution="SGName" Display="Hide"/>
			<Setting Key1="%INFO[RepairTask][DBList]%" Substitution="DBList" Display="Hide"/>
			<Setting Key1="%Server%" Substitution="Server" Display="Hide"/>
			<Setting Key1="%ServerName%" Substitution="EXSERVER" Display="Hide"/>
			<Setting Key1="%LocalMachineName%" Substitution="LocalMachineName" Display="Hide"/>
			<Setting Key1="%IsE12%" Substitution="IsE12" Display="Hide"/>
			<Setting Key1="%INFO[%SelectedSG%][LogPath]%" Substitution="LogPath" Display="Hide"/>
			<Setting Key1="%INFO[%SelectedSG%][SysPath]%" Substitution="SystemPath" Display="Hide"/>
			<Setting Key1="%ExchBinDir%" Substitution="ExePath" Display="Hide"/>
			<Setting Key1="%INFO[LocalTime]%" Substitution="LocalTime" Display="Hide"/>
			<Object Type="Progress" SubType="NoCancel" Title="修復処理および関連する処理の実行" Text="修復処理および関連する処理を実行しています。この処理には時間がかかることがあります。しばらくお待ちください。" Status="完了した比率: ">
				<!-- Load ESE.DLL -->
				<Object Type="LoadLibrary" Name="Load" Key1="%EXSERVER%" Key2="LoadLibrary" Key3="%ExePath%" Key4="ese.dll" SecurityContext="EXLOGON">
					<Rule Name="fLoadLibraryException" Query="count(../Exception) &gt; 0" Title="ライブラリ読み込み中のエラー" Text="{3} 上のパス {2} からライブラリ (ese.dll) を読み込むことができませんでした。例外メッセージ: {1}" P1="../Exception/@Message" S2="%ExePath%" S3="%EXSERVER%" Error="Error"/>
					<Object Type="Variable" Name="DBList" Key1="Unpack" Key2="%DBList%">
						<Setting Key1="__VALUE" Substitution="DBName" Display="Hide"/>
						<Object Type="Variable" Key1="Scalar" Class="%DBName%" GroupingClass="True">
							<Setting Key1="%INFO[%SelectedSG%][%DBName%][MDBBASE]%" Substitution="Base" Display="Hide"/>
							<Setting Key1="%INFO[%SelectedSG%][%DBName%][MDBPATH]%" Substitution="SourceDB" Display="Hide"/>
							<Setting Key1="%INFO[%SelectedSG%][%DBName%][RMDBPATH]%" Substitution="MDBPath" Display="Hide"/>
							<Setting Key1="%INFO[%SelectedSG%][%DBName%][SLVPATH]%" Substitution="SourceSLV" Display="Hide"/>
							<Setting Key1="%INFO[%SelectedSG%][%DBName%][GUID]%" Substitution="DBGUID" Display="Hide"/>
							<Setting Key1="%INFO[%SelectedSG%][%DBName%][IsPublic]%" Substitution="IsPF" Display="Hide"/>

							<Object Type="If" Key1="true()" Name="ConstructParameters">
								<Setting Key1="concat('Base=', '%Base%')" Substitution="BaseString" Display="Hide"/>
								<Setting Key1="concat(',SourceDB=', '%SourceDB%')" Substitution="SourceDBString" Display="Hide"/>
								<Setting Key1="concat(',LogPath=', '%LogPath%')" Substitution="LogPathString" Display="Hide"/>
								<Setting Key1="concat(',SystemPath=', '%SystemPath%')" Substitution="SysPathString" Display="Hide"/>
								<Setting Key1="concat(',TempDB=','%LogPath%\Temp%LocalTime%.edb')" Substitution="TempDBString" Display="Hide"/>
								<Setting Key1="if(%IsE12%=1, '', concat(',SourceSLV=', '%SourceSLV%'))" Substitution="SourceSLVString" Display="Hide"/>
								<Setting Key1="if (%IsE12%=1, '', concat(',TempSLV=','%LogPath%\Temp%LocalTime%.stm'))" Substitution="TempSLVString" Display="Hide"/>
								<Setting Key1="if(%IsE12%=1, ',8KPage=1', '')" Substitution="8KPage" Display="Hide"/>
								<Setting Key1="if(%IsPF%=1, 'PFAllTests', 'MDBAllTests')" Substitution="TestCase" Display="Hide"/>

								<Object Type="EventReport" Key2="ExTRA" Key3="Application" Key5="1000" Text="サーバー ({2}) 上のストレージ グループ ({1}) でデータベース修復処理を開始します。" S1="%SGName%" S2="%Server%"/>
								<Object Type="If" Name="CheckMachineName" Key1="not ('%EXSERVER%'='%LocalMachineName%')">
									<Object Type="EventReport" Key1="%EXSERVER%" Key2="ExTRA" Key3="Application" Key5="1000" Text="サーバー ({2}) 上のストレージ グループ ({1}) でデータベース修復処理を開始します。" S1="%SGName%" S2="%Server%"/>
								</Object>

								<!-- Repair -->
								<Object Type="ESE" Name="Repair" Key1="%EXSERVER%" Key2="Repair" Key3="%ExePath%" Key4="%BaseString%%SourceDBString%%SourceSLVString%%LogPathString%%SysPathString%%8KPage%" Text="ストレージ グループ (%SGName%) 内のデータベース (%DBName%) で修復処理を実行しています。この処理には時間がかかることがあります。しばらくお待ちください。" WaitForCancelCompletion="True">
									<Rule Name="fRepairException" Query="count(../Exception) &gt; 0" Title="データベース ({2}) で修復処理 ({3}) を実行中にエラーが発生しました" Text="データベース ({2}) で修復処理 ({3}) を実行中にエラーが発生しました。エラー メッセージ: {1}" P1="../Exception/@Message" S2="%DBName%" S3="Eseutil.exe /p" Error="Error"/>
									<Setting Key1="Status" Substitution="RepairStatus">
										<Rule Name="szRepairSuccess" Query="$.=0" Title="データベース ({2}) のデータベース修復処理が正常に完了しました" Text="{1} はデータベース ({2}) 上で正常に終了しました。" S1="Eseutil.exe /p" S2="%DBName%" Error="Information"/>
										<Rule Name="szRepairSuccessWithPositiveStatusCode" Query="$. &gt; 0" Title="データベース ({2}) のデータベース修復処理が、正の状態コードで完了しました" Text="{3} は状態コード {1} で、データベース ({2}) 上で操作を終了しました。" P1="$." S2="%DBName%" S3="Eseutil.exe /p" Error="Information"/>
										<Rule Name="szRepairFail" Query="$. &lt; 0" Title="データベース ({2}) のデータベース修復処理が失敗しました" Text="{3} は状態コード {1} で、データベース ({2}) 上で失敗しました。" P1="$." S2="%DBName%" S3="Eseutil.exe /p" Error="Error"/>
									</Setting>
									<!-- Need to check database consistency -->
									<Object Type="EseInfo" Key2="%MDBPath%" Key3="EXDRA" Key4="%IsE12%" SecurityContext="EXLOGON">
										<Rule Name="fDBStateException" Query="count(../Exception) &gt; 0" Title="データベース ({2}) の状態を取得中にエラーが発生しました " Text="{3} を介してデータベース ({2}) の状態を取得中にエラーが発生しました。エラー メッセージ: {1}" P1="../Exception/@Message" S2="%DBName%" S3="%MDBPath%" Error="Error"/>
										<Setting Key1="DBState" Substitution="DBState">
											<Rule Name="szNotCleanDB" Query="not ($.=3)" Title="データベースの修復処理が終了した後、データベース ({2}) は 'クリーン シャットダウン' 状態ではありません。" Text="データベースの修復処理が終了した後、データベース ({2}) は 'クリーン シャットダウン' 状態ではありません。状態コードは {3} です。" S2="%DBName%" S3="%DBState%" Error="Error"/>
										</Setting>
										<Object Type="If" Name="RepairStatus" Key1="%RepairStatus% &gt;=0 and %DBState%=3">
											<!-- Defragment -->
											<Object Type="ESE" Name="Defragment" Key1="%EXSERVER%" Key2="Defragment" Key3="%ExePath%" Key4="%BaseString%%SourceDBString%%LogPathString%%SysPathString%%TempDBString%%SourceSLVString%%TempSLVString%%8KPage%" Text="ストレージ グループ (%SGName%) 内のデータベース (%DBName%) で最適化を実行しています。この処理には時間がかかることがあります。しばらくお待ちください。">
												<Rule Name="fDefragmentException" Query="count(../Exception) &gt; 0" Title="データベースの最適化中のエラー" Text="データベース ({2}) の最適化中 ({3}) にエラーが発生しました。エラー メッセージ: {1}" P1="../Exception/@Message" S2="%DBName%" S3="Eseutil.exe /d" Error="Error"/>
												<Setting Key1="Status" Substitution="DefragStatus">
													<Rule Name="szErrorInDefragment" Query="not ($.=0)" Title="データベース ({2}) の最適化処理は、0 以外の状態コードで完了しました" Text="データベース ({2}) の最適化処理 ({4}) は、状態コード {3} で完了しました" S2="%DBName%" S3="%DefragStatus%" S4="Eseutil.exe /d" Error="Error"/>
													<Rule Name="szDefragmentSuccess" Query="$.=0" Title="データベース ({2}) の最適化処理は正常に完了しました" Text="データベース ({2}) の最適化処理 ({4}) は正常に完了しました。" S2="%DBName%" S4="Eseutil.exe /d" Error="Information"/>
												</Setting>
												<Object Type="If" Name="DefragStatus" Key1="%DefragStatus%=0">
													<!-- Isinteg -->
													<Object Type="Isinteg" Name="IsintegVerification1" Key1="%EXSERVER%" Key2="%DBGUID%" Key3="%TestCase%" Text="ストレージ グループ (%SGName%) 内のデータベース (%DBName%) で Isinteg 処理を実行しています。この処理には時間がかかることがあります。しばらくお待ちください。">
														<Rule Name="fIsintegException" Query="count(../Exception) &gt; 0" Title="最初の Isinteg の実行中のエラー" Text="データベース ({2}) で最初の Isinteg ({3} {4} {5}) を実行中にエラーが発生しました。エラー メッセージ: {1}" P1="../Exception/@Message" S2="%DBName%" S3="Isinteg -s" S4="%EXSERVER%" S5="-fix -test alltests" Error="Error"/>
														<Setting Key1="Status" Substitution="IsintegStatus1">
															<Rule Name="szFailIsinteg1" Query="not ($.=0)" Title="データベース ({2}) の最初の Isinteg の実行は、0 以外の状態コードで完了しました" Text="データベース ({2}) の最初の Isinteg ({3} {4} {5}) の実行は、状態コード {1} で完了しました" S1="%IsintegStatus1%" S2="%DBName%" S3="Isinteg -s" S4="%EXSERVER%" S5="-fix -test alltests" Error="Error"/>
														</Setting>
														<Setting Key1="Error" Substitution="ErrorNumber">
															<Rule Name="szInteg1SuccessWithError" Query="%IsintegStatus1%=0 and not ($.=0)" Title="データベース ({2}) の最初の Isinteg の実行が完了し、エラーが発生しました" Text="データベース ({2}) の最初の Isinteg ({3} {4} {5}) の実行が完了し、{1} 件のエラーが発生しました" P1="$." S2="%DBName%" S3="Isinteg -s" S4="%EXSERVER%" S5="-fix -test alltests" Error="Error"/>
															<Rule Name="szInteg1Success" Query="%IsintegStatus1%=0 and ($.=0)" Title="データベース ({2}) の最初の Isinteg の実行は、エラーが発生することなく正常に完了しました" Text="データベース ({2}) の最初の Isinteg ({3} {4} {5}) の実行は、エラーが発生することなく完了しました" S2="%DBName%" S3="Isinteg -s" S4="%EXSERVER%" S5="-fix -test alltests" Error="Information"/>
														</Setting>
														<Object Type="If" Name="Isinteg1" Key1="%IsintegStatus1%=0 and %ErrorNumber% &gt; 0">
															<!-- As PSS logic, we are going to try again in this case -->
															<Object Type="Isinteg" Name="IsintegVerification1" Key1="%EXSERVER%" Key2="%DBGUID%" Key3="%TestCase%" Text="ストレージ グループ (%SGName%) 内のデータベース (%DBName%) で 2 回目の Isinteg 処理を実行しています。この処理には時間がかかることがあります。しばらくお待ちください。">
																<Rule Name="fIsintegException2" Query="count(../Exception) &gt; 0" Title="2 回目の Isinteg の実行中のエラー" Text="データベース ({2}) で 2 回目の Isinteg ({3} {4} {5}) を実行中にエラーが発生しました。エラー メッセージ: {1}" P1="../Exception/@Message" S2="%DBName%" S3="Isinteg -s" S4="%EXSERVER%" S5="-fix -test alltests" Error="Error"/>
																<Setting Key1="Status" Substitution="IsintegStatus2">
																	<Rule Name="szFailIsinteg2" Query="not ($.=0)" Title="データベース ({2}) の 2 回目の Isinteg の実行は、0 以外の状態コードで完了しました" Text="データベース ({2}) の 2 回目の Isinteg ({3} {4} {5}) の実行は、0 以外の状態コードで完了しました。状態コードは {1} です。" S1="%IsintegStatus2%" S2="%DBName%" S3="Isinteg -s" S4="%EXSERVER%" S5="-fix -test alltests" Error="Error"/>
																</Setting>
																<Setting Key1="ErrorNumber" Substitution="ErrorNumber2">
																	<Rule Name="szInteg2SuccessWithError" Query="%IsintegStatus2%=0 and not ($.=0)" Title="データベース ({2}) の 2 回目の Isinteg ({3} {4} {5}) の実行が完了し、いくつかのエラーが発生しました" Text="データベース ({2}) の 2 回目の Isinteg の実行が完了し、{1} 件のエラーが発生しました" P1="$." S2="%DBName%" S3="Isinteg -s" S4="%EXSERVER%" S5="-fix -test alltests" Error="Error"/>
																	<Rule Name="szInteg2Success" Query="%IsintegStatus2%=0 and ($.=0)" Title="データベース ({2}) の 2 回目の Isinteg の実行は、エラーが発生することなく完了しました" Text="データベース ({2}) の 2 回目の Isinteg ({3} {4} {5}) の実行は、エラーが発生することなく完了しました" S2="%DBName%" S3="Isinteg -s" S4="%EXSERVER%" S5="-fix -test alltests" Error="Information"/>
																</Setting>
															</Object>
														</Object>
													</Object>
												</Object>
											</Object>
										</Object>
									</Object>
								</Object>
								<Object Type="EventReport" Key2="ExTRA" Key3="Application" Key5="1001" Text="サーバー ({2}) 上のストレージ グループ ({1}) でデータベース修復処理を終了します。" S1="%SGName%" S2="%Server%"/>
								<Object Type="If" Name="CheckMachineName2" Key1="not ('%EXSERVER%'='%LocalMachineName%')">
									<Object Type="EventReport" Key1="%EXSERVER%" Key2="ExTRA" Key3="Application" Key5="1001" Text="サーバー ({2}) 上のストレージ グループ ({1}) でデータベース修復処理を終了します。" S1="%SGName%" S2="%Server%"/>
								</Object>
							</Object>
						</Object>
					</Object>
					<Object Type="LoadLibrary" Name="Unload" Key1="%EXSERVER%" Key2="FreeLibrary" Key3="%ExePath%" Key4="ese.dll"/>
				</Object>
			</Object>
			<Rule Name="fDispatch" Query="true()" NextStep="ReportResultStep">
				<Rule Name="szPreviousStep" Query="'PerformRepairStep'">
					<Variable Name="PreviousStepName" Scope="Children"/>
				</Rule>
				<Rule Name="szTitle" Query="string(@Title)" Title="修復結果のレポート">
					<Variable Name="INFO[Title]" Scope="Children"/>
				</Rule>
				<Rule Name="szLabel" Query="string(@Title)" Title="この修復処理が正常に完了した場合は、必ずこのストレージ グループ内のすべてのデータベースの完全オンライン バックアップおよび正常な検証済みバックアップを直ちに作成してください。">
					<Variable Name="INFO[Label]" Scope="Children"/>
				</Rule>
			</Rule>
		</Object>
	</Object>

	<Object Type="Step" Name="ReportResultStep" Title="レポート結果" Display="Left">
		<Object Type="Panel">
			<Object Type="Variable" Name="VariableInfo" Key1="Scalar" Display="Hide">
				<Setting Key1="%Server%" Substitution="Server" Display="Hide"/>
				<Setting Key1="%SelectedSG%" Substitution="SGName" Display="Hide"/>
				<Setting Key1="%INFO[Title]%" Substitution="Title" Display="Hide"/>
				<Setting Key1="%INFO[Label]%" Substitution="Label" Display="Hide"/>
				<Setting Key1="%PreviousStepName%" Substitution="PreviousStepName" Display="Hide"/>
				<Setting Key1="%EventDisplayStepID%" Substitution="EventDisplayStepID" Display="Hide"/>
				<Setting Key1="%IsSymptom%" Substitution="IsSymptom" Display="Hide"/>

				<Object Type="Control" SubType="Title" Name="Title" Position="Top" Text="%Title%"/>
				<Object Type="Control" SubType="Label" Name="Label1" Position="Below" LineSpace="2" Text="サーバー名: %Server%"/>
				<Object Type="Control" SubType="Label" Name="Label2" Position="Below" LineSpace="0" Text="ストレージ グループ名: %SGName%"/>

				<Object Type="If" Key1="not ('%Label%'='')">
					<Object Type="Control" SubType="Label" Name="Label3" Position="Below" LineSpace="2" FontStyle="Bold" Text="%Label%"/>
				</Object>

				<Object Type="Control" SubType="Reports" Name="InterimReports" Position="LeftBelow" Width="FullWidth" Height="350">
					<Report Title="結果" Query="//Object[@Type='Step' and @Name='%STEPNAMEPREFIX%%PreviousStepName%' and not(@StepStatus='Deactivated')][last()]/*//Message[@Error]" ArrangeByText="ReportData"/>
				</Object>

				<Object Type="If" Name="IsNotSymptom" Key1="'%IsSymptom%'='0'">
					<Object Type="Control" SubType="Link" Name="TaskCenter" Position="Below" LineSpace="2" Text="タスク センターに戻る" NextStep="GetDBInfoFromADStep"/>
				</Object>
				<Object Type="If" Name="IsNotSymptom" Key1="'%IsSymptom%'='1'">
					<Object Type="Control" SubType="Link" Name="Goto" Position="Below" LineSpace="2" Text="イベント表示ページに戻る" NextStep="%EventDisplayStepID%"/>
				</Object>
			</Object>
		</Object>
	</Object>

	<Object Type="Step" Name="SetDatabaseFlagStep" Display="Hide">
		<Object Type="Action">
			<Object Type="Variable" Name="GetVariable" Key1="Scalar">
				<Setting Key1="%DC%" Substitution="DC" Display="Hide"/>
				<Setting Key1="%ServerName%" Substitution="EXSERVER" Display="Hide"/>
				<Setting Key1="%INFO[RSG][Name]%" Substitution="SGName" Display="Hide"/>
				<Setting Key1="%INFO[%INFO[RSG][Name]%][AllMDBs]%" Substitution="RSGDBs" Display="Hide"/>
				<Object Type="Variable" Name="enumerateDBs" Key1="Unpack" Key2="%RSGDBs%">
					<Setting Key1="__VALUE" Substitution="DBName"/>
					<Object Type="MonadCommand" Key1="get-mailboxdatabase -Identity &quot;%EXSERVER%\%SGName%\%DBName%&quot; -DomainController %DC%">
						<Setting Key1="AllowFileRestore">
							<Rule Name="szDBHasFlag" Query="if($.='True', pack(@S1))" S1="%DBName%"/>
							<Rule Name="szDBNeedFlag" Query="if($.='False', pack(@S1))" S1="%DBName%"/>
						</Setting>
					</Object>
				</Object>
				<Rule Name="dNeedCount" Query="count($szDBNeedFlag)" AlwaysEvaluate="True">
					<Variable Name="INFO[SetDBFlag][NeedCount]" Scope="Children"/>
				</Rule>
				<Rule Name="szNeedDBs" Query="join('', $szDBNeedFlag)" AlwaysEvaluate="True">
					<Variable Name="INFO[SetDBFlag][NeedDBs]" Scope="Children"/>
				</Rule>
				<Rule Name="dUnneedCount" Query="count($szDBHasFlag)" AlwaysEvaluate="True">
					<Variable Name="INFO[SetDBFlag][UnneedCount]" Scope="Children"/>
				</Rule>
				<Rule Name="szUnneedDBs" Query="join('', $szDBHasFlag)" AlwaysEvaluate="True">
					<Variable Name="INFO[SetDBFlag][UnneedDBs]" Scope="Children"/>
				</Rule>
			</Object>
			<Rule Name="fDispatch" Query="true()" NextStep="SelectDBForRestoreFlagStep"/>
		</Object>
	</Object>

	<Object Type="Step" Name="SelectDBForRestoreFlagStep" Title="復元フラグを設定するデータベースの選択" Display="Left">
		<Object Type="Panel">
			<Object Type="Variable" Key1="Scalar" Display="Hide">
				<Setting Key1="%Server%" Substitution="Server" Display="Hide"/>
				<Setting Key1="%ServerName%" Substitution="EXSERVER" Display="Hide"/>
				<Setting Key1="%INFO[RSG][Name]%" Substitution="SelectedSG" Display="Hide"/>
				<Setting Key1="%INFO[SetDBFlag][UnneedCount]%" Substitution="UnneedCount" Display="Hide"/>
				<Setting Key1="%INFO[SetDBFlag][UnneedDBs]%" Substitution="UnneedDBs" Display="Hide"/>
				<Setting Key1="%INFO[SetDBFlag][NeedCount]%" Substitution="NeedCount" Display="Hide"/>
				<Setting Key1="%INFO[SetDBFlag][NeedDBs]%" Substitution="NeedDBs" Display="Hide"/>
				<Object Type="Control" SubType="Title" Name="Title" Position="Top" Text="次の一覧から 1 つ以上のデータベースを選択してください"/>
				<Object Type="Control" SubType="Label" Name="Server" Position="Below" Text="サーバー名: %Server%"/>
				<Object Type="Control" SubType="Label" Name="SG" Position="Below" LineSpace="0" Text="選択されたストレージ グループ: %SelectedSG%"/>

				<Object Type="If" Name="NeedDBs" Key1="%NeedCount% &gt;0">
					<Object Type="Control" SubType="Label" Name="NeedDBsLabel" Position="Below" LineSpace="2" Text="これらのデータベースは、'復元時はこのデータベースを上書きする' フラグを設定する対象として選択できます。"/>
					<Object Type="Control" SubType="Label" Name="InvalidSelection" Position="Below" LineSpace="0" ForeColor="Red" Text="次の中から 1 つ以上のデータベースを選択してください。" Flags="Visible=False"/>
					<Object Type="Control" SubType="ListView" Name="NeedDBsListView" Position="Below" LineSpace="0" Text="データベース一覧" Height="150" Width="500" Title="データベース一覧" SelectionMode="True" Flags="DefaultSelection=True" Default="%NeedDBs%">
						<Setting Key1="Pack">
							<Rule Name="fDBEmpty" Query="$.=''" Text="'復元時はこのデータベースを上書きする' フラグを設定するデータベースが選択されていません。"/>
							<Rule Name="szDB" Query="if(not ($.=''),string($.), '')">
								<Variable Name="SelectedDB" Scope="Local"/>
							</Rule>
						</Setting>
					</Object>
				</Object>

				<Object Type="If" Name="NoNeedDBCase" Key1="%NeedCount%=0">
					<Object Type="Control" SubType="Label" Name="NoNeedDBLabel" Position="LeftBelow" LineSpace="2" Text="回復用ストレージ グループ内のすべてのデータベースには、'復元時はこのデータベースを上書きする' フラグが設定されています。"/>
				</Object>

				<Object Type="If" Name="UnneedDBs" Key1="%UnneedCount% &gt;0">
					<Object Type="Control" SubType="Label" Name="UnneedDBsLabel" Position="Below" LineSpace="2" Text="これらのデータベースには、'復元時はこのデータベースを上書きする' フラグが既に設定されています。"/>
					<Object Type="Control" SubType="ListBox" Name="UnneedDBsListBox" Position="Below" Height="150" Width="500" Default="%UnneedDBs%" SelectionMode="None"/>
				</Object>

				<Object Type="Control" SubType="Link" Name="Previous" Position="LeftBelow" LineSpace="2" Text="前へ"/>
				<Object Type="If" Name="HaveNeedDBLabel" Key1="%NeedCount% &gt; 0">
					<Object Type="Control" SubType="Link" Name="Next" Position="NextTo" Percent="30" Text="次へ" NextStep="SetRestoreFlagStep">
						<Event Type="Click">
							<Action Type="Proceed" Query="control-value('NeedDBsListView') !=''"/>
							<Action Type="Visible" ControlName="InvalidSelection" Query="control-value('NeedDBsListView') =''"/>
						</Event>
					</Object>
				</Object>
			</Object>
		</Object>
	</Object>

	<Object Type="Step" Name="SetRestoreFlagStep" Title="復元時のデータベース上書きフラグの設定" Display="Left">
		<Object Type="If" Key1="true()" Display="HideAll">
			<Setting Key1="'1'" SQM="118;Set"/>
		</Object>
		<Object Type="Variable" Key1="Scalar">
			<Setting Key1="%DC%" Substitution="DC" Display="Hide"/>
			<Setting Key1="%Server%" Substitution="Server" Display="Hide"/>
			<Setting Key1="%ServerName%" Substitution="EXSERVER" Display="Hide"/>
			<Setting Key1="%INFO[RSG][Name]%" Substitution="RSGName" Display="Hide"/>
			<Setting Key1="%SelectedDB%" Substitution="DBList" Display="Hide"/>
			<Object Type="Progress" Title="'復元時はこのデータベースを上書きする' フラグの構成" Text="サーバー %Server% で '復元時はこのデータベースを上書きする' フラグを構成しています。しばらくお待ちください。">
				<Object Type="Variable" Key1="Unpack" Key2="%DBList%">
					<Setting Key1="__VALUE" Substitution="DBName" Display="Hide"/>
					<Object Type="MonadCommand" Key1="set-mailboxdatabase -Identity &quot;%EXSERVER%\%RSGName%\%DBName%&quot; -DomainController %DC% -AllowFileRestore:$True">
						<Rule Name="szSetRDBFlagException" Query="../Exception/@Message" Title="'復元時はこのデータベースを上書きする' フラグの構成中にエラーが発生しました" Text="ストレージ グループ ({2}) 内のデータベース ({1}) で '復元時はこのデータベースを上書きする' フラグを構成しているときにエラーが発生しました。エラー メッセージ: {0}。" P0="../Exception/@Message" S1="%DBName%" S2="%RSGName%" Error="Error"/>
						<Rule Name="szSetRDBFlag" Query="not ($szSetRDBFlagException)" Title="'復元時はこのデータベースを上書きする' フラグを正常に設定しました" Text="ストレージ グループ ({2}) 内のデータベース ({1}) に '復元時はこのデータベースを上書きする' フラグを正常に設定しました。" S1="%DBName%" S2="%RSGName%" Error="Information"/>
					</Object>
				</Object>
				<Rule Name="fDispatch" Query="true()" NextStep="ReportResultStep">
					<Rule Name="szPreviousStep" Query="'SetRestoreFlagStep'">
						<Variable Name="PreviousStepName" Scope="Children"/>
					</Rule>
					<Rule Name="szTitle" Query="string(@Title)" Title="'復元時はこのデータベースを上書きする' フラグの設定結果のレポート">
						<Variable Name="INFO[Title]" Scope="Children"/>
					</Rule>
					<Rule Name="szLabel" Query="''">
						<Variable Name="INFO[Label]" Scope="Children"/>
					</Rule>
					<Rule Name="szSelectedSG" Query="@S1" S1="%RSGName%">
						<Variable Name="SelectedSG" Scope="Children"/>
					</Rule>
				</Rule>
			</Object>
		</Object>
	</Object>
	<Object Type="Step" Name="SymptomStep" Title="現象に基づいた障害回復検出" Display="Hide">
		<Object Type="If" Key1="true()" Display="HideAll">
			<Setting Key1="'1'" SQM="119;Set"/>
		</Object>
		<Object Type="Action">
			<Rule Name="szSymptomCase" Query="'1'" NextStep="ReadRegistryConfigurationStep">
				<Variable Name="IsSymptom" Scope="Global"/>
			</Rule>
		</Object>
	</Object>

	<Object Type="Step" Name="GatherEventLogDetectOptionStep" Title="イベント ログ収集の検出オプション" Display="Left">
		<Object Type="Panel">
			<Object Type="Variable" Name="Select Minutes" Key1="Scalar">
				<Setting Key1="%ServerName%" Substitution="EXSERVER" Display="Hide"/>
				<Setting Key1="%Server%" Substitution="Server" Display="Hide"/>
				<Object Type="Control" SubType="Title" Name="Title" Position="Top" Text="イベント ログ選択の検出オプション"/>
				<Object Type="Control" SubType="Label" Name="Label" Position="Below" Text="サーバー名: %Server%"/>

				<Object Type="Control" SubType="Label" Name="TimeLabel" Position="Below" LineSpace="2" Text="検出するデータベース イベントの分数を入力してください (すべての場合は 0 を入力): "/>
				<Object Type="Control" SubType="NumericInput" Name="InputMinutes" Position="NextTo" Width="75" MinValue="0" MaxValue="2147483647" Default="120">
					<Setting Key1="Value" Substitution="InputMinutes">
						<Rule Name="dMinutes" Query="$.">
							<Variable Name="INFO[FilterMinutes]" Scope="Children"/>
						</Rule>
						<Rule Name="szLocalTime" Query="'01/01/2000 00:00:00'">
							<Variable Name="INFO[LocalTime]" Scope="Children"/>
						</Rule>
					</Setting>
				</Object>
			</Object>
			<Object Type="Control" SubType="Link" Name="Previous" LineSpace="2" Position="LeftBelow" Text="前へ"/>
			<Object Type="Control" SubType="Link" Name="Next" Position="NextTo" Percent="30" Text="イベント ログの取得" NextStep="CalculateTimeFilterForDetectStep"/>
		</Object>
	</Object>

	<Object Type="Step" Name="CalculateTimeFilterForDetectStep" Title="時間計算フィルタ" Display="Hide">
		<Object Type="Action">
			<Object Type="Variable" Name="Get Variable" Key1="Scalar">
				<Setting Key1="%INFO[FilterMinutes]%" Substitution="InputMinutes" Display="Hide"/>
				<Setting Key1="%Server%" Substitution="Server" Display="Hide"/>
				<Setting Key1="%ServerName%" Substitution="EXSERVER" Display="Hide"/>
				<Setting Key1="%INFO[AllSGs]%" Substitution="AllSGs" Display="Hide"/>
				<Object Type="If" Name="WMICall" Key1="not (%InputMinutes%=0)">
					<Object Type="WMI" Name="RetrieveRemoteTime" Key1="%EXSERVER%" Key2="root\cimv2" Key3="Win32_OperatingSystem" SecurityContext="EXLOGON">
						<Rule Name="fException" Query="count(../Exception)" Title="Windows Management Instrumentation クエリでエラーが発生しました" Text="リモート サーバー {2} 上の現地時刻を取得中にエラーが発生しました。エラー メッセージ: {1}" P1="../Exception/@Message" S2="%Server%" Error="Error"/>
						<Setting Key1="LocalDateTime" Format="CIMDateTime">
							<Rule Name="dNewTime" Query="$.">
								<Variable Name="INFO[LocalTime]" Scope="Children"/>
							</Rule>
						</Setting>
					</Object>
				</Object>
				<Object Type="Variable" Name="EnumerateAllSGs" Key1="Unpack" Key2="%AllSGs%" Display="Hide">
					<Setting Key1="__VALUE" Substitution="SGName"/>
					<Object Type="Variable" Name="GetVariable" Key1="Scalar">
						<Setting Key1="%INFO[%SGName%][LogPathWithPrefix]%" Substitution="LogSubPath">
							<Rule Name="szSGName" Query="@S1" S1="%SGName%">
								<Variable Name="INFO[%LogSubPath%]" Scope="Children"/>
							</Rule>
						</Setting>
					</Object>
				</Object>
				<Rule Name="fDispatch" Query="true()" NextStep="RetrieveEventLogStep"/>
			</Object>
		</Object>
	</Object>

	<Object Type="Step" Name="RetrieveEventLogStep" Title="イベント ログの取得" Display="Left">
		<Object Type="Variable" Name="Get Variables" Key1="Scalar">
			<Setting Key1="%ServerName%" Substitution="EXSERVER" Display="Hide"/>
			<Setting Key1="%Server%" Substitution="Server" Display="Hide"/>
			<Setting Key1="%INFO[LocalTime]%" Substitution="LocalTime" Display="Hide"/>
			<Setting Key1="%INFO[FilterMinutes]%" Substitution="InputMinutes" Display="Hide"/>
			<Object Type="Progress" Title="イベント ログ エントリの調査" Text="指定された時間範囲のイベント ログ エントリを調べています。これにはしばらく時間がかかることがありますのでお待ちください。" SecurityContext="EXLOGON">
				<Object Type="If" Name="CalculateTimeFilter" Key1="true()">
					<Setting Key1="date-add('%LocalTime%', get-timespan(-(%InputMinutes% * 60)))" Substitution="TimeFilter" SubstitutionFormat="(\d{2})/(\d{2})/(\d{4}).(\d{2}):(\d{2}):(\d{2})----$3$1$2$4$5$6.000000+000" Display="Hide"/>
					<Object Type="WMI" Key1="%EXSERVER%" Key2="root\cimv2" Key3="Win32_NTLogEvent" Key4="((SourceName='ESE' AND (EventCode='454' OR EventCode='455' OR EventCode='482')) OR (SourceName='MSExchangeIS' AND (EventCode='1088' OR EventCode='1159'))) AND LogFile = 'Application' AND TimeWritten &gt; '%TimeFilter%' " Sort="TimeWritten DESC" TrackProgress="TrackProgress">
						<Rule Name="szException" Query="../Exception" Title="Windows Management Instrumentation クエリの例外" Text="%Server% 上のデータベース イベント ログを取得できませんでした。例外メッセージ: {1}" P1="../Exception/@Message" Error="Error"/>
						<Setting Key1="EventCode" Substitution="EventCode"/>
						<Setting Key1="InsertionStrings">
							<Rule Name="szEvent454" Query="if((@S1=454) and ($.[4] = '-515'), pack(replace($.[3],':','')), '')" S1="%EventCode%"/>
							<Rule Name="szEvent455" Query="if((@S1=455) and ($.[5]='-1811 (0xfffff8ed)'), pack(get-sublogpath($.[4])), '')" S1="%EventCode%"/>
							<Rule Name="szEvent482" Query="if ((@S1=482) and ($.[7] = '-1808 (0xfffff8f0)'), pack(replace($.[3],':','')), '')" S1="%EventCode%"/>
							<Rule Name="szEvent1088" Query="if(@S1=1088, pack(slice($.[3],'\',0)), '')" S1="%EventCode%"/>
							<Rule Name="szEvent1159" Query="if((@S1=1159) and ($.[3]='0xfffffdf9'), pack(slice($.[2],'\',0)),'')" S1="%EventCode%"/>

							<!-- Gather necessary data -->
							<Rule Name="szEvent455Data" Query="if((@S1=455) and ($.[5]='-1811 (0xfffff8ed)'), pack($.[4]), '')" S1="%EventCode%"/>
							<Rule Name="szEvent482Data" Query="if ((@S1=482) and ($.[7] = '-1808 (0xfffff8f0)'), pack(concat(replace($.[3],':',''),'|',$.[4])), '')" S1="%EventCode%"/>
							<Rule Name="szEvent1088Data" Query="if(@S1=1088, pack($.[3]), '')" S1="%EventCode%"/>
							<Rule Name="szEvent1159Data" Query="if((@S1=1159) and ($.[3]='0xfffffdf9'), pack($.[2]),'')" S1="%EventCode%"/>
						</Setting>
					</Object>

					<Rule Name="szAll454" Query="join-unique('', $szEvent454)" AlwaysEvaluate="True">
						<Variable Name="INFO[Event][454]" Scope="Children"/>
					</Rule>
					<Rule Name="szAll455" Query="join-unique('', $szEvent455)" AlwaysEvaluate="True">
						<Variable Name="INFO[Event][455]" Scope="Children"/>
					</Rule>
					<Rule Name="szAll482" Query="join-unique('', $szEvent482)" AlwaysEvaluate="True">
						<Variable Name="INFO[Event][482]" Scope="Children"/>
					</Rule>
					<Rule Name="szAll1088" Query="join-unique('', $szEvent1088)" AlwaysEvaluate="True">
						<Variable Name="INFO[Event][1088]" Scope="Children"/>
					</Rule>
					<Rule Name="szAll1159" Query="join-unique('', $szEvent1159)" AlwaysEvaluate="True">
						<Variable Name="INFO[Event][1159]" Scope="Children"/>
					</Rule>

					<!-- Gather data -->
					<Rule Name="szAll455Data" Query="join-unique('', $szEvent455Data)" AlwaysEvaluate="True">
						<Variable Name="INFO[Event][455Data]" Scope="Children"/>
					</Rule>
					<Rule Name="szAll482Data" Query="join-unique('', $szEvent482Data)" AlwaysEvaluate="True">
						<Variable Name="INFO[Event][482Data]" Scope="Children"/>
					</Rule>
					<Rule Name="szAll1088Data" Query="join-unique('', $szEvent1088Data)" AlwaysEvaluate="True">
						<Variable Name="INFO[Event][1088Data]" Scope="Children"/>
					</Rule>
					<Rule Name="szAll1159Data" Query="join-unique('', $szEvent1159Data)" AlwaysEvaluate="True">
						<Variable Name="INFO[Event][1159Data]" Scope="Children"/>
					</Rule>

					<Rule Name="fDispatch" Query="true()" NextStep="ProcessResultStep"/>
				</Object>
			</Object>
		</Object>
	</Object>
	<Object Type="Step" Name="ProcessResultStep" Display="Hide">
		<Object Type="Action">
			<Object Type="Variable" Name="GetVariables" Key1="Scalar">
				<Setting Key1="%INFO[Event][454]%" Substitution="SG454"/>
				<Setting Key1="%INFO[Event][455]%" Substitution="SG455"/>
				<Setting Key1="%INFO[Event][482]%" Substitution="SG482"/>
				<Setting Key1="%INFO[Event][1088]%" Substitution="SG1088"/>
				<Setting Key1="%INFO[Event][1159]%" Substitution="SG1159"/>
				<Setting Key1="%INFO[Event][455Data]%" Substitution="455Data"/>
				<Setting Key1="%INFO[Event][482Data]%" Substitution="482Data"/>
				<Setting Key1="%INFO[Event][1088Data]%" Substitution="1088Data"/>
				<Setting Key1="%INFO[Event][1159Data]%" Substitution="1159Data"/>

				<Object Type="Variable" Name="Get454SGs" Key1="Unpack" Key2="%SG454%">
					<Setting Key1="__VALUE" Substitution="SGName">
						<Rule Name="d454" Query="1">
							<Variable Name="INFO[EventLog][%SGName%][454]" Scope="Children"/>
						</Rule>
					</Setting>
				</Object>
				<Object Type="Variable" Name="Get455SGs" Key1="Unpack" Key2="%SG455%">
					<Setting Key1="__VALUE" Substitution="SubPath"/>
					<Object Type="Variable" Name="ConvertToSGName" Key1="Scalar" Display="Hide">
						<Setting Key1="%INFO[%SubPath%]%" Substitution="SGName">
							<Rule Name="d455" Query="1">
								<Variable Name="INFO[EventLog][%SGName%][455]" Scope="Children"/>
							</Rule>
						</Setting>
						<Object Type="Group" Name="GetData">
							<Object Type="Variable" Name="PackedData" Key1="Unpack" Key2="%455Data%">
								<Setting Key1="__VALUE" Substitution="Data">
									<Rule Name="sz455Data" Query="if(get-sublogpath($.)=@S1,$.)" S1="%SubPath%"/>
								</Setting>
							</Object>
							<Rule Name="szPack455Data" Query="join(',', $sz455Data)">
								<Variable Name="INFO[EventLog][%SGName%][455Data]" Scope="Children"/>
							</Rule>
						</Object>
					</Object>
				</Object>
				<Object Type="Variable" Name="Get482SGs" Key1="Unpack" Key2="%SG482%">
					<Setting Key1="__VALUE" Substitution="SGName">
						<Rule Name="d482" Query="1">
							<Variable Name="INFO[EventLog][%SGName%][482]" Scope="Children"/>
						</Rule>
					</Setting>
					<Object Type="Group" Name="GetData">
						<Object Type="Variable" Name="PackedData" Key1="Unpack" Key2="%482Data%">
							<Setting Key1="__VALUE" Substitution="Data">
								<Rule Name="sz482Data" Query="if(slice($.,'|',0)=@S1,slice($.,'|',1))" S1="%SGName%"/>
							</Setting>
						</Object>
						<Rule Name="szPack482Data" Query="join(',', $sz482Data)">
							<Variable Name="INFO[EventLog][%SGName%][482Data]" Scope="Children"/>
						</Rule>
					</Object>
				</Object>
				<Object Type="Variable" Name="Get1088SGs" Key1="Unpack" Key2="%SG1088%">
					<Setting Key1="__VALUE" Substitution="SGName">
						<Rule Name="d1088" Query="1">
							<Variable Name="INFO[EventLog][%SGName%][1088]" Scope="Children"/>
						</Rule>
					</Setting>
					<Object Type="Group" Name="GetData">
						<Object Type="Variable" Name="PackedData" Key1="Unpack" Key2="%1088Data%">
							<Setting Key1="__VALUE" Substitution="Data">
								<Rule Name="sz1088Data" Query="if(slice($.,'\', 0)=@S1, slice($.,'\',1))" S1="%SGName%"/>
							</Setting>
						</Object>
						<Rule Name="szPack1088Data" Query="join(',', $sz1088Data)">
							<Variable Name="INFO[EventLog][%SGName%][1088Data]" Scope="Children"/>
						</Rule>
					</Object>
				</Object>
				<Object Type="Variable" Name="Get1159SGs" Key1="Unpack" Key2="%SG1159%">
					<Setting Key1="__VALUE" Substitution="SGName">
						<Rule Name="d1159" Query="1">
							<Variable Name="INFO[EventLog][%SGName%][1159]" Scope="Children"/>
						</Rule>
					</Setting>
					<Object Type="Group" Name="GetData">
						<Object Type="Variable" Name="PackedData" Key1="Unpack" Key2="%1159Data%">
							<Setting Key1="__VALUE" Substitution="Data">
								<Rule Name="sz1159Data" Query="if(slice($.,'\', 0)=@S1, slice($.,'\',1))" S1="%SGName%"/>
							</Setting>
						</Object>
						<Rule Name="szPack1159Data" Query="join(',', $sz1159Data)">
							<Variable Name="INFO[EventLog][%SGName%][1159Data]" Scope="Children"/>
						</Rule>
					</Object>
				</Object>
			</Object>
			<Rule Name="fDispatch" Query="true()" NextStep="PrepareEventLogResultStep"/>
		</Object>
	</Object>
	<Object Type="Step" Name="PrepareEventLogResultStep" Display="Hide">
		<Object Type="Action">
			<Object Type="Variable" Name="GetVariables" Key1="Scalar">
				<Setting Key1="%INFO[AllSGs]%" Substitution="AllSGs" Display="Hide"/>
				<Object Type="Variable" Name="All SGs" Key1="Unpack" Key2="%AllSGs%">
					<Setting Key1="__VALUE" Substitution="SGName"/>
					<Object Type="Variable" Key1="Scalar" Class="%SGName%" GroupingClass="True">
						<Setting Key1="%INFO[EventLog][%SGName%][454]%" Substitution="dEvent454">
							<Rule Name="fEvent454" Query="$.=1" Title="閉じられたトランザクション ログ ファイルが見つかりません" Text="エラー -515 を伴う 1 つ以上の ESE イベント 454 が検出されました。これは、このストレージ グループの 1 つ以上の閉じられたトランザクション ログ ファイルが見つからないことを示しています。" Error="Error">
								<IssueLink Name="ActionData" Value="7|%SGName%"/>
							</Rule>
						</Setting>
						<Setting Key1="%INFO[EventLog][%SGName%][455Data]%" Substitution="455Data"/>
						<Setting Key1="%INFO[EventLog][%SGName%][455]%" Substitution="dEvent455">
							<Rule Name="fEvent455" Query="$.=1" Title="現在のトランザクション ログ ファイルが見つかりません" Text="エラー -1811 (0xfffff8ed) を伴う 1 つ以上の ESE イベント 455 が検出されました。これは、このストレージ グループの現在のトランザクション ログ ファイル ({1}) が見つからないことを示しています。" S1="%455Data%" Error="Error">
								<IssueLink Name="ActionData" Value="6|%SGName%"/>
							</Rule>
						</Setting>
						<Setting Key1="%INFO[EventLog][%SGName%][482Data]%" Substitution="482Data"/>
						<Setting Key1="%INFO[EventLog][%SGName%][482]%" Substitution="dEvent482">
							<Rule Name="fEvent482" Query="$.=1" Title="トランザクション ログ ファイル ドライブに書き込みできません" Text="エラー -1808 (0xfffff8f0) を伴う 1 つ以上の ESE イベント 482 が検出されました。これは、Microsoft Exchange Information Store サービスが、このストレージ グループのトランザクション ログ ファイル ドライブに書き込み ({1}) できないことを示しています。" S1="%482Data%" Error="Error">
								<IssueLink Name="ActionData" Value="2|%SGName%"/>
							</Rule>
						</Setting>
						<Setting Key1="%INFO[EventLog][%SGName%][1088Data]%" Substitution="1088Data"/>
						<Setting Key1="%INFO[EventLog][%SGName%][1088]%" Substitution="dEvent1088">
							<Rule Name="fEvent1088" Query="$.=1" Title="古い識別名の不一致" Text="1 つ以上の MSExchangeIS イベント 1088 が検出されました。これは、このストレージ グループ内の 1 つ以上のデータベース ({1}) に、一致しない古い識別名が付けられていることを示しています。" S1="%1088Data%" Error="Error">
								<IssueLink Name="ActionData" Value="4|%SGName%"/>
							</Rule>
						</Setting>
						<Setting Key1="%INFO[EventLog][%SGName%][1159Data]%" Substitution="1159Data"/>
						<Setting Key1="%INFO[EventLog][%SGName%][1159]%" Substitution="dEvent1159">
							<Rule Name="fEvent1159" Query="$.=1" Title="ログの世代番号の不足" Text="エラー 0xfffffdf9 を伴う 1 つ以上の MSExchangeIS イベント 1159 が検出されました。これは、データベース ({1}) に対する処理の実行時に、このストレージ グループでログの世代番号が上限に達したことを示しています。" S1="%1159Data%" Error="Error">
								<IssueLink Name="ActionData" Value="1|%SGName%"/>
							</Rule>
						</Setting>
					</Object>
				</Object>
				<Rule Name="fDispatch" Query="true()" NextStep="DisplayEventLogResultStep">
					<Rule Name="szPreviousStepName" Query="'PrepareEventLogResultStep'">
						<Variable Name="PreviousStepName" Scope="Children"/>
					</Rule>
				</Rule>
			</Object>
		</Object>
	</Object>

	<Object Type="Step" Name="DisplayEventLogResultStep" Title="イベント ログの調査結果の表示" Display="Left">
		<Object Type="Variable" Name="Get Variables" Key1="Scalar">
			<Setting Key1="%Server%" Substitution="Server"/>
			<Setting Key1="%INFO[FilterMinutes]%" Substitution="InputMinutes"/>
			<Setting Key1="%PreviousStepName%" Substitution="PreviousStepName"/>
			<Object Type="Panel">
				<Object Type="Control" SubType="Title" Name="Title" Position="Top" Text="イベント ログの調査結果の表示"/>
				<Object Type="Control" SubType="Label" Name="Label1" Position="Below" LineSpace="2" Text="サーバー名: %Server%"/>
				<Object Type="Control" SubType="Label" Name="Label2" Position="Below" LineSpace="0" Text="入力された分数: %InputMinutes%"/>

				<Object Type="IfResults" Name="ReportNoResults" Key1="count(//Object[@Type='Step' and @Name='%STEPNAMEPREFIX%%PreviousStepName%' and not(@StepStatus='Deactivated')][last()]/*//Message[@Error]) = 0">
					<Object Type="Control" SubType="Label" Name="NoIssueDetectedInTimeRange" Position="LeftBelow" Text="指定された時間範囲中にはデータベース関連の問題は検出されませんでした。"/>
				</Object>

				<Object Type="IfResults" Name="ReportNoResults" Key1="count(//Object[@Type='Step' and @Name='%STEPNAMEPREFIX%%PreviousStepName%' and not(@StepStatus='Deactivated')][last()]/*//Message[@Error]) &gt; 0">
					<Object Type="Control" SubType="Reports" Name="EventReports" Position="LeftBelow" Width="FullWidth" Height="400">
						<Report Title="データベースの問題" Query="//Object[@Type='Step' and @Name='%STEPNAMEPREFIX%%PreviousStepName%' and not(@StepStatus='Deactivated')][last()]/*//Message" ArrangeByText="EventLogReport"/>
						<IssueLink Name="ActionData" Text="この問題を解決するために必要な操作を表示します。"/>
						<Setting Key1="ActionData">
							<Rule Name="szData" Query="if(string($.)!='', $., '|')"/>
							<Rule Name="szSGName" Query="slice($szData, '|', 1)">
								<Variable Name="SelectedSG" Scope="Children"/>
							</Rule>
							<Rule Name="szNextStep" Query="slice($szData, '|', 0)"/>
							<!-- Need to list all next steps here, so munge will work properly -->
							<Rule Name="szNextStep1" Query="$szNextStep='1'" NextStep="LogGenerationSolutionStep"/>
							<Rule Name="szNextStep2" Query="$szNextStep='2'" NextStep="LogSpaceSolutionStep"/>
							<Rule Name="szNextStep3" Query="$szNextStep='3'" NextStep="DatabaseCorruptionSolutionStep"/>
							<Rule Name="szNextStep4" Query="$szNextStep='4'" NextStep="LegacyDNMismatchSolutionStep"/>
							<Rule Name="szNextStep5" Query="$szNextStep='5'" NextStep="16GLimitSolutionStep"/>
							<Rule Name="szNextStep6" Query="$szNextStep='6'" NextStep="MissingCurrentLogFileSolutionStep"/>
							<Rule Name="szNextStep7" Query="$szNextStep='7'" NextStep="MissingClosedLogFileSolutionStep"/>
						</Setting>
					</Object>
				</Object>

				<Rule Name="szGetStepID" Query="get-stepid()">
					<Variable Name="EventDisplayStepID" Scope="Children"/>
				</Rule>

				<Object Type="Control" SubType="Link" Name="Previous" LineSpace="2" Position="LeftBelow" Text="前へ"/>
				<Object Type="Control" SubType="Link" Name="Next" Position="NextTo" Percent="30" Text="結果ページに移動する"/>

			</Object>
		</Object>
	</Object>

	<Object Type="Step" Name="MissingCurrentLogFileSolutionStep" Title="現在のログ ファイルが見つかりません" Display="Left">
		<Object Type="Panel">
			<Object Type="Variable" Name="GetVariables" Key1="Scalar">
				<Setting Key1="%Server%" Substitution="Server" Display="Hide"/>
				<Setting Key1="%SelectedSG%" Substitution="SGName" Display="Hide"/>
				<Setting Key1="%EventDisplayStepID%" Substitution="EventDisplayStepID" Display="Hide"/>
				<Setting Key1="%INFO[EventLog][%SelectedSG%][455Data]%" Substitution="455Data" Display="Hide"/>
				<Object Type="Control" SubType="Title" Position="Top" Text="現在のトランザクション ログ ファイルが見つかりません"/>
				<Object Type="Control" SubType="Label" Position="Below" LineSpace="2" Text="サーバー名: %Server%"/>
				<Object Type="Control" SubType="Label" Position="Below" LineSpace="0" Text="選択されたストレージ グループ: %SGName%"/>

				<Object Type="Control" SubType="Label" Position="Below" LineSpace="2" FontStyle="Bold" Text="考えられる問題:"/>
				<Object Type="Control" SubType="Label" Position="Below" LineSpace="0" Text="最新のトランザクション ログ ファイル ({1}) が見つかりません。このログ ファイルは存在していると想定されていましたが、このストレージ グループのトランザクション ログ ファイルの再生時に見つかりませんでした。" S1="%455Data%"/>

				<Object Type="Control" SubType="Label" Position="Below" LineSpace="2" FontStyle="Bold" Text="解決方法:"/>
				<Object Type="Control" SubType="Label" Position="Below" LineSpace="0" Text="次のリンクをクリックして、'データベースおよびトランザクション ログ ファイルの検証' タスクを開始してください。"/>
				<Object Type="Control" SubType="Link" Name="VerifyDBProblem" Position="Below" Text="データベースおよびトランザクション ログ ファイルの検証" NextStep="SelectDBStep"/>

				<Object Type="Control" SubType="Link" Name="Goto" LineSpace="2" Position="LeftBelow" Text="イベント表示ページに戻る" NextStep="%EventDisplayStepID%"/>
			</Object>
		</Object>
	</Object>
	<Object Type="Step" Name="MissingClosedLogFileSolutionStep" Title="閉じられたログ ファイルが見つかりません" Display="Left">
		<Object Type="Panel">
			<Object Type="Variable" Name="GetVariables" Key1="Scalar">
				<Setting Key1="%Server%" Substitution="Server" Display="Hide"/>
				<Setting Key1="%SelectedSG%" Substitution="SGName" Display="Hide"/>
				<Setting Key1="%EventDisplayStepID%" Substitution="EventDisplayStepID" Display="Hide"/>
				<Object Type="Control" SubType="Title" Position="Top" Text="閉じられたトランザクション ログ ファイルが見つかりません"/>
				<Object Type="Control" SubType="Label" Position="Below" LineSpace="2" Text="サーバー名: %Server%"/>
				<Object Type="Control" SubType="Label" Position="Below" LineSpace="0" Text="選択されたストレージ グループ: %SGName%"/>

				<Object Type="Control" SubType="Label" Position="Below" LineSpace="2" FontStyle="Bold" Text="考えられる問題:"/>
				<Object Type="Control" SubType="Label" Position="Below" LineSpace="0" Text="トランザクション ログの再生時にアクセスされたログのシーケンス内のトランザクション ログ ファイルが見つからないか、他のログ ファイルと整合していません。"/>

				<Object Type="Control" SubType="Label" Position="Below" LineSpace="2" FontStyle="Bold" Text="解決方法:"/>
				<Object Type="Control" SubType="Label" Position="Below" LineSpace="0" Text="次のリンクをクリックして、'データベースおよびトランザクション ログ ファイルの検証' タスクを開始してください。"/>
				<Object Type="Control" SubType="Link" Name="VerifyDBProblem" Position="Below" Text="データベースおよびトランザクション ログ ファイルの検証" NextStep="SelectDBStep"/>

				<Object Type="Control" SubType="Link" Name="Goto" LineSpace="2" Position="LeftBelow" Text="イベント表示ページに戻る" NextStep="%EventDisplayStepID%"/>
			</Object>
		</Object>
	</Object>

	<Object Type="Step" Name="LogSpaceSolutionStep" Title="ログ ドライブ領域の解決方法" Display="Left">
		<Object Type="Panel">
			<Object Type="Variable" Name="GetVariables" Key1="Scalar">
				<Setting Key1="%Server%" Substitution="Server"/>
				<Setting Key1="%SelectedSG%" Substitution="SGName"/>
				<Setting Key1="%EventDisplayStepID%" Substitution="EventDisplayStepID"/>
				<Setting Key1="%INFO[EventLog][%SelectedSG%][482Data]%" Substitution="482Data" Display="Hide"/>

				<Object Type="Control" SubType="Title" Position="Top" Text="トランザクション ログ ファイル ドライブに書き込みできません"/>
				<Object Type="Control" SubType="Label" Position="Below" LineSpace="2" Text="サーバー名: %Server%"/>
				<Object Type="Control" SubType="Label" Position="Below" LineSpace="0" Text="選択されたストレージ グループ: %SGName%"/>

				<Object Type="Control" SubType="Label" Position="Below" LineSpace="2" FontStyle="Bold" Text="考えられる問題 1:"/>
				<Object Type="Control" SubType="Label" Position="Below" LineSpace="0" Text="トランザクション ログ ファイル ドライブ上のディスク領域が不足しているため、追加のログ ファイル ({1}) を生成できません。ディスク領域を解放するためにこのドライブからすべてのログ ファイルを削除した場合は、すべてのデータベースがマウント解除不能になるか、以前のバックアップからデータベースを完全にロールフォワードできなくなる可能性があります。このため、このストレージ グループで不要になったログのみを削除して、これらのログ ファイルは、以前のどのバックアップでも不要になるまで保存してください。" S1="%482Data%"/>

				<Object Type="Control" SubType="Label" Position="Below" LineSpace="2" FontStyle="Bold" Text="解決方法:"/>
				<Object Type="Control" SubType="Label" Position="Below" LineSpace="0" Text="次のリンクをクリックして、'ログ ドライブ領域の分析' タスクを開始してください。"/>
				<Object Type="Control" SubType="Link" Name="LogDriveSpaceAnalysis" Position="LeftBelow" Text="ログ ドライブ領域の分析" NextStep="PrepareLogDriveAnalysisStep"/>

				<Object Type="Control" SubType="Label" Position="Below" LineSpace="2" FontStyle="Bold" Text="考えられる問題 2:"/>
				<Object Type="Control" SubType="Label" Position="Below" LineSpace="0" Text="トランザクション ログ ドライブは {1} に対して書き込み不能になりました。この原因としては、いくつかの状況が考えられます。最も一般的な原因は、アクセス許可が取り消されたか、ハードウェアまたはネットワークの障害が発生したことです。" S1="%482Data%"/>

				<Object Type="Control" SubType="Label" Position="Below" LineSpace="2" FontStyle="Bold" Text="解決方法:"/>
				<Object Type="Control" SubType="Label" Position="Below" LineSpace="0" Text="1) このドライブが使用可能であり、新しいファイルをこのドライブにコピーできることを確認します。"/>
				<Object Type="Control" SubType="Label" Position="Below" LineSpace="0" Text="2) Microsoft Exchange Information Store サービスを実行している Windows アカウントが、このドライブ上でファイルを作成および削除できることを確認します。"/>
				<Object Type="Control" SubType="Label" Position="Below" LineSpace="0" Text="3) 現在のトランザクション ログ ファイルと同じ世代番号のトランザクション ログ ファイルが、このドライブ上にまだ存在していないことを確認します。"/>

				<Object Type="Control" SubType="Link" Name="Goto" LineSpace="2" Position="LeftBelow" Text="イベント表示ページに戻る" NextStep="%EventDisplayStepID%"/>
			</Object>
		</Object>
	</Object>

	<Object Type="Step" Name="LogGenerationSolutionStep" Title="ログ生成の解決方法" Display="Left">
		<Object Type="Panel">
			<Object Type="Variable" Name="GetVariables" Key1="Scalar">
				<Setting Key1="%Server%" Substitution="Server" Display="Hide"/>
				<Setting Key1="%SelectedSG%" Substitution="SGName" Display="Hide"/>
				<Setting Key1="%EventDisplayStepID%" Substitution="EventDisplayStepID" Display="Hide"/>
				<Setting Key1="%IsE12%" Substitution="IsE12" Display="Hide"/>
				<Setting Key1="%INFO[EventLog][%SelectedSG%][1159Data]%" Substitution="1159Data" Display="Hide"/>

				<Object Type="Control" SubType="Title" Name="Title" Position="Top" Text="ログの世代番号の不足"/>
				<Object Type="Control" SubType="Label" Name="ServerName" Position="Below" LineSpace="2" Text="サーバー名: %Server%"/>
				<Object Type="Control" SubType="Label" Name="SGName" Position="Below" LineSpace="0" Text="選択されたストレージ グループ: %SGName%"/>

				<Object Type="Control" SubType="Label" Position="Below" LineSpace="2" FontStyle="Bold" Text="考えられる問題:"/>
				<Object Type="Control" SubType="Label" Position="Below" LineSpace="0" Text="データベース ({1}) に対する処理の実行時に、このトランザクション ログ ファイル シーケンスの最大世代番号に達しました。Exchange Server 2003 以前を使用している場合は、約 100 万個のログ ファイル (0xFFFFF) が生成された後で、トランザクション ログ ファイルのシリーズを 0x00001 にリセットする必要があります。" S1="%1159Data% "/>

				<Object Type="Control" SubType="Label" Position="Below" LineSpace="2" FontStyle="Bold" Text="解決方法:"/>
				<Object Type="Control" SubType="Label" Position="Below" LineSpace="0" Text="Exchange Server 2003 以前の場合は、次のリンクをクリックして 'ログの世代番号のリセット' タスクを開始してください。"/>
				<Object Type="Control" SubType="Link" Name="ResetLoggenerationTaskLink" Position="LeftBelow" Text="ログの世代番号のリセット" NextStep="VerifyResetLogOptionsStep"/>

				<Object Type="Control" SubType="Link" Name="Goto" LineSpace="2" Position="LeftBelow" Text="イベント表示ページに戻る" NextStep="%EventDisplayStepID%"/>
			</Object>
		</Object>
	</Object>

	<Object Type="Step" Name="LegacyDNMismatchSolutionStep" Title="古い識別名の不一致の解決方法" Display="Left">
		<Object Type="Panel">
			<Object Type="Variable" Name="GetVariables" Key1="Scalar">
				<Setting Key1="%Server%" Substitution="Server" Display="Hide"/>
				<Setting Key1="%SelectedSG%" Substitution="SGName" Display="Hide"/>
				<Setting Key1="%EventDisplayStepID%" Substitution="EventDisplayStepID" Display="Hide"/>
				<Setting Key1="%INFO[EventLog][%SelectedSG%][1088Data]%" Substitution="1088Data" Display="Hide"/>
				<Object Type="Control" SubType="Title" Position="Top" Text="古い識別名の不一致"/>
				<Object Type="Control" SubType="Label" Position="Below" LineSpace="2" Text="サーバー名: %Server%"/>
				<Object Type="Control" SubType="Label" Position="Below" LineSpace="0" Text="選択されたストレージ グループ: %SGName%"/>

				<Object Type="Control" SubType="Label" Position="Below" LineSpace="2" FontStyle="Bold" Text="考えられる問題:"/>
				<Object Type="Control" SubType="Label" Position="Below" LineSpace="0" Text="このストレージ グループのデータベース ({1}) 内の legacyExchangeDN ステムが、このサーバーの組織名や管理グループ名に一致しません。データベース ファイルは、異なる組織または管理グループから移動された可能性があります。警告: 一致しない Exchange 環境でデータベースのマウントを繰り返し試行すると、そのデータベースが破損して回復不能になるおそれがあります。このため、名前付けの問題を修正するまでデータベースの再マウントを試行しないでください。再マウントを試行する前に、データベースのバックアップ コピーを作成しておく必要があります。" S1="%1088Data%"/>

				<Object Type="Control" SubType="Label" Position="Below" LineSpace="2" FontStyle="Bold" Text="解決方法:"/>
				<Object Type="Control" SubType="Label" Position="Below" LineSpace="0" Text="1) データベースをマウントするデータベースに一致する新しい Windows フォレストおよび Exchange 組織を生成します。"/>
				<Object Type="Control" SubType="Label" Position="Below" LineSpace="0" Text="2) これが 1 台のサーバーのみを使用した試験環境である場合は、LegacyDN.exe ツールを使用して、組織内のすべての Exchange データベースの組織名と管理グループ名を変更できます。この操作を実動環境で実行した場合は、組織内の他のすべてのデータベースがマウント不能になる可能性があります。"/>

				<Object Type="Control" SubType="Label" Position="Below" LineSpace="2" FontStyle="Bold" Text="参照:"/>
				<Object Type="Control" SubType="Link" Name="URLLink" Image="URLLink" Position="Below" Text="Microsoft サポート技術情報の記事 324606" URL="http://go.microsoft.com/fwlink/?linkid=3052&amp;kbid=324606"/>

				<Object Type="Control" SubType="Link" Name="Goto" LineSpace="2" Position="LeftBelow" Text="イベント表示ページに戻る" NextStep="%EventDisplayStepID%"/>
			</Object>
		</Object>
	</Object>

<Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/><Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><DigestValue>fLqGU3OxBcdXbahlTy7AjLk+jZw=</DigestValue></Reference></SignedInfo><SignatureValue>
    q5OLNa7M1IVkTKANllxwjcry0WOj3bFFRWDdpUeWu1nWecjtPUOR73F4T9eV+x8FLH+ZR8D9
    KE+DnBuw/tlNlOWamhTZ6nSXC0XvnICV6lRydMHmFdFZHc1u6lZVkm7A1tJcKrFaJ6l5oZ41
    HbZ7F7H+5Lcbu51BhWRBSFlVt2+H84iqIeArOIYh6ATAcR9HlBx2LOV15dUj41GkufmUL9dD
    69FmMvUJAFoQBRLxFWsMzYuYoEOD8rHSYUZVLuB6hx+xf+VVlbO+tpc5V3c7Z3xulSFJHxkd
    E/WoYVEJSxNLhf75q2VmS3dHmZbHkCPumgiPgliAqfnewlKkckKLqQ==
  </SignatureValue><KeyInfo>
      <KeyValue>
        <RSAKeyValue>
          <Modulus>
            zYGWOK5covLB397Qq5WN1jydH4vDXYYuXfCxcvWrrIhqtdqxInsLyMilS5FeIhPp+fUjnbX0
            bnau7+6kPMfEwFlcP6uzczMmpmKBYXmhYvRuiJXQbt3Hn9KkURF2YbpwimWhlhaJp12B0ERm
            5dtWnkDK/Nx2JC5EMADl1n17lRHVWB2j6E8LyYjcotZTmWzKY8qZapqSXkxNEegv01tbXl9S
            o3MtpbuERQ2MGRV2ywjamqZwFehN7Gn9XbJrj+0pUTc4i8ZGSRWUUJiw9Gik194JcWd0nneM
            HYVrl+rnX0XM4OZxDdFjAJN7MZiOC7QTvbPQ7vHfIe6pYGHuN0M9ww==
          </Modulus>
          <Exponent>AQAB</Exponent>
        </RSAKeyValue>
      </KeyValue>
      <X509Data>
        <X509Certificate>
          MIIFMzCCBBugAwIBAgIKYUaeywAEAAAAZTANBgkqhkiG9w0BAQUFADCBpjELMAkGA1UEBhMC
          VVMxEzARBgNVBAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1p
          Y3Jvc29mdCBDb3Jwb3JhdGlvbjErMCkGA1UECxMiQ29weXJpZ2h0IChjKSAyMDAwIE1pY3Jv
          c29mdCBDb3JwLjEjMCEGA1UEAxMaTWljcm9zb2Z0IENvZGUgU2lnbmluZyBQQ0EwHhcNMDYw
          NDA0MTk0MzQ2WhcNMDcxMDA0MTk1MzQ2WjB0MQswCQYDVQQGEwJVUzETMBEGA1UECBMKV2Fz
          aGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0
          aW9uMR4wHAYDVQQDExVNaWNyb3NvZnQgQ29ycG9yYXRpb24wggEiMA0GCSqGSIb3DQEBAQUA
          A4IBDwAwggEKAoIBAQDNgZY4rlyi8sHf3tCrlY3WPJ0fi8Ndhi5d8LFy9ausiGq12rEiewvI
          yKVLkV4iE+n59SOdtfRudq7v7qQ8x8TAWVw/q7NzMyamYoFheaFi9G6IldBu3cef0qRREXZh
          unCKZaGWFomnXYHQRGbl21aeQMr83HYkLkQwAOXWfXuVEdVYHaPoTwvJiNyi1lOZbMpjyplq
          mpJeTE0R6C/TW1teX1Kjcy2lu4RFDYwZFXbLCNqapnAV6E3saf1dsmuP7SlRNziLxkZJFZRQ
          mLD0aKTX3glxZ3Sed4wdhWuX6udfRczg5nEN0WMAk3sxmI4LtBO9s9Du8d8h7qlgYe43Qz3D
          AgMBAAGjggGSMIIBjjAOBgNVHQ8BAf8EBAMCBsAwHQYDVR0OBBYEFO7Za6l1U81P7htOGQYe
          o5yrz5T9MBMGA1UdJQQMMAoGCCsGAQUFBwMDMIGpBgNVHSMEgaEwgZ6AFCX4K0tdyHJUreX2
          oCoXFvvB+VOBoXSkcjBwMSswKQYDVQQLEyJDb3B5cmlnaHQgKGMpIDE5OTcgTWljcm9zb2Z0
          IENvcnAuMR4wHAYDVQQLExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xITAfBgNVBAMTGE1pY3Jv
          c29mdCBSb290IEF1dGhvcml0eYIQaguZT8AAHasR2sQCoWYnujBLBgNVHR8ERDBCMECgPqA8
          hjpodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpL2NybC9wcm9kdWN0cy9Db2RlU2lnblBD
          QTIuY3JsME8GCCsGAQUFBwEBBEMwQTA/BggrBgEFBQcwAoYzaHR0cDovL3d3dy5taWNyb3Nv
          ZnQuY29tL3BraS9jZXJ0cy9Db2RlU2lnblBDQTIuY3J0MA0GCSqGSIb3DQEBBQUAA4IBAQA4
          2e+VOJtcmBRdVG5p3wLI57P708JNrS+rf1QN2jK2+GrmDfshGnc+pWh6tJV+ilzyQ8SDm2V9
          iFBRfIIU9YNz16K+XMoCcM4mbBe8UhSlicC35KHMoXWdkXE9G8BWAFa1+IQm2l4z+9Ylel6a
          2qb79PJBGqxVRq1I3JE4E1gJSfHzMYcfvASOWxJlA+kLUdChDIqZvdnBqNAIFSUhtbZXiRzR
          W4Y1pcr9qofsqTc/t0Nr4yDxRbx+runxVbKhSLxlvlM02cnoBmMEBnhuUP9Iu5vqQ1qH260K
          gPVZxSzk5X9bSuUyee4ihZIMLbNQW8bCQFhYq9LN4y/Bzextnzd5
        </X509Certificate>
      </X509Data>
      <X509Data>
        <X509Certificate>
          MIIEEjCCAvqgAwIBAgIPAMEAizw8iBHRPvZj7N9AMA0GCSqGSIb3DQEBBAUAMHAxKzApBgNV
          BAsTIkNvcHlyaWdodCAoYykgMTk5NyBNaWNyb3NvZnQgQ29ycC4xHjAcBgNVBAsTFU1pY3Jv
          c29mdCBDb3Jwb3JhdGlvbjEhMB8GA1UEAxMYTWljcm9zb2Z0IFJvb3QgQXV0aG9yaXR5MB4X
          DTk3MDExMDA3MDAwMFoXDTIwMTIzMTA3MDAwMFowcDErMCkGA1UECxMiQ29weXJpZ2h0IChj
          KSAxOTk3IE1pY3Jvc29mdCBDb3JwLjEeMBwGA1UECxMVTWljcm9zb2Z0IENvcnBvcmF0aW9u
          MSEwHwYDVQQDExhNaWNyb3NvZnQgUm9vdCBBdXRob3JpdHkwggEiMA0GCSqGSIb3DQEBAQUA
          A4IBDwAwggEKAoIBAQCpAr3BcOY78k4bKJ+XeF4w6qKpjSVf+P6VTKO3/p2iID58UaKboo9g
          MmvRQmR57qx2yVTa8uuchhyPn4Rms8VremIj1h083g8BkuiWxL8tZpqaaCaZ0Dosvwy1WCbB
          RucKPjiWLKkoOajsSYNC44QPu5psVWGsgnyhYC13TOmZtGQ7mlAcMQgkFJ+p55ErGOY9mGMU
          YFgFZZ8dN1KH96fvlALGG9O/VUWziYC/OuxUlE6u/ad6bXROrxjMlgkoIQBXkGBpN7tLEgc8
          Vv9b+6RmCgim0oFWV++2O14WgXcE2va+roCV/rDNf9anGnJcPMq88AijIjCzBoXJsyB3E4Xf
          AgMBAAGjgagwgaUwgaIGA1UdAQSBmjCBl4AQW9Bw72lyniNRfhSyTY7/y6FyMHAxKzApBgNV
          BAsTIkNvcHlyaWdodCAoYykgMTk5NyBNaWNyb3NvZnQgQ29ycC4xHjAcBgNVBAsTFU1pY3Jv
          c29mdCBDb3Jwb3JhdGlvbjEhMB8GA1UEAxMYTWljcm9zb2Z0IFJvb3QgQXV0aG9yaXR5gg8A
          wQCLPDyIEdE+9mPs30AwDQYJKoZIhvcNAQEEBQADggEBAJXoC8CN85cYNe24ASTYdxHzXGAy
          n54Lyz4FkYiPyTrmIfLwV5MstaBHyGLv/NfMOztaqTZUaf4kbT/JzKreBXzdMY09nxBwarv+
          Ek8YacD80EPjEVogT+pie6+qGcgrNyUtvmWhEoolD2Oj91Qc+SHJ1hXzUqxuQzIH/YIX+OVn
          bA1R9r3xUse958Qw/CAxCYgdlSkaTdUdAqXxgOADtFv0sd3IV+5lScdSVLa0AygS/5DW8AiP
          friXxas3LOR65Kh343agANBqP8HSNorgQRKoNWobats14dQcBOSoRQTIWjM4bk0cDWK3CqKM
          09VUP0bNHFWmcNsSOoeTdZ+n0qA=
        </X509Certificate>
      </X509Data>
      <X509Data>
        <X509Certificate>
          MIIEwzCCA6+gAwIBAgIQaguZT8AAHasR2sQCoWYnujAJBgUrDgMCHQUAMHAxKzApBgNVBAsT
          IkNvcHlyaWdodCAoYykgMTk5NyBNaWNyb3NvZnQgQ29ycC4xHjAcBgNVBAsTFU1pY3Jvc29m
          dCBDb3Jwb3JhdGlvbjEhMB8GA1UEAxMYTWljcm9zb2Z0IFJvb3QgQXV0aG9yaXR5MB4XDTA2
          MDQwNDE3NDQxNFoXDTEyMDQyNjA3MDAwMFowgaYxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpX
          YXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25kMR4wHAYDVQQKExVNaWNyb3NvZnQgQ29ycG9y
          YXRpb24xKzApBgNVBAsTIkNvcHlyaWdodCAoYykgMjAwMCBNaWNyb3NvZnQgQ29ycC4xIzAh
          BgNVBAMTGk1pY3Jvc29mdCBDb2RlIFNpZ25pbmcgUENBMIIBIDANBgkqhkiG9w0BAQEFAAOC
          AQ0AMIIBCAKCAQEAw8wgjbzf/z5Q7nrC1CQl9nbOIf/NKlZOypy3grI1eS0AxKgI1WPJt6X2
          6cHB1rGMlqIH+g+2glKa64LGvRDFqMDua4SOUxu7UPpkAYnBFtSCaABAeET1EjhO+2NR4Po9
          ueU3sd9jByM7cUA0R/Rrrkb1J3MeIstCGR5RtlKa06PQE8YZP3EGbfKVIURfQu3AyZlkILjB
          NPyiROZ7sh0vuKbe9KHfmyEP/lgxQVU4fq9Y5+TsWXklq/cqLxE/OHg+Qn+naOR+ImgX5kqS
          xHhEUkehT4SJk5vAZ3vqCfuGA332mXE8K6dmmMzfLeIrAhoPNEhl9TwSr/GHHB0mUm/MAwIB
          A6OCASowggEmMBMGA1UdJQQMMAoGCCsGAQUFBwMDMIGiBgNVHQEEgZowgZeAEFvQcO9pcp4j
          UX4Usk2O/8uhcjBwMSswKQYDVQQLEyJDb3B5cmlnaHQgKGMpIDE5OTcgTWljcm9zb2Z0IENv
          cnAuMR4wHAYDVQQLExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xITAfBgNVBAMTGE1pY3Jvc29m
          dCBSb290IEF1dGhvcml0eYIPAMEAizw8iBHRPvZj7N9AMBIGCSsGAQQBgjcVAQQFAgMDAAQw
          HQYDVR0OBBYEFCX4K0tdyHJUreX2oCoXFvvB+VOBMBkGCSsGAQQBgjcUAgQMHgoAUwB1AGIA
          QwBBMAsGA1UdDwQEAwIBRjAPBgNVHRMBAf8EBTADAQH/MAkGBSsOAwIdBQADggEBAGPj4PMF
          uLDqCws00YIxPoliRdUIp/lhZcguA/o4SEHPtfIng9PjxVZTqLUZzszm8aD5VrZIlEck5akf
          3HrU9hZ6EtvzkBvsCF2zhZC5jFi7HMyV05WUM/SR3v+Im15LSVA5JjogG1Q3/H1cFZPD3ByO
          8GFSPOUH7WbveeyPzldjZZUYSaB632W33yau/sgStsaizMZfi3Dzyturgm4H3GUZuaj2hsIJ
          QpjxJqxperHBK6ewZh+lr4cIa5cTuLA2mR4FoxM4o8CsMD66IdcwpspiEhyvV43l8XoRul48
          DDfxk8GSiE4EWgVcx8/WqdnhfZF4J/u0bqWPBjNYsV4qEQ8=
        </X509Certificate>
      </X509Data>
    </KeyInfo><Object id="ts-countersig"><X509Data><X509Certificate>MIID/zCCAuegAwIBAgIQDekr8NTYKYgYMgUJXpp2iDANBgkqhkiG9w0BAQUFADBTMQswCQYDVQQG
EwJVUzEXMBUGA1UEChMOVmVyaVNpZ24sIEluYy4xKzApBgNVBAMTIlZlcmlTaWduIFRpbWUgU3Rh
bXBpbmcgU2VydmljZXMgQ0EwHhcNMDMxMjA0MDAwMDAwWhcNMDgxMjAzMjM1OTU5WjBXMQswCQYD
VQQGEwJVUzEXMBUGA1UEChMOVmVyaVNpZ24sIEluYy4xLzAtBgNVBAMTJlZlcmlTaWduIFRpbWUg
U3RhbXBpbmcgU2VydmljZXMgU2lnbmVyMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA
slAoSN3TaHqEGERmdV1+xLifYyb/PUOcfBE4ECVVc9l1J2n9TrkgXNMK+aAbKu1VViFh2B7b5Lwz
a8fv3aM3ZY4bkwy2Ux5cfGY1XwWKRf52Tt9TgKKBIJ2uiFyiCPflMPnuIjdMQgrO38YfxNZV6YE/
tVKjLKoBevKiqo01/p/mXWoFnz1r47+WwP7MYPlA5wegROuBUW6lKvK2ihAo7Y/cBqCGUJp7SggN
MB3KEJ5r9+lYrgSpQJmyKOiPFqw841NvS9M1nbVvZB2zliy7Ped56216+RbmJq2v75lTt0Aslbh5
qv7UUqspdH5C7DkeomoW5lm7JGjYAIBDEIeAawIDAQABo4HKMIHHMDQGCCsGAQUFBwEBBCgwJjAk
BggrBgEFBQcwAYYYaHR0cDovL29jc3AudmVyaXNpZ24uY29tMAwGA1UdEwEB/wQCMAAwMwYDVR0f
BCwwKjAooCagJIYiaHR0cDovL2NybC52ZXJpc2lnbi5jb20vdHNzLWNhLmNybDAWBgNVHSUBAf8E
DDAKBggrBgEFBQcDCDAOBgNVHQ8BAf8EBAMCBsAwJAYDVR0RBB0wG6QZMBcxFTATBgNVBAMTDFRT
QTIwNDgtMS01NDANBgkqhkiG9w0BAQUFAAOCAQEAh3hw2k5SASBb4HnJgjDE/bkZlr2RAMO9zc3G
9A7Y//lNwDNiMBHF9XQb1JLeX5wgE7F8Rb5QzYPngBeDpyeTZxNG+8q4mEEDzJtRWwWLf6hv8xtQ
GyQu8mmNbCL3u8oWle0MdMBod9nrmWKHwXOQ+Il0eiOro5h7l7H3jylxTS51G0hB2vC1DSBU1neg
l4Jjaf0Jz4rwdbsJm9n5EVUmmmEyvnoCsHuGvqLDiyIseNE1drySc1z5ueZMFQojzOTS1DQuSUAV
PA9geiTGpWbvls9w6z7n9A1+3NF8o3ZxacGcT0cwNSGxoq8aYjwr2Y6qKgd72BizXHvinaVv/jyJ
rQ==</X509Certificate></X509Data><X509Data><X509Certificate>MIIDxDCCAy2gAwIBAgIQR78Zld+NUkZD99ttSA0xpDANBgkqhkiG9w0BAQUFADCBizELMAkGA1UE
BhMCWkExFTATBgNVBAgTDFdlc3Rlcm4gQ2FwZTEUMBIGA1UEBxMLRHVyYmFudmlsbGUxDzANBgNV
BAoTBlRoYXd0ZTEdMBsGA1UECxMUVGhhd3RlIENlcnRpZmljYXRpb24xHzAdBgNVBAMTFlRoYXd0
ZSBUaW1lc3RhbXBpbmcgQ0EwHhcNMDMxMjA0MDAwMDAwWhcNMTMxMjAzMjM1OTU5WjBTMQswCQYD
VQQGEwJVUzEXMBUGA1UEChMOVmVyaVNpZ24sIEluYy4xKzApBgNVBAMTIlZlcmlTaWduIFRpbWUg
U3RhbXBpbmcgU2VydmljZXMgQ0EwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCpyrKk
zM0grwp9iayHdfC0TvHfwQ+/Z2G9o2Qc2rv5yjOrhDCJWH6M22vdNp4Pv9HsePJ3pn5vPL+Trw26
aPRslMq9Ui2rSD31ttVdXxsCn/ovax6k96OaphrIAuF/TFLjDmDsQBx+uQ3eP8e034e9X3pqMS4D
mYETqEcgzjFzDVctzXg0M5USmRK53mgvqubjwoqMKsOLIYdmvYNYV291vzyqJoddyhAVPJ+E6lTB
Cm7E/sVK3bkHEZcifNs+J9EeeOyfMcnx5iIZ28SzR0OaGl+gHpDkXvXufPF9q2IBj/VNC97QIlao
lc2uiHau7roN8+RN2aD7aKCuFDuzh8G7AgMBAAGjgdswgdgwNAYIKwYBBQUHAQEEKDAmMCQGCCsG
AQUFBzABhhhodHRwOi8vb2NzcC52ZXJpc2lnbi5jb20wEgYDVR0TAQH/BAgwBgEB/wIBADBBBgNV
HR8EOjA4MDagNKAyhjBodHRwOi8vY3JsLnZlcmlzaWduLmNvbS9UaGF3dGVUaW1lc3RhbXBpbmdD
QS5jcmwwEwYDVR0lBAwwCgYIKwYBBQUHAwgwDgYDVR0PAQH/BAQDAgEGMCQGA1UdEQQdMBukGTAX
MRUwEwYDVQQDEwxUU0EyMDQ4LTEtNTMwDQYJKoZIhvcNAQEFBQADgYEASmv56ljCRBwxiXmZK5a/
gqwB1hxMzbCKWG7fCCmjXsjKkxPnBFIN70cnLwA4sOTJk06a1CJiFfc/NyFPcDGA8Ys4h7Po6JcA
/s9Vlk4k0qknTnqut2FB8yrO58nZXt27K4U+tZ212eFX/760xX71zwye8Jf+K9M7UhsbOCf3P0o=</X509Certificate></X509Data><CounterSignature xmlns="http://schemas.microsoft.com/xmldsig/timestamp/2003" ts-format="cms-timestamp-message">MIIDLQYJKoZIhvcNAQcCoIIDHjCCAxoCAQExDjAMBggqhkiG9w0CBQUAMIIBEwYJKoZIhvcNAQcB
oIIBBASCAQCrk4s1rszUhWRMoA2WXHCNyvLRY6PdsUVFYN2lR5a7WdZ5yO09Q5HvcXhP15X7HwUs
f5lHwP0oT4OcG7D+2U2U5ZqaFNnqdJcLRe+cgJXqVHJ0weYV0VkdzW7qVlWSbsDW0lwqsVonqXmh
njUdtnsXsf7ktxu7nUGFZEFIWVW3b4fziKoh4Cs4hiHoBMBxH0eUHHYs5XXl1SPjUaS5+ZQv10Pr
0WYy9QkAWhAFEvEVawzNi5igQ4PysdJhRlUu4HqHH7F/5VWVs762lzlXdztnfG6VIUkfGR0T9ahh
UQlLE0uF/vmrZWZLd0eZlseQI+6aCI+CWICp+d7CUqRyQoupMYIB7DCCAegCAQEwZzBTMQswCQYD
VQQGEwJVUzEXMBUGA1UEChMOVmVyaVNpZ24sIEluYy4xKzApBgNVBAMTIlZlcmlTaWduIFRpbWUg
U3RhbXBpbmcgU2VydmljZXMgQ0ECEA3pK/DU2CmIGDIFCV6adogwDAYIKoZIhvcNAgUFAKBZMBgG
CSqGSIb3DQEJAzELBgkqhkiG9w0BBwEwHAYJKoZIhvcNAQkFMQ8XDTA2MTEyNjIzNTQ0NVowHwYJ
KoZIhvcNAQkEMRIEEKIjPCN+Bpd5Or5U3v0OK00wDQYJKoZIhvcNAQEBBQAEggEADkruul3N9+7y
Pv0EiFI5sV8rUp9V8ptgHKpM5h7xYGpQ1NmoguRhK6X5+/DlPqJ2l4GAaeO3k3yG5qJgliFheShV
Wd0mQCdfdJXhdYQy5ZJ2Nf8kH3PiLwecC2ddZ1F6xY41oJ7ZxMIHRD23q6eIBa3uyX2/Xydkq1pL
DszMFRJ4zyY73DLPqrjbBX/tn5QRSMHAO2JFif6FEwJBjVCCPvfb7923DZo67pL3casrj95+/Kp9
MiL9bjli/sNZGxKWmBb/xGv35h6wxHwFGzSul8YFO0UWRzxh/XqvUkhkD/n8P+pmiUDpX0MWyaIJ
NNUV2F78ezYhAG83pILQPCvQpA==</CounterSignature></Object></Signature></Wizard>