Skip to content
⌘ NSIS Forum Archive

NSIS DOS Command via ExecShell

4 posts

crowl#

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!
kichik#
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.

crowl#
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?
crowl#
Ok, I just got it. When you use ExecWait "commandpromt" you can just tipe in your command. Thanks!