Jump to content
Ketarin forum
  • Announcements

shawn

Moderators
  • Content count

    858
  • Joined

  • Last visited

About shawn

Profile Information

  • Gender
    Male
  1. Firefox version news

    Hi, guys! Mozilla recently changed their site so that version numbers are no longer listed within the URIs for the 'all' and 'organizations' pages. The version numbers are still there, but different. Now at the opening HTML tag of any page on the site (at least all the ones I've tested) it has the version numbers in new attributes: <html ... data-latest-firefox="56.0.2" data-esr-versions="52.4.1" There are also new universal download URIs for the most current versions (replace the lang parameter with the one you need): Standard: https://download.mozilla.org/?product=firefox-latest-ssl&os=win&lang=en-US https://download.mozilla.org/?product=firefox-latest-ssl&os=win64&lang=en-US https://download.mozilla.org/?product=firefox-latest-ssl&os=osx&lang=en-US https://download.mozilla.org/?product=firefox-latest-ssl&os=linux&lang=en-US https://download.mozilla.org/?product=firefox-latest-ssl&os=linux64&lang=en-US ESR: https://download.mozilla.org/?product=firefox-esr-latest-ssl&os=win&lang=en-US https://download.mozilla.org/?product=firefox-esr-latest-ssl&os=win64&lang=en-US https://download.mozilla.org/?product=firefox-esr-latest-ssl&os=osx&lang=en-US https://download.mozilla.org/?product=firefox-esr-latest-ssl&os=linux&lang=en-US https://download.mozilla.org/?product=firefox-esr-latest-ssl&os=linux64&lang=en-US Hopefully this will help anyone else out whose Firefox downloads suddenly stopped working.
  2. How can I add Chrome?

    Hi, A, First, the Chrome download URIs don't change. The file located there does, but the URI is consistent. You don't need to parse for the download address as you do in other applications - just use the download link below and that'll get you what you need. Second, you're much better off using the enterprise version, which you can get here (32-bit): https://dl.google.com/tag/s/appguid%3D{8A69D345-D564-463C-AFF1-A69D9E530F96}%26iid%3D{C37A2A37-B20E-5650-D5F7-393789E62F08}%26lang%3Den%26browser%3D4%26usagestats%3D0%26appname%3DGoogle%20Chrome%26needsadmin%3Dprefers%26installdataindex%3Ddefaultbrowser/edgedl/chrome/install/GoogleChromeStandaloneEnterprise.msi The 64-bit version is here: https://dl.google.com/tag/s/appguid%3D{8A69D345-D564-463C-AFF1-A69D9E530F96}%26iid%3D{032C5030-0FD4-DD28-4989-89414B1173D5}%26lang%3Den%26browser%3D2%26usagestats%3D0%26appname%3DGoogle%20Chrome%26needsadmin%3Dprefers%26installdataindex%3Ddefaultbrowser/dl/chrome/install/googlechromestandaloneenterprise64.msi And here's the Chrome for macOS URI: https://dl.google.com/tag/s/appguid%3D{8A69D345-D564-463C-AFF1-A69D9E530F96}%26iid%3D{81AB92A8-4DCF-0D53-2725-1BBCB126B121}%26lang%3Den%26browser%3D4%26usagestats%3D0%26appname%3DGoogle%20Chrome%26needsadmin%3Dprefers/chrome/mac/stable/GGRO/googlechrome.dmg The enterprise version is better because it's easier to maintain the entire device this way. Instead of having dozens of versions littered across AppData for each user account, the enterprise version exists in PF and only stores user data in AppData, the way it should be.
  3. It's actually a problem with the context. Whenever you're going to use an external download agent you need to save the download URL as a different variable, then process it manually in the pre-update command, returning 3 to indicate the update was successful ("exit 3"), not within the post-update command since that only fires after the download URL is successfully downloaded. When I need to parse a magnet URI I use Aria2. Here's an example: aria2c --bt-require-crypto=true --seed-time=0 --dir="{myDownloadPath}" "{magneturi}" exit 3 Again, this has to be done in the pre-update command or you'll get the "invalid download URL" error. Still, I use "http://example.com/" in there to avoid an error that comes in certain contexts, primarily during testing. As always, it's important to ensure that you're performing some form of version validation for your app or it'll run the pre-update command every time, resulting in a bunch of unnecessary bandwidth and false "update successful" indication. As long as you're using the "advanced\use the following variable as indicator for changes" value correctly you'll avoid this problem.
  4. can you share a screenshot or other information about the error you're seeing? i've been using Ketarin a *long* time and have never had it fail to complete an update check due to an error. i can only imagine what you're seeing is an error in an installation script. if that's the case you'll need to edit the installation script to behave and offer error trapping - which may not be possible for all packages
  5. TextualContent needs to be accessed as TextualContent, not CachedContent. More about this in this thread. CachedContent is for web requests.
  6. Donwload Help

    it's possible, but appveyor is designed specifically to prevent this, so it's challenging even for the best of us. you'd need to build multiple variables in Ketarin to capture the version, release URL, script from release URL, then scalp that content for multiple randomly generated keys for the blob URL, which is where the data is actually located. Then download that. It would take quite a bit of time to work around the safeguards designed specifically to prevent this.
  7. Create Log

    is this an errant space in the command here or in your batch file? start "" /wait G:\Home\Ketarin.exe /database=G:\Home\ home_apps /log=G:\Home\filename.log vs start "" /wait G:\Home\Ketarin.exe /database=G:\Home\home_apps /log=G:\Home\filename.log If there are spaces in the path (unlikely at that position) then you need to quote the database parameter as so: start "" /wait G:\Home\Ketarin.exe /database="G:\Home\ home_apps" /log=G:\Home\filename.log again, a space before the file name is extremely unlikely though.
  8. Did this help you resolve your problem or do you need additional assistance?
  9. I use file redirection and logging all the time for troubleshooting this kind of thing. Change your commands from this: "C:\Program Files\7-Zip\7z.exe" x "{file}" -o"{file:directory}" -y copy "D:\Haole Boy\$USB files and folders\$ Tools\Process Explorer\procexp64.exe" "D:\Haole Boy\$USB files and folders\$ Tools\$ Remote Tools" copy "D:\Haole Boy\$USB files and folders\$ Tools\Process Explorer\procexpl.reg" "D:\Haole Boy\$USB files and folders\$ Tools\$ Remote Tools" copy "D:\Haole Boy\$USB files and folders\$ Tools\Process Explorer\procexp64.exe" "C:\Tools" To this: echo.Current directory: "%cd%">>\logs\ketarin.log echo."C:\Program Files\7-Zip\7z.exe" x "{file}" -o"{file:directory}" -y >>\logs\ketarin.log echo.copy "D:\Haole Boy\$USB files and folders\$ Tools\Process Explorer\procexp64.exe" "D:\Haole Boy\$USB files and folders\$ Tools\$ Remote Tools">>\logs\ketarin.log echo.copy "D:\Haole Boy\$USB files and folders\$ Tools\Process Explorer\procexpl.reg" "D:\Haole Boy\$USB files and folders\$ Tools\$ Remote Tools">>\logs\ketarin.log echo.copy "D:\Haole Boy\$USB files and folders\$ Tools\Process Explorer\procexp64.exe" "C:\Tools">>\logs\ketarin.log It amounts to adding a new line above it all that documents the current working directory then adding "echo." to the beginning of every line, and ">>\logs\ketarin.log" to the end of every line. Run it. Then open "\logs\ketarin.log" to see the exact commands that would have been run. This might help you figure out why it's misbehaving. Open a command prompt, switch to that directory, then run the commands and see why it's not behaving. For example, it could be that you're assuming the path that stuff is running from, and that's creating problems for you. Or it could be that you're running "7z x" when you really mean to run "7z e" - and this will show you exactly how that is causing problems. Good luck!
  10. Direct link for drive.google.com ?

    Yes, it is. I don't have any current samples I can share, but I am doing this. You need to visit the google drive space, view source (and save it) then download the specific file you're after (waiting for the scan and, if necessary, click 'download anyway'). Then go to the downloads tab (CTRL+J) and copy the destination URL. Now go to back to the source and rebuild the URL based on the values from within the javascript source. Once you've figured out which parameters go where (leave the apparently random ones as is), build a regex pattern to capture each one and build the resulting download URL. I find that it's usually much easier to look for the data on another location.
  11. General tutorial for ketarin?

    the functions are regularly updated. a single walkthru couldn't possibly cover every feature, which is why the forum exists. the difference between "save to file" and "save in folder" is that in "save to file" you're explicitly giving the destination file a name, whereas in "save to folder" you're using the name of the downloaded file directly (some applications expect specific file names or patterns) as provided by the server.
  12. Create Log

    are you double-clicking the batch file or running it from a command prompt? have you tried running the command with full paths applied? (start "" /wait k:\Ketarin.exe /database=k:\home_apps /log=k:\FILENAME.log) please share the EXACT command line you're using as it appears in the batch file.
  13. you could also add "C:\Program Files\7-Zip\" to the path then just use 7z.exe
  14. this is one where you get to get creative. the URL is based on a constant prefix and suffix plus the version number, so instead of harvesting the link, build it. collect the version number into a variable named version with the following regular expression: >SQL Enlight ([\d\.]+)< then build the URL as: http://ubitsoft.com/downloads/sqlenlight_{version}.exe
  15. Create Log

    @jokerfool, you didn't actually answer any of my questions or provide details about what happens when you run the commands i shared. change it to reference your actual database name and tell us what happens. if it doesn't work, please answer ALL of the following questions so we can help (if in doubt, provide more information than you think is necessary, not less): are you running it from a command prompt? a batch file? a shortcut? are you running the command from in the directory where ketarin is located, or is the ketarin.exe file stored in a different folder within the path? is the database file in the 'start in' or current directory? what are the 'start in' directory and current directory? have you tried running the command with full paths applied? (start "" /wait k:\Ketarin.exe /database=k:\home_apps /log=k:\FILENAME.log) what version of windows are you running? are network paths involved? is it being run as a standard process or elevated?
×