Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SetupWiz - where did the user install your application?
Message
From
11/06/1999 07:58:02
 
 
To
11/06/1999 07:05:10
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00228672
Message ID:
00228683
Views:
17
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform