Jump to content
Ketarin forum

Omniferum

Members
  • Posts

    304
  • Joined

  • Last visited

Posts posted by Omniferum

  1. I've never really used trim or trimend but looking at the wiki the trim command seems to be only for characters, not whole words.

     

    Because they end in d, removes the d as it is at the 'end' of the string. I'm sure if you did {appname:replace: rde_DE Setup:} you would get Mozilla Thunderbi

     

    Still I think my second suggestion is closer to what you actually want anyway.

     

    However if you use my first all you'd need to do is place important program notes in curved brackets and you wouldn't have to specify {appname:replace: ilikemilk:} for every single app and just use {appname:regexreplace: \(.*\):}

  2. Just as an alternative you may prefer to use curved brackets in your app name.

     

    So like Mozilla Thunderbird (en_US Setup) and then use {appname:regexreplace: \(.*\):}

     

    It's what I do for extra notes regarding the app, like if it is 32 or 64-bit, portable, english etc.

     

    Also you may just want to use

     

    {appname:replace: de_DE Setup:}

     

    Seeing as you are defining the entire string you want removed another command may work just as well.

  3. Just thought i'd share something that I use seeing as I have a LOT of apps this helps me as I don't have to manually find and close everything. This should work for XP and upwards.

     

    All this does is exit all the programs that Ketarin would update.

     

    To make it work for you, just change <putyourpathorportabledriveletterhere> to whatever your usual path ketarin installs its programs to. My install path is a global variable so it is easier for me. For example you might dump it all to \KetPrograms\

     

    Use the below command (make it into a .bat file or put it in the execute before updating menu option)

    for /f "tokens=1 delims=." %a in ('wmic process get Description^,ExecutablePath^,CommandLine ^| findstr .exe ^| findstr <putyourpathorportabledriveletterhere> ^| findstr /V cmd.exe ^| findstr /v explorer.exe ^| findstr /v notepad.exe ^| findstr /v findstr') do taskkill /f /im "%~na.exe"
    

  4. To answer your question . is a wildcard character in regex. To make your regex treat . as the period symbol (or any special regex character as literal) you need to apply \ before it.

     

    Examples

     

    \.

    \(

    \?

    \*

     

    Regardless there is no real need for you to set version, that page only posts the latest version.

     

    .*\.\.([^"']+\.zip)

     

    That'll do what you want it to do.

  5. Yes, i'm aware of the ways one can do things in order to achieve the same goal.

     

    My point is i'm not sure of the reason behind having jobs.db being created anywhere else in the first place, Ketarin doesn't do any registry writes so placing a vital file somewhere else seems odd.

  6. Instead of having the new jobs.db being created in the appdata/userprofie directory (forget which one) is it possible just to have Ketarin dump it in its own directory? I'm fairly sure that is what most users do anyway.

     

    Seeing as it is inherently portable (well beyond the whole .net thing) it seems logical.

  7. download tags are usually surrounded by either ' or "

     

    If the match 'included' them you would have an invalid download url

     

    It helps narrow down searches as they are characters that obviously cannot exist within a valid download URL

     

    Again most downloads start with either the = " ' characters

  8. So long as where you download the files to, in your case let's say D:\StandardInstall, stays constant as a path (Drive letter unimportant) Ketarin shouldn't have a problem.

     

    If you move it from D:\StandardInstall to D:\Pony\StandardInstall it will have a problem. But from D:\StandardInstall to G:\StandardInstall would be fine.

     

    Ketarin doesn't look for your files wherever they are, only where it knew where they were last. Sorta dependent on folder locations though.

     

    If you added {startuppath} to your download location to make

     

    {startuppath}StandardInstall

     

    Then you wouldn't ahve to worry about anything assuming you had the folder structure of

     

    Control\ketarin.exe

    Control\StandardInstall

     

    Then you could move the control folder wherever you wanted to.

  9. Looks like Ketarin couldn't find the local files on your computer so tried to dl them instead to install.

     

    When you hit the install button Ketarin first goes

     

    Check for local file - > file not found so i'll download OR file found i'll proceed with instructions.

     

    You may have moved all your folders to a different location than where Ketarin originally downloaded them to.

  10. Ketarin checks file size and date, which most websites publish for their downloads within the links themselves.

     

    Out of almost 200 apps i've only had to set one app to be 'version check variable', but that is for a specific build of winrar.

     

    Otherwise trust Ketarin to know best, it has worked for me so far.

     

    Variable version checks do nothing beyond telling Ketarin "Awesome! you can download now" you can however use the variable assigned to name the file you download further if you really really want it to.

  11. Out of curiosity can the update all be run via adding a little C# script?

     

    I've whittled the issue in my Ketamon down to needing to run the update twice before exiting (So far no problems after much testing)

     

    To automate this i'd rather just add a C# script to the "after all updated" window to re-run it one more time then exit.

     

    I don't know anything about the language so its limitations are unknown to me, batch can't achieve this so meh.

  12. Version moving didn't help. Changed some XML tags from xsi:nil to valid values, still not working.

     

    However it seems that if I run the update all twice per opening of the ketamon I so far haven't encountered the problem.

     

    Before I just opened it once then closed it.

     

    Running the update twice, no problem it would appear.

     

    I've tested this several times, it seems to be the problem.

     

    It seems like an exit 2 and monitor variable for changes issue in combination.

     

    So perhaps it doesn't store the variable changes information because of exit 2, but the variable is stored but doesn't get saved again until the 'update' is run again forcing the re-check.

×
×
  • 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.