World: r3wp
[SDK]
older newer | first last |
Gabriele 1-Nov-2005 [177x3] | also, it's not true that you would need to have command already. |
you just encap a script like: forever [do ask ">> "] | |
and you got /Command for $5. | |
Pekr 1-Nov-2005 [180x3] | :-) nice tip :-) |
but licence forbids to expose rebol interpreter, so it would be against it ... | |
I just wonder, if SDK is really so expensive fro ppl? I am from CZ, we have bad salary to USD/EU ratio, yet I afforded to buy myself an SDK .... | |
Gabriele 1-Nov-2005 [183] | petr: exactly, licensing forbids it, and that why you can't have an automatic encap service where anyone can submit a script and you hand back an exe. |
Henrik 1-Nov-2005 [184] | well, that's not really what I would want... all I would need would be proper encapping of my small Rebol/View scripts so that friends can run them with a single click, which is one of the major gripes I have when I need to distribute hobby scripts. They don't want to mess with the console or the viewtop (believe me, I tried). If I were to use functions in my scripts that are /command only, the service should not allow encapping of source that contains /command functions. This way you'd need to own /command and/or the SDK to make /command capable exe's. |
Pekr 1-Nov-2005 [185x2] | IIRC someone posted to ml kind of free encapper :-) It was based upon generating of zip archive, containing View interpreter, which is free to distribute, plus packed scripts ... that could be an alternative way for ppl, no? |
Henrik - there are two versions of SDK - /Command and "normal" (without command features, just pro ones available), which is cheaper ... | |
Henrik 1-Nov-2005 [187] | pekr, I thought the difference was /Command and /Pro functions... |
Pekr 1-Nov-2005 [188] | yes, that is the difference ... |
Henrik 1-Nov-2005 [189] | but you don't get /Command functions for free. that would be the trick to get you to buy the SDK as opposed to using an encapping service |
Pekr 1-Nov-2005 [190x2] | ...and I agree with you, that sometimes ppl don't want to install something ... the worst thing is, that in many cases, ppl are behind the firewall/proxy, and rebol fails here - blocking like mad.... |
do you need /Command functions? | |
Gabriele 1-Nov-2005 [192] | if you're just distributing a script to friends, then what about just a zip file with view, the script, and a windows link that starts view with the script? |
Pekr 1-Nov-2005 [193x2] | inability to freely encap ppl's work (and /Pro key is for nothing - you can develop features non pro users can't use ;-) is big obstacle imo. That is why I think plug-in might be important product - it is about deployment - with plug-in aproach ppl just think that things work in one click :-) |
yes Gabriele, that might be the way - in fact, someone posted such "encapper" link to ml, so that work was already done .... noone responded IIRC .... | |
Henrik 1-Nov-2005 [195] | gabriele, too messy :-) "Do I really need that big R icon on my desktop?" It has to be one click to run. Grandma style. |
Gabriele 1-Nov-2005 [196] | henrik, you don't get any R icon on the desktop the way i described. and, as petr says, there are programs around that make the process of unzipping and running automatic, so the user only sees one exe. |
Henrik 1-Nov-2005 [197] | so you link to an exe file within the zip file? is it not necessary to unpack the zip file? |
Gabriele 1-Nov-2005 [198x2] | using any of the programs petr talked about, yes. with just a zip, you unzip then click on the link. |
(i wish Windows had bundles, like OSX :) | |
Pekr 1-Nov-2005 [200] | Henrik - most of the free utils of archivers allow you to generate so called "autoextracting archive" |
Henrik 1-Nov-2005 [201] | It HAS to be one click exe to run. No zip files. ah well, I give up :-) going back to work :-) |
Pekr 1-Nov-2005 [202x2] | not sure if you can point it then to run some exe inside though ... |
I wonder, anyway, how will you send it to your friends? ;-) Most of email servers will refuse it because of internal security policy - we don't allow to send .exes directly, not even inside .zip archives ;-) | |
Henrik 1-Nov-2005 [204] | downloads from webpages... |
Gabriele 1-Nov-2005 [205x2] | try this: |
http://motoko.rebol.it/test.exe | |
Henrik 1-Nov-2005 [207x2] | that's more like it :-) |
will it work on read-only devices, such as CD-ROMs? | |
Gabriele 1-Nov-2005 [209] | yep, extracts to temp dir. but this depends on the tool you use (i used winrar) |
Henrik 1-Nov-2005 [210] | hmm ok |
Gabriele 1-Nov-2005 [211] | i mean default windows temp dir (like 99% of the installers do) |
Graham 27-Nov-2005 [212x2] | what's the latest encmd.exe ? Is that from July 2004 ? |
If so, is there going to be a public update soon? I presume that one is a beta release | |
Gregg 28-Nov-2005 [214] | That's the latest one I use officially. There was/is a 2.6 Core beta I think, more recent, but not View. A new official SDK is a highly requested item. |
Graham 28-Nov-2005 [215] | I use officially hmm... what secrets does that imply ? :) |
Gregg 28-Nov-2005 [216] | Sorry, no secrets. Just that it's the one I use. I don't use the 2.6. Core beta encapper for anything official. |
Graham 1-Dec-2005 [217] | Just reading the prerebol specifications. You can conditionally include files for compilation, but can you declare parts of the source to be conditionally "compiled" into the exe ? |
Volker 1-Dec-2005 [218x3] | This one? |
(Oops - There was request on "all" for this group) | |
Graham, conditional works. there is a #if . | |
Graham 1-Dec-2005 [221] | volker, I can't see how #if allows me to remove chunks of code that I don't want incorporated into the exe |
Volker 1-Dec-2005 [222] | Because if allows you to insert code IIRC. Now if you insert a little code or a lot depending on the if? |
Graham 1-Dec-2005 [223x2] | As I understand it, #if allows me to conditionally evaluate some Rebol code, or to include source files into my code. |
Yes, insert .. but not remove | |
Volker 1-Dec-2005 [225] | Have to look up the doc.. |
Graham 1-Dec-2005 [226] | http://www.rebol.com/docs/sdk/prebol.html |
older newer | first last |