Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SetupWiz - where did the user install your application?
Message
De
11/06/1999 07:58:02
 
 
À
11/06/1999 07:05:10
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00228672
Message ID:
00228683
Vues:
18
>Hi, All!
>
>I'm using Setup Wizard to make a distribution of my application. In the post-setup application, which is run after the installation I need to know where did the user *actually* install the application, that is if he/she chose to install it in a different from the default location.
>
>Is there any way to find this out?
>

FULLPATH(SYS(0)) retrieves the path of the executable; strip the file name and you have the path:

cInstallExeLoc = FULLPATH(SYS(0))
cInstallPath = LEFT(cInstallExeLoc,RAT('\',cInstallExeLoc))


>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