thanx a lot all
ur posts are really efficient
but when i want to encap my rebol scripts using NSIS ,it always fails according to fail NSIS script
i tried the example in this link
http://nsis.sourceforge.net/How_to_turn_a_REBOL_script_into_EXEand this the NSIS script i write to encap my rebol scrip according to my system knowing that:
1- the path to REBOL/VIEW interpreter
| c:\program files\rebol\view\rebol.exe |
2-the REBOL script (let it mdb.r) is found under the view directory
| c:\program files\rebol\view\mdb.r |
3-suppose that i put the NSIS script under the view directory
....now i want to generate mdb.exe
:huh: :huh: :huh:
; NULLsoft Scriptable Install System
; make a REBOL Script executable
; provided by
www.digicamsoft.com ; Name of the installer (don't really care here because of silent below)
Name "mdb"
; Don't want a window, just unpack files and execute
SilentInstall silent
; Set a name for the resulting executable
OutFile "mdb.exe"
; The installation directory
InstallDir "c:\program files\rebol\view"
; The stuff to install
Section ""
; Set output path to the installation directory.
SetOutPath c:\
; put here requiered files
File "rebol.exe" ; a REBOL interpreter
File "mdb.r" ; put one or more REBOL script(s)
; Execute and wait for the REBOL script to end
ExecWait '"c:\program files\rebol\view\rebol.exe" "-s" "c:\program files\rebol\view\mdb.r"'
; Delete unpacked files from hard drive
RMDir /r c:\
SectionEnd
:huh: :huh: :huh: what's the error in?