Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2002
    Posts
    20

    identify parameter for file location

    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

  2. #2
    Join Date
    Oct 2003
    Location
    Manchester NH
    Posts
    13
    If you use the "Search for File" action you can assign the resulting path to a varibale. There are several option as to where you want to search on the users computer.

    Once you have the full path in a vaiable you can use the "Parse Path" action to get the folder part of the path in another variable. This can then be used as the default in the folder location dialog.

    Hope this helps,
    Barb

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts