Jump to content
Ketarin forum

Search the Community

Showing results for '7z.exe' in topics.

  • Search By Author

Content Type


Forums

  • Discussion
    • General discussion
    • Feature requests
    • Bugs
  • Resources
    • Tips and Tutorials
    • Templates

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests


Database GUID

  1. I'm trying to delete a folder after the contents have been moved, but the RD command doesn't delete the folder. I can create a batch file with the RD command and it works. These are the installion commands. START "" /B /MIN /WAIT "C:\Users\User\Desktop\Utility icons\Ketarin-1.7.0\Apps\Art\7z.exe" x "{file}" -bd -o"C:\Users\User\Desktop\Utility icons\Ketarin-1.7.0\Apps\Art\aaa\" -y CD "C:\Users\User\Desktop\Utility icons\Ketarin-1.7.0\Apps\Art\aaa\blender-*-win64" RD "C:\Users\User\Desktop\My stuff\Art Tutorials\Art\Blender Dev" xcopy /y /S /Q *.* "C:\Users\User\Desktop\My stuff\Art Tutorials\Art\Blender Dev\" rd "C:\Users\User\Desktop\Utility icons\Ketarin-1.7.0\Apps\Art\aaa" /s /q I've tried start and call to start the batch file when the folder should be deleted and they didn't work. Have I missed something?
  2. That's how i use it to archive some files. To avoid redundant usage of pathes, create global variables. For 7zip copy the 7z.dll and 7z.exe to your Ketarin folder, create a global variable called 7z and point it to your 7z.exe Create a second global variable called archived and point it to {root}\archived or chose any other path. My batch code: IF NOT EXIST "{archived}\{appname}" ( MD "{archived}\{appname}" ) "{7z}" u -t7z -mx9 "{file:directory}\{yyyy}{MM}{dd}.7z" "{file}" MOVE /Y "{file:directory}\*.7z" "{archived}\{appname}" And I use the time stamp ({yyyy}{MM}{dd}) for naming my archives... To get back to your problem. Have you checked the log file (CTRL+L) for errors?
  3. Copied and pasted the exact line, tried with and without quotes. Changed the command to C# script. I got nada I mean poopy poo as it recognizes it in a strange way. For example for {7z} start /wait "{root}Programs\File Management\7-ZipPortable\App\7-Zip\7z.exe" It will give "windows cannot find x. Make sure you typed the name correctly and try again" Where x is the switch for 7z. Full command is {7z} x "{file}" -o"{p1}{category}\{appname:regexreplace: \(.*\):}" -y If I change the {7z} to the following start /wait {root}"Programs\File Management\7-ZipPortable\App\7-Zip\7z.exe" it will execute perfectly fine. Dear god please floele, I would love you forever if you could allow other variables in global :'( I just want to be able to place the below command as a global variable and all that need 7z and I can just put {7z} without caring. {7z} x "{file}" -o"{p1}{category}\{appname:regexreplace: \(.*\):}" -y Just a lot of my programs don't really need that much to get them installed. Even my ahk and universal extract programs are just "{AHK}" "{startuppath}\PA.ahk" "{file}" "{p1}{category}\{appname:regexreplace: \(.*\):}" "{ue}" "{file}" "{p1}{appname:regexreplace: \(.*\):}"
  4. Hi, I don't belong to Ketarin 'staff' i'm a user just like you. I use only but to do this you need to install 7-zip and copy 7z.dll and 7z.exe to Hope you understand. Best regards!
  5. Another way is to put 7z.exe into your PATH environment variable. Or into Ketarin's folder (my solution). But using variable in variable is tricky, how would Ketarin know the order of definitions? How to avoid circular references?
  6. I am trying to use 7-Zip and then rename the resulting .exe as per below. The 2nd command does not appear to be executing. However, if the command line only contains the 2nd command, the rename occurs. "I:\Program Files\7-Zip\7z.exe" x "L:\Toolkit\Zip\7_Zip\*.zip" -Y -o"L:\Toolkit\Zip\7_Zip\" && ren L:\Toolkit\Zip\7_Zip\*.exe 7z.exe Thank you in advance.
  7. 1. No it can't. 7z.exe is in Ketarin's folder and I have other apps that use the same kind of command lines and they work 2. I'm excluding texted.ini. Using ! is correct: -x[r[-|0]]]{@listfile|!wildcard}: eXclude filenames Again, when I copy from Ketarin's log the command line that fails and execute it a command prompt, it works. Does my example work for you?
  8. I have been for a while tinkering with a 'universal' piece of batch code that will be able to install 99% of binaries/executables that can either be unzipped or universal extracted (it's a program to extract exe/msi) Here is something that works for 100+ apps from a wide variety of places. It will install the application you download to {installpath}{appname:regexreplace: \(.*\):}. The {appname:regexreplace: \(.*\):} means the name you give your application in Ketarin but will ignore anything you put in curved brackets. So if you had an app called Pony (Godilovethem) it would install to {installpath}Pony. I use this so I can put certain notes in the appname like x64 build or words like Portable/experimental. Required defined global variables {7z} - The path to your 7z program {ue} - The path to your Universal Extract program {temppath} - A folder that is created for all the code to be performed in, it is just a temp folder so anything will do. {installpath} - The basic start of where you want the application to be installed to {copyfolder} - The command run to copy the contents of what you've extracted Here are how mine are defined, if you need an idea {7z} - start /wait {root}"Programs\File Management\7-ZipPortable\App\7-Zip\7z.exe" {ue} - start /wait {root}"Programs\File Management\Universal Extractor\UniExtract.exe" {temppath} - {root}Ketatemp\ {installpath} - {root}Programs\ {copyfolder} - xcopy /C /E /H /I /Y Special note Some apps have their configuration files already defined in an .ini or .xml. There is a bit of code that accounts for it. It is this line. if exist "{installpath}{category}\{appname:regexreplace: \(.*\):}"\mplayer.ini del "%dir%"mplayer.ini Basically goes "Is there something already there called blah.ini? Oh ok, i'll delete it in the temp folder so it doesn't get copied over". This way you will still keep all your old settings, which is kinda the point. Just replace mplayer.ini with whatever filename you know keeps the config data. Usually config.ini or config.xml, for some apps it can also be a .db. For binaries {7z} x "{file}" -o"{temppath}{appname:regexreplace: \(.*\):}" -y for /f "tokens=2 delims=[]" %a in ('dir /b /s "{temppath}{appname:regexreplace: \(.*\):}\*.exe" ^| find /v /n "" ^| findstr /c:[1]') do set dir=%~dpa* {copyfolder} "%dir%" "{installpath}{category}\{appname:regexreplace: \(.*\):}\" rd /s /q "{temppath}{appname:regexreplace: \(.*\):}" For executables {ue} "{file}" "{temppath}{appname:regexreplace: \(.*\):}" for /f "tokens=2 delims=[]" %a in ('dir /b /s "{temppath}{appname:regexreplace: \(.*\):}\*.exe" ^| find /v /n "" ^| findstr /c:[1]') do set dir=%~dpa* {copyfolder} "%dir%" "{installpath}{category}\{appname:regexreplace: \(.*\):}\" rd /s /q "{temppath}{appname:regexreplace: \(.*\):}" Now the only issue at the moment with the above code is that it will leave you with an empty temp folder. The reason for this is you can't delete it if you have other apps that are using it at he same time, otherwise it will just screw everything up. If you put the following rd /s /q "{temppath}" into the "After updating all application" (It is a drop down menu) in the Commands tab in Settings it will clean it up when Ketarin is basically finished with everything. Floele has said he will put in an "Execute command after installing" which we can put it in there then, because manually installing/running the code will still leave you with an empty temp folder. EXTRA There are two places you can place install instructions. In either the commands tab or the Setup tab of the applications settings. In the setup tab if you click "Add Instruction" and select "Custom Command" you can paste the above code into there and it will work. Also if you place the following. /*This is a comment line, the line below is the C# script. It will run the instructions found in the Setup Tab*/ app.Install(null); Into the 'execute the following command after downloading' part of the commands tab and from the drop down menu labelled Command select C# script it will run whatever you put into the Setup Instructions everytime it downloads an update.
  9. ooooh, found a... thingy ma bobba I haven't needed to run ketarin since b9, updated to b10 and sorta did nothing for a few days. I've since then found that for global variables if I encapsulate {root} in any sort of quotation marks "{root}" it will cause the subsequent program to fail. For example start /wait {root}"Programs\File Management\7-ZipPortable\App\7-Zip\7z.exe" will work fine Either of the following will make itself go poopy poo start /wait "{root}Programs\File Management\7-ZipPortable\App\7-Zip\7z.exe" "start /wait {root}Programs\File Management\7-ZipPortable\App\7-Zip\7z.exe" <- this is how I configured all my apps from the beginning Checking the log the variable is parsed perfectly fine, I see no errors in the path it gives. It just decides to crap itself is all, no idea why
  10. 1.Could it be the location of 7z.exe ? I use {7z}7z x... 2.You're trying to exclude '!texted.ini' or to use '!' as wildcard ? (! is not supported by 7z?)
  11. i looked for a build in option, for now i use this command "D:\Program Files Portable\Archive Tools\7-Zip\7z.exe" x -y -r {file} -o{file:directory}
  12. 1. Why not use 7z.exe ? No need for unRAR.exe and as more switches. 2. I use {7z}7z x {file} -o{a}iview\ -y, with {a}=c:\progra~1\ 3. You need a silent switch (if available) for that. For .paf.exe see http://portableapps.com/node/14174 ; a general repository of silent switches is http://silentswitch.wordpress.com/a/, but I haven't tested those. 4. Thanks for sharing, we do appreciate.
  13. It's solved now ! =D =D =D 7-zip sintax is 7z <command> [<switch>...] <base_archive_name> [<arguments>...] The error I was doing was d:\7z\7z.exe 7z <command> (...); I have to supress 7z.exe. Yep, thanks ! I guess I only realised how Ketarin runs commands when I saw it launching cmd.exe. =)
  14. Thanks for update and sorry for all the trouble, but d:\7z\7z.exe 7z x d:\programas\atto_234.zip -od:\ -y still doesn't work for me; with windows command-line I have no problems running it. I've also tried to create a global var, {7z}, with var value "d:\7z\7z.exe", and change command to {7z} 7z x d:\programas\atto_234.zip -od:\ -y or something like you suggested, {7z} 7z x {file} -od:\ -y without success.
  15. I decided to start using Ketarin to keep my thumb drive up-to-date. It's full of installers (.exe) and Portable Appls (.zip files, not .paf, although I'll get to .paf soon enough). Right now my thumb drive looks like this: %\PortableApps\ %\Tookit\ %\Tookit\7z.dll %\Tookit\7z.exe %\Tookit\Ketarin.exe %\Tookit\System.Data.SQLite.DLL %\ZipFiles Now I only have 1 program so far - CCleaner - because I'm trying to figure out how to get this to work. I have successfully gotten ccsetup.zip to extract to %\ZipFiles\ccsetup229.zip. The problem comes when I want 7z to extract it to %\PortableApps\CCleaner. Here is the command I am executing after downloading: 7z x {file} -o"{root}PortableApps\CCleaner\" -y Which is what I managed to scrape together from posts on here. Is this correct? Why isn't it extracting? I'm probably making a pretty noobish mistake, but I'd appreciate any help. Thanks. EDIT: I managed to figure it out after some more experimentation. I needed: 7z x {root}ZipFiles\{file} -o"{root}PortableApps\CCleaner\" -y Thanks for anyone who looked. I'm sure I'll be back with more noobish questions before I get the hang of this.
  16. Hi, I currently have a global variable {PARoot} which determines the base directory for my installs: {PARoot} = C:\Portable Apps. I also have a global variable {7z} which specifieds the location of 7z.exe: {7z} = C:\Portable Apps\7-Zip\App\App\7-Zip\7z.exe. What I'd really like is to use {PARoot} within {7z}'s definition: {7z} = {PARoot}\7-Zip\App\7-Zip\7z.exe. This way if the root directory changes, I only need to update one variable. I've found one way to do this: Make the {7z} variable local to every application instead of global, and declare it as a textual variable: {7z} = {PARoot}\7-Zip\App\7-Zip\7z.exe. This works fine, except that I have to declare it for every application. I can make it a default, but that still leaves it in 100 different places, if I ever change the location or need to troubleshoot. Is there any way to do this on a global basis? Thanks!
  17. Thanks for your quick answer. Tried this 7z x "{file}" -aoa -o"{root}PortableApps\{appname}\" -y and I got the same issue and so far I tried also {root}PortableApps\7-ZipPortable\App\7-Zip\7z.exe x {file} -o"{root}PortableApps\{appname}\" -y using the portable 7zip, instead of the console in the directory of Ketarin. Anyway both get me the same error. At this point I gues it´s a bug of the 7zip console, since it does extract a part* of the file. Also when I extract with the GUI, it´s all fine. Maybe there is a way of using the GUI in a automated/silently way..? Or I may just use another command line extraction app :S I´m going to check it with more time thanks
  18. Welcome to the Ketarin forum Phil. You must pay close attention to your quotes and backslashes in the command line as well as 7-zip switches... try this: 7z x "{file}" -aoa -o"{root}PortableApps\{appname}\" -y and see if it works for you. Remember 7z.exe must be in your path or the same folder if you do not define it in your Ketarin settings. For example, I use a global variable {run_7-zip} which is defined as "C:\Program Files\Utilities\7-Zip\7z.exe". So for me the above command would be: {run_7-zip} x "{file}" -aoa -o"{root}PortableApps\{appname}\" -y Post your results when you get a chance. Also... for the last part, check out Universal Extractor that has been discussed in the forum before... just do a search for it... I think it may do what you want with installers along with some custom commands... possibly... del /f "{root}PortableApps\{appname}\*" that is run as a command before update. Be VERY careful with such commands for obvious reasons!
  19. Hello, I´m big fan of Ketarin.. meaning I update 80+ apps. Well said that, hope you can give me a hand with two main issues when using commands to extract the applicacions. Note I´m not a coders or anything related, I´m just a simple user who tries to make things work. The first is that 7zipped packages don´t get extracted at all, even the 7Z.exe process hangs out, freezing too Ketarin, till I terminate it. Let me do some explain, I´m using the console version of 7zip, kind of the same config of the "Tech Toolkit 2.0" with the "7z x {file} -o"{root}PortableApps\{appname}\" -y commands after downloading. I have no idea where the issue comes from, is a bug of 7zip or I´m not using the proper commands, hope you can explain it to me. For example I got this trouble when updating Portable Tor (if you want to give it a try this is a fixed update link for Ketarin: http://downloads.sourceforge.net/project/portabletor/portabletor/PortableTor-{version}/PortableTor-{version}.exe?use_mirror=ufpr), also with Tor Browser, SMPlayer, etc. all packaged in 7zip format. If it is a 7zip bug I guess the workaround will be a batch file with relative paths (since I use it from my stick), well if that´s the case I would really thanks some help in how the bat command should be. Also what to do when the application comes compressed with a folder that has the app version? Is there a way to rename it when it gets extracted? for two reasons, one my old files don´t get replaced/deleted and two becouse I use a launcher and this might change the main exe app path And OK, the only dude that I got left is if there is an easy way/commands etc, for extracting the {app} data of an installer and copying it files to a folder, while deleting after the extracted files (not the copied ones), since there are many portable application that comes bundled with it´s installer. I don´t really know if the 7zip console can manage it, I did some tests but it seemed to fail. Well that´s are all my headaches :S , hope you can tell me how to fix/make it work Cheers and Thanks Phil Edit: All working and solved, see the comments below (Thanks andreone and CybTekSol)
  20. That was an example. What I'm using is something like this: 7z x d:\programas\atto_234.zip -od:\ -y The problem I see is that Ketarin doesn't know where to locate the 7x.exe utility, but if I change command to something like d:\7z\7z.exe 7z x d:\programas\atto_234.zip -od:\ -y result is the same, nothing is executed.
  21. Since there are two different potential sources of a version number in the changelogs for Adobe Reader now I figured I would try parsing the SCUP catalog values instead, since it's only one value and it'll always be accurate. I was hoping I could pass a parameter to the :ps function (like {myscript:ps:myparam}) but that didn't work, so I had to split it up into several scripts. That's fine, but for some reason it's still not actually consuming the last line of the ps script as I expect it to. Here's the app: <?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="8ecc9087-14ca-420b-9a85-21e99102f5cf"> <Category>Viewers</Category> <WebsiteUrl>https://get.adobe.com/reader</WebsiteUrl> <UserAgent>{chrome}</UserAgent> <UserNotes /> <LastFileSize>312086528</LastFileSize> <LastFileDate>2022-08-10T21:37:40.503689</LastFileDate> <IgnoreFileInformation>false</IgnoreFileInformation> <DownloadBeta>Avoid</DownloadBeta> <DownloadDate>2008-11-22T23:07:01</DownloadDate> <CheckForUpdatesOnly>false</CheckForUpdatesOnly> <VariableChangeIndicator>version</VariableChangeIndicator> <HashVariable /> <HashType>None</HashType> <CanBeShared>true</CanBeShared> <ShareApplication>false</ShareApplication> <ExclusiveDownload>true</ExclusiveDownload> <HttpReferer /> <SetupInstructions /> <Variables> <item> <key> <string>schangelog</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <TextualContent>{schangelogps:ps}</TextualContent> <Name>schangelog</Name> </UrlVariable> </value> </item> <item> <key> <string>swebsite</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <TextualContent>https://get.adobe.com/reader</TextualContent> <Name>swebsite</Name> </UrlVariable> </value> </item> <item> <key> <string>snotes</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <TextualContent /> <Name>snotes</Name> </UrlVariable> </value> </item> <item> <key> <string>spc</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <TextualContent>readerpatch</TextualContent> <Name>spc</Name> </UrlVariable> </value> </item> <item> <key> <string>sdownload</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <TextualContent>{sdownloadps:ps}</TextualContent> <Name>sdownload</Name> </UrlVariable> </value> </item> <item> <key> <string>LastUpdate</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <TextualContent>20220810T2137</TextualContent> <Name>LastUpdate</Name> </UrlVariable> </value> </item> <item> <key> <string>sbits</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <TextualContent>64</TextualContent> <Name>sbits</Name> </UrlVariable> </value> </item> <item> <key> <string>splatform</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <TextualContent>windows</TextualContent> <Name>splatform</Name> </UrlVariable> </value> </item> <item> <key> <string>svendor</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <TextualContent>Adobe</TextualContent> <Name>svendor</Name> </UrlVariable> </value> </item> <item> <key> <string>LastVersion</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <TextualContent>22.002.20191</TextualContent> <Name>LastVersion</Name> </UrlVariable> </value> </item> <item> <key> <string>version</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <TextualContent>{versionps:ps}</TextualContent> <Name>version</Name> </UrlVariable> </value> </item> <item> <key> <string>versionps</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <TextualContent>wget.exe --directory-prefix="c:\downloads\" --timestamping "https://armmf.adobe.com/arm-manifests/win/SCUP/ReaderCatalog-DC.cab" 7z.exe e -y -o"c:\downloads" c:\downloads\ReaderCatalog-DC.cab sleep -s 2; [xml]$xml = get-content "c:\downloads\Reader_Catalog.xml"; $title = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-1].LocalizedProperties.Title; if ($title.indexOf("x64") -gt 0){ $url = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-1].InstallableItem.originfile.OriginUri; $version = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-1].InstallableItem.ApplicabilityRules.Metadata.MsiPatchMetadata.MsiPatch.TargetProduct.UpdatedVersion; $changelog = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-1].Properties.MoreInfoUrl; }else{ $title = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-2].LocalizedProperties.Title; $url = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-2].InstallableItem.originfile.OriginUri; $version = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-2].InstallableItem.ApplicabilityRules.Metadata.MsiPatchMetadata.MsiPatch.TargetProduct.UpdatedVersion; $changelog = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-2].Properties.MoreInfoUrl; } echo $version;</TextualContent> <Name>versionps</Name> </UrlVariable> </value> </item> <item> <key> <string>schangelogps</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <TextualContent>wget.exe --directory-prefix="c:\downloads\" --timestamping "https://armmf.adobe.com/arm-manifests/win/SCUP/ReaderCatalog-DC.cab" 7z.exe e -y -o"c:\downloads" c:\downloads\ReaderCatalog-DC.cab sleep -s 2; [xml]$xml = get-content "c:\downloads\Reader_Catalog.xml"; $title = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-1].LocalizedProperties.Title; if ($title.indexOf("x64") -gt 0){ $url = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-1].InstallableItem.originfile.OriginUri; $version = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-1].InstallableItem.ApplicabilityRules.Metadata.MsiPatchMetadata.MsiPatch.TargetProduct.UpdatedVersion; $changelog = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-1].Properties.MoreInfoUrl; }else{ $title = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-2].LocalizedProperties.Title; $url = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-2].InstallableItem.originfile.OriginUri; $version = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-2].InstallableItem.ApplicabilityRules.Metadata.MsiPatchMetadata.MsiPatch.TargetProduct.UpdatedVersion; $changelog = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-2].Properties.MoreInfoUrl; } echo $changelog;</TextualContent> <Name>schangelogps</Name> </UrlVariable> </value> </item> <item> <key> <string>sdownloadps</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <TextualContent>wget.exe --directory-prefix="c:\downloads\" --timestamping "https://armmf.adobe.com/arm-manifests/win/SCUP/ReaderCatalog-DC.cab" 7z.exe e -y -o"c:\downloads" c:\downloads\ReaderCatalog-DC.cab sleep -s 2; [xml]$xml = get-content "c:\downloads\Reader_Catalog.xml"; $title = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-1].LocalizedProperties.Title; if ($title.indexOf("x64") -gt 0){ $url = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-1].InstallableItem.originfile.OriginUri; $version = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-1].InstallableItem.ApplicabilityRules.Metadata.MsiPatchMetadata.MsiPatch.TargetProduct.UpdatedVersion; $changelog = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-1].Properties.MoreInfoUrl; }else{ $title = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-2].LocalizedProperties.Title; $url = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-2].InstallableItem.originfile.OriginUri; $version = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-2].InstallableItem.ApplicabilityRules.Metadata.MsiPatchMetadata.MsiPatch.TargetProduct.UpdatedVersion; $changelog = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-2].Properties.MoreInfoUrl; } echo $url;</TextualContent> <Name>sdownloadps</Name> </UrlVariable> </value> </item> </Variables> <ExecuteCommand /> <ExecutePreCommand /> <ExecuteCommandType>Batch</ExecuteCommandType> <ExecutePreCommandType>Batch</ExecutePreCommandType> <SourceType>FixedUrl</SourceType> <DeletePreviousFile>true</DeletePreviousFile> <Enabled>true</Enabled> <FileHippoId /> <LastUpdated>2022-08-10T21:37:40.503689</LastUpdated> <TargetPath>..\{category}\{appname:regexreplace:([\s\t\r\n\-\&amp;]+):_}-{version}.{url:ext}</TargetPath> <FixedDownloadUrl>{sdownload}</FixedDownloadUrl> <Name>__Adobe Reader DC Patch (test x64)</Name> </ApplicationJob> </Jobs> The powershell (below) works in a powershell window and you can see that it is consuming them correctly in the log below. Here's the powershell script for the version parser: wget.exe --directory-prefix="c:\downloads\" --timestamping "https://armmf.adobe.com/arm-manifests/win/SCUP/ReaderCatalog-DC.cab" 7z.exe e -y -o"c:\downloads" c:\downloads\ReaderCatalog-DC.cab sleep -s 2; [xml]$xml = get-content "c:\downloads\Reader_Catalog.xml"; $title = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-1].LocalizedProperties.Title; if ($title.indexOf("x64") -gt 0){ $url = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-1].InstallableItem.originfile.OriginUri; $version = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-1].InstallableItem.ApplicabilityRules.Metadata.MsiPatchMetadata.MsiPatch.TargetProduct.UpdatedVersion; $changelog = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-1].Properties.MoreInfoUrl; }else{ $title = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-2].LocalizedProperties.Title; $url = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-2].InstallableItem.originfile.OriginUri; $version = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-2].InstallableItem.ApplicabilityRules.Metadata.MsiPatchMetadata.MsiPatch.TargetProduct.UpdatedVersion; $changelog = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-2].Properties.MoreInfoUrl; } echo $version; Here's the log: 2022-08-16 22:49:21: Update started with 1 application(s) 2022-08-16 22:49:21: __Adobe Reader DC Patch (test x64): Replacing {sdownloadps} in '{sdownloadps:ps}' with 'wget.exe --directory-prefix="c:\downloads\" --timestamping "https://armmf.adobe.com/arm-manifests/win/SCUP/ReaderCatalog-DC.cab" 7z.exe e -y -o"c:\downloads" c:\downloads\ReaderCatalog-DC.cab sleep -s 2; [xml]$xml = get-content "c:\downloads\Reader_Catalog.xml"; $title = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-1].LocalizedProperties.Title; if ($title.indexOf("x64") > 0){ $url = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-1].InstallableItem.originfile.OriginUri; $version = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-1].InstallableItem.ApplicabilityRules.Metadata.MsiPatchMetadata.MsiPatch.TargetProduct.UpdatedVersion; $changelog = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-1].Properties.MoreInfoUrl; }else{ $title = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-2].LocalizedProperties.Title; $url = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-2].InstallableItem.originfile.OriginUri; $version = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-2].InstallableItem.ApplicabilityRules.Metadata.MsiPatchMetadata.MsiPatch.TargetProduct.UpdatedVersion; $changelog = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-2].Properties.MoreInfoUrl; } echo $url;' 2022-08-16 22:49:24: PowerShell: 2022-08-16 22:49:24: PowerShell: 7-Zip (a) 22.01 (x86) : Copyright (c) 1999-2022 Igor Pavlov : 2022-07-15 2022-08-16 22:49:24: PowerShell: 2022-08-16 22:49:24: PowerShell: Scanning the drive for archives: 2022-08-16 22:49:24: PowerShell: 1 file, 96074 bytes (94 KiB) 2022-08-16 22:49:24: PowerShell: 2022-08-16 22:49:24: PowerShell: Extracting archive: c:\downloads\ReaderCatalog-DC.cab 2022-08-16 22:49:24: PowerShell: 2022-08-16 22:49:24: PowerShell: WARNINGS: 2022-08-16 22:49:24: PowerShell: There are data after the end of archive 2022-08-16 22:49:24: PowerShell: 2022-08-16 22:49:24: PowerShell: -- 2022-08-16 22:49:24: PowerShell: Path = c:\downloads\ReaderCatalog-DC.cab 2022-08-16 22:49:24: PowerShell: Type = Cab 2022-08-16 22:49:24: PowerShell: WARNINGS: 2022-08-16 22:49:24: PowerShell: There are data after the end of archive 2022-08-16 22:49:24: PowerShell: Physical Size = 86082 2022-08-16 22:49:24: PowerShell: Tail Size = 9992 2022-08-16 22:49:24: PowerShell: Method = MSZip 2022-08-16 22:49:24: PowerShell: Blocks = 1 2022-08-16 22:49:24: PowerShell: Volumes = 1 2022-08-16 22:49:24: PowerShell: Volume Index = 0 2022-08-16 22:49:24: PowerShell: ID = 0 2022-08-16 22:49:24: PowerShell: 2022-08-16 22:49:24: PowerShell: Everything is Ok 2022-08-16 22:49:24: PowerShell: 2022-08-16 22:49:24: PowerShell: Archives with Warnings: 1 2022-08-16 22:49:24: PowerShell: 2022-08-16 22:49:24: PowerShell: Warnings: 1 2022-08-16 22:49:24: PowerShell: Size: 2581238 2022-08-16 22:49:24: PowerShell: Compressed: 96074 2022-08-16 22:49:24: PowerShell: https://ardownload3.adobe.com/pub/adobe/reader/win/AcrobatDC/2200220191/AcroRdrDCUpd2200220191_MUI.msp 2022-08-16 22:49:24: __Adobe Reader DC Patch (test x64): Replacing {sdownload} in '{sdownload}' with '' 2022-08-16 22:49:24: __Adobe Reader DC Patch (test x64): Checking if update is required... 2022-08-16 22:49:24: __Adobe Reader DC Patch (test x64): Replacing {versionps} in '{versionps:ps}' with 'wget.exe --directory-prefix="c:\downloads\" --timestamping "https://armmf.adobe.com/arm-manifests/win/SCUP/ReaderCatalog-DC.cab" 7z.exe e -y -o"c:\downloads" c:\downloads\ReaderCatalog-DC.cab sleep -s 2; [xml]$xml = get-content "c:\downloads\Reader_Catalog.xml"; $title = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-1].LocalizedProperties.Title; if ($title.indexOf("x64") > 0){ $url = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-1].InstallableItem.originfile.OriginUri; $version = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-1].InstallableItem.ApplicabilityRules.Metadata.MsiPatchMetadata.MsiPatch.TargetProduct.UpdatedVersion; $changelog = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-1].Properties.MoreInfoUrl; }else{ $title = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-2].LocalizedProperties.Title; $url = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-2].InstallableItem.originfile.OriginUri; $version = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-2].InstallableItem.ApplicabilityRules.Metadata.MsiPatchMetadata.MsiPatch.TargetProduct.UpdatedVersion; $changelog = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-2].Properties.MoreInfoUrl; } echo $version;' 2022-08-16 22:49:26: PowerShell: 2022-08-16 22:49:26: PowerShell: 7-Zip (a) 22.01 (x86) : Copyright (c) 1999-2022 Igor Pavlov : 2022-07-15 2022-08-16 22:49:26: PowerShell: 2022-08-16 22:49:26: PowerShell: Scanning the drive for archives: 2022-08-16 22:49:26: PowerShell: 1 file, 96074 bytes (94 KiB) 2022-08-16 22:49:26: PowerShell: 2022-08-16 22:49:26: PowerShell: Extracting archive: c:\downloads\ReaderCatalog-DC.cab 2022-08-16 22:49:26: PowerShell: 2022-08-16 22:49:26: PowerShell: WARNINGS: 2022-08-16 22:49:26: PowerShell: There are data after the end of archive 2022-08-16 22:49:26: PowerShell: 2022-08-16 22:49:26: PowerShell: -- 2022-08-16 22:49:26: PowerShell: Path = c:\downloads\ReaderCatalog-DC.cab 2022-08-16 22:49:26: PowerShell: Type = Cab 2022-08-16 22:49:26: PowerShell: WARNINGS: 2022-08-16 22:49:26: PowerShell: There are data after the end of archive 2022-08-16 22:49:26: PowerShell: Physical Size = 86082 2022-08-16 22:49:26: PowerShell: Tail Size = 9992 2022-08-16 22:49:26: PowerShell: Method = MSZip 2022-08-16 22:49:26: PowerShell: Blocks = 1 2022-08-16 22:49:26: PowerShell: Volumes = 1 2022-08-16 22:49:26: PowerShell: Volume Index = 0 2022-08-16 22:49:26: PowerShell: ID = 0 2022-08-16 22:49:26: PowerShell: 2022-08-16 22:49:26: PowerShell: Everything is Ok 2022-08-16 22:49:26: PowerShell: 2022-08-16 22:49:26: PowerShell: Archives with Warnings: 1 2022-08-16 22:49:26: PowerShell: 2022-08-16 22:49:26: PowerShell: Warnings: 1 2022-08-16 22:49:26: PowerShell: Size: 2581238 2022-08-16 22:49:26: PowerShell: Compressed: 96074 2022-08-16 22:49:26: PowerShell: 22.002.20191 2022-08-16 22:49:26: __Adobe Reader DC Patch (test x64): Replacing {version} in '{version}' with '' 2022-08-16 22:49:26: __Adobe Reader DC Patch (test x64): Update not required, {version} has not changed 2022-08-16 22:49:26: __Adobe Reader DC Patch (test x64): Replacing {versionps} in '{versionps:ps}' with 'wget.exe --directory-prefix="c:\downloads\" --timestamping "https://armmf.adobe.com/arm-manifests/win/SCUP/ReaderCatalog-DC.cab" 7z.exe e -y -o"c:\downloads" c:\downloads\ReaderCatalog-DC.cab sleep -s 2; [xml]$xml = get-content "c:\downloads\Reader_Catalog.xml"; $title = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-1].LocalizedProperties.Title; if ($title.indexOf("x64") > 0){ $url = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-1].InstallableItem.originfile.OriginUri; $version = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-1].InstallableItem.ApplicabilityRules.Metadata.MsiPatchMetadata.MsiPatch.TargetProduct.UpdatedVersion; $changelog = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-1].Properties.MoreInfoUrl; }else{ $title = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-2].LocalizedProperties.Title; $url = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-2].InstallableItem.originfile.OriginUri; $version = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-2].InstallableItem.ApplicabilityRules.Metadata.MsiPatchMetadata.MsiPatch.TargetProduct.UpdatedVersion; $changelog = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-2].Properties.MoreInfoUrl; } echo $version;' 2022-08-16 22:49:29: PowerShell: 2022-08-16 22:49:29: PowerShell: 7-Zip (a) 22.01 (x86) : Copyright (c) 1999-2022 Igor Pavlov : 2022-07-15 2022-08-16 22:49:29: PowerShell: 2022-08-16 22:49:29: PowerShell: Scanning the drive for archives: 2022-08-16 22:49:29: PowerShell: 1 file, 96074 bytes (94 KiB) 2022-08-16 22:49:29: PowerShell: 2022-08-16 22:49:29: PowerShell: Extracting archive: c:\downloads\ReaderCatalog-DC.cab 2022-08-16 22:49:29: PowerShell: 2022-08-16 22:49:29: PowerShell: WARNINGS: 2022-08-16 22:49:29: PowerShell: There are data after the end of archive 2022-08-16 22:49:29: PowerShell: 2022-08-16 22:49:29: PowerShell: -- 2022-08-16 22:49:29: PowerShell: Path = c:\downloads\ReaderCatalog-DC.cab 2022-08-16 22:49:29: PowerShell: Type = Cab 2022-08-16 22:49:29: PowerShell: WARNINGS: 2022-08-16 22:49:29: PowerShell: There are data after the end of archive 2022-08-16 22:49:29: PowerShell: Physical Size = 86082 2022-08-16 22:49:29: PowerShell: Tail Size = 9992 2022-08-16 22:49:29: PowerShell: Method = MSZip 2022-08-16 22:49:29: PowerShell: Blocks = 1 2022-08-16 22:49:29: PowerShell: Volumes = 1 2022-08-16 22:49:29: PowerShell: Volume Index = 0 2022-08-16 22:49:29: PowerShell: ID = 0 2022-08-16 22:49:29: PowerShell: 2022-08-16 22:49:29: PowerShell: Everything is Ok 2022-08-16 22:49:29: PowerShell: 2022-08-16 22:49:29: PowerShell: Archives with Warnings: 1 2022-08-16 22:49:29: PowerShell: 2022-08-16 22:49:29: PowerShell: Warnings: 1 2022-08-16 22:49:29: PowerShell: Size: 2581238 2022-08-16 22:49:29: PowerShell: Compressed: 96074 2022-08-16 22:49:29: PowerShell: 22.002.20191 2022-08-16 22:49:29: __Adobe Reader DC Patch (test x64): Replacing {version} in '{version}' with '' 2022-08-16 22:49:29: __Adobe Reader DC Patch (test x64): Replacing {spc} in '{spc}' with 'readerpatch' 2022-08-16 22:49:29: __Adobe Reader DC Patch (test x64): Replacing {sdownloadps} in '{sdownloadps:ps}' with 'wget.exe --directory-prefix="c:\downloads\" --timestamping "https://armmf.adobe.com/arm-manifests/win/SCUP/ReaderCatalog-DC.cab" 7z.exe e -y -o"c:\downloads" c:\downloads\ReaderCatalog-DC.cab sleep -s 2; [xml]$xml = get-content "c:\downloads\Reader_Catalog.xml"; $title = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-1].LocalizedProperties.Title; if ($title.indexOf("x64") > 0){ $url = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-1].InstallableItem.originfile.OriginUri; $version = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-1].InstallableItem.ApplicabilityRules.Metadata.MsiPatchMetadata.MsiPatch.TargetProduct.UpdatedVersion; $changelog = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-1].Properties.MoreInfoUrl; }else{ $title = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-2].LocalizedProperties.Title; $url = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-2].InstallableItem.originfile.OriginUri; $version = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-2].InstallableItem.ApplicabilityRules.Metadata.MsiPatchMetadata.MsiPatch.TargetProduct.UpdatedVersion; $changelog = $xml.SystemsManagementCatalog.SoftwareDistributionPackage[-2].Properties.MoreInfoUrl; } echo $url;' 2022-08-16 22:49:31: PowerShell: 2022-08-16 22:49:31: PowerShell: 7-Zip (a) 22.01 (x86) : Copyright (c) 1999-2022 Igor Pavlov : 2022-07-15 2022-08-16 22:49:31: PowerShell: 2022-08-16 22:49:31: PowerShell: Scanning the drive for archives: 2022-08-16 22:49:31: PowerShell: 1 file, 96074 bytes (94 KiB) 2022-08-16 22:49:31: PowerShell: 2022-08-16 22:49:31: PowerShell: Extracting archive: c:\downloads\ReaderCatalog-DC.cab 2022-08-16 22:49:31: PowerShell: 2022-08-16 22:49:31: PowerShell: WARNINGS: 2022-08-16 22:49:31: PowerShell: There are data after the end of archive 2022-08-16 22:49:31: PowerShell: 2022-08-16 22:49:31: PowerShell: -- 2022-08-16 22:49:31: PowerShell: Path = c:\downloads\ReaderCatalog-DC.cab 2022-08-16 22:49:31: PowerShell: Type = Cab 2022-08-16 22:49:31: PowerShell: WARNINGS: 2022-08-16 22:49:31: PowerShell: There are data after the end of archive 2022-08-16 22:49:31: PowerShell: Physical Size = 86082 2022-08-16 22:49:31: PowerShell: Tail Size = 9992 2022-08-16 22:49:31: PowerShell: Method = MSZip 2022-08-16 22:49:31: PowerShell: Blocks = 1 2022-08-16 22:49:31: PowerShell: Volumes = 1 2022-08-16 22:49:31: PowerShell: Volume Index = 0 2022-08-16 22:49:31: PowerShell: ID = 0 2022-08-16 22:49:31: PowerShell: 2022-08-16 22:49:31: PowerShell: Everything is Ok 2022-08-16 22:49:31: PowerShell: 2022-08-16 22:49:31: PowerShell: Archives with Warnings: 1 2022-08-16 22:49:31: PowerShell: 2022-08-16 22:49:31: PowerShell: Warnings: 1 2022-08-16 22:49:31: PowerShell: Size: 2581238 2022-08-16 22:49:31: PowerShell: Compressed: 96074 2022-08-16 22:49:31: PowerShell: https://ardownload3.adobe.com/pub/adobe/reader/win/AcrobatDC/2200220191/AcroRdrDCUpd2200220191_MUI.msp 2022-08-16 22:49:31: __Adobe Reader DC Patch (test x64): Replacing {sdownload} in '{sdownload}' with '' 2022-08-16 22:49:31: __Adobe Reader DC Patch (test x64): Replacing {LastUpdate} in '{LastUpdate}' with '20220810T2137' 2022-08-16 22:49:31: __Adobe Reader DC Patch (test x64): Replacing {sbits} in '{sbits}' with '64' 2022-08-16 22:49:31: __Adobe Reader DC Patch (test x64): Replacing {splatform} in '{splatform}' with 'windows' 2022-08-16 22:49:31: __Adobe Reader DC Patch (test x64): Replacing {LastVersion} in '{LastVersion}' with '22.002.20191' 2022-08-16 22:49:31: Update finished I'm sure I'm missing something obvious, but I'm just not seeing the bug. Any thoughts?
  22. Nope' date=' indeed with Ketarin you need to use symbols like & and && to combine commands. @allanc Can you post log ?[/quote'] I:\Program Files\Ketarin> 2009/04/20 5:48:10 PM: Update finished 2009/04/20 6:34:31 PM: Update started with 1 application(s) 2009/04/20 6:34:32 PM: _7-Zip: Using referer: (none) 2009/04/20 6:34:32 PM: _7-Zip: Server source file: /download/file/7f331d0d2889b62a09e83bcb42f5ecd1821de43eff905c62bee48a13f81ff2ba 2009/04/20 6:34:32 PM: _7-Zip: Determined target file name: L:\Toolkit\Zip\7_Zip\7z465.exe 2009/04/20 6:34:32 PM: _7-Zip: Checking if update is required... 2009/04/20 6:34:32 PM: _7-Zip: Update required, 'L:\Toolkit\Zip\7_Zip\7z465.exe' does not yet exist 2009/04/20 6:34:39 PM: _7-Zip: Executing command: "I:\Program Files\7-Zip\7z.exe" x "L:\Toolkit\Zip\7_Zip\*.zip" -Y -o"L:\Toolkit\Zip\7_Zip\" && ren L:\Toolkit\Zip\7_Zip\*.exe 7z.exe 2009/04/20 6:34:39 PM: _7-Zip: Command result: I:\Program Files\Ketarin>"I:\Program Files\7-Zip\7z.exe" x "L:\Toolkit\Zip\7_Zip\*.zip" -Y -o"L:\Toolkit\Zip\7_Zip\" && ren L:\Toolkit\Zip\7_Zip\*.exe 7z.exe 7-Zip 4.65 Copyright © 1999-2009 Igor Pavlov 2009-02-03 Error: there is no such archive I:\Program Files\Ketarin> 2009/04/20 6:34:39 PM: Update finished
  23. Hello, I have a problem with some applications. The download part is OK, but the command line executed after the download failed. Actually, the command never returns. The command is a simple zip extraction to a folder using 7z.exe (4.65) I'm sure this is not a problem of the command line itself, since if I execute the same command (copied from ketarin's output), it succeeds. I have also other app with the same process after downloading and the command line succeeds. Looking in the task manager, it appears that the 7z process does simply nothing (0% cpu), and Ketarin's wait infinitely. If a kill the 7z process, Ketarin's released. Then the ouput shows a truncated capture of 7z outputs. I noticed this bug only appears when the downloaded archive contains a large number of files (over a hundred). Here's a template of an application that fails (RJ Text Editor): <?xml version="1.0" encoding="utf-16"?> <Jobs> <ApplicationJob xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Guid="3931a5f0-79cc-4078-b1e7-ff6eb3b9b78b"> <DownloadBeta>Default</DownloadBeta> <DownloadDate xsi:nil="true" /> <CheckForUpdatesOnly>false</CheckForUpdatesOnly> <VariableChangeIndicator /> <CanBeShared>true</CanBeShared> <ShareApplication>true</ShareApplication> <ExclusiveDownload>false</ExclusiveDownload> <HttpReferer /> <Variables> <item> <key> <string>version</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>StartEnd</VariableType> <Regex /> <Url>http://www.rj-texted.se/download.htm</Url> <StartText>RJ TextEd installer version </StartText> <EndText> (</EndText> <Name>version</Name> </UrlVariable> </value> </item> </Variables> <ExecuteCommand>7z x -y -r -x!texted.ini -o"{install_root}\{category}" {file}</ExecuteCommand> <ExecutePreCommand /> <Category>Edition</Category> <SourceType>FixedUrl</SourceType> <PreviousLocation>\\Intra05\Etudes\Automate\Apps\Edition\RJ_TextEd_NoInstall.zip</PreviousLocation> <DeletePreviousFile>true</DeletePreviousFile> <Enabled>true</Enabled> <FileHippoId /> <LastUpdated>2009-04-14T10:26:56.3874668</LastUpdated> <TargetPath>{repo_root}\{category}\</TargetPath> <FixedDownloadUrl>http://www.rj-texted.se/downloads/RJ_TextEd_NoInstall.zip</FixedDownloadUrl> <Name>RJ TextEd - Portable</Name> </ApplicationJob> </Jobs> Could't it be something like Ketarin uses a buffer of a fixed size that is not big enough to capture all outputs and then freezes the 7z process?
  24. Wonderful program! I use it to check for new versions and update almost all my thumbdrive apps. I especially love those apps that have a zipped version available as Ketarin downloads it and then unzips it to the final directory on my thumbdrive. Now aside form the AV installers and such, even my portable apps are always the latest version! BTW, figuring out the unzip commands for me was a bit of a pain so I thought I’d share it. You need the dos or command line version of unzip.exe. I had one on my computer but you can find one on google if you need. in the “Execute the following command after downloading” in the Advanced Settings tab, you need to enter something like this: \Thumbdrive\PortableApps\unzip.exe -o \Thumbdrive\PortableApps\PROGRAMFOLDER\PROGRAM.zip -d \Thumbdrive\PortableApps\PROGRAMFOLDER\ I have the unzip.exe program in the \Thumbdrive\PortableApps\ folder on my thumbdrive. The -o switch instructs unzip.exe to overwrite files without prompting. Replace PROGRAMFOLDER with the name of the program of course, and PROGRAM.zip with the name of the zipped file. The -d switch instructs unzip.exe to extract the contents of the zipped file to the following directory - which in my case is \Thumbdrive\PortableApps\PROGRAMFOLDER\ You should also use the “Save to file” rather than the “Save in folder” option in the Download Location in Ketarin. This ensures the file name always matches what you specified unzip.exe to look for. This same technique works for .RAR or .7z, or any other compressed file. You just need to locate the command line version of the unRAR.exe or un7z.exe program and adjust the switches. One major roadblock to having my fully automated updated thumbdrive is programs that come with a self extracting installer. for example, HiJackThis.exe when run gives you a pop up box to tell it where you want to install it. Anyone know how to extract the files from these, or at least command line tell it where to install? -Shannon
  25. Done now ! 05-01-2009 19:33:38: Replacing {7z} in 'md {7z} & start "" /wait {uni} {file} %temp% & copy /y %temp%\7z.exe {7z} & copy /y %temp%\7z.dll {7z} & copy /y %temp%\7-zip.chm {7z}' with 'd:\7z' 05-01-2009 19:33:38: Replacing {uni} in 'md d:\7z & start "" /wait {uni} {file} %temp% & copy /y %temp%\7z.exe d:\7z & copy /y %temp%\7z.dll d:\7z & copy /y %temp%\7-zip.chm d:\7z' with 'c:\progra~1\uniextract\uniextract.exe' 05-01-2009 19:33:38: Portable 7-Zip: Executing command: md d:\7z & start "" /wait c:\progra~1\uniextract\uniextract.exe "D:\Programas\7z464.exe" %temp% & copy /y %temp%\7z.exe d:\7z & copy /y %temp%\7z.dll d:\7z & copy /y %temp%\7-zip.chm d:\7z 05-01-2009 19:33:40: Portable 7-Zip: Command result: D:\Ketarin>md d:\7z & start "" /wait c:\progra~1\uniextract\uniextract.exe "D:\Programas\7z464.exe" %temp% & copy /y %temp%\7z.exe d:\7z & copy /y %temp%\7z.dll d:\7z & copy /y %temp%\7-zip.chm d:\7z 1 ficheiro(s) copiado(s). 1 ficheiro(s) copiado(s). 1 ficheiro(s) copiado(s). But my commands are getting larger and larger and I don't think I will be writing a bunch of batch files to move arround; if you don't wan't to increase the command box because of the GUI aesthetic (I think), how about allowing global variables to refer other global variables ? I want to create a var {c}= & copy /y %temp%\7z.exe {7z} & copy /y %temp%\7z.dll {7z} & copy /y %temp%\7-zip.chm {7z}, but currently this doesn't work because {7z} is not replaced with my var value d:\7z.
×
×
  • 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.