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 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.
  2. Mid-posting I tested something different is all, posted the changes. I even tried setting the variable as %qwe% but still same problem. I also get this error D:\Programs\Internet\Ketarin>xcopy /C /E /H /I /Y "%path%" "D:\Programs\Video\MPlayer WW\" 'xcopy' is not recognized as an internal or external command, operable program or batch file. and again it is only for this specific app that i'm having the trouble, all the other with such commands are perfectly fine. For example here is my notepad++ Batch code {7z} x "{file}" -o"{p2}{appname:regexreplace: \(.*\):}" -y for /F "tokens=*" %d in ('dir "{p2}{appname:regexreplace: \(.*\):}" /ad /b') do set dir="{p2}{appname:regexreplace: \(.*\):}"\%d if exist "{p1}{category}\{appname:regexreplace: \(.*\):}"\config.xml del "%dir%"\config.xml {copy} "%dir%" "{p1}{category}\{appname:regexreplace: \(.*\):}" rd /s /q "{p2}{appname:regexreplace: \(.*\):}" Log 04/12/2010 7:46:58 PM: Notepad++ (Unicode Binary): Executing command: start /wait D:\"Programs\File Management\7-ZipPortable\App\7-Zip\7z.exe" x "D:\Software\Programs\Productivity\npp.5.8.5.bin.7z" -o"D:\Ketatemp\Notepad++" -y 04/12/2010 7:46:58 PM: Notepad++ (Unicode Binary): Executing command: for /F "tokens=*" %d in ('dir "D:\Ketatemp\Notepad++" /ad /b') do set dir="D:\Ketatemp\Notepad++"\%d 04/12/2010 7:46:58 PM: Notepad++ (Unicode Binary): Executing command: if exist "D:\Programs\Productivity\Notepad++"\config.xml del "%dir%"\config.xml 04/12/2010 7:46:58 PM: Notepad++ (Unicode Binary): Executing command: xcopy /C /E /H /I /Y "%dir%" "D:\Programs\Productivity\Notepad++" 04/12/2010 7:46:58 PM: Notepad++ (Unicode Binary): Executing command: rd /s /q "D:\Ketatemp\Notepad++" 04/12/2010 7:46:59 PM: Notepad++ (Unicode Binary): Command result: Microsoft Windows [Version 6.1.7600] Copyright (c) 2009 Microsoft Corporation. All rights reserved. D:\Programs\Internet\Ketarin>start /wait D:\"Programs\File Management\7-ZipPortable\App\7-Zip\7z.exe" x "D:\Software\Programs\Productivity\npp.5.8.5.bin.7z" -o"D:\Ketatemp\Notepad++" -y D:\Programs\Internet\Ketarin>for /F "tokens=*" %d in ('dir "D:\Ketatemp\Notepad++" /ad /b') do set dir="D:\Ketatemp\Notepad++"\%d D:\Programs\Internet\Ketarin>set dir="D:\Ketatemp\Notepad++"\ansi D:\Programs\Internet\Ketarin>set dir="D:\Ketatemp\Notepad++"\unicode D:\Programs\Internet\Ketarin>if exist "D:\Programs\Productivity\Notepad++"\config.xml del "%dir%"\config.xml Could Not Find D:\Ketatemp\Notepad++\unicode\config.xml D:\Programs\Internet\Ketarin>xcopy /C /E /H /I /Y "%dir%" "D:\Programs\Productivity\Notepad++" D:\Ketatemp\Notepad++\unicode\change.log D:\Ketatemp\Notepad++\unicode\config.model.xml D:\Ketatemp\Notepad++\unicode\contextMenu.xml D:\Ketatemp\Notepad++\unicode\doLocalConf.xml D:\Ketatemp\Notepad++\unicode\langs.model.xml D:\Ketatemp\Notepad++\unicode\license.txt D:\Ketatemp\Notepad++\unicode\notepad++.exe D:\Ketatemp\Notepad++\unicode\NppHelp.chm D:\Ketatemp\Notepad++\unicode\readme.txt D:\Ketatemp\Notepad++\unicode\SciLexer.dll D:\Ketatemp\Notepad++\unicode\shortcuts.xml D:\Ketatemp\Notepad++\unicode\stylers.model.xml D:\Ketatemp\Notepad++\unicode\localization\afrikaans.xml D:\Ketatemp\Notepad++\unicode\localization\albanian.xml D:\Ketatemp\Notepad++\unicode\localization\arabic.xml D:\Ketatemp\Notepad++\unicode\localization\aranese.xml D:\Ketatemp\Notepad++\unicode\localization\azerbaijani.xml D:\Ketatemp\Notepad++\unicode\localization\basque.xml D:\Ketatemp\Notepad++\unicode\localization\belarusian.xml D:\Ketatemp\Notepad++\unicode\localization\bosnian.xml D:\Ketatemp\Notepad++\unicode\localization\brazilian_portuguese.xml D:\Ketatemp\Notepad++\unicode\localization\bulgarian.xml D:\Ketatemp\Notepad++\unicode\localization\catalan.xml D:\Ketatemp\Notepad++\unicode\localization\chinese.xml D:\Ketatemp\Notepad++\unicode\localization\chineseSimplified.xml D:\Ketatemp\Notepad++\unicode\localization\croatian.xml D:\Ketatemp\Notepad++\unicode\localization\czech.xml D:\Ketatemp\Notepad++\unicode\localization\danish.xml D:\Ketatemp\Notepad++\unicode\localization\dutch.xml D:\Ketatemp\Notepad++\unicode\localization\english.xml D:\Ketatemp\Notepad++\unicode\localization\extremaduran.xml D:\Ketatemp\Notepad++\unicode\localization\farsi.xml D:\Ketatemp\Notepad++\unicode\localization\finnish.xml D:\Ketatemp\Notepad++\unicode\localization\french.xml D:\Ketatemp\Notepad++\unicode\localization\friulian.xml D:\Ketatemp\Notepad++\unicode\localization\galician.xml D:\Ketatemp\Notepad++\unicode\localization\georgian.xml D:\Ketatemp\Notepad++\unicode\localization\german.xml D:\Ketatemp\Notepad++\unicode\localization\greek.xml D:\Ketatemp\Notepad++\unicode\localization\hebrew.xml D:\Ketatemp\Notepad++\unicode\localization\hungarian.xml D:\Ketatemp\Notepad++\unicode\localization\hungarianA.xml D:\Ketatemp\Notepad++\unicode\localization\indonesian.xml D:\Ketatemp\Notepad++\unicode\localization\italian.xml D:\Ketatemp\Notepad++\unicode\localization\japanese.xml D:\Ketatemp\Notepad++\unicode\localization\kazakh.xml D:\Ketatemp\Notepad++\unicode\localization\korean.xml D:\Ketatemp\Notepad++\unicode\localization\kyrgyz.xml D:\Ketatemp\Notepad++\unicode\localization\Latvian.xml D:\Ketatemp\Notepad++\unicode\localization\lithuanian.xml D:\Ketatemp\Notepad++\unicode\localization\luxembourgish.xml D:\Ketatemp\Notepad++\unicode\localization\macedonian.xml D:\Ketatemp\Notepad++\unicode\localization\malay.xml D:\Ketatemp\Notepad++\unicode\localization\norwegian.xml D:\Ketatemp\Notepad++\unicode\localization\nynorsk.xml D:\Ketatemp\Notepad++\unicode\localization\occitan.xml D:\Ketatemp\Notepad++\unicode\localization\polish.xml D:\Ketatemp\Notepad++\unicode\localization\portuguese.xml D:\Ketatemp\Notepad++\unicode\localization\romanian.xml D:\Ketatemp\Notepad++\unicode\localization\russian.xml D:\Ketatemp\Notepad++\unicode\localization\samogitian.xml D:\Ketatemp\Notepad++\unicode\localization\serbian.xml D:\Ketatemp\Notepad++\unicode\localization\serbianCyrillic.xml D:\Ketatemp\Notepad++\unicode\localization\slovak.xml D:\Ketatemp\Notepad++\unicode\localization\slovakA.xml D:\Ketatemp\Notepad++\unicode\localization\slovenian.xml D:\Ketatemp\Notepad++\unicode\localization\spanish.xml D:\Ketatemp\Notepad++\unicode\localization\spanish_ar.xml D:\Ketatemp\Notepad++\unicode\localization\swedish.xml D:\Ketatemp\Notepad++\unicode\localization\tagalog.xml D:\Ketatemp\Notepad++\unicode\localization\tamil.xml D:\Ketatemp\Notepad++\unicode\localization\thai.xml D:\Ketatemp\Notepad++\unicode\localization\turkish.xml D:\Ketatemp\Notepad++\unicode\localization\ukrainian.xml D:\Ketatemp\Notepad++\unicode\localization\uzbek.xml D:\Ketatemp\Notepad++\unicode\localization\uzbekCyrillic.xml D:\Ketatemp\Notepad++\unicode\plugins\ComparePlugin.dll D:\Ketatemp\Notepad++\unicode\plugins\NppExport.dll D:\Ketatemp\Notepad++\unicode\plugins\NppFTP.dll D:\Ketatemp\Notepad++\unicode\plugins\NppTextFX.dll D:\Ketatemp\Notepad++\unicode\plugins\PluginManager.dll D:\Ketatemp\Notepad++\unicode\plugins\SpellChecker.dll D:\Ketatemp\Notepad++\unicode\plugins\APIs\actionscript.xml D:\Ketatemp\Notepad++\unicode\plugins\APIs\c.xml D:\Ketatemp\Notepad++\unicode\plugins\APIs\cmake.xml D:\Ketatemp\Notepad++\unicode\plugins\APIs\cpp.xml D:\Ketatemp\Notepad++\unicode\plugins\APIs\cs.xml D:\Ketatemp\Notepad++\unicode\plugins\APIs\css.xml D:\Ketatemp\Notepad++\unicode\plugins\APIs\html.xml D:\Ketatemp\Notepad++\unicode\plugins\APIs\java.xml D:\Ketatemp\Notepad++\unicode\plugins\APIs\javascript.xml D:\Ketatemp\Notepad++\unicode\plugins\APIs\lisp.xml D:\Ketatemp\Notepad++\unicode\plugins\APIs\nsis.xml D:\Ketatemp\Notepad++\unicode\plugins\APIs\perl.xml D:\Ketatemp\Notepad++\unicode\plugins\APIs\php.xml D:\Ketatemp\Notepad++\unicode\plugins\APIs\python.xml D:\Ketatemp\Notepad++\unicode\plugins\APIs\rc.xml D:\Ketatemp\Notepad++\unicode\plugins\APIs\sql.xml D:\Ketatemp\Notepad++\unicode\plugins\APIs\tex.xml D:\Ketatemp\Notepad++\unicode\plugins\APIs\vb.xml D:\Ketatemp\Notepad++\unicode\plugins\APIs\vhdl.xml D:\Ketatemp\Notepad++\unicode\plugins\APIs\xml.xml D:\Ketatemp\Notepad++\unicode\plugins\Config\tidy\AsciiToEBCDIC.bin D:\Ketatemp\Notepad++\unicode\plugins\Config\tidy\HTMLTIDY.CFG D:\Ketatemp\Notepad++\unicode\plugins\Config\tidy\HTMLTIDY.ERR D:\Ketatemp\Notepad++\unicode\plugins\Config\tidy\libTidy.dll D:\Ketatemp\Notepad++\unicode\plugins\Config\tidy\TIDYCFG.INI D:\Ketatemp\Notepad++\unicode\plugins\Config\tidy\W3C-CSSValidator.htm D:\Ketatemp\Notepad++\unicode\plugins\Config\tidy\W3C-HTMLValidator.htm D:\Ketatemp\Notepad++\unicode\plugins\doc\NPPTextFXdemo.TXT D:\Ketatemp\Notepad++\unicode\plugins\doc\NppFTP\license_libssh.txt D:\Ketatemp\Notepad++\unicode\plugins\doc\NppFTP\license_NppFTP.txt D:\Ketatemp\Notepad++\unicode\plugins\doc\NppFTP\license_OpenSSL.txt D:\Ketatemp\Notepad++\unicode\plugins\doc\NppFTP\license_TiXML.txt D:\Ketatemp\Notepad++\unicode\plugins\doc\NppFTP\license_UTCP.htm D:\Ketatemp\Notepad++\unicode\plugins\doc\NppFTP\license_ZLIB.txt D:\Ketatemp\Notepad++\unicode\plugins\doc\NppFTP\Readme.txt D:\Ketatemp\Notepad++\unicode\plugins\doc\PythonScript\PythonScript.chm D:\Ketatemp\Notepad++\unicode\plugins\doc\SelectNLaunch\license.txt D:\Ketatemp\Notepad++\unicode\plugins\doc\SelectNLaunch\readme.txt D:\Ketatemp\Notepad++\unicode\plugins\doc\ZenCodingPython\readme.txt D:\Ketatemp\Notepad++\unicode\themes\Bespin.xml D:\Ketatemp\Notepad++\unicode\themes\Black board.xml D:\Ketatemp\Notepad++\unicode\themes\Choco.xml D:\Ketatemp\Notepad++\unicode\themes\Deep Black.xml D:\Ketatemp\Notepad++\unicode\themes\Hello Kitty.xml D:\Ketatemp\Notepad++\unicode\themes\Mono Industrial.xml D:\Ketatemp\Notepad++\unicode\themes\Monokai.xml D:\Ketatemp\Notepad++\unicode\themes\Obsidian.xml D:\Ketatemp\Notepad++\unicode\themes\Plastic Code Wrap.xml D:\Ketatemp\Notepad++\unicode\themes\Ruby Blue.xml D:\Ketatemp\Notepad++\unicode\themes\Twilight.xml D:\Ketatemp\Notepad++\unicode\themes\Vibrant Ink.xml D:\Ketatemp\Notepad++\unicode\themes\vim Dark Blue.xml D:\Ketatemp\Notepad++\unicode\themes\Zenburn.xml D:\Ketatemp\Notepad++\unicode\updater\gpup.exe 136 File(s) copied D:\Programs\Internet\Ketarin>rd /s /q "D:\Ketatemp\Notepad++" D:\Programs\Internet\Ketarin> Full XML <?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="4323957a-3273-49fb-aeb4-e69e3a590250"> <SourceTemplate><![CDATA[<?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"> <WebsiteUrl /> <UserNotes /> <IgnoreFileInformation>false</IgnoreFileInformation> <DownloadBeta>Default</DownloadBeta> <CheckForUpdatesOnly>false</CheckForUpdatesOnly> <VariableChangeIndicator /> <CanBeShared>true</CanBeShared> <ShareApplication>false</ShareApplication> <ExclusiveDownload>false</ExclusiveDownload> <UserAgent>{sfua}</UserAgent> <HttpReferer></HttpReferer> <Variables> <item> <key> <string>download</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>(http[^"']+[^"']+(\.zip|\.rar|\.7z))</Regex> <Url>http://sourceforge.net{folder2}</Url> <Name>download</Name> </UrlVariable> </value> </item> <item> <key> <string>folder1</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>["']([^"']+projects[^"']+files[^"']+)/"</Regex> <Url><placeholder name="Application Page URL" value="http://sourceforge.net/projects/notepad-plus/files/" /></Url> <Name>folder1</Name> </UrlVariable> </value> </item> <item> <key> <string>folder2</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>["']([^"']+projects[^"']+files[^"']+)/"</Regex> <Url>http://sourceforge.net{folder1}</Url> <Name>folder2</Name> </UrlVariable> </value> </item> <item> <key> <string>name</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>title="/(.*?)/</Regex> <Url><placeholder name="Application Page URL" value="http://sourceforge.net/projects/notepad-plus/files/" /></Url> <Name>name</Name> </UrlVariable> </value> </item> </Variables> <ExecuteCommand>/*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);</ExecuteCommand> <ExecutePreCommand /> <ExecuteCommandType>CS</ExecuteCommandType> <ExecutePreCommandType>Batch</ExecutePreCommandType> <SetupInstructions /> <Category><placeholder name="Category" value="Productivity" /></Category> <SourceType>FixedUrl</SourceType> <DeletePreviousFile>true</DeletePreviousFile> <Enabled>true</Enabled> <FileHippoId /> <TargetPath>{s1}{category}\</TargetPath> <FixedDownloadUrl>{download}</FixedDownloadUrl> <Name><placeholder name="Name of application" variable="name" value="notepad++ releases binary" /></Name> </ApplicationJob> </Jobs>]]></SourceTemplate> <WebsiteUrl /> <UserAgent>{sfua}</UserAgent> <UserNotes /> <LastFileSize>3425892</LastFileSize> <LastFileDate>2010-12-02T22:51:33.3122627</LastFileDate> <IgnoreFileInformation>false</IgnoreFileInformation> <DownloadBeta>Default</DownloadBeta> <DownloadDate xsi:nil="true" /> <CheckForUpdatesOnly>false</CheckForUpdatesOnly> <VariableChangeIndicator /> <CanBeShared>true</CanBeShared> <ShareApplication>false</ShareApplication> <ExclusiveDownload>false</ExclusiveDownload> <HttpReferer /> <SetupInstructions> <SetupInstruction xsi:type="CustomSetupInstruction"> <Code>{7z} x "{file}" -o"{p2}{appname:regexreplace: \(.*\):}" -y & for /F "tokens=*" %d in ('dir "{p2}{appname:regexreplace: \(.*\):}" /ad /b') do set dir="{p2}{appname:regexreplace: \(.*\):}"\%d & if exist "{p1}{category}\{appname:regexreplace: \(.*\):}"\config.xml del "%dir%"\config.xml & {copy} "%dir%" "{p1}{category}\{appname:regexreplace: \(.*\):}" & rd /s /q "{p2}{appname:regexreplace: \(.*\):}"</Code> <Type>Batch</Type> </SetupInstruction> </SetupInstructions> <Variables> <item> <key> <string>download</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>(http[^"']+[^"']+\.bin(\.zip|\.rar|\.7z))</Regex> <Url>http://sourceforge.net{folder2}</Url> <Name>download</Name> </UrlVariable> </value> </item> <item> <key> <string>folder1</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>["']([^"']+projects[^"']+files[^"']+)/"</Regex> <Url>http://sourceforge.net/projects/notepad-plus/files/</Url> <Name>folder1</Name> </UrlVariable> </value> </item> <item> <key> <string>folder2</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>["']([^"']+projects[^"']+files[^"']+)/"</Regex> <Url>http://sourceforge.net{folder1}</Url> <Name>folder2</Name> </UrlVariable> </value> </item> <item> <key> <string>name</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>title="/(.*?)/</Regex> <Url>http://sourceforge.net/projects/notepad-plus/files/</Url> <Name>name</Name> </UrlVariable> </value> </item> </Variables> <ExecuteCommand>/*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);</ExecuteCommand> <ExecutePreCommand /> <ExecuteCommandType>CS</ExecuteCommandType> <ExecutePreCommandType>Batch</ExecutePreCommandType> <Category>Productivity</Category> <SourceType>FixedUrl</SourceType> <PreviousLocation>D:\Software\Programs\Productivity\npp.5.8.5.bin.7z</PreviousLocation> <DeletePreviousFile>true</DeletePreviousFile> <Enabled>true</Enabled> <FileHippoId /> <LastUpdated>2010-12-02T22:51:33.3122627</LastUpdated> <TargetPath>{s1}{category}\</TargetPath> <FixedDownloadUrl>{download}</FixedDownloadUrl> <Name>Notepad++ (Unicode Binary)</Name> </ApplicationJob> </Jobs>
  3. I'm not 100% sure if this is a bug or not, but it seemed the most likely place to post. The code i'm posting does essentially find the first executable file, set the directory that it is in as the variable dir. This helps for zips that get extracted to one or more subfolders. Also a little bit extra code for not overwriting existing ini files. Trouble is the code works fine in batch/cmd line. However putting it in Ketarin it doesn't expand %dir% in this instance. If I do echo %dir% will echo the variable expanded however using it in a command it doesn't seem to expand. I've spent a while on this and i'm not sure why it does this. {7z} x "{file}" -o"{p2}{appname:regexreplace: \(.*\):}" -y dir /b /s "{p2}{appname:regexreplace: \(.*\):}"\*.exe > "{p2}{appname:regexreplace: \(.*\):}"\1.txt set /p f=<"{p2}{appname:regexreplace: \(.*\):}"\1.txt echo %f% > "{p2}{appname:regexreplace: \(.*\):}"\2.txt for /f "tokens=*" %a in ("{p2}{appname:regexreplace: \(.*\):}"\2.txt) do set dir=%~dpa {copy} "%dir%" "{p1}{category}\{appname:regexreplace: \(.*\):}\" rd /s /q "{p2}{appname:regexreplace: \(.*\):}" this is the resulting log output 04/12/2010 5:24:57 AM: MPlayer WW: Executing command: start /wait D:\"Programs\File Management\7-ZipPortable\App\7-Zip\7z.exe" x "D:\Software\Programs\Video\mplayer-SVN-r32669.7z" -o"D:\Ketatemp\MPlayer WW" -y 04/12/2010 5:24:57 AM: MPlayer WW: Executing command: dir /b /s "D:\Ketatemp\MPlayer WW"\*.exe > 1.txt 04/12/2010 5:24:57 AM: MPlayer WW: Executing command: set /p f=<1.txt 04/12/2010 5:24:57 AM: MPlayer WW: Executing command: echo %f% > 2.txt 04/12/2010 5:24:57 AM: MPlayer WW: Executing command: for /f "tokens=*" %a in (2.txt) do set path=%~dpa 04/12/2010 5:24:57 AM: MPlayer WW: Executing command: if exist "D:\Programs\Video\MPlayer WW"\mplayer.ini del "%path%"\mplayer.ini 04/12/2010 5:24:57 AM: MPlayer WW: Executing command: if exist "D:\Programs\Video\MPlayer WW"\kk.ini del "%path%"\kk.ini 04/12/2010 5:24:57 AM: MPlayer WW: Executing command: if exist "D:\Programs\Video\MPlayer WW"\input.ini del "%path%"\input.ini 04/12/2010 5:24:57 AM: MPlayer WW: Executing command: xcopy /C /E /H /I /Y "%path%" "D:\Programs\Video\MPlayer WW\" 04/12/2010 5:24:57 AM: MPlayer WW: Executing command: rd /s /q "D:\Ketatemp\MPlayer WW" 04/12/2010 5:24:58 AM: MPlayer WW: Command result: Microsoft Windows [Version 6.1.7600] Copyright (c) 2009 Microsoft Corporation. All rights reserved. D:\Programs\Internet\Ketarin>start /wait D:\"Programs\File Management\7-ZipPortable\App\7-Zip\7z.exe" x "D:\Software\Programs\Video\mplayer-SVN-r32669.7z" -o"D:\Ketatemp\MPlayer WW" -y D:\Programs\Internet\Ketarin>dir /b /s "D:\Ketatemp\MPlayer WW"\*.exe > 1.txt D:\Programs\Internet\Ketarin>set /p f=<1.txt D:\Programs\Internet\Ketarin>echo %f% > 2.txt D:\Programs\Internet\Ketarin>for /f "tokens=*" %a in (2.txt) do set path=%~dpa D:\Programs\Internet\Ketarin>set path=D:\Ketatemp\MPlayer WW\mplayer_release\mplayer\ D:\Programs\Internet\Ketarin>if exist "D:\Programs\Video\MPlayer WW"\mplayer.ini del "%path%"\mplayer.ini D:\Programs\Internet\Ketarin>if exist "D:\Programs\Video\MPlayer WW"\kk.ini del "%path%"\kk.ini D:\Programs\Internet\Ketarin>if exist "D:\Programs\Video\MPlayer WW"\input.ini del "%path%"\input.ini D:\Programs\Internet\Ketarin>xcopy /C /E /H /I /Y "%path%" "D:\Programs\Video\MPlayer WW\" 'xcopy' is not recognized as an internal or external command, operable program or batch file. D:\Programs\Internet\Ketarin>rd /s /q "D:\Ketatemp\MPlayer WW" D:\Programs\Internet\Ketarin> I've deleted the app and made it fresh/new, but still the same problem. If someone else has a ketarin install that they may like to try this out on i'd appreciate it. here is the xml for my 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="c78ede13-9565-40a4-94d2-a875886e8aa0"> <SourceTemplate><![CDATA[<?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"> <WebsiteUrl /> <UserNotes /> <IgnoreFileInformation>false</IgnoreFileInformation> <DownloadBeta>Default</DownloadBeta> <CheckForUpdatesOnly>false</CheckForUpdatesOnly> <VariableChangeIndicator /> <CanBeShared>true</CanBeShared> <ShareApplication>false</ShareApplication> <ExclusiveDownload>false</ExclusiveDownload> <UserAgent>{sfua}</UserAgent> <HttpReferer></HttpReferer> <Variables> <item> <key> <string>download</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>(http[^"']+[^"']+(\.zip|\.rar|\.7z))</Regex> <Url>http://sourceforge.net{folder2}</Url> <Name>download</Name> </UrlVariable> </value> </item> <item> <key> <string>folder1</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>["']([^"']+projects[^"']+files[^"']+)/"</Regex> <Url><placeholder name="Application Page URL" value="http://sourceforge.net/projects/mplayer-ww/files/" /></Url> <Name>folder1</Name> </UrlVariable> </value> </item> <item> <key> <string>folder2</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>["']([^"']+projects[^"']+files[^"']+)/"</Regex> <Url>http://sourceforge.net{folder1}</Url> <Name>folder2</Name> </UrlVariable> </value> </item> <item> <key> <string>name</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>title="/(.*?)/</Regex> <Url><placeholder name="Application Page URL" value="http://sourceforge.net/projects/mplayer-ww/files/" /></Url> <Name>name</Name> </UrlVariable> </value> </item> </Variables> <ExecuteCommand>/*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);</ExecuteCommand> <ExecutePreCommand /> <ExecuteCommandType>CS</ExecuteCommandType> <ExecutePreCommandType>Batch</ExecutePreCommandType> <SetupInstructions /> <Category><placeholder name="Category" value="Video" /></Category> <SourceType>FixedUrl</SourceType> <DeletePreviousFile>true</DeletePreviousFile> <Enabled>true</Enabled> <FileHippoId /> <TargetPath>{s1}{category}\</TargetPath> <FixedDownloadUrl>{download}</FixedDownloadUrl> <Name><placeholder name="Name of application" variable="name" value="MPlayer_Release" /></Name> </ApplicationJob> </Jobs>]]></SourceTemplate> <WebsiteUrl /> <UserAgent>{sfua}</UserAgent> <UserNotes /> <LastFileSize>8556426</LastFileSize> <LastFileDate>2010-12-04T02:38:59.3821005</LastFileDate> <IgnoreFileInformation>false</IgnoreFileInformation> <DownloadBeta>Default</DownloadBeta> <DownloadDate xsi:nil="true" /> <CheckForUpdatesOnly>false</CheckForUpdatesOnly> <VariableChangeIndicator /> <CanBeShared>true</CanBeShared> <ShareApplication>false</ShareApplication> <ExclusiveDownload>false</ExclusiveDownload> <HttpReferer /> <SetupInstructions> <SetupInstruction xsi:type="CustomSetupInstruction"> <Code>{7z} x "{file}" -o"{p2}{appname:regexreplace: \(.*\):}" -y dir /b /s "{p2}{appname:regexreplace: \(.*\):}"\*.exe > 1.txt set /p f=<1.txt echo %f% > 2.txt for /f "tokens=*" %a in (2.txt) do set path=%~dpa if exist "{p1}{category}\{appname:regexreplace: \(.*\):}"\mplayer.ini del "%path%"\mplayer.ini if exist "{p1}{category}\{appname:regexreplace: \(.*\):}"\kk.ini del "%path%"\kk.ini if exist "{p1}{category}\{appname:regexreplace: \(.*\):}"\input.ini del "%path%"\input.ini {copy} "%path%" "{p1}{category}\{appname:regexreplace: \(.*\):}\" rd /s /q "{p2}{appname:regexreplace: \(.*\):}"</Code> <Type>Batch</Type> </SetupInstruction> </SetupInstructions> <Variables> <item> <key> <string>download</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>class="status.*?(http[^"']+[^"']+(\.zip|\.rar|\.7z))</Regex> <Url>http://sourceforge.net{folder1}</Url> <Name>download</Name> </UrlVariable> </value> </item> <item> <key> <string>folder1</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>["']([^"']+projects[^"']+files[^"']+)/"</Regex> <Url>http://sourceforge.net/projects/mplayer-ww/files/</Url> <Name>folder1</Name> </UrlVariable> </value> </item> <item> <key> <string>folder2</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>["']([^"']+projects[^"']+files[^"']+)/"</Regex> <Url>http://sourceforge.net{folder1}</Url> <Name>folder2</Name> </UrlVariable> </value> </item> <item> <key> <string>name</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>title="/(.*?)/</Regex> <Url>http://sourceforge.net/projects/mplayer-ww/files/</Url> <Name>name</Name> </UrlVariable> </value> </item> </Variables> <ExecuteCommand>/*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);</ExecuteCommand> <ExecutePreCommand /> <ExecuteCommandType>CS</ExecuteCommandType> <ExecutePreCommandType>Batch</ExecutePreCommandType> <Category>Video</Category> <SourceType>FixedUrl</SourceType> <PreviousLocation>D:\Software\Programs\Video\mplayer-SVN-r32669.7z</PreviousLocation> <DeletePreviousFile>true</DeletePreviousFile> <Enabled>true</Enabled> <FileHippoId /> <LastUpdated>2010-12-04T02:38:59.3821005</LastUpdated> <TargetPath>{s1}{category}\</TargetPath> <FixedDownloadUrl>{download}</FixedDownloadUrl> <Name>MPlayer WW</Name> </ApplicationJob> </Jobs>
  4. As the title suggests, i've made apps specifically for the Universal Extractor that will keep its third party executables updated. It will download the required files, extract the relevant ones and replace the ones. It searches for wherever uniextract.exe is, assuming it is on the same drive Ketarin is. The only thing you will need to edit is the download location as I use a global variable of {s1} and my global variable of {7z} is just the location to my 7-zip executable. Any problems let me know, would like to expand on this but i've found these are the most updated (as in the last year or two) and the list is a bit long. Thought this would be good for whoever, did not think it belonged in Tips or Templates. 7-Zip <?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="a06f6aaf-f6fa-489c-bb98-46e99d742399"> <SourceTemplate><![CDATA[<?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"> <WebsiteUrl /> <UserNotes /> <LastFileDate xsi:nil="true" /> <IgnoreFileInformation>false</IgnoreFileInformation> <DownloadBeta>Default</DownloadBeta> <DownloadDate xsi:nil="true" /> <CheckForUpdatesOnly>false</CheckForUpdatesOnly> <VariableChangeIndicator /> <CanBeShared>true</CanBeShared> <ShareApplication>false</ShareApplication> <ExclusiveDownload>false</ExclusiveDownload> <HttpReferer /> <Variables> <item> <key> <string>download</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>["']([^"']+[^"']+(\.putfileexentsionhere)) OR (http[^"']+[^"']+(\.putfileextensionhere)) </Regex> <Url><placeholder name="Download URL" value="http://sourceforge.net/projects/sevenzip/" /></Url> <Name>download</Name> </UrlVariable> </value> </item> </Variables> <ExecuteCommand>/*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);</ExecuteCommand> <ExecutePreCommand /> <ExecuteCommandType>CS</ExecuteCommandType> <Category><placeholder name="Category" value="Universal Extractor App" /></Category> <SourceType>FixedUrl</SourceType> <PreviousLocation /> <DeletePreviousFile>true</DeletePreviousFile> <Enabled>true</Enabled> <FileHippoId /> <LastUpdated xsi:nil="true" /> <TargetPath>{s1}{category}\</TargetPath> <FixedDownloadUrl>{download}</FixedDownloadUrl> <Name><placeholder name="Name of application" value="7-Zip" /></Name> </ApplicationJob> </Jobs>]]></SourceTemplate> <WebsiteUrl /> <UserAgent>(!)</UserAgent> <UserNotes /> <LastFileSize>1109706</LastFileSize> <LastFileDate>2010-11-13T05:39:32.9804528</LastFileDate> <IgnoreFileInformation>false</IgnoreFileInformation> <DownloadBeta>Default</DownloadBeta> <DownloadDate xsi:nil="true" /> <CheckForUpdatesOnly>false</CheckForUpdatesOnly> <VariableChangeIndicator /> <CanBeShared>true</CanBeShared> <ShareApplication>false</ShareApplication> <ExclusiveDownload>false</ExclusiveDownload> <HttpReferer>http://sourceforge.net</HttpReferer> <SetupInstructions> <SetupInstruction xsi:type="CustomSetupInstruction"> <Code>for /F "tokens=*" %d in ('dir "\uniextract.exe" /b /s') do set dir=%~pdbin & {7z} x "{file}" -o"{p2}{appname:regexreplace: \(.*\):}" -y & xcopy /C /H /I /Y {p2}"{appname:regexreplace: \(.*\):}"\7z.exe "%dir%" & xcopy /C /H /I /Y {p2}"{appname:regexreplace: \(.*\):}"\7z.dll "%dir%" & rd /s /q "{p2}{appname:regexreplace: \(.*\):}"</Code> <Type>Batch</Type> </SetupInstruction> </SetupInstructions> <Variables> <item> <key> <string>download</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>(http[^"']+[^"']+(\d\.exe))</Regex> <Url>http://sourceforge.net/projects/sevenzip/files/</Url> <Name>download</Name> </UrlVariable> </value> </item> </Variables> <ExecuteCommand>/*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);</ExecuteCommand> <ExecutePreCommand /> <ExecuteCommandType>CS</ExecuteCommandType> <ExecutePreCommandType>Batch</ExecutePreCommandType> <Category>Universal Extractor App</Category> <SourceType>FixedUrl</SourceType> <PreviousLocation>D:\Software\Programs\Universal Extractor App\7z919.exe</PreviousLocation> <DeletePreviousFile>true</DeletePreviousFile> <Enabled>true</Enabled> <FileHippoId /> <LastUpdated>2010-11-13T05:39:32.9804528</LastUpdated> <TargetPath>{s1}{category}\</TargetPath> <FixedDownloadUrl>{download}</FixedDownloadUrl> <Name>7-Zip</Name> </ApplicationJob> </Jobs> Inno Setup Unpacker <?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="bbdb46e7-3ed3-41b9-9473-ee46bd3ef43f"> <SourceTemplate><![CDATA[<?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"> <WebsiteUrl /> <UserNotes /> <IgnoreFileInformation>false</IgnoreFileInformation> <DownloadBeta>Default</DownloadBeta> <CheckForUpdatesOnly>false</CheckForUpdatesOnly> <VariableChangeIndicator /> <CanBeShared>true</CanBeShared> <ShareApplication>false</ShareApplication> <ExclusiveDownload>false</ExclusiveDownload> <UserAgent>(!)</UserAgent> <HttpReferer>http://sourceforge.net</HttpReferer> <Variables> <item> <key> <string>download</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>["']([^"']+[^"']+(\.zip|\.rar|\.7z))</Regex> <Url><placeholder name="Application Page URL" value="http://sourceforge.net/projects/innounp/files/" /></Url> <Name>download</Name> </UrlVariable> </value> </item> <item> <key> <string>name</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>content="get (.*?) </Regex> <Url><placeholder name="Application Page URL" value="http://sourceforge.net/projects/innounp/files/" /></Url> <Name>name</Name> </UrlVariable> </value> </item> </Variables> <ExecuteCommand>/*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);</ExecuteCommand> <ExecutePreCommand /> <ExecuteCommandType>CS</ExecuteCommandType> <ExecutePreCommandType>Batch</ExecutePreCommandType> <SetupInstructions /> <Category><placeholder name="Category" value="Universal Extractor App" /></Category> <SourceType>FixedUrl</SourceType> <DeletePreviousFile>true</DeletePreviousFile> <Enabled>true</Enabled> <FileHippoId /> <TargetPath>{s1}{category}\</TargetPath> <FixedDownloadUrl>{download}</FixedDownloadUrl> <Name><placeholder name="Name of application" variable="name" value="Inno" /></Name> </ApplicationJob> </Jobs>]]></SourceTemplate> <WebsiteUrl /> <UserAgent>(!)</UserAgent> <UserNotes /> <LastFileSize>122527</LastFileSize> <LastFileDate>2010-11-13T05:39:28.8842185</LastFileDate> <IgnoreFileInformation>false</IgnoreFileInformation> <DownloadBeta>Default</DownloadBeta> <DownloadDate xsi:nil="true" /> <CheckForUpdatesOnly>false</CheckForUpdatesOnly> <VariableChangeIndicator /> <CanBeShared>true</CanBeShared> <ShareApplication>false</ShareApplication> <ExclusiveDownload>false</ExclusiveDownload> <HttpReferer>http://sourceforge.net</HttpReferer> <SetupInstructions> <SetupInstruction xsi:type="CustomSetupInstruction"> <Code>for /F "tokens=*" %d in ('dir "\uniextract.exe" /b /s') do set dir=%~pdbin & {7z} x "{file}" -o"%dir%" -y & del "%dir%\innounp.htm</Code> <Type>Batch</Type> </SetupInstruction> </SetupInstructions> <Variables> <item> <key> <string>download</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>(http[^"']+[^"']+(\.zip|\.rar|\.7z))</Regex> <Url>http://sourceforge.net/projects/innounp/files/</Url> <Name>download</Name> </UrlVariable> </value> </item> <item> <key> <string>name</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>content="get (.*?) at</Regex> <Url>http://sourceforge.net/projects/innounp/files/</Url> <Name>name</Name> </UrlVariable> </value> </item> </Variables> <ExecuteCommand>/*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);</ExecuteCommand> <ExecutePreCommand /> <ExecuteCommandType>CS</ExecuteCommandType> <ExecutePreCommandType>Batch</ExecutePreCommandType> <Category>Universal Extractor App</Category> <SourceType>FixedUrl</SourceType> <PreviousLocation>D:\Software\Programs\Universal Extractor App\innounp035.rar</PreviousLocation> <DeletePreviousFile>true</DeletePreviousFile> <Enabled>true</Enabled> <FileHippoId /> <LastUpdated>2010-11-13T05:39:28.8842185</LastUpdated> <TargetPath>{s1}{category}\</TargetPath> <FixedDownloadUrl>{download}</FixedDownloadUrl> <Name>Inno Setup Unpacker</Name> </ApplicationJob> </Jobs> lzop <?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="64f7c386-06a9-4992-be9a-860b9bcef8f2"> <SourceTemplate><![CDATA[<?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"> <WebsiteUrl /> <UserNotes /> <LastFileDate xsi:nil="true" /> <IgnoreFileInformation>false</IgnoreFileInformation> <DownloadBeta>Default</DownloadBeta> <DownloadDate xsi:nil="true" /> <CheckForUpdatesOnly>false</CheckForUpdatesOnly> <VariableChangeIndicator /> <CanBeShared>true</CanBeShared> <ShareApplication>false</ShareApplication> <ExclusiveDownload>false</ExclusiveDownload> <HttpReferer /> <Variables> <item> <key> <string>download</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>["']([^"']+[^"']+(\.putfileexentsionhere)) OR (http[^"']+[^"']+(\.putfileextensionhere)) </Regex> <Url><placeholder name="Download URL" value="http://www.lzop.org/" /></Url> <Name>download</Name> </UrlVariable> </value> </item> </Variables> <ExecuteCommand>/*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);</ExecuteCommand> <ExecutePreCommand /> <ExecuteCommandType>CS</ExecuteCommandType> <Category><placeholder name="Category" value="Universal Extractor App" /></Category> <SourceType>FixedUrl</SourceType> <PreviousLocation /> <DeletePreviousFile>true</DeletePreviousFile> <Enabled>true</Enabled> <FileHippoId /> <LastUpdated xsi:nil="true" /> <TargetPath>{s1}{category}\</TargetPath> <FixedDownloadUrl>{download}</FixedDownloadUrl> <Name><placeholder name="Name of application" value="lzop" /></Name> </ApplicationJob> </Jobs>]]></SourceTemplate> <WebsiteUrl /> <UserAgent /> <UserNotes /> <LastFileSize>74546</LastFileSize> <LastFileDate>2010-11-13T05:39:25.9650515</LastFileDate> <IgnoreFileInformation>false</IgnoreFileInformation> <DownloadBeta>Default</DownloadBeta> <DownloadDate xsi:nil="true" /> <CheckForUpdatesOnly>false</CheckForUpdatesOnly> <VariableChangeIndicator /> <CanBeShared>true</CanBeShared> <ShareApplication>false</ShareApplication> <ExclusiveDownload>false</ExclusiveDownload> <HttpReferer /> <SetupInstructions> <SetupInstruction xsi:type="CustomSetupInstruction"> <Code>for /F "tokens=*" %d in ('dir "\uniextract.exe" /b /s') do set dir=%~pdbin & {7z} x "{file}" -o"{p2}{appname:regexreplace: \(.*\):}" -y & for /F "tokens=*" %c in ('dir "{p2}{appname:regexreplace: \(.*\):}" /ad /b') do set dir2="{p2}{appname:regexreplace: \(.*\):}"\%c & xcopy /C /H /I /Y "%dir2%"\lzop.exe "%dir%" & rd /s /q "{p2}{appname:regexreplace: \(.*\):}"</Code> <Type>Batch</Type> </SetupInstruction> </SetupInstructions> <Variables> <item> <key> <string>download</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>["']([^"']+[^"']+(\.zip))</Regex> <Url>http://www.lzop.org/</Url> <Name>download</Name> </UrlVariable> </value> </item> </Variables> <ExecuteCommand>/*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);</ExecuteCommand> <ExecutePreCommand /> <ExecuteCommandType>CS</ExecuteCommandType> <ExecutePreCommandType>Batch</ExecutePreCommandType> <Category>Universal Extractor App</Category> <SourceType>FixedUrl</SourceType> <PreviousLocation>D:\Software\Programs\Universal Extractor App\lzop103w.zip</PreviousLocation> <DeletePreviousFile>true</DeletePreviousFile> <Enabled>true</Enabled> <FileHippoId /> <LastUpdated>2010-11-13T05:39:25.9650515</LastUpdated> <TargetPath>{s1}{category}\</TargetPath> <FixedDownloadUrl>http://www.lzop.org/{download}</FixedDownloadUrl> <Name>lzop</Name> </ApplicationJob> </Jobs> PEiD <?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="c0b0f578-c3f6-49e1-85d2-eb7fb585dbfe"> <SourceTemplate><![CDATA[<?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"> <WebsiteUrl /> <UserNotes /> <LastFileDate xsi:nil="true" /> <IgnoreFileInformation>false</IgnoreFileInformation> <DownloadBeta>Default</DownloadBeta> <DownloadDate xsi:nil="true" /> <CheckForUpdatesOnly>false</CheckForUpdatesOnly> <VariableChangeIndicator /> <CanBeShared>true</CanBeShared> <ShareApplication>false</ShareApplication> <ExclusiveDownload>false</ExclusiveDownload> <HttpReferer /> <Variables> <item> <key> <string>download</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>["']([^"']+[^"']+(\.putfileexentsionhere)) OR (http[^"']+[^"']+(\.putfileextensionhere)) </Regex> <Url><placeholder name="Download URL" value="http://www.peid.info/" /></Url> <Name>download</Name> </UrlVariable> </value> </item> </Variables> <ExecuteCommand>/*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);</ExecuteCommand> <ExecutePreCommand /> <ExecuteCommandType>CS</ExecuteCommandType> <Category><placeholder name="Category" value="Universal Extractor App" /></Category> <SourceType>FixedUrl</SourceType> <PreviousLocation /> <DeletePreviousFile>true</DeletePreviousFile> <Enabled>true</Enabled> <FileHippoId /> <LastUpdated xsi:nil="true" /> <TargetPath>{s1}{category}\</TargetPath> <FixedDownloadUrl>{download}</FixedDownloadUrl> <Name><placeholder name="Name of application" value="PEiD" /></Name> </ApplicationJob> </Jobs>]]></SourceTemplate> <WebsiteUrl /> <UserAgent /> <UserNotes /> <LastFileSize>398311</LastFileSize> <LastFileDate>2010-11-13T05:39:35.6266041</LastFileDate> <IgnoreFileInformation>false</IgnoreFileInformation> <DownloadBeta>Default</DownloadBeta> <DownloadDate xsi:nil="true" /> <CheckForUpdatesOnly>false</CheckForUpdatesOnly> <VariableChangeIndicator /> <CanBeShared>true</CanBeShared> <ShareApplication>false</ShareApplication> <ExclusiveDownload>false</ExclusiveDownload> <HttpReferer /> <SetupInstructions> <SetupInstruction xsi:type="CustomSetupInstruction"> <Code>for /F "tokens=*" %d in ('dir "\uniextract.exe" /b /s') do set dir=%~pdbin & {7z} x "{file}" -o"{p2}{appname:regexreplace: \(.*\):}" -y & xcopy /C /H /I /Y {p2}"{appname:regexreplace: \(.*\):}"\peid.exe "%dir%" & rd /s /q "{p2}{appname:regexreplace: \(.*\):}"</Code> <Type>Batch</Type> </SetupInstruction> </SetupInstructions> <Variables> <item> <key> <string>download</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>["']([^"']+[^"']+(id=.))</Regex> <Url>http://www.peid.info/download.html</Url> <Name>download</Name> </UrlVariable> </value> </item> </Variables> <ExecuteCommand>/*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);</ExecuteCommand> <ExecutePreCommand /> <ExecuteCommandType>CS</ExecuteCommandType> <ExecutePreCommandType>Batch</ExecutePreCommandType> <Category>Universal Extractor App</Category> <SourceType>FixedUrl</SourceType> <PreviousLocation>D:\Software\Programs\Universal Extractor App\PEiD-0.95-20081103.zip</PreviousLocation> <DeletePreviousFile>true</DeletePreviousFile> <Enabled>true</Enabled> <FileHippoId /> <LastUpdated>2010-11-13T05:39:35.6266041</LastUpdated> <TargetPath>{s1}{category}\</TargetPath> <FixedDownloadUrl>http://www.peid.info{download}</FixedDownloadUrl> <Name>PEiD</Name> </ApplicationJob> </Jobs> TrID <?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="79e98a82-5061-44cf-9504-a444025d8968"> <SourceTemplate><![CDATA[<?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"> <WebsiteUrl /> <UserNotes /> <LastFileDate xsi:nil="true" /> <IgnoreFileInformation>false</IgnoreFileInformation> <DownloadBeta>Default</DownloadBeta> <DownloadDate xsi:nil="true" /> <CheckForUpdatesOnly>false</CheckForUpdatesOnly> <VariableChangeIndicator /> <CanBeShared>true</CanBeShared> <ShareApplication>false</ShareApplication> <ExclusiveDownload>false</ExclusiveDownload> <HttpReferer /> <Variables> <item> <key> <string>download</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>["']([^"']+[^"']+(\.putfileexentsionhere)) OR (http[^"']+[^"']+(\.putfileextensionhere)) </Regex> <Url><placeholder name="Download URL" value="http://mark0.net/soft-trid-e.html" /></Url> <Name>download</Name> </UrlVariable> </value> </item> </Variables> <ExecuteCommand>/*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);</ExecuteCommand> <ExecutePreCommand /> <ExecuteCommandType>CS</ExecuteCommandType> <Category><placeholder name="Category" value="Universal Extractor App" /></Category> <SourceType>FixedUrl</SourceType> <PreviousLocation /> <DeletePreviousFile>true</DeletePreviousFile> <Enabled>true</Enabled> <FileHippoId /> <LastUpdated xsi:nil="true" /> <TargetPath>{s1}{category}\</TargetPath> <FixedDownloadUrl>{download}</FixedDownloadUrl> <Name><placeholder name="Name of application" value="TrID" /></Name> </ApplicationJob> </Jobs>]]></SourceTemplate> <WebsiteUrl /> <UserAgent /> <UserNotes /> <LastFileSize>25982</LastFileSize> <LastFileDate>2010-11-13T05:39:27.6661488</LastFileDate> <IgnoreFileInformation>false</IgnoreFileInformation> <DownloadBeta>Default</DownloadBeta> <DownloadDate xsi:nil="true" /> <CheckForUpdatesOnly>false</CheckForUpdatesOnly> <VariableChangeIndicator /> <CanBeShared>true</CanBeShared> <ShareApplication>false</ShareApplication> <ExclusiveDownload>false</ExclusiveDownload> <HttpReferer /> <SetupInstructions> <SetupInstruction xsi:type="CustomSetupInstruction"> <Code>for /F "tokens=*" %d in ('dir "\uniextract.exe" /b /s') do set dir=%~pdbin & {7z} x "{file}" -o"{p2}{appname:regexreplace: \(.*\):}" -y & xcopy /C /H /I /Y {p2}"{appname:regexreplace: \(.*\):}"\trid.exe "%dir%" & rd /s /q "{p2}{appname:regexreplace: \(.*\):}"</Code> <Type>Batch</Type> </SetupInstruction> </SetupInstructions> <Variables> <item> <key> <string>download</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>["']([^"']+[^"']+)">ZIP</Regex> <Url>http://mark0.net/soft-trid-e.html</Url> <Name>download</Name> </UrlVariable> </value> </item> </Variables> <ExecuteCommand>/*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);</ExecuteCommand> <ExecutePreCommand /> <ExecuteCommandType>CS</ExecuteCommandType> <ExecutePreCommandType>Batch</ExecutePreCommandType> <Category>Universal Extractor App</Category> <SourceType>FixedUrl</SourceType> <PreviousLocation>D:\Software\Programs\Universal Extractor App\trid_w32.zip</PreviousLocation> <DeletePreviousFile>true</DeletePreviousFile> <Enabled>true</Enabled> <FileHippoId /> <LastUpdated>2010-11-13T05:39:27.6661488</LastUpdated> <TargetPath>{s1}{category}\</TargetPath> <FixedDownloadUrl>{download}</FixedDownloadUrl> <Name>TrID</Name> </ApplicationJob> </Jobs> TrID Definition File <?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="a1b0cd29-e329-4f6b-8a71-4c8066ab8d91"> <SourceTemplate><![CDATA[<?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"> <WebsiteUrl /> <UserNotes /> <LastFileDate xsi:nil="true" /> <IgnoreFileInformation>false</IgnoreFileInformation> <DownloadBeta>Default</DownloadBeta> <DownloadDate xsi:nil="true" /> <CheckForUpdatesOnly>false</CheckForUpdatesOnly> <VariableChangeIndicator /> <CanBeShared>true</CanBeShared> <ShareApplication>false</ShareApplication> <ExclusiveDownload>false</ExclusiveDownload> <HttpReferer /> <Variables> <item> <key> <string>download</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>["']([^"']+[^"']+(\.putfileexentsionhere)) OR (http[^"']+[^"']+(\.putfileextensionhere)) </Regex> <Url><placeholder name="Download URL" value="http://mark0.net/soft-trid-e.html" /></Url> <Name>download</Name> </UrlVariable> </value> </item> </Variables> <ExecuteCommand>/*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);</ExecuteCommand> <ExecutePreCommand /> <ExecuteCommandType>CS</ExecuteCommandType> <Category><placeholder name="Category" value="Universal Extractor App" /></Category> <SourceType>FixedUrl</SourceType> <PreviousLocation /> <DeletePreviousFile>true</DeletePreviousFile> <Enabled>true</Enabled> <FileHippoId /> <LastUpdated xsi:nil="true" /> <TargetPath>{s1}{category}\</TargetPath> <FixedDownloadUrl>{download}</FixedDownloadUrl> <Name><placeholder name="Name of application" value="TrID" /></Name> </ApplicationJob> </Jobs>]]></SourceTemplate> <WebsiteUrl /> <UserAgent /> <UserNotes /> <LastFileSize>509864</LastFileSize> <LastFileDate>2010-11-13T05:39:30.5103115</LastFileDate> <IgnoreFileInformation>false</IgnoreFileInformation> <DownloadBeta>Default</DownloadBeta> <DownloadDate xsi:nil="true" /> <CheckForUpdatesOnly>false</CheckForUpdatesOnly> <VariableChangeIndicator /> <CanBeShared>true</CanBeShared> <ShareApplication>false</ShareApplication> <ExclusiveDownload>false</ExclusiveDownload> <HttpReferer /> <SetupInstructions> <SetupInstruction xsi:type="CustomSetupInstruction"> <Code>for /F "tokens=*" %d in ('dir "\uniextract.exe" /b /s') do set dir=%~pdbin & {7z} x "{file}" -o"%dir%" -y</Code> <Type>Batch</Type> </SetupInstruction> </SetupInstructions> <Variables> <item> <key> <string>download</string> </key> <value> <UrlVariable> <RegexRightToLeft>true</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>["']([^"']+[^"']+)">ZIP</Regex> <Url>http://mark0.net/soft-trid-e.html</Url> <Name>download</Name> </UrlVariable> </value> </item> </Variables> <ExecuteCommand>/*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);</ExecuteCommand> <ExecutePreCommand /> <ExecuteCommandType>CS</ExecuteCommandType> <ExecutePreCommandType>Batch</ExecutePreCommandType> <Category>Universal Extractor App</Category> <SourceType>FixedUrl</SourceType> <PreviousLocation>D:\Software\Programs\Universal Extractor App\triddefs.zip</PreviousLocation> <DeletePreviousFile>true</DeletePreviousFile> <Enabled>true</Enabled> <FileHippoId /> <LastUpdated>2010-11-13T05:39:30.5103115</LastUpdated> <TargetPath>{s1}{category}\</TargetPath> <FixedDownloadUrl>{download}</FixedDownloadUrl> <Name>TrID Definition File</Name> </ApplicationJob> </Jobs> UPX <?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="ae3618e1-8bd8-4e17-a136-cdfeb40dada1"> <SourceTemplate><![CDATA[<?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"> <WebsiteUrl /> <UserNotes /> <LastFileDate xsi:nil="true" /> <IgnoreFileInformation>false</IgnoreFileInformation> <DownloadBeta>Default</DownloadBeta> <DownloadDate xsi:nil="true" /> <CheckForUpdatesOnly>false</CheckForUpdatesOnly> <VariableChangeIndicator /> <CanBeShared>true</CanBeShared> <ShareApplication>false</ShareApplication> <ExclusiveDownload>false</ExclusiveDownload> <HttpReferer /> <Variables> <item> <key> <string>download</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>["']([^"']+[^"']+(\.putfileexentsionhere)) OR (http[^"']+[^"']+(\.putfileextensionhere)) </Regex> <Url><placeholder name="Download URL" value="http://upx.sourceforge.net/" /></Url> <Name>download</Name> </UrlVariable> </value> </item> </Variables> <ExecuteCommand>/*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);</ExecuteCommand> <ExecutePreCommand /> <ExecuteCommandType>CS</ExecuteCommandType> <Category><placeholder name="Category" value="Universal Extractor App" /></Category> <SourceType>FixedUrl</SourceType> <PreviousLocation /> <DeletePreviousFile>true</DeletePreviousFile> <Enabled>true</Enabled> <FileHippoId /> <LastUpdated xsi:nil="true" /> <TargetPath>{s1}{category}\</TargetPath> <FixedDownloadUrl>{download}</FixedDownloadUrl> <Name><placeholder name="Name of application" value="UPX" /></Name> </ApplicationJob> </Jobs>]]></SourceTemplate> <WebsiteUrl /> <UserAgent /> <UserNotes /> <LastFileSize>348018</LastFileSize> <LastFileDate>2010-11-13T05:39:24.7979847</LastFileDate> <IgnoreFileInformation>false</IgnoreFileInformation> <DownloadBeta>Default</DownloadBeta> <DownloadDate xsi:nil="true" /> <CheckForUpdatesOnly>false</CheckForUpdatesOnly> <VariableChangeIndicator /> <CanBeShared>true</CanBeShared> <ShareApplication>false</ShareApplication> <ExclusiveDownload>false</ExclusiveDownload> <HttpReferer /> <SetupInstructions> <SetupInstruction xsi:type="CustomSetupInstruction"> <Code>for /F "tokens=*" %d in ('dir "\uniextract.exe" /b /s') do set dir=%~pdbin & {7z} x "{file}" -o"{p2}{appname:regexreplace: \(.*\):}" -y & for /F "tokens=*" %c in ('dir "{p2}{appname:regexreplace: \(.*\):}" /ad /b') do set dir2="{p2}{appname:regexreplace: \(.*\):}"\%c & xcopy /C /H /I /Y "%dir2%"\upx.exe "%dir%" & rd /s /q "{p2}{appname:regexreplace: \(.*\):}"</Code> <Type>Batch</Type> </SetupInstruction> </SetupInstructions> <Variables> <item> <key> <string>download</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>["']([^"']+[^"']+(\.zip))</Regex> <Url>http://upx.sourceforge.net/</Url> <Name>download</Name> </UrlVariable> </value> </item> </Variables> <ExecuteCommand>/*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);</ExecuteCommand> <ExecutePreCommand /> <ExecuteCommandType>CS</ExecuteCommandType> <ExecutePreCommandType>Batch</ExecutePreCommandType> <Category>Universal Extractor App</Category> <SourceType>FixedUrl</SourceType> <PreviousLocation>D:\Software\Programs\Universal Extractor App\upx307w.zip</PreviousLocation> <DeletePreviousFile>true</DeletePreviousFile> <Enabled>true</Enabled> <FileHippoId /> <LastUpdated>2010-11-13T05:39:24.7979847</LastUpdated> <TargetPath>{s1}{category}\</TargetPath> <FixedDownloadUrl>http://upx.sourceforge.net/{download}</FixedDownloadUrl> <Name>UPX</Name> </ApplicationJob> </Jobs> WinRar <?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="76efa29d-323d-41aa-9d59-4f7f586ac3ec"> <SourceTemplate><![CDATA[<?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"> <WebsiteUrl /> <UserNotes /> <LastFileDate xsi:nil="true" /> <IgnoreFileInformation>false</IgnoreFileInformation> <DownloadBeta>Default</DownloadBeta> <DownloadDate xsi:nil="true" /> <CheckForUpdatesOnly>false</CheckForUpdatesOnly> <VariableChangeIndicator /> <CanBeShared>true</CanBeShared> <ShareApplication>false</ShareApplication> <ExclusiveDownload>false</ExclusiveDownload> <HttpReferer /> <Variables> <item> <key> <string>download</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>["']([^"']+[^"']+(\.putfileexentsionhere)) OR (http[^"']+[^"']+(\.putfileextensionhere)) </Regex> <Url><placeholder name="Download URL" value="http://www.rarlab.com/download.htm" /></Url> <Name>download</Name> </UrlVariable> </value> </item> </Variables> <ExecuteCommand>/*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);</ExecuteCommand> <ExecutePreCommand /> <ExecuteCommandType>CS</ExecuteCommandType> <Category><placeholder name="Category" value="Universal Extractor App" /></Category> <SourceType>FixedUrl</SourceType> <PreviousLocation /> <DeletePreviousFile>true</DeletePreviousFile> <Enabled>true</Enabled> <FileHippoId /> <LastUpdated xsi:nil="true" /> <TargetPath>{s1}{category}\</TargetPath> <FixedDownloadUrl>{download}</FixedDownloadUrl> <Name><placeholder name="Name of application" value="WinRAR" /></Name> </ApplicationJob> </Jobs>]]></SourceTemplate> <WebsiteUrl /> <UserAgent /> <UserNotes /> <LastFileSize>1364522</LastFileSize> <LastFileDate>2010-11-13T05:39:33.5504854</LastFileDate> <IgnoreFileInformation>false</IgnoreFileInformation> <DownloadBeta>Default</DownloadBeta> <DownloadDate xsi:nil="true" /> <CheckForUpdatesOnly>false</CheckForUpdatesOnly> <VariableChangeIndicator /> <CanBeShared>true</CanBeShared> <ShareApplication>false</ShareApplication> <ExclusiveDownload>false</ExclusiveDownload> <HttpReferer /> <SetupInstructions> <SetupInstruction xsi:type="CustomSetupInstruction"> <Code>for /F "tokens=*" %d in ('dir "\uniextract.exe" /b /s') do set dir=%~pdbin & {7z} x "{file}" -o"{p2}{appname:regexreplace: \(.*\):}" -y & xcopy /C /H /I /Y {p2}"{appname:regexreplace: \(.*\):}"\unrar.exe "%dir%" & rd /s /q "{p2}{appname:regexreplace: \(.*\):}"</Code> <Type>Batch</Type> </SetupInstruction> </SetupInstructions> <Variables> <item> <key> <string>download</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>["']([^"']+[^"']+(\.exe))</Regex> <Url>http://www.rarlab.com/download.htm</Url> <Name>download</Name> </UrlVariable> </value> </item> </Variables> <ExecuteCommand>/*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);</ExecuteCommand> <ExecutePreCommand /> <ExecuteCommandType>CS</ExecuteCommandType> <ExecutePreCommandType>Batch</ExecutePreCommandType> <Category>Universal Extractor App</Category> <SourceType>FixedUrl</SourceType> <PreviousLocation>D:\Software\Programs\Universal Extractor App\wrar393.exe</PreviousLocation> <DeletePreviousFile>true</DeletePreviousFile> <Enabled>true</Enabled> <FileHippoId /> <LastUpdated>2010-11-13T05:39:33.5504854</LastUpdated> <TargetPath>{s1}{category}\</TargetPath> <FixedDownloadUrl>http://www.rarlab.com{download}</FixedDownloadUrl> <Name>WinRAR</Name> </ApplicationJob> </Jobs>
  5. @{7z}: This is not a Ketarin issue. C:\Users\Administrator>start /wait "C:\Program Files\7-Zip\7z.exe" x y Die Datei "x" kann nicht gefunden werden. start /wait c:\"Program Files\7-Zip\7z.exe" x y OK Just the way it is.
  6. 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: \(.*\):}"
  7. 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
  8. 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.
  9. 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!
  10. 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?
  11. 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!
  12. 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
  13. 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!
  14. 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)
  15. 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
  16. 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.
  17. 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?
  18. 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?)
  19. 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?
  20. 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}
  21. 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.
  22. 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
  23. 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.
  24. Hello floele, As far as I know, && is a conditional combination. I replaced the symbols but the result is the same 05-01-2009 14:14:48: Replacing {7z} in 'md {7z} & {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 14:14:48: Replacing {uni} in 'md d:\7z\ & {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 14:14:48: Portable 7-Zip: Executing command: md d:\7z\ & 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 14:14:50: Portable 7-Zip: Command result: D:\Ketarin>md d:\7z\ & 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\ O sistema nÆo conseguiu localizar o ficheiro especificado. Ketarin keeps saying it cannot locate file, but files are there (in %temp%); and if I open a command prompt and try to copy or move files, I get no error. Maybe the sequence is just to fast ? But it used to work !
  25. Hi there, Some of my commands stopped working, Log: 04-01-2009 23:47:09: Replacing {7z} in '{uni} {file} %temp% & md {7z} & copy /y %temp%\7z.exe {7z} & copy /y %temp%\7z.dll {7z} & copy /y %temp%\7-zip.chm {7z}' with 'd:\7z\' 04-01-2009 23:47:09: Replacing {uni} in '{uni} {file} %temp% & md d:\7z\ & 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' 04-01-2009 23:47:09: Portable 7-Zip: Executing command: c:\progra~1\uniextract\uniextract.exe "D:\Programas\7z464.exe" %temp% & md d:\7z\ & copy /y %temp%\7z.exe d:\7z\ & copy /y %temp%\7z.dll d:\7z\ & copy /y %temp%\7-zip.chm d:\7z\ 04-01-2009 23:47:11: Portable 7-Zip: Command result: D:\Ketarin>c:\progra~1\uniextract\uniextract.exe "D:\Programas\7z464.exe" %temp% & md d:\7z\ & copy /y %temp%\7z.exe d:\7z\ & copy /y %temp%\7z.dll d:\7z\ & copy /y %temp%\7-zip.chm d:\7z\ O sistema nÆo conseguiu localizar o ficheiro especificado. O sistema nÆo conseguiu localizar o ficheiro especificado. O sistema nÆo conseguiu localizar o ficheiro especificado. Not sure why, when, how... I'm currently using lastest build, x.19... and also out of ideas to solve this one. First part of command is executed (c:\progra~1\uniextract\uniextract.exe "D:\Programas\7z464.exe" %temp%), the files are all placed in %temp% but the following copy/move operations are no longer executed...
×
×
  • 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.