Rebol Talk Forum  |  Licensing and Distribution  |  REBOL Encap  |  Topic: View and Encap
Pages: 1 [2] Print
Author Topic: View and Encap  (Read 10321 times)
henrikmk
Newbie
*
Offline Offline

Posts: 49


View Profile
Re: View and Encap
« Reply #15 on: May 12, 2006, 07:34:17 AM »

I just tried Grebox and it's impressive!

I have a few questions:

1. What's the development status on it?
2. Is there any way to get rid of the shell window at startup?
3. Is it possible to script exe-generation, so I can use it in my app building pipeline without needing the GUI?
Logged
RebolBert
Guest


Email
Re: View and Encap
« Reply #16 on: May 15, 2006, 02:50:33 AM »

Quote
1. What's the development status on it?
2. Is there any way to get rid of the shell window at startup?
3. Is it possible to script exe-generation, so I can use it in my app building pipeline without needing the GUI?
I don't know, I'm just a "budding" explorer, a newbie in programming ... sorry !

But I discovered another way to "encap" in a french forum about Rebol  : http://www.codeur.org/forum/message.php?ID_Sujet=3386

They use the NSIS-installer(http://nsis.sourceforge.net/Download).

See there: http://nsis.sourceforge.net/How_to_turn_a_REBOL_script_into_EXE
 -_-
Logged
Thør
Newbie
*
Offline Offline

Posts: 46


View Profile
Re: View and Encap
« Reply #17 on: May 15, 2006, 04:41:54 AM »

I did it ... and after several attempts : always the same message !!!
I'd like to use Payload; it seems to give better results than Rebox (Rebox opens several files at runtime... those ones are deleted later, strange!?), except that for me, it gives only not valid application for Win32.

... and yet it's easy. I noticed however it's better to avoid spaces in the various path names.

Thanks for the reply, I'll try on again and again ....

~ some times later ~

Now it works !  ^_^

Congratulations!  Cheesy I had REBOL installed in D:\rebol\bin, so I didn't experience the problem you had.

Quote
In fact I used gpl.r (Graphical PayLoad 1.1, by O.Auverlot & F.Jouen) to build my .exe ...

Would you be so kind enough to post the link?

Thanks.
Logged
Philippe
Newbie
*
Offline Offline

Posts: 34


View Profile WWW
Re: View and Encap
« Reply #18 on: May 15, 2006, 06:25:18 AM »

I just tried Grebox and it's impressive!

I have a few questions:

1. What's the development status on it?
2. Is there any way to get rid of the shell window at startup?
3. Is it possible to script exe-generation, so I can use it in my app building pipeline without needing the GUI?

Hi, about Grebox, you could send a mail to shadwolf AT free.fr   or post him a message on Altme .

Gregg Irwin have a GUI tool on RT library to encap script with SDK.

===Philippe
Logged

===Philippe
RebolBert
Guest


Email
Re: View and Encap
« Reply #19 on: May 16, 2006, 03:23:58 AM »

Quote
Would you be so kind enough to post the link?

See here (on the previous page)  ^_^
Logged
RebolBert
Guest


Email
Re: View and Encap
« Reply #20 on: May 19, 2006, 03:54:25 AM »

Quote
Would you be so kind enough to post the link?
I didn't understand the request, sorry !

Here is the address where to download Graphical Payload (zipped gpl.r) : http://www.rebolfrance.org/projets/gpl.zip

Logged
Thør
Newbie
*
Offline Offline

Posts: 46


View Profile
Re: View and Encap
« Reply #21 on: May 26, 2006, 10:37:34 AM »

I didn't understand the request, sorry !

I guess I wasn't thinking straight at that time, either. Cheesy I was asking for the link to the Graphical Payload.

Thanks.
Logged
taifbadr
Newbie
*
Offline Offline

Posts: 8


View Profile
Re: View and Encap
« Reply #22 on: June 16, 2006, 04:21:57 PM »

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_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.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?
Logged
RebolBert
Guest


Email
Re: View and Encap
« Reply #23 on: June 18, 2006, 10:27:02 AM »

May be, You should try this :

------------------------------------------------------------------------------------------------
; NULLsoft Scriptable Install System
; make a REBOL Script executable

 
; 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 "$TEMP\temp_rebol"
 
; The stuff to install
Section ""
  ; Set output path to the installation directory.
  SetOutPath $INSTDIR ; $INSTDIR = the installation directory (see InstallDir above)
 
  ; put here requiered files
  File "c:\program files\rebol\view\rebol.exe" ; a REBOL interpreter
  File "c:\program files\rebol\view\mdb.r"      ; put one or more REBOL script(s)
 
  ; Execute and wait for the REBOL script to end
  ExecWait '"$INSTDIR\rebol.exe" "-s" "$INSTDIR\mdb.r"'
 
  ; Delete unpacked files from hard drive
  RMDir /r $INSTDIR
SectionEnd
------------------------------------------------------------------------------------------------

In my opinion, don't choose the rebol.exe directory (c:\program files\rebol\view\) for the installation directory because RMDir /r $INSTDIR could delete all the contents of this folder.

Then you compile the script with MakeNSISW to build your .exe.

« Last Edit: June 18, 2006, 11:38:49 AM by Bert » Logged
taifbadr
Newbie
*
Offline Offline

Posts: 8


View Profile
Re: View and Encap
« Reply #24 on: June 19, 2006, 08:12:34 AM »

thanx bert for ur support
it works nice
Logged
oyster
Newbie
*
Offline Offline

Posts: 6


View Profile
Re: View and Encap
« Reply #25 on: November 27, 2006, 08:03:55 AM »

how to use grebox? I have made a 11.prj file
Code:
11.prj
/C/grebox-0.2.2-w32/projects/demo.r
/C/grebox-0.2.2-w32/rebol.exe
/c/grebox-0.2.2-w32/projects/
tmp
comp
outp
then how to translate it to exe?
thanx
Logged
notchent
Newbie
*
Offline Offline

Posts: 40


View Profile WWW
Re: View and Encap
« Reply #26 on: January 17, 2007, 12:13:03 AM »

Logged

Pages: 1 [2] Print 
Rebol Talk Forum  |  Licensing and Distribution  |  REBOL Encap  |  Topic: View and Encap
Jump to:  

  
Quick Search...

Advanced search
  
Welcome, Guest. Please login or register.
Did you miss your activation email?
October 12, 2008, 12:23:02 AM
Username: Password: Session Length:
  

News: 01-09-08

Alpha version of REBOL 3 has been released!


  
2251 Posts in 589 Topics by 2420 Members
Latest Member: pharmacytovvv

  Rebol Talk Forum | Powered by SMF 1.0.9.
© 2001-2005, Lewis Media. All Rights Reserved.

RT design by Defiant Pc