You are here

How do I do this in NSIS?

4 posts / 0 new
Last post
jpolzner
Offline
Last seen: 1 week 11 hours ago
Joined: 2007-04-30 13:19
How do I do this in NSIS?

So I have following lines in a bath file:

SET SCRT=.\SecureCRT\SecureCRT.EXE
SET CONF=.\SecureCRT\Config
START %SCRT% /F %CONF%

How would do the same thing in NSIS?

Bensawsome
Offline
Last seen: 2 years 4 months ago
Joined: 2006-04-22 19:27
What does it do?

What does it actually do in English. I know some nsis but I don't know batch.
And also if u want to make it an exe just use a bat to exe converter.
Oh and "bath"? Biggrin
-----------------------------------------------------
Bensawsome
AKA
BJ
:My Website (Still under development):

 iLike Macs, iPwn, However you put it... Apple is better ^_^ 
"Claiming that your operating system is the best in the world because more people use it is like saying McDonalds makes the best food in the world..."

Zach Thibeau
Zach Thibeau's picture
Offline
Last seen: 1 year 8 months ago
Developer
Joined: 2006-05-26 12:08
Well

use this

execwait `"$EXEDIR\App\Your Dir\Your Executable" /F "$EXEDIR\Data\Settings"` and it should redirect all settings to the Data Dir
-----------------------------
"I don't fear Computers. I fear the lack of them" Isaac Asimov
My Personal Blog in the making at a new address thibeaz.com Biggrin

your friendly neighbourhood moderator Zach Thibeau

wraithdu
Offline
Last seen: 11 years 1 week ago
Developer
Joined: 2007-06-27 20:22
Verbatim the code would be

Verbatim the code would be -

------------------------
; set working vars
Var SCRT
Var CONF

Section "Main"
StrCpy $SCRT "$EXEDIR\SecureCRT\SecureCRT.EXE"
StrCpy $CONF "$EXEDIR\SecureCRT\Config"

Exec '"$SCRT" /F "$CONF"'
SectionEnd
------------------------

Shorter version -

Section "Main"
Exec '"$EXEDIR\SecureCRT\SecureCRT.EXE" /F "$EXEDIR\SecureCRT\Config"'
SectionEnd

Log in or register to post comments