PDA

View Full Version : Important change in v1.1



barrymavin
2014-03-18, 02:55
In v1.1 the runtime distribution will not compile and run .prg files. It will only run .dbo object files so make sure you have all of these deployed when you build your installer.

Be sure to test your installer first.

This important change means you don't have to deploy any source code to your users.

jmonte407
2014-03-18, 07:30
So the .prg's compile to .dbo files? Can we still choose to copy prg files manually if we like? will the runtime still run prgs? On another note.. I know vfpoledb is really just activex.. Are there any issues using vfpoledb to connect to my vfp tables and doing updates... I'm going to be running parallel with our old system... I was told that lianja itself can open vfp tables and update them, however, the indexes don't update...

Thanks
Jim

jmonte407
2014-03-18, 07:54
I can just rename my prg's I don't want compiled to .rsp

barrymavin
2014-03-18, 07:55
Hi Jim,

no that won't work. They are different formats.

barrymavin
2014-03-18, 08:00
Hi Jim,

The Lianja runtime will will only run compiled code.

The compiler is only enabled in the App Builder -- development mode, as that is the licensed product.

This is to prevent piracy.

Lianja is runtime royalty free desktop distribution but requires the apps to be compiled within the App Builder.

barrymavin
2014-03-18, 08:04
I don't think the VFP oledb driver will work with Lianja.

barrymavin
2014-03-18, 08:12
I have not tried it but if you install the vfpoledb driver then in Lianja;

SET DEBUG ON
vfpda = createObject("OLEDB.Connection")

I'd be interested to see if it loads and what is in debug_client.txt

jmonte407
2014-03-18, 08:19
I don't think the VFP oledb driver will work with Lianja.

I'll use odbc then.. I was going to only use the prgs for reports.. this way I could tweak them on the fly without a recompile...

barrymavin
2014-03-18, 08:20
Then you would need to set the connectionstring.



vfpda.ConnectionString = "Provider=VFPOLEDB.1;.....

jmonte407
2014-03-18, 09:33
Thanks.. I tried building an install and got this "LianjaAppCenter-1.1.0(beta1)-windows-installer.exe" not found in c:\lianja\redist.. please download from www.lianja.com...

davefoss
2014-03-18, 09:53
Thanks.. I tried building an install and got this "LianjaAppCenter-1.1.0(beta1)-windows-installer.exe" not found in c:\lianja\redist.. please download from www.lianja.com...

Hi Jim,

You have to download the Lianja App Center separately and put it in the .\redist\ folder if you want to build an installer package.

HankFay
2014-03-18, 14:32
Jim,

you do NOT have to install the app center with the app builder (as I found out last night <s>): you downloaded the app center install, and then place the downloaded exe in the redist directory.

Hank

barrymavin
2014-03-18, 22:20
Hi Jim,

FYI for Cloud Server .rsp files *are* just in time compiled. I'm only referring to .prg files for desktop Apps deployment and distribution.