Smart questions
Smart answers
Smart people
Join Tek-Tips Forums

Member Login

Remember Me
Forgot Password?
Join Us!

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.
Jobs from Indeed

Link To This Forum!

Partner Button
Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

FoxAll (Programmer) (OP)
23 Mar 12 14:26

I made a VFP9 sp2 application. This application is very simple. The only external object I use is :


I have made a working installation process with InstallShield Express but get error on Windows 7.

So, I downloaded "InnoSetup"...but can't find a working script. Now, the time to create the installer starting to take more time than the time to create the application itself.

Can someone help me or redirect me to a working script/process?

thank you for your times

OlafDoschke (Programmer)
23 Mar 12 14:41
msxml2.xmlhttp is whaqt made AJAX possible, it's also known as the XMLHTTPRequest object and supported by many javascript implementations of many browsers, available from Win98 on.

I doubt you exactly need Version 3.0, so simply stop adding that and instead CREATEOBJECT("msxml2.xmlhttp")

On Windows 7 you have msxml2.xmlhttp.6.0 and it will be downward compatible, I bet. You may test especially on Win7.

If you simply create the version on a PC you won't need any additional installer or extended inno setup script, it's there on all OSes since Win98.

Bye, Olaf.
FoxAll (Programmer) (OP)
23 Mar 12 15:33
Sorry to bring you on a wrong track with this XML line...

What I'm trying to do is to make a Install process of an VFP application with 2 lines of code :

1. ?"HELLO WORD from VFP!"

I try to install this on windows 7 and I can't. Install shield give me error. And inno setup looking for "msvcr71.dll"

so I try to locate the file to include and it in the setup and bla bla bla bla ....

MikeLewis (Programmer)
23 Mar 12 15:50
The FoxPro Wiki has some sample Inno scripts, including at least one that will install all the required runtime files.

Try this first:

If that doesn't meet your needs, browse or search the Wiki for others.


Mike Lewis (Edinburgh, Scotland)

Visual FoxPro articles, tips, training, consultancy

OlafDoschke (Programmer)
23 Mar 12 16:47
You don't get around locating msvcr71.dll and other essential runtime files, despite using Merge modules.

Install shield can also use the merge module files (msm) coming with VFP located in C:\Program Files\Common Files\Merge Modules (like ALL merge modules).

And the single files are in C:\Program Files\Common Files\microsoft shared\VFP\, again this is valid for other language runtimes, too.

Yes, you won't get forward in Install Shield just by guessing, there is a walkthrough in the VFP help:

What is true is, that Installshield Express 5 coming with VFP9 is outdated. 2006 even Vista didn't exist yet.

So beside this, Mike has pointed you to a good starting point in regard to using Inno Setup. But this even more so needs you to know all the files you need to include for a vfp exe to run.

Bye, Olaf.
FoxAll (Programmer) (OP)
23 Mar 12 17:51

Your funny :) please don't try to answer me next time please.
I just don't have time for that sarcasm.

for all other lazy programmers (like me) who are looking for something very fast, look at this :

Works like a charm!
thank you

OlafDoschke (Programmer)
23 Mar 12 18:02
I know these, it's just not very professional to need a seperate runtime installer.

Bye, Olaf.

OlafDoschke (Programmer)
24 Mar 12 15:45
Oh, and if you're really lazy,

you simply only add:

and perhaps another language you want to support and that's sufficient, if not using any VFP XML features and reports.

And you only need to put your exe besides it (or the other way around), and it runs, even from an usb thumb drive, no install needed, make it a "portable app".

If something doesn't work, is a source of info on the dependencies.

Bye, Olaf.
GriffMG (Programmer)
26 Mar 12 2:40
A very rude person.

Still, you try to help everyone...


Keep Smileing

There are 10 kinds of people in the world, those who understand binary and those who don't.

FoxAll (Programmer) (OP)
26 Mar 12 16:37


Oh, and if you're really lazy,
you simply only add:

WOW.. I like this !!!

Sorry...and...thank you Olaf. :)

You know I love you blllttt

OlafDoschke (Programmer)
27 Mar 12 3:52
Sorry, I'm already given to VFP.

And no need to apologize in any way. I imagine you were rather thin-skinned after an unsuccessful session with Installshield, but then just don't explicitly ask for an Installshield solution.

Like many things seemingly easy creating a setup with Installshield or any other tool takes some preparations, more than you think perhaps. And it's as always: It's easy, if you know how.

Don't think that I didn't also fiddle with many things before I know them.

Bye, Olaf.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Back To Forum

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close