Google Groups Home
Help | Sign in
Message from discussion problem while encap using NSIS
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
mohamed aly  
View profile
 More options Jun 17 2006, 5:54 am
From: "mohamed aly" <mhmd.aly8...@gmail.com>
Date: Sat, 17 Jun 2006 12:54:18 +0300
Local: Sat, Jun 17 2006 5:54 am
Subject: problem while encap using NSIS

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_EXE
and 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.exe2-the REBOL script (let it mdb.r) is found under
the view directory
  c:\program files\rebol\view\mdb.r3-suppose that i put the NSIS script
under the view directory
....now i want to generate mdb.exe

 [image: huh] [image: huh] [image: 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
 [image: huh] [image: huh] [image: huh] what's the error in?


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google