Skip to main content

VFP Runtimes - do we need an installer?

Years ago, the conventional wisdom was that you used an installer program to install the VFP runtimes on the user's machine and then possibly had an application update over it. On network applications (that resided on the file server), this was almost a requirement - the users couldn't run the application without the runtime - but you wanted to be able to install updates without requiring the user to upgrade their runtime files if necessary.

How necessary is that today?

In some instances, very. I still have some applications that reside directly on the file server, where is also where the data lies and thus having a separate runtime installer usually helps - but this can also be detrimental. Even with today's fast networks, the performance hits that come from running an application over the network instead of the local workstation can seriously infringe on the application.

The seeming hassle of creating a separate runtime for the application also strikes fear into some developers hearts as they have to (begrudingly, at times) admit their application uses FoxPro, which can affect how a company with a larger IT department might choose to support it.

This created a chorus of FoxPro developers wanting the VFP runtime to be included with the standard Windows install to make it easier for them to deploy their applications.

So as I was rereading past posts, I came across this great one from Calvin - Enable people to run your programs without installing anything.

It got me thinking - there was a time when a desktop install of 5MB was considered very large but those days are long past. With Windows Service Packs hitting up to 1GB and even the DotNet at 22MB, a 5MB install is nothing - I could install this online in less than 2 minutes.

As FoxPro developers, we are also used to putting files into their "proper" locations - "Common Files\Shared, etc, etc" as though there were lots of applications using the same runtimes. This could reduce versionitis, something that was supposed to be dealt with in XP and now Vista. But is this something that drastically affects VFP applications?

So, coming back to the post, Calvin's entire premise is to just zip up the VFP9R.DLL, VFP9RENU.DLL and the dreaded MSVCR71.DLL and put your application (or your application stub) right in there. Don't worry about pathing, just keep everything right in their own folder.

When combined with a program like Zip2EXE, which you can set to automatically unzip and then run a specific program, or even an installer such as InnoSetup, you can build an entire setup for your application (under 10MBs) that puts everything where VFP can find it without affecting other applications.

You may already be doing something like this so tell me, how do you handle installs?

Comments

Anonymous said…
I just use the ready2go runtime-installers from our ftp://ftp.prolib.de/public. Install that one on any windowsbox since Win95 and it checks/updates/installs everything VFP could ever need. After that, you just copy your exe into any folder and off you go.

Sine that installers can also run silently, you can easily incorporate them into your own App-installers. (See the readme.txt for commandline switches)

BTW: Our Runtime installers seem to be very popular: we have several thousand downloads on the VFP9 installer from all over the world. Maybe I should make some statistics on that one? hmm.....

Popular posts from this blog

Blogs and RSS come to Microsoft.com

MS has just introduced their portal and it's pretty comprehensive. Nothing quite like learning that some people use AIM instead of MSN messenger, or that there really may be a need for supporting 4 monitors ( Cyrus Complains ) However, it's really a great sign that MS is serious about supporting the blogging community which seems to have um, exploded in size in the past year. Blogs and RSS come to Microsoft.com

FoxInCloud Stats

FoxInCloud sent this link a while back about their statistics regarding visits to their site: http://foxincloud.com/blog/2017/12/27/VFP-community-lessons-from-foxincloud-site.html What's interesting here is the breakdown of people. Yes, I think it's understandable that the Fox community is getting older. Another factor is the growth of the mobile and web environments taking over development. These environments really do push people towards the newer non-SQL or free SQL/hosted environments but more towards hosted storage options like Amazon and Google. A tool like FoxInCloud that helps MOVE existing applications to the cloud inherently competes with those environments. But FoxInCloud also allows developers to extend their application further by giving them a starting point using Javascript and the basic CSS (such as Bootstrap). If you're not rebuilding your application from scratch, it's certainly a great step forward. FoxPro VFP

Facebook Revolt - imeem alternatives?

When Scoble noted how Facebook under major revolt , I immediately thought of a site I found yesterday. The value offered by Facebook's feeds however do seem very cool - if only they had been smart and made them opt-in, instead of opt-out. I have been impressed though with Facebook's opening of their API's - they certainly get it that they need to open it up to developers. I haven't really explored this other site, beyond my first look. In some ways, I think the whole social networking site thing is just silly , but this site (imeem) definitely showed some value. I could find music (as posted by the artist), it worked in Firefox and it allowed people to rank, add to delicious and more. And when I'm looking at someone, I can see what they're up to (or rather what they allow us to see). Anyways, you may want to check it out.