Jump to content
Ketarin forum

Anonymous

Members
  • Posts

    22
  • Joined

  • Last visited

Anonymous's Achievements

Newbie

Newbie (1/14)

  1. Allow for a newer version of PowerShell to be used in Ketarin, either by upgrading the internal version that Ketarin references or allowing the end user to specify the path of the binary for PowerShell they want to use. C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe C:\Program Files\PowerShell\7\pwsh.exe Submitted to UserEcho: https://ketarin.userecho.com/en/communities/1/topics/126-powershell-7-upgrade-or-allow-selection-of-new-version
  2. Using replace doesn't help. The example I provided is spitting out the contents of app variables in the download location and "Files\" isn't something that can be derived by Ketarin itself, hence the need to do it in a script before downloading. Irrespective of that, I'm not looking to solve the example I provided. It was only meant to give context. Another, less verbose, non-fringe example (and the reason I posted to being with) is with working with password protected websites. Since Ketarin does not currently have the ability to read cookies, some sites are impossible to load into Ketarin. I got around that by grabbing the necessary values to authenticate using a pre-download script which writes the values into variables in the app profile. Because the execution order of "Execute the following command before downloading", these values are not updated when Ketarin attempts to visit the download URL and it errors with a 404. I rerun the app profile again and it downloads just fine because those variables are now valid at the time of execution.
  3. I get that, but what happens when Ketarin can't access the relevant triggers (e.g. hash data, etc.) because it can't resolve a directory or URL due to "old" data? The first time I encountered this execution order problem was because of the "download location" field. Every application profile I have is built off a template that shares the same basic download location: \\server\software\{company}\{app_name}\archive\{version}\{platform}\{ps_appdeploy}{app_name:replace: :_}_installer.{url:ext} For Microsoft OneDrive, it resolves to: \\server\software\Microsoft\OneDrive\archive\17.3.6760.0105\macOS\OneDrive_installer.pkg This generic download location is software depot for an IT department and some installers have a deployment script wrapped around it. When this occurs, it requires the downloaded file to live in a nested folder. In order for Ketarin to place the download in the correct folder, a normally blank variable is assigned a value of "Files\" to adjust the location. So another piece of software, like SONY Catalyst Browse is resolved to: \\server\software\SONY\Catalyst Browse\archive\2016.3\win_x64\Files\Catalyst_Browse_installer.exe Who the heck wants to manually keep track of a variable that determines it's download location from a template on hundreds of application profiles? I don't, so I wrote a script to detect the "Files\" folder and dynamically adjust the download path before it's executed. This is where the problem lies. Ketarin's timing of "Execute the following command before downloading" occurs after its already resolved the download location it's going to use, despite those value changing "before downloading". While this is not the scenario that led me to start this post, I think it's enough of an example to get the point across.
  4. Mileage may vary, but here's a "workaround" for you. I say "workaround" because, while the method I'm sharing successfully sets an application profile's user agent on update, finding one of the few applicable ones in my list to test is like finding a needle in a haystack. Making the details verbose for anyone who hasn't worked with these settings. Create a Global Variable: File -> Settings -> Global variables Name = user_agent Value = Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3007.0 Safari/537.36 Create a Global Command: File -> Settings -> Commands Edit command for event = Before updating an application Command = PowerShell script $app."UserAgent" = $globalvars."user_agent".CachedContent
  5. Anonymous

    SSL/TLS Errors?

    I may have found the reason this is happening. processing.org only supports TLS 1.2 https://www.ssllabs.com/ssltest/analyze.html?d=processing.org
  6. In versions of Ketarin before 1.8.7, the matched regex would be highlighted. In 1.8.7, it doesn't match at all. I've attached a sample profile: ketarin.txt
  7. I have written some code to use an application's "Execute the following command before downloading" to assign values to local variables. When testing the code, I realized that the variables in an application profile are getting resolved before this code is executed. In the case of my implementation, I have set up other variables that rely on pre-download information to resolve urls correctly. "Technically" this command does what it says, as the code in this section will run before an application is downloaded. However, I believe changing the order opens up more functionality to someone who's using these commands. If the order of execution is not critical, please consider changing this order or giving the option to change it per profile.
  8. Anonymous

    SSL/TLS Errors?

    Is this something that has resurfaced? I've noticed two of my profiles are getting this error in 1.8.6+. https://processing.org/ https://www.fsadownload.ed.gov
  9. I would like to see this too. I've been struggling with automating a Ketarin application profile to grab a file behind a username and password. I've gotten it to work, provided I manually log into the site in a browser and copy the value of a cookie into a global variable in Ketarin. I haven't found any other method for grabbing it. While I'm thrilled to have gotten as far as I have, 100% automation would be preferred.
  10. I was going to make a comment in my post mentioning that I knew it was possible via the method you've described. That's why it's a feature request. It would be much more convenient to have it built in with an up/down arrow next to the +/-. I have avoided making these changes manually because it's only a cosmetic thing and I have hundreds of profiles I'd like to update. Not to mention it's not something I look forward to because the performance of my instance of Ketarin is really bogged down by the number of applications I maintain.
  11. As someone who uses a lot of variables in their profiles, I would love to see a way to reorder them in the Edit Variables interface.
  12. I tried 1.8.6.700 as it was newer than what I was previously using, and it appears that this version also has the bug I've described. Although, while I was doing this, I noticed something new to include. The bug only occurs when viewing the regex match in the Edit Variables dialog box. Existing profiles that worked in a previous version continue to update successfully.
  13. 600 was beta2 and looks to be removed from the forum, but 1.8.6.700 is still listed in the 1.8.7 thread: https://ketarin.org/forum/index.php?app=core&module=attach&section=attach&attach_id=80
  14. Just created my first new profile in 1.8.7, and noticed {version} (one that I declared in variables) wasn't getting resolved in the regular expression field. Wondering why this wasn't working, I created another variable with a textual content value. This didn't resolve either. Before this build I was running 1.8.6.600. I relaunched this version, opened the same profile, and it worked just fine.
  15. Despite how much I use Ketarin, which is almost every workday, I regretfully don't visit the forum unless I think there's a bug or have a feature request. As such, I never noticed a forum for application profiles (perhaps because it's not listed as a discussion group). With that said, I downloaded a few profiles to get an idea what it was about, and (with no offense to their authors) didn't find much value in what I downloaded. If someone would like to point me to an exceptional example, I'd be happy to take another look. I do like the idea, but I think for the concept to be truly useful it needs to be organized differently. Sub-forums so that all applications profiles for a product are grouped together (e.g. Skype has 15 profiles). In addition, some sort of enforced rating indicator that's visible in the subject line (e.g. Sumatra PDF was the only one I found).
×
×
  • 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.