Jump to content
Ketarin forum

Auto-Extracting archives


technoJesus
 Share

Recommended Posts

Hello, new to Ketarin. I have found and configured through online database many portable applications to update, however most download through .rar, .zip, or .exe based archives. I see that there is the ability to execute batch scripts on completion that would allow me to silently extract these, but I cannot seem to target the file I downloaded via ketarin as my variables aren't passing through correctly.

 

How do I automatically extract archives into the directory my updated program downloaded into (replacing existing files)?

Link to comment
Share on other sites

7z x "{file}" -o"{file:directory}\{appname}\" -y

You need the 7z.exe and 7z.dll from your 7zip installation folder. Copy the files to your Ketarin program folder and use the line above as "command after downloading" to extract the archived files into a subfolder called like your predefined application name / {appname} or whatever name you want to use.

Link to comment
Share on other sites

  • 3 years later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

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