Archive: NSIS DOS Command via ExecShell


NSIS DOS Command via ExecShell
Hello,
I want to Install a Reg-File via ExecShell. In Dos I would use "regedit /s regfile.reg".
How can I do this via ExecShell in NSIS? I have problems with the parameters...

Thanks!


You'd want ExecWait in this case. ExecShell is usually for opening documents. But a better overall solution would be using reg2nsis which turns .reg files into scripts.

http://nsis.sourceforge.net/Reg2Nsis..._NSIS_commands


Hey,
thanks for your fast answere. The Reg file was just an example, i need other Dos Commands with parameters too. So how do it work?


Ok, I just got it. When you use ExecWait "commandpromt" you can just tipe in your command. Thanks!