Etz Posted December 19, 2010 Report Share Posted December 19, 2010 (edited) How to create such thing or is it possible at all? Its pretty annoying, if I want to change file or path-format for my 130+ apps. It would be much easier to change it in one place and all apps would have that variable in their "save to file" subsection so all it changes for all applications. Help would be: much appreciated... Edited December 19, 2010 by Etz Link to comment Share on other sites More sharing options...
Tomorrow Posted December 19, 2010 Report Share Posted December 19, 2010 Pretty easy.Go to File-Settings-Global Variables.Create the nessesary variable. Then select File-Export all. Open the exported xml with say Notepad++ and select CTRL+F selecting the Replace column. Select regular expression.On top box type(very general regex lol): <TargetPath>........................................................................................................................</TargetPath> and on bottom box type whatever global variable you have.Say {downloads} so it would look something like this: <TargetPath>{downloads}\{appname} {version}.{url:ext}</TargetPath> After you're done save XML and import it back(i suggest importing into clean Database.Meaning you have to move your .db files from C:\Users\Etz\AppData\Roaming\Ketarin to somwhere else.) Link to comment Share on other sites More sharing options...
Etz Posted December 20, 2010 Author Report Share Posted December 20, 2010 (edited) It isnt exactly what I meant. If I would like to change them all together, I would export all.xml, edit it with notepad++ and import it to a clean ketarin. Or Directly edit database and make replace. Actually what I`m interested of is, that i could define somekind of global variable, example: {savepath} which corrsponds to: Z:\Install\Software\{category}\{appname} v.{version}.{url:ext} Then I would only change that: Z:\Install\Software\{category}\{appname} v.{version}.{url:ext} and magically all apps, that have that {savepath} in their target box, will change it too then. So instead of defining 130+ "savepaths" i would define one, globally. EDIT: Still havent found a way, maybe feature request is needed for such a functionality... Edited December 22, 2010 by Etz Link to comment Share on other sites More sharing options...
jeff9315 Posted December 28, 2010 Report Share Posted December 28, 2010 I think the method that Tomorrow posted would work fine for you. Being a newbie, I had stumbled on a similar approach also. Basically, you would define Z:\Install\Software as a global variable (maybe named dldir} and put this string in the target path: {dldir}\{category}\{appname} v.{version}.{url:ext} and that would be used for all new entries. Everything else Tomorrow said was to just get your already existing apps to have {dldir}\{category}\{appname} v.{version}.{url:ext} in the target path field. Thanks ... Jeff Link to comment Share on other sites More sharing options...
Omniferum Posted December 28, 2010 Report Share Posted December 28, 2010 Currently Ketarin does not allow variables like {category} and some others I can't recall, I have requested it a few times as have others. Just letting you know that at this moment I have to do {savepath} which is {root}Software\Automatically Updated\ and {category} so each app has a savepath of {savepath}{category}\ I'm not sure why you'd want to specify it as app version urlextension but c'est la vie. Link to comment Share on other sites More sharing options...
floele Posted December 29, 2010 Report Share Posted December 29, 2010 Can't you use {property:Category} ? Link to comment Share on other sites More sharing options...
Omniferum Posted December 29, 2010 Report Share Posted December 29, 2010 Copied and pasted this from the error screen ESET NOD32 Antivirus The specified target path 'D:\Software\Automatically Updated\{property:Category}\eav_nt64_enu.msi' is not valid. Link to comment Share on other sites More sharing options...
floele Posted December 30, 2010 Report Share Posted December 30, 2010 Oh, you want to have "recursive" variables. I see. Has been suggested before (at least for global variables) but is not yet possible. Link to comment Share on other sites More sharing options...
Etz Posted July 2, 2011 Author Report Share Posted July 2, 2011 Oh, you want to have "recursive" variables. I see. Has been suggested before (at least for global variables) but is not yet possible. Recursive variables is a must...at least for naming scheme that Im using Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now