Microsoft Web Platform Installer添加安装源

1.下载Microsoft Web Platform Installer https://www.microsoft.com/web/downloads/platform.aspx

2.打开Microsoft Web Platform Installer

3.打开选项

4.源xml文件格式

例子:

<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
    <webpiFile version="4.0.0.0" />
    <title>Microsoft Service Models</title>
    <updated>2013-07-02T13:07</updated>
    <author>
        <name>Microsoft Corporation</name>
        <uri>http://www.microsoft.com/</uri>
    </author>
    <id>779f20c4-02f5-45f8-8d70-838a78368b90</id>
    <languages>
        <language default="true">
            <languageId>en</languageId>
            <name resourceName="Lang_en_Name">English</name>
        </language>
    </languages>
<!-- Entries -->
  <!-- Service Templates -->
	<entry type="application">
        <productId>VMMSharepointTemplate</productId>
		<metadata>
			<title resourceName="VMMSharepointTemplate_Title">Sharepoint 2013 Service Template</title>
			<version>1.0.0.0</version>
			<summary resourceName="VMMSharepointTemplate_Summary">Deploy a three tier service running SharePoint 2013 Enterprise farm into your private cloud.</summary>
			<longSummary resourceName="VMMSharepointTemplate_LongSummary">Deploy a three tier service running SharePoint 2013 Enterprise farm into your private cloud using this example System Center 2012 SP1 - Virtual Machine Manager service template.</longSummary>
			<published>2013-07-02T13:07</published>
			<updated>2013-07-02T13:07</updated>
			<author>
				<name>Microsoft Corporation</name>
				<uri>http://www.microsoft.com/</uri>
			</author>
			<images>
				<icon>http://download.microsoft.com/download/C/6/D/C6DDAA0B-8A78-4DC3-9DA7-D4E0E4853D92/sharepoint.png</icon>
			</images>
			<keywords>
				<keywordId>SCVMM_ServiceTemplate</keywordId>
			</keywords>		
		</metadata>
        <id>http://technet.microsoft.com/en-us/systemcenter/hh278293</id>
        <installers>
            <installer>
                <id>1</id>
                <languageId>en</languageId>
                <installerFile>
                    <fileSize>146</fileSize>
					<installerURL>http://download.microsoft.com/download/C/6/D/C6DDAA0B-8A78-4DC3-9DA7-D4E0E4853D92/ServiceTemplateForSharePoint2013_content.zip</installerURL>
                    <sha1>dd5281cfd6f1e85ee172eff549e52c12ca33179f</sha1>
                </installerFile>
				<eulaURL>http://download.microsoft.com/download/C/6/D/C6DDAA0B-8A78-4DC3-9DA7-D4E0E4853D92/VMM-2012-SP1-Service-Template-EULA-Final.docx</eulaURL>
				<installCommands>
					<unzip>
						<zipFile>%InstallerFile%</zipFile>
						<targetDirectory>%systemdrive%\SCVMM Service Templates\Sharepoint_2013_TemplateContent\</targetDirectory>
					</unzip>
				</installCommands>
				<postFinish>
					<command>
						<path>C:\SCVMM Service Templates\Sharepoint_2013_TemplateContent\</path>
						<description resourceName="postFinish_Sharepoint2013TemplateContent_description">Please find the extracted packages at %systemdrive%\SCVMM Service Templates\Sharepoint_2013_TemplateContent\</description>
					</command>
				</postFinish>
            </installer>
        </installers>
    </entry>  
	<entry type="application">
        <productId>ServiceTemplateExampleKit</productId>
		<metadata>
			<title resourceName="ServiceTemplateExampleKit_Title">Service Template Example Kit</title>
			<version>1.0.0.0</version>
			<summary resourceName="ServiceTemplateExampleKit_Summary">Virtual Machine Manager example service templates provide a base for creating single and multi-tier web applications that are scalable using Windows NLB including SQL database tier.</summary>
			<longSummary resourceName="ServiceTemplateExampleKit_LongSummary">A set of System Center 2012 SP1 – Virtual Machine Manager service templates providing the necessary base to create deployable and serviceable services. This kit enables fast deployment of development labs, line of business services and other custom applications.</longSummary>
			<published>2013-07-02T13:07</published>
			<updated>2013-07-02T13:07</updated>
			<author>
				<name>Microsoft Corporation</name>
				<uri>http://www.microsoft.com/</uri>
			</author>
			<images>
				<icon>http://download.microsoft.com/download/A/4/7/A473ABD7-ED8E-4A2E-85CF-B584469D4186/win_logo_60.png</icon>
			</images>
			<keywords>
				<keywordId>SCVMM_ServiceTemplate</keywordId>
			</keywords>		
		</metadata>
        <id>http://gallery.technet.microsoft.com/Virtual-Machine-Manager-a570ccc6</id>
        <installers>
            <installer>
                <id>1</id>
                <languageId>en</languageId>
                <installerFile>
                    <fileSize>796</fileSize>
					<installerURL>http://download.microsoft.com/download/A/4/7/A473ABD7-ED8E-4A2E-85CF-B584469D4186/ServiceTemplateExamples04062013.zip</installerURL>
                    <sha1>3ea175fbd04cb40ec44e17d8ad1316d32b42f5bc</sha1>
                </installerFile>
				<eulaURL>http://download.microsoft.com/download/A/4/7/A473ABD7-ED8E-4A2E-85CF-B584469D4186/VMM-2012-SP1-Service-Template-EULA-Final.docx</eulaURL>
				<installCommands>
					<unzip>
						<zipFile>%InstallerFile%</zipFile>
						<targetDirectory>%systemdrive%\SCVMM Service Templates\VMM_Example_Service_Templates\</targetDirectory>
					</unzip>
				</installCommands>
				<postFinish>
					<command>
						<path>C:\SCVMM Service Templates\VMM_Example_Service_Templates\</path>
						<description resourceName="postFinish_ServiceTemplateExampleKit_description">Please find the extracted packages at %systemdrive%\SCVMM Service Templates\VMM_Example_Service_Templates\</description>
					</command>
				</postFinish>
            </installer>
        </installers>
    </entry>
  <!-- Tabs -->    
    <tabs>
        <tab>
            <keywordTab>
                <id>Models</id>
                <name>Service Models</name>
                <description>Repository of service models</description>
                <keywords>
                    <keywordId>SCVMM_ServiceTemplate</keywordId>
                    <keywordId>CSM_VMRoleResdefPkg</keywordId>
                </keywords>
            </keywordTab>
        </tab>
    </tabs>
<!-- Keywords -->   
    <keywords>
        <keyword id="SCVMM_ServiceTemplate">SCVMM Service Templates</keyword>
        <keyword id="CSM_VMRoleResdefPkg">Gallery Resources</keyword>
    </keywords>
</feed>

参考:https://blogs.technet.microsoft.com/scvmm/2013/11/04/using-the-service-models-web-platform-installer-gallery/



  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

闪耀星星

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值