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?
New: Run-Command (Dec 2, 2024), Platform 29.5.3 (Jun 27, 2024)
1,100+ portable packages, 1.1 billion downloads
No Ads Nov/Dec!, Please donate today
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"?
-----------------------------------------------------
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..."
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
your friendly neighbourhood moderator Zach Thibeau
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