Reply to Thread

Post a reply to the thread: check for file existence after Install Folder

Your Message

Click here to log in

What's the name of our main installation product (in uppercase letters), directly followed by the current year?

 

You may choose an icon for your message from this list

Additional Options

  • Will turn www.example.com into [URL]http://www.example.com[/URL].

Topic Review (Newest First)

  • 04-07-2009, 11:40 AM
    Doug I

    Re: check for file existence after Install Folder

    Hi Friedrich,

    Worked like a charm. Lovin' it.

    Thanks,
    Doug I

    P.S. This is off-topic, but make sure to put pressure on Bob Z for C7 support of PNG images. I gave them a thrashing the other day for earlier promises that C7 would support PNG, and they didn't deliver. The more they hear it from successful developers, the more they will put emphasis on it and recognize it is something that devs need.
    A product like yours (and my own programs) could drastically benefit from being able to integrate multi-transparency PNG images for creating stunning applications.
  • 04-07-2009, 04:24 AM
    linder

    Re: check for file existence after Install Folder

    Doug,

    I have developed a test project for you (see attached .sb6 and code snipped).

    Does this help?

    --
    Friedrich Linder
    Lindersoft
    www.lindersoft.com
    +1.954.252.3910

    SetupBuilder "point. click. ship"
    Create Windows Vista ready installations in minutes

    -- Official Comodo Code Signing and SSL Certificate Partner
  • 04-07-2009, 04:07 AM
    Doug I

    check for file existence after Install Folder

    Hi,

    I want to make my SB Installs work such that after the user enters the path to install to, the script will check if a specfic file exists in that path and then proceed.

    I am trying to avoid a problem we encounter periodically when customers download a special upgrade installer and the default install path is not where the program resides. This commonly happens when the customer moves our program to a new server.

    Basically, I want to check if my "program.exe" exists in the Install folder path provided before proceeding with the installation.

    I am guessing that I have to find the right place to implement the "If File/Folder exists" function in the script.

    Can you give me some ideas on how to do this?

    TIA,
    Doug

Posting Permissions

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