Skip to content
⌘ NSIS Forum Archive

System call from an external application

7 posts

regger#

System call from an external application

Hello guys!

First of all, i'm new here and i apologize for any grammatical or syntactical errors.

Now my problem: I want to create a Setup in which i can control the user entered password. For this i have a executeable which decrypt an ecrypts a code. How can i call this executeable and fetch the return value within my NSIS-script?
Can anybody help my on this topic?
Animaether#
Use ExecWait:


Or a plugin, such as ExecDos, which hides the window:
Afrow UK#
Or you could change your executable to a DLL and call it with the System plug-in.

Edit: There is also the CLR plug-in for calling managed DLL's.

Stu
regger#
I have an additional question:
How can i execute a application that is within my setup package. I need to execute the file in the first step of my Setup.
Animaether#
extract your application first ( File command )
then execute it ( Exec / ExecWait / ExecShell or 3rd party plugins like ExecDos )