regger
29th April 2010 13:59 UTC
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
29th April 2010 14:13 UTC
Use ExecWait:
http://nsis.sourceforge.net/Docs/Cha...nchor=#4.9.1.4
Or a plugin, such as ExecDos, which hides the window:
http://nsis.sourceforge.net/ExecDos_plug-in
Afrow UK
29th April 2010 15:50 UTC
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
30th April 2010 12:19 UTC
Thank you for your help!
I found a solution for my problem by using ExecWait.
regger
30th April 2010 12:21 UTC
Thanks for your help!
I found a solution for my problem by using the ExecWait command.
regger
3rd May 2010 11:56 UTC
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
3rd May 2010 12:33 UTC
extract your application first ( File command )
then execute it ( Exec / ExecWait / ExecShell or 3rd party plugins like ExecDos )