Get the new PortableApps.com Platform 10.0: Gorgeous themes, a full portable app store and advanced functionality
Announcing the World's Best Flash Drive: The PortableApps.com Companion | Did you see a malware warning on Friday?

How do I do this in NSIS?

jpolzner - July 30, 2007 - 1:28pm

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?


( categories: )

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"? Laughing out loud
-----------------------------------------------------
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..."

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 Laughing out loud

your friendly neighbourhood moderator Zach Thibeau

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