I finally answered my own question - it was simple and I was nearly right in my 
first guess. I forgot to include the ‘Externals’ folder in the files and 
folders encapsulated by the PC installer maker. I suppose I live too much in 
the Mac world. The live program looks for an ‘Externals’ folder in its 
immediate vicinity and if it doesn’t find one, or the contents are wrong, it 
very sensible reports an error. It would be better if the error was “can’t find 
Externals folder” rather than “can’t find tsNet”, but that’s a weak excuse on 
my part.

There you go - deployment stumbling block number 42, I suppose.

Graham

> On 15 Mar 2018, at 16:47, Graham Samuel via use-livecode 
> <use-livecode@lists.runrev.com> wrote:
> 
> I have a LiveCode standalone running as PC app (a .exe file, plus some other 
> files which are needed when it runs). If I simply run the original standalone 
> on Windows 7 (OK, running under Parallels on a Mac), it all just works. If I 
> create an installer for the program and its dependent files using Inno Setup, 
> the whole thing appears to run smoothly, but when I run the installed version 
> of the app (which is exactly the same size as the original standalone, as 
> expected), I get an error from the LC engine “Initialization Error: Failed to 
> load external: tsNet”. I suppose I have somehow failed to include tsNet, but 
> it was specifically included in the standalone (as “internet”) and anyway the 
> original standalone works.
> 
> Should I somehow be giving my installed app a path to the LC externals? I’m 
> confused.
> 
> Graham
> _______________________________________________
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to