Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Post executable hangs during Setup
Message
From
18/07/2000 15:54:04
 
 
To
18/07/2000 14:39:34
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00393967
Message ID:
00394013
Views:
11
>I have an installation that I've created using the VFP setup wizard. In my setup I run a post-setup executable. The problem I'm having is that my setup and post-setup executable will run fine the first time it's launched. If I try to rerun the setup.exe again on the same machine, the setup runs through initial VFP setup, and begins to run my exe. It runs the main.prg (stuck a message in to verify) and then hangs up without the form showing. If I kill the setup exe, my form then shows and I can continue running form from there. This is the behavior any time I try to rerun the setup (even after a reboot or calling the setup from the applications setup directory). The exe that I'm running post-setup runs just fine if I run it stand-alone. It's only when I specify it in the setup wizard that I have a problem. I originally specified the post-setup exe as a file outside of my \distrib directory. When this didn't work I included the post-setup exe in the distrib folders. Neither works.

Is the post-setup executable written in VFP? If it is, VFP may not be ready for use - it may have required some of the runtime files and .DLLs to rely on delayed copy and registration if any of the updated items were loaded before Setup. The result is that VFP doesn't work before you reboot.

You may also need some other component which doesn't install from Setup Wizard - DCOM, or various OS SPs for example.
>
>I'm running NT4.0 with VFP6 sp3. I can duplicate this same install behavior on another machine running Win98
>

Try adding NT SP4, and installing DCOM on the Win98 box.

>This executable is a VFP exe with a main.prg which calls a single form that is modal and has showwindow as top level form. I've played with both properties to see if there would be a difference and to the best of my knowledge it didn't matter. I also have SCREEN=OFF in a config.fpw file compiled into the executable.
>
>Any thoughts on what I may be missing here? This is really frustrating. I've spend way too much time on this and now know that I should have invested the money on a real install program
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform