Skip to content

Instantly share code, notes, and snippets.

@bleroy
Created April 1, 2015 22:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bleroy/1db26ca48a8eab5ad57d to your computer and use it in GitHub Desktop.
Save bleroy/1db26ca48a8eab5ad57d to your computer and use it in GitHub Desktop.
CodePlex Issue #16372 Plain Text Attachments
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<version>1.0.0</version>
<title>Sample Product WebPI v2 RTW Feed</title>
<link href="http://www.contoso.com/SampleProductFeed.xml" />
<updated>2009-9-29T16:30:00Z</updated>
<author>
<name>Sample Product Builder</name>
<uri>http://www.contoso.com</uri>
</author>
<id>http://www.contoso.com/SampleProductFeed.xml</id>
<entry>
<productId>SampleProduct</productId>
<title>Orchard CMS (Latest Build)</title>
<summary>Orchard CMS is a free, open source content management system that allows users to rapidly create web sites on the Microsoft ASP.NET platform.</summary>
<longSummary>Orchard CMS is a free, open source content management system that allows users to rapidly create web sites on the Microsoft ASP.NET platform. It is built on a flexible extensibility framework that enables developers and customizers to provide additional functionality through extensions and themes.</longSummary>
<productFamily>Orchard Releases</productFamily>
<version>0.1.2010.0312</version>
<images>
<icon>http://orchardproject.net/privatedrops/orchardlogo.png</icon>
</images>
<author>
<name>CodePlex Foundation</name>
<uri>http://www.codeplex.org</uri>
</author>
<published>2010-3-12T16:30:00Z</published>
<!-- How can WebPI know your product is installed? -->
<discoveryHint>
<or>
<!-- 1. Through registry (version value should be 1.0.0, if dont care about the verion, should be just keypath) -->
<discoveryHint>
<registry>
<keyPath>HKEY_LOCAL_MACHINE\SOFTWARE\SampleProduct\Sample Product Version 1.0.0</keyPath>
<valueName>Version</valueName>
<valueValue>1.0.0</valueValue>
</registry>
</discoveryHint>
<discoveryHint>
<file>
<!-- 2. Through filepath - if the exe is at this location, WebPI will know that SampleProduct is installed -->
<filePath>%ProgramFiles%\SampleProduct\SampleProduct.exe</filePath>
</file>
</discoveryHint>
</or>
</discoveryHint>
<!--
What products need to be installed first?
Define dependencies through ProductId property of products
declared in the main WebProductList file or other previously
added feeds
-->
<dependency>
<and>
<dependency>
<productId>WDeploy</productId>
</dependency>
<dependency>
<productId>IISManagementConsole</productId>
</dependency>
<dependency>
<productId>ASPNET</productId>
</dependency>
</and>
</dependency>
<!-- SampleProduct cannot be installed if product IncompatibleSampleProduct is already installed -->
<incompatibilities>
<incompatibleProduct>
<productId>IncompatibleSampleProduct</productId>
</incompatibleProduct>
</incompatibilities>
<!--
installers and installer commands. Here you can define separate installers for
different architectures, OSes, SKUs and languages
-->
<installers>
<!-- x86 architecture installer -->
<installer>
<!-- installer Id should be unique for every SampleProduct installer -->
<id>1</id>
<!-- language of installer is English -->
<languageId>en</languageId>
<architectures>
<x86 />
</architectures>
<!--
list of OSes and SKUs this product can be installed on. On every OS/SKU that is not
supported, the product will not display
-->
<osList>
<os>
<!-- the product is supported on Vista/Windows Server SP1 + -->
<minimumVersion>
<osMajorVersion>6</osMajorVersion>
<osMinorVersion>0</osMinorVersion>
<spMajorVersion>0</spMajorVersion>
</minimumVersion>
<!-- list of SKUs -->
<osTypes>
<Server />
<HomePremium />
<Ultimate />
<Enterprise />
<Business />
</osTypes>
</os>
</osList>
<!-- before the user will install the product, the link to the following EULA will be presented -->
<eulaURL>http://www.orchardproject.net/privatedrops/LICENSE.txt</eulaURL>
<!-- this info is important for WebPI to verify that the downloaded file was not tampered -->
<installerFile>
<!-- size in KBs -->
<fileSize>5614</fileSize>
<installerURL>http://www.orchardproject.net/privatedrops/OrchardIIS.zip</installerURL>
<sha1>920a6c1a257194b57ed7ba6403768af403c63600</sha1>
</installerFile>
<!-- how should WebPI install your product?
<installCommands>
<msiInstall>
<msi>%InstallerFile%</msi>
</msiInstall>
</installCommands>
-->
<msDeploy>
<startPage>default.aspx</startPage>
</msDeploy>
<helpLink>http://orchard.codeplex.com/</helpLink>
</installer>
<!-- x64 architecture installer -->
<installer>
<!-- installer Id should be unique for every SampleProduct installer -->
<id>2</id>
<!-- language of installer is English -->
<languageId>en</languageId>
<architectures>
<x64 />
</architectures>
<osList>
<os>
<!-- the product is supported on Vista/Windows Server SP1 + -->
<minimumVersion>
<osMajorVersion>6</osMajorVersion>
<osMinorVersion>0</osMinorVersion>
<spMajorVersion>0</spMajorVersion>
</minimumVersion>
<!-- list of SKUs -->
<osTypes>
<Server />
<HomePremium />
<Ultimate />
<Enterprise />
<Business />
</osTypes>
</os>
</osList>
<!-- before the user will install the product, the link to the following EULA will be presented -->
<eulaURL>http://www.orchardproject.net/privatedrops/LICENSE.txt</eulaURL>
<!-- this info is important for WebPI to verify that the downloaded file was not tampered -->
<installerFile>
<!-- size in KBs -->
<fileSize>5684</fileSize>
<installerURL>http://www.orchardproject.net/privatedrops/OrchardIIS_64.zip</installerURL>
<sha1>5fde4a1af02844de990f3eda11b027b3a8c8c6a7</sha1>
</installerFile>
<!-- how should WebPI install your product?
<installCommands>
<msiInstall>
<msi>%InstallerFile%</msi>
</msiInstall>
</installCommands>
-->
<msDeploy>
<startPage>default.aspx</startPage>
</msDeploy>
<helpLink>http://orchard.codeplex.com/</helpLink>
</installer>
</installers>
</entry>
<!-- define a tab that contains SampleProduct -->
<tabs>
<tab>
<pillarTab>
<id>SampleTab</id>
<name>Orchard</name>
<description>Install Orchard applications</description>
<pillar>
<id>SampleProduct</id>
<name>Latest Orchard Releases</name>
<description>This will install the latest Orchard CMS release</description>
<groupingId>SampleProductFamilyGrouping</groupingId>
<recommended>
<productId>SampleProduct</productId>
</recommended>
</pillar>
</pillarTab>
</tab>
</tabs>
<groupings>
<grouping>
<id>SampleProductFamilyGrouping</id>
<!-- combine products based on their productFamily attributes -->
<attribute>productFamily</attribute>
<include>
<item>Orchard Releases</item>
</include>
</grouping>
</groupings>
</feed>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment