Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Inno Setup needed

Status
Not open for further replies.

FoxAll

Programmer
Jun 13, 2003
49
CA
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

 
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.
 
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 ....

 
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.
 
I know these, it's just not very professional to need a seperate runtime installer.

Bye, Olaf.

 
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, is a source of info on the dependencies.

Bye, Olaf.
 
A very rude person.

Still, you try to help everyone...

Regards

Griff
Keep [Smile]ing

There are 10 kinds of people in the world, those who understand binary and those who don't.
 
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 :p

 
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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top