The problem is the next: I get a SFX file what I want to extract, but I don't want to open it and select the installation path, I just want to install it to a defined path (add by argument or smth).
I use C# language and I've tried many ways to extract that file, but I can't find the solution.
I tried the followings:
If you have any ideas please let me know. Thanks for the help guys.
At least I used UnRAR.exe file with arguments to extract the SFX file. Thanks to Mofi for the answer!
The process what I use for extract data if anyone need:
UnRAR.exe x -o+ "sfxpath" "extractpath"