No announcement yet.

Detecting MpgPlayer.exe file

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

  • Detecting MpgPlayer.exe file

    I need help please. I manage to make Search For File action that search fore MpgPlayer.exe file.
    But I do not manage to hide a ”Install MPEG Player text box”, if AutoPlay detect that the end user has a MpgPlayer.exe file installed.

    Can anyone explain how to do this?


  • #2
    Re: Detecting MpgPlayer.exe file

    When you have searched for the MpgPlayer.exe file, you had likely stored the "full path" in the variable(if it is found) and put a default of something else, lets say you left it blank. After you have perfomed the search for the file, you want to go to Page Properties. Here you want to have a HIDE OBJECT Action(Text Box Object) with a condition based on the outcome of that variable.
    You want to hide the text if the executable was found. Therefore the condition would be:
    %SearchVar% not equal
    Where the second value is blank.

    This will Hide the Object if the executable is found.

    Hope this helps.


    Darryl Hnatiuk
    Indigo Rose Corporation

    [This message has been edited by Darryl (edited 09-19-2001).]