diff --git a/ketarin/DSC.PSDesiredStateConfiguration.xml b/ketarin/DSC.PSDesiredStateConfiguration.xml new file mode 100644 index 0000000000..3192750896 --- /dev/null +++ b/ketarin/DSC.PSDesiredStateConfiguration.xml @@ -0,0 +1,82 @@ + + + + + + + 120284 + 2014-12-31T01:58:12.3079642 + false + Default + + false + + true + false + false + + + + + + version + + + + false + StartEnd + + https://gallery.technet.microsoft.com/xPSDesiredStateConfiguratio-417dc71d + xPSDesiredStateConfiguration_ + .zip" + version + + + + + + url + + + + false + Textual + + https://gallery.technet.microsoft.com/xPSDesiredStateConfiguratio-417dc71d/file/{fileId}/1/xPSDesiredStateConfiguration_{version}.zip + url + + + + + + fileId + + + + false + StartEnd + + https://gallery.technet.microsoft.com/xPSDesiredStateConfiguratio-417dc71d + <a href="/xPSDesiredStateConfiguratio-417dc71d/file/ + / + fileId + + + + + + + Batch + Batch + + FixedUrl + {workdir}\xPSDesiredStateConfiguration_3.0.3.4.zip + true + false + + 2014-12-31T01:58:12.3079642 + {workdir}\ + {url} + DSC.PSDesiredStateConfiguration + + \ No newline at end of file diff --git a/ketarin/adobeshockwaveplayer.xml b/ketarin/adobeshockwaveplayer.xml new file mode 100644 index 0000000000..e0c9038ca2 --- /dev/null +++ b/ketarin/adobeshockwaveplayer.xml @@ -0,0 +1,249 @@ + + + + + + + Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.168 Safari/535.19 + + 384846 + 2012-05-23T02:09:37.7748325 + false + Default + + false + + true + false + false + + + + + + version + + + + false + StartEnd + + + <TABLE cellspacing ="1" cellpadding ="6" border = "0"> + <TR> + <TH class="Title" align="center" width=90>7-Zip + <BR> + + version + + + + + + url64 + + + + false + Textual + + "" + url64 + + + + + + + Batch + Batch + + FixedUrl + true + true + + 2012-05-23T02:09:37.7748325 + C:\Chocolatey\_work\ + + + +]]> + + Mozilla/5.0 (Windows NT 6.1; WOW64) + + 13832160 + 2015-02-19T21:39:15.6963867 + false + Avoid + + false + + true + false + false + + + + + + version + + + + false + RegularExpression + (?<=mainInstaller: "Shockwave_)([\d\.]+)(?=_) + http://get.adobe.com/shockwave/?platform_dist={UserAgent} + <title>Descargar Shockwave Player + - FileHippo.com</title> + + 12.1.4.1542 + version + + + + + + url + + + + false + RegularExpression + (?<=ResponseUri: )[^\r\n]+ + http://www.filehippo.com{filePath} + + url + + + + + + getReleaseNotes + + + + false + Textual + + + http://helpx.adobe.com{getReleasenotesUrl} + getReleaseNotes + + + + + + getReleasenotesUrl + + + + false + RegularExpression + (?<=For more information on the latest update to Adobe Shockwave Player.*")(/content/help/.*?)(?=") + http://helpx.adobe.com/shockwave.html + getReleasenotesUrl + + + + + + fileHippoId + + + + false + RegularExpression + (?<=data-href=")(.*?)(?=") + http://www.filehippo.com/download_shockwave/ + fileHippoId + + + + + + downloadPath + + + + false + RegularExpression + (?<=green button-link.*?href=")(.*?)(?=") + {fileHippoId} + downloadPath + + + + + + filePath + + + + false + RegularExpression + (?<=<div class="download-confirmation-text">[\r\n]*<a href="?)(/.*?[A-Fa-f0-9]{64}/*)(?=") + http://www.filehippo.com/{downloadPath} + filePath + + + + + + nopush + + + + false + Textual + + --nopush + nopush + + + + + + packageGuid + + + + false + Textual + + {getReleaseNotes} + packageGuid + + + + + + cscript + + + + false + Textual + + 2 + cscript + + + + + + + Batch + Batch + + FixedUrl + C:\ProgramData\chocolatey\_work\Shockwave_Installer_Full.exe + true + true + + 2015-02-19T21:39:15.6963867 + {workdir}\ + {url} + adobeshockwaveplayer + + \ No newline at end of file diff --git a/ketarin/avastbrowsercleanup.xml b/ketarin/avastbrowsercleanup.xml new file mode 100644 index 0000000000..d6bcb0a61b --- /dev/null +++ b/ketarin/avastbrowsercleanup.xml @@ -0,0 +1,81 @@ + + + + + + + 2953520 + 2015-01-29T04:34:52.7300716 + false + Avoid + + false + + true + false + false + + + + + + version + + + + false + StartEnd + + http://www.comss.ru/page.php?id=1275 + <title>avast! Browser Cleanup + ñêà÷àòü áåñïëàòíî - Áðàóçåðû è ïëàãèíû - Comss</title> + + version + + + + + + nopush + + + + false + Textual + + --nopush + nopush + + + + + + url + + + + false + Textual + + http://files.avast.com/files/tools/avast-browser-cleanup.exe + url + + + + + + + Batch + Batch + + FixedUrl + {workdir}\avast-browser-cleanup.exe + true + false + + 2015-01-29T04:34:52.7300716 + {workdir}\ + {url} + avastbrowsercleanup + + \ No newline at end of file diff --git a/ketarin/avastfreeantivirus.xml b/ketarin/avastfreeantivirus.xml new file mode 100644 index 0000000000..1c47234105 --- /dev/null +++ b/ketarin/avastfreeantivirus.xml @@ -0,0 +1,81 @@ + + + + + + antivirus AUTO CHANGEABLE title + 132469808 + 2015-02-03T04:34:09.5586537 + false + Avoid + + false + version + true + false + false + + + + + + version + + + + false + StartEnd + + http://www.softpedia.com/get/Antivirus/Avast-Home-Edition.shtml + <span class="appver"> + + 9.0.2008.20131118 + version + + + + + + nopush + + + + false + Textual + + --nopush + nopush + + + + + + url + + + + false + Textual + + http://files.avast.com/iavs9x/avast_free_antivirus_setup.exe + url + + + + + + + Batch + Batch + + FixedUrl + {workdir}\avast_free_antivirus_setup.exe + true + false + + 2015-02-03T04:34:09.5586537 + {workdir}\ + {url} + avastfreeantivirus + + \ No newline at end of file diff --git a/ketarin/bulkrenameutility.portable.xml b/ketarin/bulkrenameutility.portable.xml new file mode 100644 index 0000000000..26b1cba395 --- /dev/null +++ b/ketarin/bulkrenameutility.portable.xml @@ -0,0 +1,55 @@ + + + + + Mozilla/5.0 (Windows NT 6.1; WOW64) + + 2265088 + 2014-08-18T23:39:06.564304 + false + Default + + false + + true + false + false + + + + + + version + + + + false + StartEnd + ">About This Section \(Latest Version ([\d+\.]+)\)</a> + http://www.bulkrenameutility.co.uk/Download.php + + <td width="90%" valign="top"><p><span style="font-weight: bold">Bulk Rename Utility</span>, version + + &quot;<span style="font-style: italic; font-weight: bold"><u>No-Installer</u> + + version + + + + + + + Batch + Batch + + FixedUrl + C:\dev\Chocolatey\_work\BRU_NoInstall.zip + true + false + + 2014-08-18T23:39:06.564304 + {workdir}\ + http://www.bulkrenameutility.co.uk/Downloads/BRU_NoInstall.zip + bulkrenameutility.portable + + \ No newline at end of file diff --git a/ketarin/bulkrenameutility.xml b/ketarin/bulkrenameutility.xml new file mode 100644 index 0000000000..adddbb2d14 --- /dev/null +++ b/ketarin/bulkrenameutility.xml @@ -0,0 +1,68 @@ + + + + + Mozilla/5.0 (Windows NT 6.1; WOW64) + + 996640 + 2014-08-18T23:39:04.6315625 + false + Default + + false + + true + false + false + + + + + + version + + + + false + StartEnd + ">About This Section \(Latest Version ([\d+\.]+)\)</a> + http://www.bulkrenameutility.co.uk/Download.php + <td valign="bottom"><p><span style="font-weight: bold">Bulk Rename Utility</span>, version + + for Windows + + version + + + + + + url64 + + + + false + Textual + + http://www.bulkrenameutility.co.uk/Downloads/BRU_Setup_WinNTx64.exe + url64 + + + + + chocopkgup /p {appname}.install /v {version} /u "{preupdate-url}" /u64 "{url64}" /pp "{file}" + + Batch + Batch + + FixedUrl + C:\dev\Chocolatey\_work\BRU_Setup_WinNTx86.exe + true + false + + 2014-08-18T23:39:04.6315625 + {workdir}\ + http://www.bulkrenameutility.co.uk/Downloads/BRU_Setup_WinNTx86.exe + bulkrenameutility + + \ No newline at end of file diff --git a/ketarin/duplicati.beta.xml b/ketarin/duplicati.beta.xml new file mode 100644 index 0000000000..89b3923887 --- /dev/null +++ b/ketarin/duplicati.beta.xml @@ -0,0 +1,68 @@ + + + + + Mozilla/5.0 (Windows NT 6.1; WOW64) + + 10008254 + 2014-01-05T04:33:22.9438274 + false + Default + + false + + true + false + false + + + + + + version + + + + false + StartEnd + + https://code.google.com/p/duplicati/wiki/Downloads?tm=2 + <ul><li><a href="http://duplicati.googlecode.com/files/Duplicati%20 + .msi" rel="nofollow"> + + version + + + + + + url64 + + + + false + Textual + + https://code.google.com/p/duplicati/wiki/Downloads?tm=2 + "http://duplicati.googlecode.com/files/Duplicati%20{version}.x64.msi" + url64 + + + + + + + Batch + Batch + + FixedUrl + C:\dev\Chocolatey\_work\Duplicati 1.3.4.msi + true + false + + 2014-01-05T04:33:22.9438274 + {workdir}\ + http://duplicati.googlecode.com/files/Duplicati%20{version}.msi + duplicati.beta + + \ No newline at end of file diff --git a/ketarin/duplicati.portable.xml b/ketarin/duplicati.portable.xml new file mode 100644 index 0000000000..9d2db1b3c4 --- /dev/null +++ b/ketarin/duplicati.portable.xml @@ -0,0 +1,53 @@ + + + + + Mozilla/5.0 (Windows NT 6.1; WOW64) + + 8359912 + 2014-01-03T04:33:14.2333786 + false + Default + + false + + true + false + false + + + + + + version + + + + false + StartEnd + + https://code.google.com/p/duplicati/wiki/Downloads?tm=2 + .zip" rel="nofollow">Duplicati + - + + version + + + + + + + Batch + Batch + + FixedUrl + C:\dev\Chocolatey\_work\Duplicati 1.3.4.zip + true + false + + 2014-01-03T04:33:14.2333786 + {workdir}\ + http://duplicati.googlecode.com/files/Duplicati%20{version}.zip + duplicati.portable + + \ No newline at end of file diff --git a/ketarin/goodsync.xml b/ketarin/goodsync.xml new file mode 100644 index 0000000000..72a4c58966 --- /dev/null +++ b/ketarin/goodsync.xml @@ -0,0 +1,162 @@ + + + + + + + Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.168 Safari/535.19 + + 384846 + 2012-05-23T02:09:37.7748325 + false + Default + + false + + true + false + false + + + + + + version + + + + false + StartEnd + + + <TABLE cellspacing ="1" cellpadding ="6" border = "0"> + <TR> + <TH class="Title" align="center" width=90>7-Zip + <BR> + + version + + + + + + url64 + + + + false + Textual + + "" + url64 + + + + + + + Batch + Batch + + FixedUrl + true + true + + 2012-05-23T02:09:37.7748325 + C:\Chocolatey\_work\ + + + +]]> + + + + 23044096 + 2015-03-21T08:49:09.73202 + false + Avoid + + false + + true + false + false + + + + + + version + + + + false + RegularExpression + GoodSync for Windows[\sv]+([\d\.]+) + http://www.goodsync.com/download + <h3>GoodSync for Windows v + </h3> + + version + + + + + + url + + + + false + Textual + + https://www.goodsync.com/download/GoodSync-Setup.msi + url + + + + + + nopush + + + + false + Textual + + --nopush + nopush + + + + + + cscript + + + + false + Textual + + 2 + cscript + + + + + + + Batch + Batch + + FixedUrl + C:\ProgramData\chocolatey\_work\GoodSync-Setup.msi + true + true + + 2015-03-21T08:49:09.73202 + {workdir}\ + {url} + goodsync + + \ No newline at end of file diff --git a/ketarin/hddguardian.xml b/ketarin/hddguardian.xml new file mode 100644 index 0000000000..1f8f6cdd98 --- /dev/null +++ b/ketarin/hddguardian.xml @@ -0,0 +1,96 @@ + + + + + + + 5981830 + 2014-07-25T13:00:28.2775441 + false + Default + + false + + true + false + false + + + + + + version + + + + false + StartEnd + + http://hddguardian.codeplex.com/ + <th><span class="rating_header">current</span></th> + <td> + HDD Guardian + </td> + version + + + + + + mirrorUrl + + + + false + RegularExpression + (?<=ResponseUri: )[^\r\n]+ + {fetchUrl} + mirrorUrl + + + + + + fetchUrl + + + + false + Textual + + http://sourceforge.net/projects/smartmontools/files/smartmontools/{majorVersion}/smartmontools-{version}.win32-setup.exe/download + fetchUrl + + + + + + url64 + + + + false + Textual + + {fetchUrl} + url64 + + + + + + + Batch + Batch + + FixedUrl + + true + false + + 2014-07-25T13:00:28.2775441 + {workdir}\ + {mirrorUrl} + hddguardian + + \ No newline at end of file diff --git a/ketarin/iconizer.xml b/ketarin/iconizer.xml new file mode 100644 index 0000000000..88ac612119 --- /dev/null +++ b/ketarin/iconizer.xml @@ -0,0 +1,178 @@ + + + + + + + 206028 + 2013-06-25T04:37:54-05:00 + false + Default + + false + + true + false + false + + + + + + nopush + + + + false + Textual + + --nopush + nopush + + + + + + version + + + + false + Textual + + + {getVersion:replace:-:.} + version + + + + + + url + + + + false + RegularExpression + (?<=ResponseUri: )[^\r\n]+ + {getUrl} + + url + + + + + + url64 + + + + false + Textual + + {urlArray} + url64 + + + + + + getUrl + + + + false + RegularExpression + [^ "'<>\*]+32\.zip/download + http://sourceforge.net/projects/iconizer/files/ + getUrl + + + + + + getUrl64 + + + + false + RegularExpression + [^ "'<>\*]+64\.zip/download + http://sourceforge.net/projects/iconizer/files/ + getUrl64 + + + + + + getVersion + + + + false + RegularExpression + Looking for the latest version\?.*?released on ([\d-]+) + http://sourceforge.net/projects/iconizer/files/ + getVersion + + + + + + urlArray + + + + false + Textual + + @('{getUrl}', '{getUrl64}') + urlArray + + + + + + checksum64file + + + + false + Textual + + {getUrl64} + checksum64file + + + + + + cpush + + + + false + Textual + + y + cpush + + + + + + + Batch + Batch + + FixedUrl + C:\ProgramData\chocolatey\_work\IconizerBin32.zip + true + true + + 2015-02-17T22:48:21.6934054-06:00 + {workdir}\ + {url} + iconizer + + \ No newline at end of file diff --git a/ketarin/lyx.xml b/ketarin/lyx.xml new file mode 100644 index 0000000000..2ba06e68a4 --- /dev/null +++ b/ketarin/lyx.xml @@ -0,0 +1,80 @@ + + + + + + + 0 + + false + Default + + false + + true + false + false + + + + + + version + + + + false + RegularExpression + (?<=href='ftp://ftp.lyx.org/pub/lyx/bin/)[\d\.]+(?=/) + http://www.lyx.org/Download + <a class="default" href="/en/download/ + / + version + + + + + + url + + + + false + Textual + + ftp://ftp.lyx.org/pub/lyx/bin/{version}/LyX-{version}-Bundle-1.exe + url + + + + + + nopush + + + + false + Textual + + --nopush + nopush + + + + + + + Batch + Batch + + FixedUrl + + true + true + + + {workdir}\ + {url} + lyx + + \ No newline at end of file diff --git a/ketarin/mRemoteNG.xml b/ketarin/mRemoteNG.xml new file mode 100644 index 0000000000..9ce82f631c --- /dev/null +++ b/ketarin/mRemoteNG.xml @@ -0,0 +1,67 @@ + + + + + Mozilla/5.0 (Windows NT 6.1; WOW64) + + 3044672 + 2014-12-05T03:07:00.0857353 + false + Default + + false + + true + false + false + + + + + + version + + + + false + StartEnd + + http://www.mremoteng.org/download + <b>Version + + + version + + + + + + url64 + + + + false + Textual + + {url} + url64 + + + + + + + Batch + Batch + + FixedUrl + {workdir}\mRemoteNG-Installer-1.72.exe + true + true + + 2014-12-05T03:07:00.0857353 + {workdir}\ + http://downloads.mremoteng.org/mRemoteNG-Installer-{version}.exe + mRemoteNG + + \ No newline at end of file diff --git a/ketarin/settings.xml b/ketarin/settings.xml new file mode 100644 index 0000000000..707a55e2ed --- /dev/null +++ b/ketarin/settings.xml @@ -0,0 +1,1156 @@ + + + + + + + AuthorGuid + + + System.String:{75a093b7-da5f-493a-b8f0-22c278f874c1} + + + + + LastUpdateCheck + + + AAEAAAD/////AQAAAAAAAAAEAQAAAA9TeXN0ZW0uRGF0ZVRpbWUCAAAABXRpY2tzCGRhdGVEYXRhAAAJEHLJtV0lMdIIcsm1XSUx0ogL + + + + + PreUpdateCommand + + + System.String:chocopkgup {nopush} --packagename={appname} --version={version} --pg="{packageGuid}" --url="{preupdate-url}" --urlx64="{url64}" --packagepath="{file}" --checksum="{checksum}" --c64="{checksumx64}" --debug + + + + + PreUpdateCommandType + + + System.String:Batch + + + + + CustomColumns + + + System.String:<?xml version="1.0" encoding="utf-16"?> +<dictionary> + <item> + <key> + <string>Version</string> + </key> + <value> + <string>{version}</string> + </value> + </item> +</dictionary> + + + + + CustomColumn + + + + + + + + CustomColumn2 + + + + + + + + UpdateAtStartup + + + System.Boolean:False + + + + + AvoidFileHippoBeta + + + System.Boolean:True + + + + + ConnectionTimeout + + + AAEAAAD/////AQAAAAAAAAAEAQAAAA5TeXN0ZW0uRGVjaW1hbAQAAAAFZmxhZ3MCaGkCbG8DbWlkAAAAAAgICAgAAAAAAAAAAAoAAAAAAAAACw== + + + + + ThreadCount + + + System.Int32:2 + + + + + RetryCount + + + System.Int32:1 + + + + + UpdateOnlineDatabase + + + System.Boolean:True + + + + + MinimizeToTray + + + System.Boolean:True + + + + + CreateDatabaseBackups + + + System.Boolean:True + + + + + OpenWebsiteOnDoubleClick + + + System.Boolean:False + + + + + ProxyPort + + + AAEAAAD/////AQAAAAAAAAAEAQAAAA5TeXN0ZW0uRGVjaW1hbAQAAAAFZmxhZ3MCaGkCbG8DbWlkAAAAAAgICAgAAAAAAAAAAAAAAAAAAAAACw== + + + + + ProxyServer + + + System.String: + + + + + ProxyUser + + + System.String: + + + + + ProxyPassword + + + System.String: + + + + + MainForm/Size + + + System.Drawing.Size:696,871 + + + + + MainForm/Location + + + System.Drawing.Point:-1,904 + + + + + MainForm/WindowState + + + System.Int32:0 + + + + + olvJobs/Application:Visibility + + + System.Boolean:True + + + + + olvJobs/Application:Width + + + System.Int32:195 + + + + + olvJobs/Application:LastDisplayIndex + + + System.Int32:0 + + + + + olvJobs/Last updated:Visibility + + + System.Boolean:True + + + + + olvJobs/Last updated:Width + + + System.Int32:96 + + + + + olvJobs/Last updated:LastDisplayIndex + + + System.Int32:1 + + + + + olvJobs/Progress:Visibility + + + System.Boolean:True + + + + + olvJobs/Progress:Width + + + System.Int32:100 + + + + + olvJobs/Progress:LastDisplayIndex + + + System.Int32:2 + + + + + olvJobs/Target:Visibility + + + System.Boolean:True + + + + + olvJobs/Target:Width + + + System.Int32:85 + + + + + olvJobs/Target:LastDisplayIndex + + + System.Int32:4 + + + + + olvJobs/Category:Visibility + + + System.Boolean:True + + + + + olvJobs/Category:Width + + + System.Int32:80 + + + + + olvJobs/Category:LastDisplayIndex + + + System.Int32:5 + + + + + olvJobs/Status:Visibility + + + System.Boolean:False + + + + + olvJobs/Status:Width + + + System.Int32:80 + + + + + olvJobs/Status:LastDisplayIndex + + + System.Int32:-1 + + + + + olvJobs/LastSortColumn + + + System.String:Target + + + + + olvJobs/LastSortOrder + + + System.Int32:1 + + + + + olvJobs/Version:Visibility + + + System.Boolean:True + + + + + olvJobs/Version:Width + + + System.Int32:90 + + + + + olvJobs/Version:LastDisplayIndex + + + System.Int32:3 + + + + + Ketarin/ShowGroups + + + System.Boolean:True + + + + + Ketarin/ShowStatusBar + + + System.Boolean:True + + + + + Ketarin/ShowLog + + + System.Boolean:True + + + + + Ketarin/AutoScroll + + + System.Boolean:True + + + + + SetPlaceholderDialog/Size + + + System.Drawing.Size:418,166 + + + + + SetPlaceholderDialog/Location + + + System.Drawing.Point:1131,1028 + + + + + SetPlaceholderDialog/WindowState + + + System.Int32:0 + + + + + EditVariablesDialog/Size + + + System.Drawing.Size:1630,814 + + + + + EditVariablesDialog/Location + + + System.Drawing.Point:358,935 + + + + + EditVariablesDialog/WindowState + + + System.Int32:0 + + + + + ApplicationJobDialog/Size + + + System.Drawing.Size:423,429 + + + + + ApplicationJobDialog/Location + + + System.Drawing.Point:126,875 + + + + + ApplicationJobDialog/WindowState + + + System.Int32:0 + + + + + LogDialog/Size + + + System.Drawing.Size:1504,845 + + + + + LogDialog/Location + + + System.Drawing.Point:17,17 + + + + + LogDialog/WindowState + + + System.Int32:0 + + + + + ErrorsDialog/Size + + + System.Drawing.Size:1096,373 + + + + + olvErrors/Application:Visibility + + + System.Boolean:True + + + + + olvErrors/Application:Width + + + System.Int32:98 + + + + + olvErrors/Application:LastDisplayIndex + + + System.Int32:-1 + + + + + olvErrors/Error:Visibility + + + System.Boolean:True + + + + + olvErrors/Error:Width + + + System.Int32:960 + + + + + olvErrors/Error:LastDisplayIndex + + + System.Int32:-1 + + + + + olvErrors/LastSortColumn + + + System.String:Application + + + + + olvErrors/LastSortOrder + + + System.Int32:2 + + + + + ProgressDialog/Size + + + System.Drawing.Size:292,95 + + + + + Hotkey: OpenWebsite + + + System.String: + + + + + Hotkey: Edit + + + System.String: + + + + + Hotkey: Update + + + System.String: + + + + + Hotkey: ForceDownload + + + System.String: + + + + + Hotkey: InstallSelected + + + System.String: + + + + + Hotkey: OpenFile + + + System.String: + + + + + Hotkey: OpenFolder + + + System.String: + + + + + Hotkey: CheckUpdate + + + System.String: + + + + + Hotkey: UpdateAndInstall + + + System.String: + + + + + InstallingApplicationsDialog/Size + + + System.Drawing.Size:406,250 + + + + + InstallingApplicationsDialog/Location + + + System.Drawing.Point:164,724 + + + + + InstallingApplicationsDialog/WindowState + + + System.Int32:0 + + + + + olvLog/Time:Visibility + + + System.Boolean:True + + + + + olvLog/Time:Width + + + System.Int32:55 + + + + + olvLog/Time:LastDisplayIndex + + + System.Int32:-1 + + + + + olvLog/Message:Visibility + + + System.Boolean:True + + + + + olvLog/Message:Width + + + System.Int32:310 + + + + + olvLog/Message:LastDisplayIndex + + + System.Int32:-1 + + + + + olvLog/LastSortColumn + + + System.String:Time + + + + + olvLog/LastSortOrder + + + System.Int32:0 + + + + + InstallingApplicationsDialog/Expanded + + + System.Boolean:True + + + + + DefaultCommand + + + System.String://////////////////////////////////////////////////////////////////////////////////////// +/// version 6.4 +/// +/// fix bug in cpush; launches cmd.exe, hangs +/// + +// REQUIRES: +// global vars: workdir=corresponds to download location of installer file +// app vars: nopush, checksum64file=corresponds to 64 bit install file +// file vars: same as specified by chocopkgup +string varCScript = app.Variables.ReplaceAllInString("{cscript}"); +if ((varCScript == "1") || (varCScript == "2")) { +string varAppname = app.Variables.ReplaceAllInString("{appname}"); +string varVersion = app.Variables.ReplaceAllInString("{version}"); +string varChocoPkgOutput = app.Variables.ReplaceAllInString("{chocoPkgOutput}"); +string varChecksum = app.Variables.ReplaceAllInString("{checksum}"); +string varChecksumx64 = app.Variables.ReplaceAllInString("{checksumx64}"); +string varChecksum64File = app.Variables.ReplaceAllInString("{checksum64file}"); +string varChecksum64basefile = app.Variables.ReplaceAllInString("{checksum64file:basefile}"); +string varChecksum64ext = app.Variables.ReplaceAllInString("{checksum64file:ext}"); +string varWorkdir = app.Variables.ReplaceAllInString("{workdir}"); +string saveFileName64 = String.Concat(varChecksum64basefile, ".", varChecksum64ext); +// equivalent to ketarin variable "{file}" +string savePath = app.PreviousLocation; +string pkgPath = Path.Combine(varChocoPkgOutput, varAppname, varVersion); +string fileNameNuspec = String.Concat(varAppname, ".nuspec"); +string fileUriNuspec = Path.Combine(pkgPath, fileNameNuspec); +string fileNameNupkg = String.Concat(varAppname, ".", varVersion, ".nupkg"); +string fileUriNupkg = Path.Combine(pkgPath, fileNameNupkg); + +if (varChecksum == "{checksum}") { + //System.Windows.Forms.MessageBox.Show(varChecksum); + // calculate SHA1 + System.IO.FileStream fileSha1 = new System.IO.FileStream(savePath, System.IO.FileMode.Open); + System.Security.Cryptography.SHA1 sha1 = new System.Security.Cryptography.SHA1CryptoServiceProvider(); + byte[] retValSha1 = sha1.ComputeHash(fileSha1); + fileSha1.Close(); + + // create a string + System.Text.StringBuilder sbSha1 = new System.Text.StringBuilder(); + for (int i = 0; i < retValSha1.Length; i++) { + sbSha1.Append(retValSha1[i].ToString("x2")); + } + + string replaceChecksum = sbSha1.ToString(); + List<string> fileList = new List<string>(Directory.GetFiles(pkgPath, "*.ps1", SearchOption.AllDirectories)); + string[] filesNuspec = Directory.GetFiles(pkgPath, "*.nuspec", SearchOption.AllDirectories); + fileList.AddRange(filesNuspec); + string[] files = fileList.ToArray(); + foreach (string file in files) { + try { + string contents = File.ReadAllText(file); + contents = contents.Replace("{checksum}", replaceChecksum); + // Make files writable + // File.SetAttributes(file, FileAttributes.Normal); + File.WriteAllText(file, contents); + } catch (Exception ex) { + Console.WriteLine(ex.Message); + } + } +} + +// only get checksum if {checksum64file} exists and points to a downloadable file +if (varChecksumx64 == "{checksumx64}" && varChecksum64File != "{checksum64file}") { +//if (varChecksum64File != "{checksum64file}") { + // checksum for 32-bit file is the default {url} value + // checksum for 64-bit uses special var rather than use {url64} because we are using + // {url64} to carry out another hack for some packages RE ketarin not following redirects (301) + string savePath64 = Path.Combine(varWorkdir, saveFileName64); + System.Net.WebClient webClient = new System.Net.WebClient(); + webClient.DownloadFile(varChecksum64File, savePath64); + + // calculate SHA1 + System.IO.FileStream file64Sha1 = new System.IO.FileStream(savePath64, System.IO.FileMode.Open); + System.Security.Cryptography.SHA1 sha164 = new System.Security.Cryptography.SHA1CryptoServiceProvider(); + byte[] retVal64Sha1 = sha164.ComputeHash(file64Sha1); + file64Sha1.Close(); + + // create a string + System.Text.StringBuilder sb64Sha1 = new System.Text.StringBuilder(); + for (int i = 0; i < retVal64Sha1.Length; i++) { + sb64Sha1.Append(retVal64Sha1[i].ToString("x2")); + } + + string replace64Checksum = sb64Sha1.ToString(); + List<string> fileList = new List<string>(Directory.GetFiles(pkgPath, "*.ps1", SearchOption.AllDirectories)); + string[] filesNuspec = Directory.GetFiles(pkgPath, "*.nuspec", SearchOption.AllDirectories); + fileList.AddRange(filesNuspec); + string[] files = fileList.ToArray(); + foreach (string file in files) { + try { + string contents = File.ReadAllText(file); + contents = contents.Replace("{checksumx64}", replace64Checksum); + File.WriteAllText(file, contents); + } catch (Exception ex) { + Console.WriteLine(ex.Message); + } + } +} + +int checkBeta = varVersion.Split('-').Length; +if ( checkBeta == 2) { + string strPre = varVersion.Split('-')[1]; + string strReplace = String.Concat(strPre, "</version>"); + //System.Windows.Forms.MessageBox.Show(checkBeta); + //System.Windows.Forms.MessageBox.Show(strPre); + //System.Windows.Forms.MessageBox.Show(strReplace); + // string strCheck = "."+(Get-Date -format "yyyyMMdd")+"</version>"; + string strCheck = String.Concat(".", DateTime.Now.ToString("yyyyMMdd"), "</version>"); + //System.Windows.Forms.MessageBox.Show(strCheck); + //string[] updateNuspec = Directory.GetFiles(pkgPath, "*.nuspec", SearchOption.TopDirectoryOnly); + string[] fileNuspec = Directory.GetFiles(pkgPath, "*.nuspec", SearchOption.AllDirectories); + foreach (string file in fileNuspec) { + //System.Windows.Forms.MessageBox.Show(file); + string contents = File.ReadAllText(file); + contents = contents.Replace(strCheck, strReplace); + File.WriteAllText(file, contents); + } +} + +// delete existing nupkg made by chocopkgup; we leverage chocopkgup to create the structure/files in destination +System.Diagnostics.Process process1 = new System.Diagnostics.Process(); +System.Diagnostics.ProcessStartInfo proc1 = new System.Diagnostics.ProcessStartInfo(); +proc1.WindowStyle = System.Diagnostics.ProcessWindowStyle.Hidden; +proc1.UseShellExecute = true; +proc1.WorkingDirectory = pkgPath; +proc1.FileName = "cmd.exe"; +//proc1.Verb = "runas"; +proc1.Arguments = "/c "+"del /f " + fileUriNupkg; +process1.StartInfo = proc1; +process1.Start(); + +// create a new nupkg +System.Diagnostics.Process process2 = new System.Diagnostics.Process(); +System.Diagnostics.ProcessStartInfo proc2 = new System.Diagnostics.ProcessStartInfo(); +proc2.WindowStyle = System.Diagnostics.ProcessWindowStyle.Hidden; +proc2.UseShellExecute = true; +proc2.WorkingDirectory = pkgPath; +proc2.FileName = "cmd.exe"; +//proc2.Verb = "runas"; +//proc2.Arguments = "/c "+"cpack --verbose --allowunofficialbuild" + fileUriNuspec; +proc2.Arguments = "/c "+"choco pack "+fileUriNuspec+" -d"; +process2.StartInfo = proc2; +process2.Start(); + +// push the nupkg +if (varCScript == "2") { + System.Diagnostics.Process process3 = new System.Diagnostics.Process(); + System.Diagnostics.ProcessStartInfo proc3 = new System.Diagnostics.ProcessStartInfo(); + proc3.WindowStyle = System.Diagnostics.ProcessWindowStyle.Hidden; + proc3.UseShellExecute = true; + proc3.WorkingDirectory = pkgPath; + proc3.FileName = "cmd.exe"; +// proc3.Verb = "runas"; + // Find nupkg in pkgPath + string[] pushPkg = Directory.GetFiles(pkgPath, "*.nupkg", SearchOption.TopDirectoryOnly); + foreach (String file in pushPkg) { +// System.Windows.Forms.MessageBox.Show(file); + proc3.Arguments = "/c "+"cpush " + file + " -d"; + } + process3.StartInfo = proc3; + System.Threading.Thread.Sleep(2000); + process3.Start(); +} +} + + + + + DefaultCommandType + + + System.String:CS + + + + + PostUpdateCommand + + + System.String: + + + + + PostUpdateCommandType + + + System.String:Batch + + + + + DefaultApplication + + + System.String:<?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"> + <WebsiteUrl /> + <UserAgent /> + <UserNotes /> + <LastFileSize>0</LastFileSize> + <LastFileDate xsi:nil="true" /> + <IgnoreFileInformation>false</IgnoreFileInformation> + <DownloadBeta>Default</DownloadBeta> + + <CheckForUpdatesOnly>false</CheckForUpdatesOnly> + <VariableChangeIndicator /> + <CanBeShared>true</CanBeShared> + <ShareApplication>false</ShareApplication> + <ExclusiveDownload>false</ExclusiveDownload> + <HttpReferer /> + <SetupInstructions /> + <Variables> + <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>version</string> + </key> + <value> + <UrlVariable> + <RegexRightToLeft>false</RegexRightToLeft> + <VariableType>RegularExpression</VariableType> + <Regex>Last program version.*?([\d\.]+)</Regex> + <Url>x</Url> + <Name>version</Name> + </UrlVariable> + </value> + </item> + <item> + <key> + <string>url</string> + </key> + <value> + <UrlVariable> + <RegexRightToLeft>false</RegexRightToLeft> + <VariableType>Textual</VariableType> + <Regex /> + <TextualContent>{getUrl}</TextualContent> + <Name>url</Name> + </UrlVariable> + </value> + </item> + <item> + <key> + <string>url64</string> + </key> + <value> + <UrlVariable> + <RegexRightToLeft>false</RegexRightToLeft> + <VariableType>Textual</VariableType> + <Regex /> + <TextualContent>{getUrl64}</TextualContent> + <Name>url64</Name> + </UrlVariable> + </value> + </item> + <item> + <key> + <string>getUrl</string> + </key> + <value> + <UrlVariable> + <RegexRightToLeft>false</RegexRightToLeft> + <VariableType>RegularExpression</VariableType> + <Regex>[^ "'&lt;&gt;\*]+\.exe</Regex> + <Url>x</Url> + <Name>getUrl</Name> + </UrlVariable> + </value> + </item> + <item> + <key> + <string>getUrl64</string> + </key> + <value> + <UrlVariable> + <RegexRightToLeft>false</RegexRightToLeft> + <VariableType>RegularExpression</VariableType> + <Regex>[^ "'&lt;&gt;\*]+\.exe</Regex> + <Url>x</Url> + <Name>getUrl64</Name> + </UrlVariable> + </value> + </item> + <item> + <key> + <string>checksum</string> + </key> + <value> + <UrlVariable> + <RegexRightToLeft>false</RegexRightToLeft> + <VariableType>RegularExpression</VariableType> + <Regex>[A-Fa-f0-9]{32}</Regex> + <Url>md5</Url> + <TextualContent>{checksum}</TextualContent> + <Name>checksum</Name> + </UrlVariable> + </value> + </item> + <item> + <key> + <string>checksumx64</string> + </key> + <value> + <UrlVariable> + <RegexRightToLeft>false</RegexRightToLeft> + <VariableType>RegularExpression</VariableType> + <Regex>(?&lt;=ResponseUri: )[^\r\n]+</Regex> + <Url>{url64}</Url> + <TextualContent>{checksum}</TextualContent> + <Name>checksumx64</Name> + </UrlVariable> + </value> + </item> + <item> + <key> + <string>checksum64file</string> + </key> + <value> + <UrlVariable> + <RegexRightToLeft>false</RegexRightToLeft> + <VariableType>Textual</VariableType> + <Regex /> + <TextualContent>{url64}</TextualContent> + <Name>checksum64file</Name> + </UrlVariable> + </value> + </item> + <item> + <key> + <string>cscript</string> + </key> + <value> + <UrlVariable> + <RegexRightToLeft>false</RegexRightToLeft> + <VariableType>Textual</VariableType> + <Regex /> + <TextualContent>0</TextualContent> + <Name>cscript</Name> + </UrlVariable> + </value> + </item> + </Variables> + <ExecuteCommand /> + <ExecutePreCommand /> + <ExecuteCommandType>Batch</ExecuteCommandType> + <ExecutePreCommandType>Batch</ExecutePreCommandType> + <Category /> + <SourceType>FixedUrl</SourceType> + + <DeletePreviousFile>true</DeletePreviousFile> + <Enabled>true</Enabled> + <FileHippoId /> + + <TargetPath>{workdir}\</TargetPath> + <FixedDownloadUrl>{url}</FixedDownloadUrl> + <Name>x</Name> + </ApplicationJob> +</Jobs> + + + + + + + + + + + + chocopkgup {nopush} --packagename={appname} --version={version} --pg="{packageGuid}" --url="{preupdate-url}" --urlx64="{url64}" --packagepath="{file}" --checksum="{checksum}" --c64="{checksumx64}" --debug + hecksum64file=corresponds to 64 bit install file +// file vars: same as specified by chocopkgup +string varCScript = app.Variables.ReplaceAllInString("{cscript}"); +if ((varCScript == "1" + + + \ No newline at end of file diff --git a/ketarin/speedfan.xml b/ketarin/speedfan.xml new file mode 100644 index 0000000000..7e103a2edb --- /dev/null +++ b/ketarin/speedfan.xml @@ -0,0 +1,193 @@ + + + + + + + Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.168 Safari/535.19 + + 384846 + 2012-05-23T02:09:37.7748325 + false + Default + + false + + true + false + false + + + + + + version + + + + false + StartEnd + + + <TABLE cellspacing ="1" cellpadding ="6" border = "0"> + <TR> + <TH class="Title" align="center" width=90>7-Zip + <BR> + + version + + + + + + url64 + + + + false + Textual + + "" + url64 + + + + + + + Batch + Batch + + FixedUrl + true + true + + 2012-05-23T02:09:37.7748325 + C:\Chocolatey\_work\ + + + +]]> + + + + 2218504 + 2015-03-21T08:17:30.1220863 + false + Avoid + + false + + true + false + false + + + + + + urlPath + + + + false + RegularExpression + /?([^ "'<>\*]+\.exe) + http://www.almico.com/sfdownload.php + <div> + The latest version is <a href=" + .exe"> + urlPath + + + + + + version + + + + false + RegularExpression + SpeedFan\s+([\d\.]+) + http://www.almico.com/sfdownload.php + <td valign="top" align="center" nowrap><div> + </div></td> + 4.50.20143011 + version + + + + + + url + + + + false + Textual + + {urlBase}/{urlPath} + url + + + + + + nopush + + + + false + Textual + + --nopush + nopush + + + + + + cscript + + + + false + Textual + + 2 + cscript + + + + + + urlBase + + + + false + Textual + + http://www.almico.com + urlBase + + + + + + + Batch + Batch + + FixedUrl + C:\ProgramData\chocolatey\_work\instspeedfan451.exe + true + true + + 2015-03-21T08:17:30.1220863 + {workdir}\ + {url} + speedfan + + \ No newline at end of file diff --git a/ketarin/sqlitebrowser.xml b/ketarin/sqlitebrowser.xml new file mode 100644 index 0000000000..ff9c031faa --- /dev/null +++ b/ketarin/sqlitebrowser.xml @@ -0,0 +1,121 @@ + + + + + + + 10075808 + 2015-02-08T04:24:45-06:00 + false + Default + + false + + true + false + false + + + + + + yopush + + + + false + Textual + + --nopush + yopush + + + + + + version + + + + false + RegularExpression + ([\d\.]+)-win32\.exe + http://sqlitebrowser.org/ + version + + + + + + url + + + + false + Textual + + {getUrl} + url + + + + + + getUrl + + + + false + RegularExpression + [^ "'<>\*]+\.exe + http://sqlitebrowser.org/ + getUrl + + + + + + checksum + + + + false + RegularExpression + [A-Fa-f0-9]{32} + {getUrl} + {checksum} + checksum + + + + + + cscript + + + + false + Textual + + 0 + cscript + + + + + + + Batch + Batch + + FixedUrl + C:\ProgramData\chocolatey\_work\sqlitebrowser-3.5.1-win32.exe + true + true + + 2015-02-18T15:26:46.8994041-06:00 + {workdir}\ + {url} + sqlitebrowser + + \ No newline at end of file diff --git a/ketarin/windows-tweaker.xml b/ketarin/windows-tweaker.xml new file mode 100644 index 0000000000..4f83d44420 --- /dev/null +++ b/ketarin/windows-tweaker.xml @@ -0,0 +1,53 @@ + + + + + + + 2514510 + 2014-08-21T22:36:01.2885409 + false + Avoid + + false + + true + false + false + + + + + + version + + + + false + StartEnd + + http://www.softpedia.com/get/Tweak/System-Tweak/Windows-7-Registry-Tweaker.shtml + <span class="appver"> + </span> + 2.2.0.183 + version + + + + + + + Batch + Batch + + FixedUrl + {workdir}\Windows_Tweaker_5.2-Setup.exe + true + false + + 2014-08-21T22:36:01.2885409 + D:\chocolatey\_work\ + http://tweaker.blob.core.windows.net/downloads/Windows_Tweaker_{version}-Setup.exe + windows-tweaker + + \ No newline at end of file