Announcement

Collapse
No announcement yet.

Selecting the Install Folder

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    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

    Comment

    Working...
    X