Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
dtgm committed Mar 23, 2015
1 parent f38da3f commit fcfa4c1
Show file tree
Hide file tree
Showing 17 changed files with 2,843 additions and 0 deletions.
82 changes: 82 additions & 0 deletions ketarin/DSC.PSDesiredStateConfiguration.xml
@@ -0,0 +1,82 @@
<?xml version='1.0' encoding='utf-8'?>
<Jobs>
<ApplicationJob xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Guid="08352c63-d3e7-4961-8b15-f8422a049b8c">
<WebsiteUrl />
<UserAgent />
<UserNotes />
<LastFileSize>120284</LastFileSize>
<LastFileDate>2014-12-31T01:58:12.3079642</LastFileDate>
<IgnoreFileInformation>false</IgnoreFileInformation>
<DownloadBeta>Default</DownloadBeta>
<DownloadDate xsi:nil="true" />
<CheckForUpdatesOnly>false</CheckForUpdatesOnly>
<VariableChangeIndicator />
<CanBeShared>true</CanBeShared>
<ShareApplication>false</ShareApplication>
<ExclusiveDownload>false</ExclusiveDownload>
<HttpReferer />
<SetupInstructions />
<Variables>
<item>
<key>
<string>version</string>
</key>
<value>
<UrlVariable>
<RegexRightToLeft>false</RegexRightToLeft>
<VariableType>StartEnd</VariableType>
<Regex />
<Url>https://gallery.technet.microsoft.com/xPSDesiredStateConfiguratio-417dc71d</Url>
<StartText>xPSDesiredStateConfiguration_</StartText>
<EndText>.zip"</EndText>
<Name>version</Name>
</UrlVariable>
</value>
</item>
<item>
<key>
<string>url</string>
</key>
<value>
<UrlVariable>
<RegexRightToLeft>false</RegexRightToLeft>
<VariableType>Textual</VariableType>
<Regex />
<TextualContent>https://gallery.technet.microsoft.com/xPSDesiredStateConfiguratio-417dc71d/file/{fileId}/1/xPSDesiredStateConfiguration_{version}.zip</TextualContent>
<Name>url</Name>
</UrlVariable>
</value>
</item>
<item>
<key>
<string>fileId</string>
</key>
<value>
<UrlVariable>
<RegexRightToLeft>false</RegexRightToLeft>
<VariableType>StartEnd</VariableType>
<Regex />
<Url>https://gallery.technet.microsoft.com/xPSDesiredStateConfiguratio-417dc71d</Url>
<StartText>&lt;a href="/xPSDesiredStateConfiguratio-417dc71d/file/</StartText>
<EndText>/</EndText>
<Name>fileId</Name>
</UrlVariable>
</value>
</item>
</Variables>
<ExecuteCommand />
<ExecutePreCommand />
<ExecuteCommandType>Batch</ExecuteCommandType>
<ExecutePreCommandType>Batch</ExecutePreCommandType>
<Category />
<SourceType>FixedUrl</SourceType>
<PreviousLocation>{workdir}\xPSDesiredStateConfiguration_3.0.3.4.zip</PreviousLocation>
<DeletePreviousFile>true</DeletePreviousFile>
<Enabled>false</Enabled>
<FileHippoId />
<LastUpdated>2014-12-31T01:58:12.3079642</LastUpdated>
<TargetPath>{workdir}\</TargetPath>
<FixedDownloadUrl>{url}</FixedDownloadUrl>
<Name>DSC.PSDesiredStateConfiguration</Name>
</ApplicationJob>
</Jobs>
249 changes: 249 additions & 0 deletions ketarin/adobeshockwaveplayer.xml
@@ -0,0 +1,249 @@
<?xml version='1.0' encoding='utf-8'?>
<Jobs>
<ApplicationJob xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Guid="42fdc98a-20e4-4a25-a1c7-d0509a67ebe5">
<SourceTemplate><![CDATA[<Jobs>
<ApplicationJob xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Guid="0fb30714-8ed0-4611-8f1b-cb8fec9dae91">
<WebsiteUrl />
<UserAgent>Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.168 Safari/535.19</UserAgent>
<UserNotes />
<LastFileSize>384846</LastFileSize>
<LastFileDate>2012-05-23T02:09:37.7748325</LastFileDate>
<IgnoreFileInformation>false</IgnoreFileInformation>
<DownloadBeta>Default</DownloadBeta>
<DownloadDate xsi:nil="true" />
<CheckForUpdatesOnly>false</CheckForUpdatesOnly>
<VariableChangeIndicator />
<CanBeShared>true</CanBeShared>
<ShareApplication>false</ShareApplication>
<ExclusiveDownload>false</ExclusiveDownload>
<HttpReferer />
<SetupInstructions />
<Variables>
<item>
<key>
<string>version</string>
</key>
<value>
<UrlVariable>
<RegexRightToLeft>false</RegexRightToLeft>
<VariableType>StartEnd</VariableType>
<Regex />
<Url><placeholder name="Url with version information" value="http://get.adobe.com/es/shockwave/" /></Url>
<StartText>&lt;TABLE cellspacing ="1" cellpadding ="6" border = "0"&gt;
&lt;TR&gt;
&lt;TH class="Title" align="center" width=90&gt;7-Zip </StartText>
<EndText>&lt;BR&gt;</EndText>
<TextualContent />
<Name>version</Name>
</UrlVariable>
</value>
</item>
<item>
<key>
<string>url64</string>
</key>
<value>
<UrlVariable>
<RegexRightToLeft>false</RegexRightToLeft>
<VariableType>Textual</VariableType>
<Regex />
<TextualContent>""</TextualContent>
<Name>url64</Name>
</UrlVariable>
</value>
</item>
</Variables>
<ExecuteCommand />
<ExecutePreCommand />
<ExecuteCommandType>Batch</ExecuteCommandType>
<ExecutePreCommandType>Batch</ExecutePreCommandType>
<Category />
<SourceType>FixedUrl</SourceType>
<DeletePreviousFile>true</DeletePreviousFile>
<Enabled>true</Enabled>
<FileHippoId />
<LastUpdated>2012-05-23T02:09:37.7748325</LastUpdated>
<TargetPath>C:\Chocolatey\_work\</TargetPath>
<FixedDownloadUrl><placeholder name="Download Url - Optional" value="http://fpdownload.macromedia.com/get/shockwave/default/english/win95nt/latest/Shockwave_Installer_Slim.exe" /></FixedDownloadUrl>
<Name><placeholder name="Name" value="adobeshockwaveplayer" /></Name>
</ApplicationJob>
</Jobs>]]></SourceTemplate>
<WebsiteUrl />
<UserAgent>Mozilla/5.0 (Windows NT 6.1; WOW64)</UserAgent>
<UserNotes />
<LastFileSize>13832160</LastFileSize>
<LastFileDate>2015-02-19T21:39:15.6963867</LastFileDate>
<IgnoreFileInformation>false</IgnoreFileInformation>
<DownloadBeta>Avoid</DownloadBeta>
<DownloadDate xsi:nil="true" />
<CheckForUpdatesOnly>false</CheckForUpdatesOnly>
<VariableChangeIndicator />
<CanBeShared>true</CanBeShared>
<ShareApplication>false</ShareApplication>
<ExclusiveDownload>false</ExclusiveDownload>
<HttpReferer />
<SetupInstructions />
<Variables>
<item>
<key>
<string>version</string>
</key>
<value>
<UrlVariable>
<RegexRightToLeft>false</RegexRightToLeft>
<VariableType>RegularExpression</VariableType>
<Regex>(?&lt;=mainInstaller: "Shockwave_)([\d\.]+)(?=_)</Regex>
<Url>http://get.adobe.com/shockwave/?platform_dist={UserAgent}</Url>
<StartText>&lt;title&gt;Descargar Shockwave Player </StartText>
<EndText> - FileHippo.com&lt;/title&gt;
</EndText>
<TextualContent>12.1.4.1542</TextualContent>
<Name>version</Name>
</UrlVariable>
</value>
</item>
<item>
<key>
<string>url</string>
</key>
<value>
<UrlVariable>
<RegexRightToLeft>false</RegexRightToLeft>
<VariableType>RegularExpression</VariableType>
<Regex>(?&lt;=ResponseUri: )[^\r\n]+</Regex>
<Url>http://www.filehippo.com{filePath}</Url>
<TextualContent />
<Name>url</Name>
</UrlVariable>
</value>
</item>
<item>
<key>
<string>getReleaseNotes</string>
</key>
<value>
<UrlVariable>
<RegexRightToLeft>false</RegexRightToLeft>
<VariableType>Textual</VariableType>
<Regex />
<Url />
<TextualContent>http://helpx.adobe.com{getReleasenotesUrl}</TextualContent>
<Name>getReleaseNotes</Name>
</UrlVariable>
</value>
</item>
<item>
<key>
<string>getReleasenotesUrl</string>
</key>
<value>
<UrlVariable>
<RegexRightToLeft>false</RegexRightToLeft>
<VariableType>RegularExpression</VariableType>
<Regex>(?&lt;=For more information on the latest update to Adobe Shockwave Player.*")(/content/help/.*?)(?=")</Regex>
<Url>http://helpx.adobe.com/shockwave.html</Url>
<Name>getReleasenotesUrl</Name>
</UrlVariable>
</value>
</item>
<item>
<key>
<string>fileHippoId</string>
</key>
<value>
<UrlVariable>
<RegexRightToLeft>false</RegexRightToLeft>
<VariableType>RegularExpression</VariableType>
<Regex>(?&lt;=data-href=")(.*?)(?=")</Regex>
<Url>http://www.filehippo.com/download_shockwave/</Url>
<Name>fileHippoId</Name>
</UrlVariable>
</value>
</item>
<item>
<key>
<string>downloadPath</string>
</key>
<value>
<UrlVariable>
<RegexRightToLeft>false</RegexRightToLeft>
<VariableType>RegularExpression</VariableType>
<Regex>(?&lt;=green button-link.*?href=")(.*?)(?=")</Regex>
<Url>{fileHippoId}</Url>
<Name>downloadPath</Name>
</UrlVariable>
</value>
</item>
<item>
<key>
<string>filePath</string>
</key>
<value>
<UrlVariable>
<RegexRightToLeft>false</RegexRightToLeft>
<VariableType>RegularExpression</VariableType>
<Regex>(?&lt;=&lt;div class="download-confirmation-text"&gt;[\r\n]*&lt;a href="?)(/.*?[A-Fa-f0-9]{64}/*)(?=")</Regex>
<Url>http://www.filehippo.com/{downloadPath}</Url>
<Name>filePath</Name>
</UrlVariable>
</value>
</item>
<item>
<key>
<string>nopush</string>
</key>
<value>
<UrlVariable>
<RegexRightToLeft>false</RegexRightToLeft>
<VariableType>Textual</VariableType>
<Regex />
<TextualContent>--nopush</TextualContent>
<Name>nopush</Name>
</UrlVariable>
</value>
</item>
<item>
<key>
<string>packageGuid</string>
</key>
<value>
<UrlVariable>
<RegexRightToLeft>false</RegexRightToLeft>
<VariableType>Textual</VariableType>
<Regex />
<TextualContent>{getReleaseNotes}</TextualContent>
<Name>packageGuid</Name>
</UrlVariable>
</value>
</item>
<item>
<key>
<string>cscript</string>
</key>
<value>
<UrlVariable>
<RegexRightToLeft>false</RegexRightToLeft>
<VariableType>Textual</VariableType>
<Regex />
<TextualContent>2</TextualContent>
<Name>cscript</Name>
</UrlVariable>
</value>
</item>
</Variables>
<ExecuteCommand />
<ExecutePreCommand />
<ExecuteCommandType>Batch</ExecuteCommandType>
<ExecutePreCommandType>Batch</ExecutePreCommandType>
<Category />
<SourceType>FixedUrl</SourceType>
<PreviousLocation>C:\ProgramData\chocolatey\_work\Shockwave_Installer_Full.exe</PreviousLocation>
<DeletePreviousFile>true</DeletePreviousFile>
<Enabled>true</Enabled>
<FileHippoId />
<LastUpdated>2015-02-19T21:39:15.6963867</LastUpdated>
<TargetPath>{workdir}\</TargetPath>
<FixedDownloadUrl>{url}</FixedDownloadUrl>
<Name>adobeshockwaveplayer</Name>
</ApplicationJob>
</Jobs>

0 comments on commit fcfa4c1

Please sign in to comment.