Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 2 of 2
  1. #1
    Join Date
    Dec 2000
    Location
    La Palma, CA, USA
    Posts
    20

    Lightbulb Selecting the Install Folder

    Hi,
    I have a need, in some cases, to verify that my INI file exists when the user selects the install folder. My current (non-SF) setup will reject the install folder if the file is not in the install folder which the user chooses.

    Any suggestions?

    TIA

  2. #2
    Join Date
    Jun 2000
    Location
    Indigo Rose Software
    Posts
    1,943

    Re: Selecting the Install Folder

    Hi,

    The problem in this situation is that Setup Factory can only perform a File Search at the beginning of each installation. If you really wanted to accomplish this then what you could do is use two separate installations in conjunction. One would be a "wrapper" installation, and the other would be the "main" installation.

    If there is only going to be one copy of your INI file on the user's system, then you could perform a File Search for the INI file and store the path in a variable. Then when the user selects an Installation Path, you would compare the two values, and if they are not equal, inform the user that they have selected an incorrect path.

    mark.
    MSI Factory The Next Generation Intelligent Setup Builder

Posting Permissions

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