Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

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.

Donate Today!

Do you enjoy these
technical forums?
Donate Today! Click Here

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
Hi,

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

oXML=CREATEOBJECT("msxml2.xmlhttp.3.0")

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!"
2. QUIT

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:
http://fox.wikis.com/wc.dll?Wiki~InnoScripts~VFP

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

Mike

__________________________________
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: http://msdn.microsoft.com/en-US/library/akzettd8(v=vs.80).aspx

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
Olaf,

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 :

http://archive.msdn.microsoft.com/FoxPro/Release/ProjectReleases.aspx?ReleaseId=125

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:
msvcr71.dll
gdiplus.dll
vfp9r.dll
vfp9renu.dll

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, http://fox.wikis.com/wc.dll?Wiki~VFP9RuntimeFiles 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...

Regards

Griff
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

CODE

Oh, and if you're really lazy,
you simply only add:
msvcr71.dll
gdiplus.dll
vfp9r.dll
vfp9renu.dll

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!

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