Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Windows Installer (WI) & Conditional Installs
Message
General information
Forum:
Visual FoxPro
Category:
Installation, Setup and Configuration
Miscellaneous
Thread ID:
00495253
Message ID:
00495289
Views:
13
>Is(FILE_EXISTS, sTestPath ^ "Myfile.txt")
>FILE_EXISTS is an IS constant for the Is() function. Obviously, it will return false if the file does not exist. Depending on the result, you should be able to either use the ParsePath() function to extract the path and set your TARGETDIR for installation, or simply call the abort command.

Hi Jon,

I'm currently using the ISWI Pro. evaluation (my boss' hope is that using the interface I can learn the MSI table structure)

Will FILE_EXISTS act like DrLocator and check all local drives, since I don't know where the file will be located (if it exists)?

FILE_EXISTS isn't listed in the MSI reference, so I presume its part of IS scriping language, an MSI solution would be better with my requirements...

Is my solution that far off? < g >
-michael

My brain hurt like a warehouse, it had no room to spare, I had to cram so many things to store everthing in there. - David Bowie
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform