>Hi,
> I would like to add certain value into Registry and certain validation after my VFP application setup program(post-setup executable). What sgould I do?
You can have your post-setup executable write values to the registry; in VFP6, the FFC contains a class that will read and write registry values. There are files in the File Section here on UT that provide similar functionality for earlier versions.
As far as validations, you can put whatever you like into the post-setup executable.
>My post-setup executable should be compiled into .EXE? If I need to uninstall my application if user cannot fulfil my condition, how to do so?
You need to specify an executable file as the post-setup executable, so yes, if it's written in VFP, it needs to be compiled to a .EXE.
There's no provision in the Setup Wizard to uninstall based on conditions in the post-setup executable. The current Setup Wizard install will create an uninstall that can be fired from the Control Panel applet, but this is a manually triggered event.
If you need an uninstall that's more comprehensive than what Setup Manager provides, you might want to investiage another installation tool with a strong scripting capability, to integrate your validation requirements. The tool I use, InstallShield Pro, would work well, but it is fairly expensive, and has a significant learning curve, since it's essentially another programming language.
>Thank you