eruiz
12-05-2003, 02:27 PM
My installer checks the user computer to see if it contains a file e.g. any.exe. Once it locates the file, I would like to identify its location and assign it a variable. E.g., If the file is located in:
C:\Program Files\app\any.exe, Then I want to create a variable containing "C:\Program Files\app\"
How can I do so? I want to use this variable during the install folder screen so that it defaults to "C:\Program Files\app\" and install my software in that folder.
Thanks
Em
C:\Program Files\app\any.exe, Then I want to create a variable containing "C:\Program Files\app\"
How can I do so? I want to use this variable during the install folder screen so that it defaults to "C:\Program Files\app\" and install my software in that folder.
Thanks
Em