If files were on local hdd you may try:
http://www.snapfiles.com/reviews/Restoration/restoration.html
ift is working fine with xp.
There are lot of programms who are repairing vfp files.
http://fox.wikis.com/wc.dll Wiki~TableCorruptionRepairTools~VFP
Lowell,
Several things are perplexing about what you are saying here. For starters, there is no relation between the VFP project and the InstallShield project, other than that in the Files portion of the InstallShield project you would typically include the EXE you built from your VFP project, along with other files that need to be deployed with your appplication. I don't know how your InstallShield project is configured, but even if it contained a reference to your VFP project file for some reason, it's highly unlikely it would corrupt it regardless of whether or not the build was successful. Something else is going on here.
Secondly, a VFP project file is essentially just a container for references to the tables, form, reports, and other components that comprise the application. Although it's scary when a project file is lost or becomes corrupted, it's not fatal: Simply create a new one, add the main prg (or scx, or whatever) and do a build; VFP will prompt you for the location of each piece of the app it can't find, which in this case will be everything other than what's in the same folder as the main prg. After you respond to each prompt and tell VFP where to find the parts of the app, the project file will be intact again.
-Rick
lowellnelson wrote:
I just picked up on a nuance of your statement... Your comment seems to imply that there are characteristic crashes with VFP which take out the whole directory in which the main prg lives.
I'm not sure what nuance you're referring to, but I did not mean to imply that at all. I've seen VFP project files get corrupted from time to time, but I have never seen nor even heard of the entire contents of the project folder being erased as the result of a build.
However, I just read your initial post more carefully and realize I may have misunderstood how the problem originally occurred. You said "the test installation halted before completion and provided an error code." Did you mean mean the error occurred when you were building setup.exe in InstallShield Express, or that setup.exe was successfully created and you were actually running it to test installation of your application when the error occurred
Lowell,
I'm sure we've all lost files we wished we'd backed up more recently, so at least you're in good company. What I meant about having to tell VFP where to find "everything other than what's in the same folder as the main.prg" is that if you rebuild a project file from scratch, add in only the main.prg is for starters, and do a build, then VFP knows to look for other files in the same folder where main.prg is located but it does not know about any other folders where the project's screens, reports, images, and other files might be located. During the build, VFP will prompt you for the location of each file it can't find.
Back to the original problem: If your files disappeared when testing the installer, there are a couple of things I'd look at. First, are you testing the installer on the same machine where the VFP project and source files are located If so, what is the value of INSTALLDIR in your InstallShield project There is no reason you can't build the VFP app, build setup.exe using InstallShield, and test the installer all on the same machine, but you want to be sure everything is in its own direcotry and that you're not, for example, including your source files in the installer nor installing to the same location your source files are located in. The default target location for the installer would be something like C:\Program Files\myApp, while your VFP project and source code files would typcially be somewhere else such as C:\myVFPProjects\myApp, and your InstallShield project would be in its own location such as C:\myISEProjects\myApp.
Also, you would want to look at which files are being installed. Normally this would be only the application's EXE that you built from the VFP project, plus any support files and/or data files needed by the app at runtime. The VFP runtime files are incorporated into the InstallShield project as merge modules, so you don't need to handle them individually.
It might help to deal with specifics from here on out. If you want to pursue this, please post back with some of the information above and let's see if we can take it from there.
-Rick
lowellnelson wrote:
...thanks for the help. I'm going to stop here and address other questions in a new thread.
You're welcome, Lowell. Good luck going forward.