+ Reply to Thread
Results 1 to 4 of 4

Thread: Check to see if file already exists?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default Check to see if file already exists?

    Hi there,

    I'm trying to find a way to have my installer check to see if a file already exists, is this possible? We would like to be able to check to see if previous instances of our software is installed onto the target computer. If it is we would abort the user out with an error message or run a backup of the old build, but we need to know first.

    I know how to check for running programs and other items but I can't seem to find a way to accomplish this specifically. Any help would be greatly appreciated.

    Thanks,

    Brandon

  2. #2
    Join Date
    Mar 2004
    Posts
    4,307

    Default Re: Check to see if file already exists?

    Brandon,

    Yes, absolutely no problem. You can use the "If File/Folder..." Statement do handle this (see attached screenshot).

    But the recommended way to detect a previously installed application is the use of "Detect Previous Version..."

    Does this help?

    Friedrich
    Attached Images Attached Images  

  3. #3

    Default Re: Check to see if file already exists?

    That is exaclty what I was needing! Thanks a bunch for the quick responce!

  4. #4
    Join Date
    Mar 2004
    Posts
    4,307

    Default Re: Check to see if file already exists?

    You are very welcome

    Friedrich

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

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