Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Find installation directory
Message
De
20/07/2004 12:15:14
Allen Hanna
H. A. Hanna Associates
Indianola, Indiana, États-Unis
 
 
À
19/07/2004 14:50:03
Information générale
Forum:
Visual FoxPro
Catégorie:
InstallShield
Divers
Thread ID:
00925818
Message ID:
00926156
Vues:
12
>>>>Is there an API function that can return the directory that the user selects for installation using InstallShield Express? Could you give me a code example?
>>>>
>>>>Thanks!
>>>
>>>Don't know what you're trying to do but the following returns the path where your EXE is.
>>>
>>>
>>>JUSTPATH(_VFP.ServerName)
>>>
>>
>>Hi Fabian,
>>
>>Actually, we need to know what directory was selected during the installation and before the installation is completed. We need to run a "custom action" while still in InstallShield.
>>
>>Thanks,
>>Allen
>
>
>Here's what I use in a VB Script custom action:
>
>sTargetFolder=Session.Property("INSTALLDIR")

Thanks, Mark. Now we're stumped again. We need to communicate this directory name to a foxpro exe that is called during the installation. VB script doesn't seem to have any functions for this, like writing the directory name to a text file or calling the exe with a parameter. Any ideas?

Allen
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform