Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Wrapping setup wiz. generated SETUP program
Message
De
19/02/1999 09:11:44
 
 
À
19/02/1999 05:08:48
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00189187
Message ID:
00189240
Vues:
9
>Hi All!
>
>VFP5 Setup Wizard allows to run a program after the setup.exe is finished running.
>I want to do some things before I run setup.exe AND after that too, that is I want to run setup.exe from within my application and if user cancelled the installation or if an error occurred, then not to continue with my Post-Setup.
>
>Is there any way to know if Setup.exe has finished successfully or not?
>

You can check for the existence of known files and registry entires, as well as examining the termination code of Setup.EXE if you launch it with CreateProcess() or ShellExecuteEx() and snag the ProcessID. The file SETUP.STF is left behind in the selected target directory, and contains a list of all actions taken both by the user and by the setup process itself.

>Thanks in advance,
>
>Uri Shohet.
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform