Single File Deploy on Windows?

Matthias Rebbe matthias_livecode_150811 at m-r-d.de
Tue Apr 4 17:31:11 EDT 2017


Hi Dan,

there is a way to use the old libURL instead of the new tsNet external. If that is sufficient for you then you just have to unload the tsNet library before building the standalone.
To do this just execute this from within the message box:  

dispatch "revUnloadLibrary" to stack “tsNetLibURL”

If you have set the standalone settings  to automatically search for inclusion, then you´re done.
If you have set the inclusions manually you have to make sure that tsNet is not checked. 

If you now create a standalone the standard libURL library is used instead of tsNet. 


Regards,
Matthias


> Am 04.04.2017 um 19:29 schrieb Dan Friedman via use-livecode <use-livecode at lists.runrev.com <mailto:use-livecode at lists.runrev.com>>:
> 
> Thank you everyone for your suggestions.  I’ve been doing it that way for years (save the dll’s as needed at runtime).  The problem is that it seems that an EXE made from LC 9.0 won’t even launch if you include any items related to the internet (Broswer, Internet, SSL, etc) unless the tsNet.dll is present and in the same directory as the exe.  Now, I can fool LC by unchecking these items in the Inclusions panel.  Now the exe launches.  In my “startup” script, I save the dll’s to disk (from custom props) which works fine.   However, the exe errors when you try to access the internet.  Then I thought that it doesn’t know they are there unless you set the externals of the mainStack.  So, when the app launches, in the startup script, I set the externals of the mainStack to the path to the DLLs, but it still fails.  Now I am sad.
> 
> Any thoughts?
> 
> Also, what’s with this ginormous DLL “libcef.dll”?  It’s 47.5MB.  Anyone know what that’s related to?
> 
> -Dan
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com <mailto:use-livecode at lists.runrev.com>
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode




More information about the use-livecode mailing list