Jump to content
Ketarin forum

shawn

Moderators
  • Posts

    1,145
  • Joined

  • Last visited

1 Follower

About shawn

Profile Information

  • Gender
    Male

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

shawn's Achievements

  1. I wonder if the problem might be something else. I finally read the actual error message (my German is not great) and it looks like it's actually failing to extract an icon from the downloaded file. Since there's no drive letter in your download path, and the call is calling a resource from the Windows drive and not the USB drive, I suspect this might be the cause. Please change the download paths to use either the explicit drive letter (d:\) or {root}. {root} will be automatically replaced by the drive letter that Ketarin is running on, so it should have the same effect while downloading but the Icon extraction and other path-related commands will have the drive letter in addition to the path, and it'll be more portable, just in case it's a USB drive. That is, change this: \Software\Windows10_Starterkit\7-Zip_{version}_{date_HP}\ To this: {root}Software\Windows10_Starterkit\7-Zip_{version}_{date_HP}\ And please let me know if that solves it for you.
  2. Please run a chkdsk, just to be sure. There might be another security product that's interfering even though it's not an antivirus, like MBAM. Deactivating Windows Defender/Security doesn't necessarily disable all features. Turn it back on then open the settings and go to Virus Protection, Manage ransomware protection, then turn off Controlled Folder Access. Then (and this is important!) close and reopen Ketarin and try again.
  3. The Everything apps are both written well and should work fine. I wouldn't recommend installing both the 32-bit and 64-bit versions on a device though. Have you tried these one by one to see if it's an issue specific to a given application? Have you watched the log as it's running to see if there's an error that may account for the issue? (CTRL+L) Have you checked the removable drive to make sure that it's not an issue with the filesystem? ("chkdsk N: /f /r /x" from an elevated prompt where N: is the drive letter) Is your antivirus/security software configured to intercept or whitelist applications on the removable drive? Note that the recent changes in default behavior to Windows Defender will prevent applications from running from untrusted locations (like USB) unless you either turn off Ransomware Protection or whitelist the location. Have you checked your antivirus logs?
  4. Can you please tell us which version of Ketarin you're using? This app doesn't have anything in the setup instructions, so if it's having problems it would happen regardless of whether it were downloaded or installed. <SetupInstructions /> I use variables in literally every path, so it's not that. If you want to use the install capability then the setup instructions should be something like: "{file}" /S As for the error, I suspect it's due to the collection of date_HP as an ISO8601 date (yyyy-MM-dd) then passing it through two unnecessary functions to reformat it - dateDigitsOnly via multireplace first to remove the names and serifs from the days, then dateLeadingZero via regexreplace to unnecessarily insert a leading zero - so that releasedate will be able to be formatted...as an ISO8601 date. Remove dateDigitsOnly, dateLeadingZero and releasedate and use this for your save in folder path: \Software\Windows10_Starterkit\7-Zip_{version}_{date_HP}\
  5. Hi, @Gerontius. What version of Ketarin are you using? The other thread you were commenting on is almost ten years old. Which app are you having problems with? Select it in the main Ketarin interface, press CTRL+C to copy the App structure, then paste it here in a code block. This will let us review it to see what's happening.
  6. I updated all my Github apps back when I created this thread and just now had to create a couple more. The list below are sample Github variables. This relies on Kuppet (though it might not always be necessary). The {version}, {sdownloadsource} and {sdownloadstub} each use "content from url (regex)". The other two use "textual content". {version} variable: url: https://github.com/VirusTotal/yara/releases/latest pattern: releases/tags?/v?([\d\.]+) {sdownloadsource} variable: url: https://github.com/VirusTotal/yara/releases/latest pattern: "([^'"\s]+expanded_assets[^'"\s]+)" {sdownloadstub} variable: url: {>}{sdownloadsource} pattern: (/[^'"]+download/v{version}[^'"]+.zip) {sdownload} variable: text: https://github.com{sdownloadstub} {schangelog} variable: text: https://github.com/VirusTotal/yara/releases/latest The {sdownloadstub} is the actual file pattern pulled from the new expanded_assets path. While this pattern will work for some, you'll need to update it for most apps.
  7. This is one of the reasons the forum exists. I have working Acrobat Reader DC apps that don't rely on anything special outside of Ketarin. When a site like Adobe changes their paths or exposed folders it just takes a little time to fix your app. For sites that use script-rendering the Kuppet tool has been an amazing workaround while keeping 99% of the effort within Ketarin and not exposing your scripts or activity to a third party like Google unnecessarily. Once configured (granted, that takes a little effort) it works with only three characters ({>}) added to new or fixed apps.
  8. I find that with Kuppet it's more likely to be a system setting causing problems than the apps. The apps are almost identical to any other, with the only Kuppet difference being the "{>}" added to the beginning of the URLs you want processed by Kuppet. I dont have any apps using softpedia but here's one that I use Kuppet for that also has the advanced delay option. <?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="0baea9b7-6cb5-4b80-956c-31a42688a730"> <Category>Tools</Category> <WebsiteUrl /> <UserAgent /> <UserNotes /> <LastFileSize>33799</LastFileSize> <LastFileDate>2022-04-19T12:52:44.9008899</LastFileDate> <IgnoreFileInformation>false</IgnoreFileInformation> <DownloadBeta>Default</DownloadBeta> <DownloadDate xsi:nil="true" /> <CheckForUpdatesOnly>false</CheckForUpdatesOnly> <VariableChangeIndicator>version</VariableChangeIndicator> <HashVariable /> <HashType>None</HashType> <CanBeShared>true</CanBeShared> <ShareApplication>false</ShareApplication> <ExclusiveDownload>true</ExclusiveDownload> <HttpReferer /> <SetupInstructions /> <Variables> <item> <key> <string>schangelog</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <TextualContent>https://kolbi.cz/blog/2017/11/10/setdefaultbrowser-set-the-default-browser-per-user-on-windows-10-and-server-2016-build-1607/</TextualContent> <Name>schangelog</Name> </UrlVariable> </value> </item> <item> <key> <string>swebsite</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <TextualContent>https://kolbi.cz/blog/2017/11/10/setdefaultbrowser-set-the-default-browser-per-user-on-windows-10-and-server-2016-build-1607/</TextualContent> <Name>swebsite</Name> </UrlVariable> </value> </item> <item> <key> <string>snotes</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <TextualContent>Version can not be accurately determined due to server-side blocking</TextualContent> <Name>snotes</Name> </UrlVariable> </value> </item> <item> <key> <string>spc</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <TextualContent>SetDefaultBrowser</TextualContent> <Name>spc</Name> </UrlVariable> </value> </item> <item> <key> <string>sdownload</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <TextualContent>https://kolbi.cz/SetDefaultBrowser.zip</TextualContent> <Name>sdownload</Name> </UrlVariable> </value> </item> <item> <key> <string>splatform</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <TextualContent>windows</TextualContent> <Name>splatform</Name> </UrlVariable> </value> </item> <item> <key> <string>sbits</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <TextualContent /> <Name>sbits</Name> </UrlVariable> </value> </item> <item> <key> <string>versionstub</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>Version ([\d\.]+) </Regex> <PostData>redirection-delay=45</PostData> <Url>{&gt;}https://kolbi.cz/blog/2017/11/10/setdefaultbrowser-set-the-default-browser-per-user-on-windows-10-and-server-2016-build-1607/</Url> <TextualContent>{f:yyyy}{f:MM}{f:dd}</TextualContent> <Name>versionstub</Name> </UrlVariable> </value> </item> <item> <key> <string>LastUpdate</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <TextualContent>Get-Date -UFormat %Y%m%dT%H%M</TextualContent> <Name>LastUpdate</Name> </UrlVariable> </value> </item> <item> <key> <string>svendor</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <TextualContent>Christoph Kolbicz</TextualContent> <Name>svendor</Name> </UrlVariable> </value> </item> <item> <key> <string>LastVersion</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <TextualContent>1.5.0</TextualContent> <Name>LastVersion</Name> </UrlVariable> </value> </item> <item> <key> <string>versionshort</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <TextualContent>{versionstub}.0.0</TextualContent> <Name>versionshort</Name> </UrlVariable> </value> </item> <item> <key> <string>version</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <TextualContent>{versionshort:split:.:0}.{versionshort:split:.:1}.{versionshort:split:.:2}</TextualContent> <Name>version</Name> </UrlVariable> </value> </item> </Variables> <ExecuteCommand /> <ExecutePreCommand>if "{version}"==".0.0" exit 1</ExecutePreCommand> <ExecuteCommandType>Batch</ExecuteCommandType> <ExecutePreCommandType>Batch</ExecutePreCommandType> <SourceType>FixedUrl</SourceType> <PreviousLocation>K:\_Ketarin\Ketarin\..\Tools\SetDefaultBrowser-1.5.0.zip</PreviousLocation> <DeletePreviousFile>true</DeletePreviousFile> <Enabled>true</Enabled> <FileHippoId /> <LastUpdated>2022-04-19T12:52:44.9008899</LastUpdated> <TargetPath>..\{category}\{appname:regexreplace:([\s\t\r\n\-\&amp;]+):_}-{version}.{url:ext}</TargetPath> <FixedDownloadUrl>{sdownload}</FixedDownloadUrl> <Name>SetDefaultBrowser</Name> </ApplicationJob> </Jobs> Looks at the "versionstub" variable for how the advanced redirection-delay works (via post-data). If you have the global variables created correctly then you should have a "run_kuppet" variable and a ">" variable. The ">" just tests to make sure that kuppet is running then passes the URL to the actual Kuppet service running on whatever post you assigned in the "run_kuppet" variable. The "run_kuppet" variable tests for the process (PS) then STARTs the program with optional path and settings. If you changed the port on either it needs to be changed on both. If you didn't put kuppet.exe directly into the BIN folder beside ketarin.exe then you'll need to change the path. If you're using other advanced options (like changing the timeout) then it's important in the "run_kuppet" variable that parameters (port then timeout) be quoted together in the START command ("bin\kuppet.exe" "port timeout"). When I was first setting it up it was much easier to launch kuppet manually from a powershell prompt set to the path of the ketarin.exe file. This helps you ensure that you're using the correct path values in the START command. It also lets you see any errors and the debugging information if you have that enabled in the configuration file. Please post your ">" and "run_kuppet" values and the full system paths for both kuppet.exe and ketarin.exe. We'll help you get it sorted.
  9. It's definitely not dead, @jokerfool. @floele has not been as active but that's only because it's a mature project. Are there specific issues you're having that can't be addressed by the current version or the current beta version?
  10. I've been reviewing and updating all 102 of my github-sourced apps and every single one of the first 20 suffer from the include-fragment change. Worse yet, many of them are incapable of opening the fragment URL directly - but work when using Kuppet. This is going to be a long night.
  11. Good evening folks! If you have apps from Github you'll notice that many are not parsing anymore the last few days. This is because many apps on Github are now using a bleeding edge feature, "include-fragment", which will collect the contents of another URL and inject it into the body of the generated page, effectively creating a client-side include. In all the apps I've tested (only about a dozen right now) the downloads are being pulled from a subfolder of "/releases/" called "/expanded_assets/" with either release or tag and the release or tag name. If you're having problems with a Github download, I'd recommend a two-step download using /latest then collecting the /expanded_assets/ address then collect the download address from that as you normally would.
  12. The other two (inconsistent) sources are https://helpx.adobe.com/acrobat/release-note/release-notes-acrobat-reader.html with: DC[^'"()]+?\(([\d\.]+x?)\).+?>Continuous And this is the other one (two-stage) - URL: (https://www.adobe.com/devnet-docs/acrobatetk/tools/ReleaseNotesDC/continuous/[^'"]+)"[^<>]+>DC[^'"()]+?\(([\d\.]+x?)\).+?>Continuous Version: ([\d\.]+) \(Win
  13. Since there are two different potential sources of a version number in the changelogs for Adobe Reader now I figured I would try parsing the SCUP catalog values instead, since it's only one value and it'll always be accurate. I was hoping I could pass a parameter to the :ps function (like {myscript:ps:myparam}) but that didn't work, so I had to split it up into several scripts. That's fine, but for some reason it's still not actually consuming the last line of the ps script as I expect it to. Here's the app: <?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="8ecc9087-14ca-420b-9a85-21e99102f5cf"> <Category>Viewers</Category> <WebsiteUrl>https://get.adobe.com/reader</WebsiteUrl> <UserAgent>{chrome}</UserAgent> <UserNotes /> <LastFileSize>312086528</LastFileSize> <LastFileDate>2022-08-10T21:37:40.503689</LastFileDate> <IgnoreFileInformation>false</IgnoreFileInformation> <DownloadBeta>Avoid</DownloadBeta> <DownloadDate>2008-11-22T23:07:01</DownloadDate> <CheckForUpdatesOnly>false</CheckForUpdatesOnly> <VariableChangeIndicator>version</VariableChangeIndicator> <HashVariable /> <HashType>None</HashType> <CanBeShared>true</CanBeShared> <ShareApplication>false</ShareApplication> <ExclusiveDownload>true</ExclusiveDownload> <HttpReferer /> <SetupInstructions /> <Variables> <item> <key> <string>schangelog</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <TextualContent>{schangelogps:ps}</TextualContent> <Name>schangelog</Name> </UrlVariable> </value> </item> <item> <key> <string>swebsite</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <TextualContent>https://get.adobe.com/reader</TextualContent> <Name>swebsite</Name> </UrlVariable> </value> </item> <item> <key> <string>snotes</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <TextualContent /> <Name>snotes</Name> </UrlVariable> </value> </item> <item> <key> <string>spc</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <TextualContent>readerpatch</TextualContent> <Name>spc</Name> </UrlVariable> </value> </item> <item> <key> <string>sdownload</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <TextualContent>{sdownloadps:ps}</TextualContent> <Name>sdownload</Name> </UrlVariable> </value> </item> <item> <key> <string>LastUpdate</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <TextualContent>20220810T2137</TextualContent> <Name>LastUpdate</Name> </UrlVariable> </value> </item> <item> <key> <string>sbits</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <TextualContent>64</TextualContent> <Name>sbits</Name> </UrlVariable> </value> </item> <item> <key> <string>splatform</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <TextualContent>windows</TextualContent> <Name>splatform</Name> </UrlVariable> </value> </item> <item> <key> <string>svendor</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <TextualContent>Adobe</TextualContent> <Name>svendor</Name> </UrlVariable> </value> </item> <item> <key> <string>LastVersion</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <TextualContent>22.002.20191</TextualContent> <Name>LastVersion</Name> </UrlVariable> </value> </item> <item> <key> <string>version</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <TextualContent>{versionps:ps}</TextualContent> <Name>version</Name> </UrlVariable> </value> </item> <item> <key> <string>versionps</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <TextualContent>wget.exe --directory-prefix="c:\downloads\" --timestamping "https://armmf.adobe.com/arm-manifests/win/SCUP/ReaderCatalog-DC.cab" 7z.exe e -y -o"c:\downloads" c:\downloads\ReaderCatalog-DC.cab sleep -s 2; [xml]$xml = get-content "c:\downloads\Reader_Catalog.xml"; $title = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-1].LocalizedProperties.Title; if ($title.indexOf("x64") -gt 0){ $url = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-1].InstallableItem.originfile.OriginUri; $version = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-1].InstallableItem.ApplicabilityRules.Metadata.MsiPatchMetadata.MsiPatch.TargetProduct.UpdatedVersion; $changelog = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-1].Properties.MoreInfoUrl; }else{ $title = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-2].LocalizedProperties.Title; $url = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-2].InstallableItem.originfile.OriginUri; $version = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-2].InstallableItem.ApplicabilityRules.Metadata.MsiPatchMetadata.MsiPatch.TargetProduct.UpdatedVersion; $changelog = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-2].Properties.MoreInfoUrl; } echo $version;</TextualContent> <Name>versionps</Name> </UrlVariable> </value> </item> <item> <key> <string>schangelogps</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <TextualContent>wget.exe --directory-prefix="c:\downloads\" --timestamping "https://armmf.adobe.com/arm-manifests/win/SCUP/ReaderCatalog-DC.cab" 7z.exe e -y -o"c:\downloads" c:\downloads\ReaderCatalog-DC.cab sleep -s 2; [xml]$xml = get-content "c:\downloads\Reader_Catalog.xml"; $title = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-1].LocalizedProperties.Title; if ($title.indexOf("x64") -gt 0){ $url = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-1].InstallableItem.originfile.OriginUri; $version = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-1].InstallableItem.ApplicabilityRules.Metadata.MsiPatchMetadata.MsiPatch.TargetProduct.UpdatedVersion; $changelog = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-1].Properties.MoreInfoUrl; }else{ $title = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-2].LocalizedProperties.Title; $url = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-2].InstallableItem.originfile.OriginUri; $version = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-2].InstallableItem.ApplicabilityRules.Metadata.MsiPatchMetadata.MsiPatch.TargetProduct.UpdatedVersion; $changelog = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-2].Properties.MoreInfoUrl; } echo $changelog;</TextualContent> <Name>schangelogps</Name> </UrlVariable> </value> </item> <item> <key> <string>sdownloadps</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <TextualContent>wget.exe --directory-prefix="c:\downloads\" --timestamping "https://armmf.adobe.com/arm-manifests/win/SCUP/ReaderCatalog-DC.cab" 7z.exe e -y -o"c:\downloads" c:\downloads\ReaderCatalog-DC.cab sleep -s 2; [xml]$xml = get-content "c:\downloads\Reader_Catalog.xml"; $title = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-1].LocalizedProperties.Title; if ($title.indexOf("x64") -gt 0){ $url = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-1].InstallableItem.originfile.OriginUri; $version = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-1].InstallableItem.ApplicabilityRules.Metadata.MsiPatchMetadata.MsiPatch.TargetProduct.UpdatedVersion; $changelog = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-1].Properties.MoreInfoUrl; }else{ $title = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-2].LocalizedProperties.Title; $url = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-2].InstallableItem.originfile.OriginUri; $version = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-2].InstallableItem.ApplicabilityRules.Metadata.MsiPatchMetadata.MsiPatch.TargetProduct.UpdatedVersion; $changelog = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-2].Properties.MoreInfoUrl; } echo $url;</TextualContent> <Name>sdownloadps</Name> </UrlVariable> </value> </item> </Variables> <ExecuteCommand /> <ExecutePreCommand /> <ExecuteCommandType>Batch</ExecuteCommandType> <ExecutePreCommandType>Batch</ExecutePreCommandType> <SourceType>FixedUrl</SourceType> <DeletePreviousFile>true</DeletePreviousFile> <Enabled>true</Enabled> <FileHippoId /> <LastUpdated>2022-08-10T21:37:40.503689</LastUpdated> <TargetPath>..\{category}\{appname:regexreplace:([\s\t\r\n\-\&amp;]+):_}-{version}.{url:ext}</TargetPath> <FixedDownloadUrl>{sdownload}</FixedDownloadUrl> <Name>__Adobe Reader DC Patch (test x64)</Name> </ApplicationJob> </Jobs> The powershell (below) works in a powershell window and you can see that it is consuming them correctly in the log below. Here's the powershell script for the version parser: wget.exe --directory-prefix="c:\downloads\" --timestamping "https://armmf.adobe.com/arm-manifests/win/SCUP/ReaderCatalog-DC.cab" 7z.exe e -y -o"c:\downloads" c:\downloads\ReaderCatalog-DC.cab sleep -s 2; [xml]$xml = get-content "c:\downloads\Reader_Catalog.xml"; $title = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-1].LocalizedProperties.Title; if ($title.indexOf("x64") -gt 0){ $url = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-1].InstallableItem.originfile.OriginUri; $version = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-1].InstallableItem.ApplicabilityRules.Metadata.MsiPatchMetadata.MsiPatch.TargetProduct.UpdatedVersion; $changelog = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-1].Properties.MoreInfoUrl; }else{ $title = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-2].LocalizedProperties.Title; $url = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-2].InstallableItem.originfile.OriginUri; $version = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-2].InstallableItem.ApplicabilityRules.Metadata.MsiPatchMetadata.MsiPatch.TargetProduct.UpdatedVersion; $changelog = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-2].Properties.MoreInfoUrl; } echo $version; Here's the log: 2022-08-16 22:49:21: Update started with 1 application(s) 2022-08-16 22:49:21: __Adobe Reader DC Patch (test x64): Replacing {sdownloadps} in '{sdownloadps:ps}' with 'wget.exe --directory-prefix="c:\downloads\" --timestamping "https://armmf.adobe.com/arm-manifests/win/SCUP/ReaderCatalog-DC.cab" 7z.exe e -y -o"c:\downloads" c:\downloads\ReaderCatalog-DC.cab sleep -s 2; [xml]$xml = get-content "c:\downloads\Reader_Catalog.xml"; $title = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-1].LocalizedProperties.Title; if ($title.indexOf("x64") > 0){ $url = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-1].InstallableItem.originfile.OriginUri; $version = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-1].InstallableItem.ApplicabilityRules.Metadata.MsiPatchMetadata.MsiPatch.TargetProduct.UpdatedVersion; $changelog = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-1].Properties.MoreInfoUrl; }else{ $title = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-2].LocalizedProperties.Title; $url = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-2].InstallableItem.originfile.OriginUri; $version = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-2].InstallableItem.ApplicabilityRules.Metadata.MsiPatchMetadata.MsiPatch.TargetProduct.UpdatedVersion; $changelog = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-2].Properties.MoreInfoUrl; } echo $url;' 2022-08-16 22:49:24: PowerShell: 2022-08-16 22:49:24: PowerShell: 7-Zip (a) 22.01 (x86) : Copyright (c) 1999-2022 Igor Pavlov : 2022-07-15 2022-08-16 22:49:24: PowerShell: 2022-08-16 22:49:24: PowerShell: Scanning the drive for archives: 2022-08-16 22:49:24: PowerShell: 1 file, 96074 bytes (94 KiB) 2022-08-16 22:49:24: PowerShell: 2022-08-16 22:49:24: PowerShell: Extracting archive: c:\downloads\ReaderCatalog-DC.cab 2022-08-16 22:49:24: PowerShell: 2022-08-16 22:49:24: PowerShell: WARNINGS: 2022-08-16 22:49:24: PowerShell: There are data after the end of archive 2022-08-16 22:49:24: PowerShell: 2022-08-16 22:49:24: PowerShell: -- 2022-08-16 22:49:24: PowerShell: Path = c:\downloads\ReaderCatalog-DC.cab 2022-08-16 22:49:24: PowerShell: Type = Cab 2022-08-16 22:49:24: PowerShell: WARNINGS: 2022-08-16 22:49:24: PowerShell: There are data after the end of archive 2022-08-16 22:49:24: PowerShell: Physical Size = 86082 2022-08-16 22:49:24: PowerShell: Tail Size = 9992 2022-08-16 22:49:24: PowerShell: Method = MSZip 2022-08-16 22:49:24: PowerShell: Blocks = 1 2022-08-16 22:49:24: PowerShell: Volumes = 1 2022-08-16 22:49:24: PowerShell: Volume Index = 0 2022-08-16 22:49:24: PowerShell: ID = 0 2022-08-16 22:49:24: PowerShell: 2022-08-16 22:49:24: PowerShell: Everything is Ok 2022-08-16 22:49:24: PowerShell: 2022-08-16 22:49:24: PowerShell: Archives with Warnings: 1 2022-08-16 22:49:24: PowerShell: 2022-08-16 22:49:24: PowerShell: Warnings: 1 2022-08-16 22:49:24: PowerShell: Size: 2581238 2022-08-16 22:49:24: PowerShell: Compressed: 96074 2022-08-16 22:49:24: PowerShell: https://ardownload3.adobe.com/pub/adobe/reader/win/AcrobatDC/2200220191/AcroRdrDCUpd2200220191_MUI.msp 2022-08-16 22:49:24: __Adobe Reader DC Patch (test x64): Replacing {sdownload} in '{sdownload}' with '' 2022-08-16 22:49:24: __Adobe Reader DC Patch (test x64): Checking if update is required... 2022-08-16 22:49:24: __Adobe Reader DC Patch (test x64): Replacing {versionps} in '{versionps:ps}' with 'wget.exe --directory-prefix="c:\downloads\" --timestamping "https://armmf.adobe.com/arm-manifests/win/SCUP/ReaderCatalog-DC.cab" 7z.exe e -y -o"c:\downloads" c:\downloads\ReaderCatalog-DC.cab sleep -s 2; [xml]$xml = get-content "c:\downloads\Reader_Catalog.xml"; $title = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-1].LocalizedProperties.Title; if ($title.indexOf("x64") > 0){ $url = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-1].InstallableItem.originfile.OriginUri; $version = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-1].InstallableItem.ApplicabilityRules.Metadata.MsiPatchMetadata.MsiPatch.TargetProduct.UpdatedVersion; $changelog = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-1].Properties.MoreInfoUrl; }else{ $title = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-2].LocalizedProperties.Title; $url = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-2].InstallableItem.originfile.OriginUri; $version = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-2].InstallableItem.ApplicabilityRules.Metadata.MsiPatchMetadata.MsiPatch.TargetProduct.UpdatedVersion; $changelog = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-2].Properties.MoreInfoUrl; } echo $version;' 2022-08-16 22:49:26: PowerShell: 2022-08-16 22:49:26: PowerShell: 7-Zip (a) 22.01 (x86) : Copyright (c) 1999-2022 Igor Pavlov : 2022-07-15 2022-08-16 22:49:26: PowerShell: 2022-08-16 22:49:26: PowerShell: Scanning the drive for archives: 2022-08-16 22:49:26: PowerShell: 1 file, 96074 bytes (94 KiB) 2022-08-16 22:49:26: PowerShell: 2022-08-16 22:49:26: PowerShell: Extracting archive: c:\downloads\ReaderCatalog-DC.cab 2022-08-16 22:49:26: PowerShell: 2022-08-16 22:49:26: PowerShell: WARNINGS: 2022-08-16 22:49:26: PowerShell: There are data after the end of archive 2022-08-16 22:49:26: PowerShell: 2022-08-16 22:49:26: PowerShell: -- 2022-08-16 22:49:26: PowerShell: Path = c:\downloads\ReaderCatalog-DC.cab 2022-08-16 22:49:26: PowerShell: Type = Cab 2022-08-16 22:49:26: PowerShell: WARNINGS: 2022-08-16 22:49:26: PowerShell: There are data after the end of archive 2022-08-16 22:49:26: PowerShell: Physical Size = 86082 2022-08-16 22:49:26: PowerShell: Tail Size = 9992 2022-08-16 22:49:26: PowerShell: Method = MSZip 2022-08-16 22:49:26: PowerShell: Blocks = 1 2022-08-16 22:49:26: PowerShell: Volumes = 1 2022-08-16 22:49:26: PowerShell: Volume Index = 0 2022-08-16 22:49:26: PowerShell: ID = 0 2022-08-16 22:49:26: PowerShell: 2022-08-16 22:49:26: PowerShell: Everything is Ok 2022-08-16 22:49:26: PowerShell: 2022-08-16 22:49:26: PowerShell: Archives with Warnings: 1 2022-08-16 22:49:26: PowerShell: 2022-08-16 22:49:26: PowerShell: Warnings: 1 2022-08-16 22:49:26: PowerShell: Size: 2581238 2022-08-16 22:49:26: PowerShell: Compressed: 96074 2022-08-16 22:49:26: PowerShell: 22.002.20191 2022-08-16 22:49:26: __Adobe Reader DC Patch (test x64): Replacing {version} in '{version}' with '' 2022-08-16 22:49:26: __Adobe Reader DC Patch (test x64): Update not required, {version} has not changed 2022-08-16 22:49:26: __Adobe Reader DC Patch (test x64): Replacing {versionps} in '{versionps:ps}' with 'wget.exe --directory-prefix="c:\downloads\" --timestamping "https://armmf.adobe.com/arm-manifests/win/SCUP/ReaderCatalog-DC.cab" 7z.exe e -y -o"c:\downloads" c:\downloads\ReaderCatalog-DC.cab sleep -s 2; [xml]$xml = get-content "c:\downloads\Reader_Catalog.xml"; $title = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-1].LocalizedProperties.Title; if ($title.indexOf("x64") > 0){ $url = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-1].InstallableItem.originfile.OriginUri; $version = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-1].InstallableItem.ApplicabilityRules.Metadata.MsiPatchMetadata.MsiPatch.TargetProduct.UpdatedVersion; $changelog = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-1].Properties.MoreInfoUrl; }else{ $title = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-2].LocalizedProperties.Title; $url = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-2].InstallableItem.originfile.OriginUri; $version = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-2].InstallableItem.ApplicabilityRules.Metadata.MsiPatchMetadata.MsiPatch.TargetProduct.UpdatedVersion; $changelog = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-2].Properties.MoreInfoUrl; } echo $version;' 2022-08-16 22:49:29: PowerShell: 2022-08-16 22:49:29: PowerShell: 7-Zip (a) 22.01 (x86) : Copyright (c) 1999-2022 Igor Pavlov : 2022-07-15 2022-08-16 22:49:29: PowerShell: 2022-08-16 22:49:29: PowerShell: Scanning the drive for archives: 2022-08-16 22:49:29: PowerShell: 1 file, 96074 bytes (94 KiB) 2022-08-16 22:49:29: PowerShell: 2022-08-16 22:49:29: PowerShell: Extracting archive: c:\downloads\ReaderCatalog-DC.cab 2022-08-16 22:49:29: PowerShell: 2022-08-16 22:49:29: PowerShell: WARNINGS: 2022-08-16 22:49:29: PowerShell: There are data after the end of archive 2022-08-16 22:49:29: PowerShell: 2022-08-16 22:49:29: PowerShell: -- 2022-08-16 22:49:29: PowerShell: Path = c:\downloads\ReaderCatalog-DC.cab 2022-08-16 22:49:29: PowerShell: Type = Cab 2022-08-16 22:49:29: PowerShell: WARNINGS: 2022-08-16 22:49:29: PowerShell: There are data after the end of archive 2022-08-16 22:49:29: PowerShell: Physical Size = 86082 2022-08-16 22:49:29: PowerShell: Tail Size = 9992 2022-08-16 22:49:29: PowerShell: Method = MSZip 2022-08-16 22:49:29: PowerShell: Blocks = 1 2022-08-16 22:49:29: PowerShell: Volumes = 1 2022-08-16 22:49:29: PowerShell: Volume Index = 0 2022-08-16 22:49:29: PowerShell: ID = 0 2022-08-16 22:49:29: PowerShell: 2022-08-16 22:49:29: PowerShell: Everything is Ok 2022-08-16 22:49:29: PowerShell: 2022-08-16 22:49:29: PowerShell: Archives with Warnings: 1 2022-08-16 22:49:29: PowerShell: 2022-08-16 22:49:29: PowerShell: Warnings: 1 2022-08-16 22:49:29: PowerShell: Size: 2581238 2022-08-16 22:49:29: PowerShell: Compressed: 96074 2022-08-16 22:49:29: PowerShell: 22.002.20191 2022-08-16 22:49:29: __Adobe Reader DC Patch (test x64): Replacing {version} in '{version}' with '' 2022-08-16 22:49:29: __Adobe Reader DC Patch (test x64): Replacing {spc} in '{spc}' with 'readerpatch' 2022-08-16 22:49:29: __Adobe Reader DC Patch (test x64): Replacing {sdownloadps} in '{sdownloadps:ps}' with 'wget.exe --directory-prefix="c:\downloads\" --timestamping "https://armmf.adobe.com/arm-manifests/win/SCUP/ReaderCatalog-DC.cab" 7z.exe e -y -o"c:\downloads" c:\downloads\ReaderCatalog-DC.cab sleep -s 2; [xml]$xml = get-content "c:\downloads\Reader_Catalog.xml"; $title = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-1].LocalizedProperties.Title; if ($title.indexOf("x64") > 0){ $url = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-1].InstallableItem.originfile.OriginUri; $version = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-1].InstallableItem.ApplicabilityRules.Metadata.MsiPatchMetadata.MsiPatch.TargetProduct.UpdatedVersion; $changelog = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-1].Properties.MoreInfoUrl; }else{ $title = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-2].LocalizedProperties.Title; $url = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-2].InstallableItem.originfile.OriginUri; $version = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-2].InstallableItem.ApplicabilityRules.Metadata.MsiPatchMetadata.MsiPatch.TargetProduct.UpdatedVersion; $changelog = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-2].Properties.MoreInfoUrl; } echo $url;' 2022-08-16 22:49:31: PowerShell: 2022-08-16 22:49:31: PowerShell: 7-Zip (a) 22.01 (x86) : Copyright (c) 1999-2022 Igor Pavlov : 2022-07-15 2022-08-16 22:49:31: PowerShell: 2022-08-16 22:49:31: PowerShell: Scanning the drive for archives: 2022-08-16 22:49:31: PowerShell: 1 file, 96074 bytes (94 KiB) 2022-08-16 22:49:31: PowerShell: 2022-08-16 22:49:31: PowerShell: Extracting archive: c:\downloads\ReaderCatalog-DC.cab 2022-08-16 22:49:31: PowerShell: 2022-08-16 22:49:31: PowerShell: WARNINGS: 2022-08-16 22:49:31: PowerShell: There are data after the end of archive 2022-08-16 22:49:31: PowerShell: 2022-08-16 22:49:31: PowerShell: -- 2022-08-16 22:49:31: PowerShell: Path = c:\downloads\ReaderCatalog-DC.cab 2022-08-16 22:49:31: PowerShell: Type = Cab 2022-08-16 22:49:31: PowerShell: WARNINGS: 2022-08-16 22:49:31: PowerShell: There are data after the end of archive 2022-08-16 22:49:31: PowerShell: Physical Size = 86082 2022-08-16 22:49:31: PowerShell: Tail Size = 9992 2022-08-16 22:49:31: PowerShell: Method = MSZip 2022-08-16 22:49:31: PowerShell: Blocks = 1 2022-08-16 22:49:31: PowerShell: Volumes = 1 2022-08-16 22:49:31: PowerShell: Volume Index = 0 2022-08-16 22:49:31: PowerShell: ID = 0 2022-08-16 22:49:31: PowerShell: 2022-08-16 22:49:31: PowerShell: Everything is Ok 2022-08-16 22:49:31: PowerShell: 2022-08-16 22:49:31: PowerShell: Archives with Warnings: 1 2022-08-16 22:49:31: PowerShell: 2022-08-16 22:49:31: PowerShell: Warnings: 1 2022-08-16 22:49:31: PowerShell: Size: 2581238 2022-08-16 22:49:31: PowerShell: Compressed: 96074 2022-08-16 22:49:31: PowerShell: https://ardownload3.adobe.com/pub/adobe/reader/win/AcrobatDC/2200220191/AcroRdrDCUpd2200220191_MUI.msp 2022-08-16 22:49:31: __Adobe Reader DC Patch (test x64): Replacing {sdownload} in '{sdownload}' with '' 2022-08-16 22:49:31: __Adobe Reader DC Patch (test x64): Replacing {LastUpdate} in '{LastUpdate}' with '20220810T2137' 2022-08-16 22:49:31: __Adobe Reader DC Patch (test x64): Replacing {sbits} in '{sbits}' with '64' 2022-08-16 22:49:31: __Adobe Reader DC Patch (test x64): Replacing {splatform} in '{splatform}' with 'windows' 2022-08-16 22:49:31: __Adobe Reader DC Patch (test x64): Replacing {LastVersion} in '{LastVersion}' with '22.002.20191' 2022-08-16 22:49:31: Update finished I'm sure I'm missing something obvious, but I'm just not seeing the bug. Any thoughts?
  14. I updated the Chrome & Firefox post-update commands so they use the newer user-agent string formats.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.