Archive: Running multiple programs at the same time


Running multiple programs at the same time
Hello,

I have this problem:
I use UHARC to compress my files because it gives much better results. I compress the files with uharc and I put the .uha-files and the decompresser in the installer. After installing the .uha-files, I use ExecWait to uncompress the uha-files with the decompresser and this works. But I'd like to decompress 2 or 4 archives at the same time, because most computers have dual-cores and it would be a waste of time to only use 1 core at a time. The problem is that if I use ExecWait, I can only decompress 1 archive at a time, and if use Exec, the installer finishes before everything is decompressed.

So I wonder if there is a way to run multiple programs at the same time, and to wait until every one of them is finished.


to decompress multiple files you would need multiple installers.

include them as silent installers in you main installers and launch them from there.


Did you tried 'SetCompressor /SOLID lzma'? Really not bad compare to any other, x2 to not solid.
If you decompressor is CLI application, use http://nsis.sourceforge.net/ExecDos_plug-in
For windows apps you can use FindWindow to check it is running.


Thanks for the reactions. UHARC is a CLI-program, so I'll try ExecDos to see if it works.
If I use solid lzma, I get 730 mb compressed, if I use UHARC I get 680 mb compressed, so I can get it on 1 cd, otherwise I need 2 or a dvd.