<?xml version="1.0" encoding="UTF-8"?>
<SapSetup Context="Init">
	<!-- Product Definition for SAPsetup itself -->
	<Product Name="SAP Front End Installer" Guid="{30553299-1C5B-4863-9352-803E830F27A1}" WkstaDb="SapSetupWksta.xml" ProdVersion="190" CmdLine="SapSetup" Visible="FALSE">
		<Contains Guid="{F50578DC-7D16-4e16-A24F-3AF324254DB2}" Name="SapSetup Administrative Tools" Condition="User==Administrator"/>
		<Contains Guid="{99DCFB1F-61F0-4da0-BE94-AE3FDA5DCFFD}" Name="SapSetup Workstation Tools"/>
		<Contains Guid="{714A5C76-F750-4218-A5DB-A822A299AAEC}" Name="SapSetup LSH and ASU" Condition="User==Administrator"/>
		<UI>
			<Page Type="Welcome">
				<WindowCaption>StrWindowCaption</WindowCaption>
				<Title>StrWelcomeTitle</Title>
				<Description>StrWelcomeDescription</Description>
				<NextBtnText>StrBtnNext</NextBtnText>
				<CancelBtnText>StrBtnCancel</CancelBtnText>
			</Page>
			<Page Type="Tree">
				<WindowCaption>StrWindowCaption</WindowCaption>
				<Title>StrTreeTitle</Title>
				<Description>TreePageDescription</Description>
				<BackBtnText>StrBtnBack</BackBtnText>
				<NextBtnText>StrBtnNext</NextBtnText>
				<CancelBtnText>StrBtnCancel</CancelBtnText>
			</Page>
			<Page Type="Progress">
				<WindowCaption>StrWindowCaption</WindowCaption>
				<Title>ProgressPageTitleInstall</Title>
				<Description>ProgressPageDescriptionInstall</Description>
				<CancelBtnText>StrBtnCancel</CancelBtnText>
			</Page>
			<Page Type="Finish">
				<WindowCaption>StrWindowCaption</WindowCaption>
				<Title>StrFinishTitle</Title>
				<Description>FinishPageDescriptionSuccess</Description>
				<NextBtnText>StrBtnFinish</NextBtnText>
				<CancelBtnText>StrBtnCancel</CancelBtnText>
			</Page>
		</UI>
	</Product>
	<!-- SAPsetup Files -->
	<Component Guid="{99DCFB1F-61F0-4da0-BE94-AE3FDA5DCFFD}" Name="SapSetup Workstation Tools" Min_Compliant_Version="30" Version="210" Size="2500" SysSize="5577">
	 	<!-- The following Reg-Value is reserved for SAPsetup only! -->
	    <Action Type="Registry" Dst="HKLM\SOFTWARE\SAP\SAP Shared">
			<RegValue Name="SAPSetupDir">%SAPSetupDir%</RegValue>
	    </Action>
		<Action Dst="%SAPSetupDir%\setup" Type="File" RunAt="Install" Condition="&quot;%WinSysDir%\vbscript.dll&quot; = -1">
			<Src Register="FALSE">%SAPSrcDir%\setup\vbscript.dll</Src>
		</Action>
		<Action Type="File" Dst="%SAPSetupDir%\setup">
			<Src>%SAPsrcDir%\setup\SapRegSv.exe</Src>
		</Action>
		<Action Dst="%SapSetupDir%\Setup" Type="File" RunAt="Install">
			<Src>%SapSrcDir%\Setup\NwSapSetup.exe</Src>
			<Src>%SapSrcDir%\Setup\NwSapSetup.xsc</Src>
		</Action>
		<Action Dst="%SapSetupDir%\Setup" Type="File" RunAt="Install">
			<Src>%SapSrcDir%\Setup\NwCheckWorkstation.exe</Src>
			<Src>%SapSrcDir%\Setup\NwSAPSetupOnRebootInstSvc.exe</Src>
		</Action>
		<Action Dst="%SAPSetupDir%\Setup" Type="File" RunAt="Install">
			<Src>%SAPSrcDir%\setup\SapSetupError.xsl</Src>
			<Src>%SAPSrcDir%\setup\SapSplash.jpg</Src>
		</Action>
		<Action Dst="%SAPSetupDir%\setup" Type="File" RunAt="Install">
			<Src Register="FALSE">
				 %SAPSrcDir%\setup\NwSapSetupEngine.dll
			</Src>
			<Src Register="FALSE">
				 %SAPSrcDir%\setup\NwSapSetupAtlCommon.dll
			</Src>
			<Src Register="FALSE">
				 %SAPSrcDir%\setup\NwSapSetupUI.dll
			</Src>
			<Src Register="FALSE">
				 %SAPSrcDir%\setup\NwSapFeiSh.dll
			</Src>
			<Src Register="FALSE">
				 %SAPSrcDir%\setup\NwSapFeiKr.dll
			</Src>
			<Src>%SAPSrcDir%\setup\NwSapFeiLg.dll</Src>
			<Src>%SAPSrcDir%\setup\NwSapFeiUt.dll</Src>
		</Action>
	</Component>
	<!-- SAPsetup Files for the Server Only -->
	<Component Name="SapSetup Administrative Tools" Min_Compliant_Version="31" Version="209" Description="Administrative Tools for configuring Installations" Guid="{F50578DC-7D16-4e16-A24F-3AF324254DB2}" Size="2445">
		<Requires Guid="{99DCFB1F-61F0-4da0-BE94-AE3FDA5DCFFD}" Name="SapSetup Workstation Tools"/>
		<Action Dst="%SapServerDir%" Type="File">
			<Src>%SapSrcDir%\SetupALL.exe</Src>
		</Action>
		<Action Dst="%SapServerDir%\Setup" Type="File" ForceOnServer="TRUE">
			<Src>%SapSrcDir%\Setup\Interop.NwSapAdminEngineLib.dll</Src>
		</Action>
		<Action Dst="%SapServerDir%\Setup" Type="File" ForceOnServer="TRUE">
			<Src>%SapSrcDir%\Setup\Interop.NwSapSetupUiLib.dll</Src>
		</Action>
		<Action Dst="%SapServerDir%\Setup" Type="File">
			<Src>%SapSrcDir%\Setup\Installation Server Help.chm</Src>
			<Src>%SapSrcDir%\Setup\Workstation Installation Help.chm</Src>
		</Action>
		<Action Dst="%SapServerDir%\Setup" Type="File">
			<Src>%SapSrcDir%\Setup\ScriptSamples.xml</Src>
			<Src>%SapSrcDir%\Setup\NwSapSetupAdmin.exe</Src>
			<Src>%SapSrcDir%\Setup\NwSapAdminEngine.dll</Src>
			<Src>%SapSrcDir%\Setup\NwCreateInstServer.exe</Src>
			<Src>%SapSrcDir%\Setup\NwUpdateInstServer.exe</Src>
			<Src>%SAPSrcDir%\setup\sapadminsplash.jpg</Src>
		</Action>
		<Action Dst="%SapServerDir%\Setup" Type="File">
			<Src>%SapSrcDir%\Setup\SapSetup.xml</Src>
			<Src>%SapSrcDir%\Setup\SapSetupLocale.xml</Src>
			<Src>%SapSrcDir%\Setup\SapSetupVars.xml</Src>
		</Action>
	</Component>
	<Component Guid="{714A5C76-F750-4218-A5DB-A822A299AAEC}" Min_Compliant_Version="3" Name="SAPSetup LSH" Size="1161" Version="177">
		<Action Dst="%SapServerDir%\Setup" Type="File">
			<Src>%SapSrcDir%\Setup\NwSapSetupIs.exe</Src>
		</Action>
		<Action Dst="%SapServerDir%\Setup\DS" Type="File">
			<Src>%SapSrcDir%\Setup\DS\NwSapSetupDs.cfg</Src>
		</Action>
		<Action Type="NtService" Dst="%SapServerDir%\Setup\DS" Description="SAP Service to manage LSH and ASU" DisplayName="SAP Frontend Software Distribution Service" ExeName="%SapSrcDir%\setup\DS\NwSapSetupDs.exe" Password="%DS_Password_Variable%" ServiceName="NwSAPDistribSvc" StartOnServer="FALSE" UserName="%DS_UserName_Variable%">
			<Src>%SapSrcDir%\Setup\DS\NwSapSetupDs.exe</Src>
			<Src>%SapSrcDir%\Setup\DS\NwSapFeiUt.dll</Src>
			<Src>%SapSrcDir%\Setup\DS\NwSapFeiLg.dll</Src>
		</Action>
	</Component>
</SapSetup>
