aliensd
Posts: 1
Joined: Wed Nov 30, 2005 9:51 pm

Problem searching for a file

Hi,

I'm new to this program and have couple of questions. What I'm trying to do is, search for the browser Internet Explorer (iexplore.exe) on the target computer and if the file exists, proceed to the installation, but if not, warn the user and quit. Could someone explain me in details?

Thanks a lot.
Ionut
Posts: 605
Joined: Tue Nov 22, 2005 11:29 am
Contact: Website

Hello,

Internet Explorer exists on all versions of Windows, so there is no need to search for it.

You might want to determine the version of IE installed on the target computer. This can be achieved by combining a File Search with a Launch Condition.

Suppose you want to search for IE 6 and quit if it is not found.

First, create a File Search for Iexplore.exe:
  1. Switch to the Search page, and select the New File Search button from the toolbar.
  2. Enter a name for this new property, let say IE6_FOUND.
  3. In the Name field type Iexplore.exe.
  4. In the Min Version field enter 6.
  5. Right click this property and select Add Location -> Folder.
  6. In the Path field type [ProgramFilesFolder]Internet Explorer and in the Depth field enter 0 (a less efficient solution: [ProgramFilesFolder] in the Path field and 1 in the Depth Field).
Now, create a Launch Condition:
  1. Switch to the Launch Condition page and select New.
  2. Set the Condition to IE6_FOUND and in the Description field type the message you want to display if IE 6 is NOT found.
Regards,
Denis
Denis Toma
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”