Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Setup Wizard
Message
From
15/08/1999 09:03:52
 
 
To
15/08/1999 00:38:52
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00253815
Message ID:
00253838
Views:
18
>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
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
Reply
Map
View

Click here to load this message in the networking platform