Jump to content
Ketarin forum

Kacey

Members
  • Content Count

    8
  • Joined

  • Last visited

  1. @necrox, thank you so much, that helped tons!
  2. I just had another program with a redirect that I can't get working: MKVToolNix (hosted on FossHub): When I do a Check for Update, I get the error: Here's my XML for it so far: <?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="4eb194ef-022c-4f26-9f6e-c65f1d7f8632"> <WebsiteUrl>https://www.fosshub.com/MKVToolNix.html</WebsiteUrl> <UserAgent>{UserAgent-64}</UserAgent> <UserNotes /> <LastFileSize>63148828</LastFileSize> <LastFileDate>2019-07-24T02:27:37.493154</LastFileDate> <IgnoreFileInformation>true</IgnoreFileInformation> <DownloadBeta>Avoid</DownloadBeta> <DownloadDate xsi:nil="true" /> <CheckForUpdatesOnly>false</CheckForUpdatesOnly> <VariableChangeIndicator>version</VariableChangeIndicator> <HashVariable /> <HashType>None</HashType> <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://www.fosshub.com/MKVToolNix.html</Url> <StartText>&lt;dd itemprop="softwareVersion"&gt;</StartText> <EndText>&lt;/dd&gt;</EndText> <Name>version</Name> </UrlVariable> </value> </item> </Variables> <ExecuteCommand>7z x -y -mmt "{file}" -r -o"{startuppath}{category}" rmdir /Q /S "{startuppath}{category}\{appname}\doc\ca" rmdir /Q /S "{startuppath}{category}\{appname}\doc\de" rmdir /Q /S "{startuppath}{category}\{appname}\doc\es" rmdir /Q /S "{startuppath}{category}\{appname}\doc\ja" rmdir /Q /S "{startuppath}{category}\{appname}\doc\ko" rmdir /Q /S "{startuppath}{category}\{appname}\doc\licenses" rmdir /Q /S "{startuppath}{category}\{appname}\doc\nl" rmdir /Q /S "{startuppath}{category}\{appname}\doc\pl" rmdir /Q /S "{startuppath}{category}\{appname}\doc\uk" rmdir /Q /S "{startuppath}{category}\{appname}\doc\zh_CN" del "{startuppath}{category}\{appname}\doc\copying.txt" del "{startuppath}{category}\{appname}\doc\news.txt" del "{startuppath}{category}\{appname}\doc\readme.txt" copy "{startuppath}{category}\{appname}\locale\libqt\qt_en.qm" "{startuppath}{category}\{appname}\qt_en.qm" rmdir /Q /S "{startuppath}{category}\{appname}\locale" copy "{startuppath}{category}\{appname}\qt_en.qm" "{startuppath}{category}\{appname}\locale\libqt\qt_en.qm" del "{startuppath}{category}\{appname}\qt_en.qm" del /q /f "{file}"</ExecuteCommand> <ExecutePreCommand /> <ExecuteCommandType>Batch</ExecuteCommandType> <ExecutePreCommandType>Batch</ExecutePreCommandType> <Category>Video Utilities</Category> <SourceType>FixedUrl</SourceType> <DeletePreviousFile>true</DeletePreviousFile> <Enabled>true</Enabled> <FileHippoId /> <LastUpdated>2019-07-24T02:27:37.493154</LastUpdated> <TargetPath>{startuppath}{category}\{appname}\</TargetPath> <FixedDownloadUrl>https://www.fosshub.com/MKVToolNix.html?dwl=mkvtoolnix-64-bit-{version}.7z</FixedDownloadUrl> <Name>MKVToolnix</Name> </ApplicationJob> </Jobs>
  3. That part confuses me a bit, lol. When you 'check for update', if it's not doing any sort of comparison with what's already there, how does it 'know' that there's actually an 'update' available?
  4. Hi @floele Ok, here's a "typical" app of mine, that I use as a sort of starting template for most others. <?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="81a1165e-c847-4e0d-90ec-ee3974eef525"> <WebsiteUrl>https://remotedesktopmanager.com/release-notes</WebsiteUrl> <UserAgent>Mozilla</UserAgent> <UserNotes /> <LastFileSize>183766297</LastFileSize> <LastFileDate>2019-07-23T22:37:09.2108018</LastFileDate> <IgnoreFileInformation>true</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>false</ExclusiveDownload> <HttpReferer /> <SetupInstructions /> <Variables> <item> <key> <string>Version</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>StartEnd</VariableType> <Regex /> <Url>https://remotedesktopmanager.com/home/download</Url> <StartText>&lt;/svg&gt;Enterprise Edition&lt;/h4&gt; &lt;p class="text-center"&gt;Version </StartText> <EndText> | </EndText> <Name>Version</Name> </UrlVariable> </value> </item> </Variables> <ExecuteCommand>7z x -y -mmt "{file}" -r -o"D:\Internet\Remote\Remote Desktop Manager" rmdir /Q /S "D:\Internet\Remote\Remote Desktop Manager\de" "D:\Internet\Remote\Remote Desktop Manager\fr" "D:\Internet\Remote\Remote Desktop Manager\it" "D:\Internet\Remote\Remote Desktop Manager\nl" "D:\Internet\Remote\Remote Desktop Manager\pl" "D:\Internet\Remote\Remote Desktop Manager\ru" "D:\Internet\Remote\Remote Desktop Manager\sv" "D:\Internet\Remote\Remote Desktop Manager\tr" "D:\Internet\Remote\Remote Desktop Manager\uk" "D:\Internet\Remote\Remote Desktop Manager\zh-CHS" "D:\Internet\Remote\Remote Desktop Manager\zh-TW" "D:\Internet\Remote\Remote Desktop Manager\OpenSource" del "D:\Internet\Remote\Remote Desktop Manager\Software License Agreement.pdf" "D:\Internet\Remote\Remote Desktop Manager\Readme.RemoteDesktopManager.htm" "D:\Internet\Remote\Remote Desktop Manager\Welcome.RemoteDesktopManager.Fr.htm" del /q /f "{file}"</ExecuteCommand> <ExecutePreCommand>del /q /f "D:\Internet\Remote\Remote Desktop Manager\*.dll" "D:\Internet\Remote\Remote Desktop Manager\*.exe" "D:\Internet\Remote\Remote Desktop Manager\*.ocx"</ExecutePreCommand> <ExecuteCommandType>Batch</ExecuteCommandType> <ExecutePreCommandType>Batch</ExecutePreCommandType> <Category>Remote</Category> <SourceType>FixedUrl</SourceType> <PreviousLocation>D:\Internet\Remote\Remote Desktop Manager\Devolutions.RemoteDesktopManager.Bin.2019.1.39.0.zip</PreviousLocation> <DeletePreviousFile>true</DeletePreviousFile> <Enabled>true</Enabled> <FileHippoId /> <LastUpdated>2019-07-23T22:37:09.2108018</LastUpdated> <TargetPath>D:\Internet\Remote\Remote Desktop Manager\</TargetPath> <FixedDownloadUrl>https://cdn.devolutions.net/download/Devolutions.RemoteDesktopManager.Bin.{Version}.zip</FixedDownloadUrl> <Name>Remote Desktop Manager</Name> </ApplicationJob> </Jobs> Here's (the first version with the download URL that has hashes in it) what I have so far for VSCode: <?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="158d8fcf-d46e-4a48-ba90-333aa1853d2f"> <WebsiteUrl>https://code.visualstudio.com</WebsiteUrl> <UserAgent /> <UserNotes>The download URL has hashes in it; i couldnt find a dl url w/out them, so this may stop working after this particular VSCode version if the hashes change per version.</UserNotes> <LastFileSize>76699167</LastFileSize> <LastFileDate>2019-07-18T12:25:57.1242246</LastFileDate> <IgnoreFileInformation>true</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>false</ExclusiveDownload> <HttpReferer /> <SetupInstructions /> <Variables> <item> <key> <string>Version</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>StartEnd</VariableType> <Regex /> <Url>https://www.softpedia.com/get/PORTABLE-SOFTWARE/Programming/Visual-Studio-Code-Portable.shtml</Url> <StartText>&lt;title&gt;Download Visual Studio Code Portable </StartText> <EndText>&lt;/title&gt;</EndText> <Name>Version</Name> </UrlVariable> </value> </item> </Variables> <ExecuteCommand>7z x -y -mmt "{file}" -r -o"G:\FileMenuTools\App\FileMenu Tools\My Custom Additions\Editors\VSCode" rmdir /Q /S "G:\FileMenuTools\App\FileMenu Tools\My Custom Additions\Editors\VSCode\resources\app\licenses" copy "G:\FileMenuTools\App\FileMenu Tools\My Custom Additions\Editors\VSCode\locales\en-US.pak" "G:\FileMenuTools\App\FileMenu Tools\My Custom Additions\Editors\VSCode\en-US.pak.BAK" del "G:\FileMenuTools\App\FileMenu Tools\My Custom Additions\Editors\VSCode\locales\*.pak" "G:\FileMenuTools\App\FileMenu Tools\My Custom Additions\Editors\VSCode\resources\app\LICENSES.chromium.html" "G:\FileMenuTools\App\FileMenu Tools\My Custom Additions\Editors\VSCode\resources\app\LICENSE.rtf" "G:\FileMenuTools\App\FileMenu Tools\My Custom Additions\Editors\VSCode\resources\app\ThirdPartyNotices.txt" copy "G:\FileMenuTools\App\FileMenu Tools\My Custom Additions\Editors\VSCode\en-US.pak.BAK" "G:\FileMenuTools\App\FileMenu Tools\My Custom Additions\Editors\VSCode\locales\en-US.pak" del /q /f "{file}" "G:\FileMenuTools\App\FileMenu Tools\My Custom Additions\Editors\VSCode\en-US.pak.BAK"</ExecuteCommand> <ExecutePreCommand>del /q /f G:\FileMenuTools\App\FileMenu Tools\My Custom Additions\Editors\VSCode\*.dll" "G:\FileMenuTools\App\FileMenu Tools\My Custom Additions\Editors\VSCode\*.exe" "G:\FileMenuTools\App\FileMenu Tools\My Custom Additions\Editors\VSCode\*.pak" "G:\FileMenuTools\App\FileMenu Tools\My Custom Additions\Editors\VSCode\*.bin"</ExecutePreCommand> <ExecuteCommandType>Batch</ExecuteCommandType> <ExecutePreCommandType>Batch</ExecutePreCommandType> <Category>Development</Category> <SourceType>FixedUrl</SourceType> <PreviousLocation>G:\FileMenuTools\App\FileMenu Tools\My Custom Additions\Editors\VSCode\VSCode-win32-x64-1.36.1.zip</PreviousLocation> <DeletePreviousFile>true</DeletePreviousFile> <Enabled>true</Enabled> <FileHippoId /> <LastUpdated>2019-07-18T12:25:57.1242246</LastUpdated> <TargetPath>G:\FileMenuTools\App\FileMenu Tools\My Custom Additions\Editors\VSCode\</TargetPath> <FixedDownloadUrl>https://softpedia-secure-download.com/dl/79c582ab4299f5326926e66c7496f4ff/5d30a4d2/100253845/software/portable/programming/VSCode-win32-x64-{Version}.zip</FixedDownloadUrl> <Name>VSCode</Name> </ApplicationJob> </Jobs> And here's the other version for vscode, that uses the redirecting link: <?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="89231ac9-2793-40cb-a5eb-31340592506d"> <WebsiteUrl>https://code.visualstudio.com/updates</WebsiteUrl> <UserAgent /> <UserNotes /> <LastFileSize>76699167</LastFileSize> <LastFileDate>2019-07-18T12:25:57.1242246</LastFileDate> <IgnoreFileInformation>true</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>false</ExclusiveDownload> <HttpReferer /> <SetupInstructions /> <Variables> <item> <key> <string>version</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>StartEnd</VariableType> <Regex /> <Url>https://code.visualstudio.com/docs/?dv=winzip</Url> <StartText>&lt;span itemprop="softwareVersion"&gt;</StartText> <EndText>&lt;/span&gt;</EndText> <Name>version</Name> </UrlVariable> </value> </item> </Variables> <ExecuteCommand>7z x -y -mmt "{file}" -r -o"G:\FileMenuTools\App\FileMenu Tools\My Custom Additions\Editors\VSCode" rmdir /Q /S "G:\FileMenuTools\App\FileMenu Tools\My Custom Additions\Editors\VSCode\resources\app\licenses" copy "G:\FileMenuTools\App\FileMenu Tools\My Custom Additions\Editors\VSCode\locales\en-US.pak" "G:\FileMenuTools\App\FileMenu Tools\My Custom Additions\Editors\VSCode\en-US.pak.BAK" del "G:\FileMenuTools\App\FileMenu Tools\My Custom Additions\Editors\VSCode\locales\*.pak" "G:\FileMenuTools\App\FileMenu Tools\My Custom Additions\Editors\VSCode\resources\app\LICENSES.chromium.html" "G:\FileMenuTools\App\FileMenu Tools\My Custom Additions\Editors\VSCode\resources\app\LICENSE.rtf" "G:\FileMenuTools\App\FileMenu Tools\My Custom Additions\Editors\VSCode\resources\app\ThirdPartyNotices.txt" copy "G:\FileMenuTools\App\FileMenu Tools\My Custom Additions\Editors\VSCode\en-US.pak.BAK" "G:\FileMenuTools\App\FileMenu Tools\My Custom Additions\Editors\VSCode\locales\en-US.pak" del /q /f "{file}" "G:\FileMenuTools\App\FileMenu Tools\My Custom Additions\Editors\VSCode\en-US.pak.BAK"</ExecuteCommand> <ExecutePreCommand>del /q /f "G:\FileMenuTools\App\FileMenu Tools\My Custom Additions\Editors\VSCode\*.dll" "G:\FileMenuTools\App\FileMenu Tools\My Custom Additions\Editors\VSCode\*.exe" "G:\FileMenuTools\App\FileMenu Tools\My Custom Additions\Editors\VSCode\*.pak" "G:\FileMenuTools\App\FileMenu Tools\My Custom Additions\Editors\VSCode\*.bin"</ExecutePreCommand> <ExecuteCommandType>Batch</ExecuteCommandType> <ExecutePreCommandType>Batch</ExecutePreCommandType> <Category>Development</Category> <SourceType>FixedUrl</SourceType> <DeletePreviousFile>true</DeletePreviousFile> <Enabled>true</Enabled> <FileHippoId /> <LastUpdated>2019-07-18T12:25:57.1242246</LastUpdated> <TargetPath>G:\FileMenuTools\App\FileMenu Tools\My Custom Additions\Editors\VSCode\</TargetPath> <FixedDownloadUrl>https://go.microsoft.com/fwlink/?Linkid=850641</FixedDownloadUrl> <Name>VSCode (Test)</Name> </ApplicationJob> </Jobs>
  5. AHA!! That's what I was missing! I had the "ignore (etc.)" option unchecked. After checking it, and then clicking "Check for update" twice in a row (the first time it still said there was an update available for some reason) it now says it's up to date. Thank you! Just for the sake of learning, what exactly is it 'checking' for the currently installed version? Does it arbitrarily choose a .exe file from that folder and check it's version?
  6. Hi @shawn Thank you for the fast response, and help. Here is a short gif of what a typical app of mine looks like: https://i.imgur.com/7iEUePw.gif Can you tell me exactly what I would change in it in order to get VSCode to work? I'd really appreciate it.
  7. Hi all I like to run portable software as much as I can. So whenever possible I download a .zip version of the software, and extract it to it's install folder and just run it from there. Using Ketarin to check for updates, I don't understand how it knows what the current version of the software already in the install folder is before deciding an update is available? I have everything setup so far and working great as far as downloading the latest .zip, extracting it to the folder I want, deleting some things I don't want, then deleting the new .zip (to save space; I'm kinda OCD about clutter :)), but I don't see anywhere that tells me, or points to, how it gets the current version to check against? i.e. it's not pointing to "code.exe" to extract the version number in the install folder, to compare against the version found at the URL I use to check the latest version. As of right now, even after doing a fresh update (and I manually check to make sure it did in fact update), then checking in Ketarin again for an update to it, it always says there's an update available. To me this seems to mean Ketarin isn't actually checking the "installed" version first? I'm brand spanking new to Ketarin, and have read the Wiki, but still confused. Can anyone please help?
  8. Hello all I'm new to Ketarin and need to download the .zip version of Visual Studio Code. Here is the main download page: https://code.visualstudio.com/Download Then I click the Windows -> .zip 64 Bit link, which has a URL like this: https://code.visualstudio.com/docs/?dv=winzip Also note that on that page I can check the latest version, however it leaves out the revision number ... (only shows 1.36 rather than 1.36.1) Clicking it takes me to a page that auto-downloads the file, with a crazy URL, like this: https://az764295.vo.msecnd.net/stable/2213894ea0415ee8c85c5eea0d0ff81ecc191529/VSCode-win32-x64-1.36.1.zip Also, on that page is the option to "directly download" via a redirect link, like this: https://go.microsoft.com/fwlink/?Linkid=850641 -- Being new, I'm completely lost on how I can update this? Can anyone help? PS: What normally I do is, download the .zip, extract it to a install folder, delete some unwanted files/folders (like locale files/folders) then finally delete the downloaded .zip.
×
×
  • 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.