Skip to content
⌘ NSIS Forum Archive

how can extract rar file?

4 posts

r2du-soft#

how can extract rar file?

how can extract rar files?
ZipDLL::extractall cant work for rar files
r2du-soft#edited
I know it can be done this way:

Section

ExecDos::exec '"$PLUGINSDIR\UnRAR.exe" x "$ExeDir\RarFile.Rar" "$ExeDir\MyRar\" /y'
	
SectionEnd


Function .onInit

InitPluginsDir
File /oname=$PLUGINSDIR\UnRAR.exe "${NSISDIR}\ExeFiles\UnRAR.exe"

FunctionEnd

I want to know the DLL gets the job done?
I need to dll for extract rar file,i search and found unrar.dll in forum but i dont know how i can send parameter x to that for working,i try but application suspend process and closed 🙁

System::Call "UnRAR::RAROpenArchiveEx('$ExeDir\12.rar','c:\')"
r2du-soft#
is possible give example for plugin: UnRARDLL.dll

Download Link:

for extract rar file?

with system::Call and without System::Call