Reply to Thread

Post a reply to the thread: How do I check if file exists in the 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)

  • 02-05-2009, 03:10 PM
    iancook

    Re: How do I check if file exists in the install folder

    Hello again,
    Thanks for the previous prompt reply!
    I just had another look at your post.

    After Display Message box "The client must be installed to the same folder..."
    you have another line..
    "Set Focus to Control ID $DESTINATION_EDIT1$

    For the life of me I cannot find how to add the "Set Focus" line to the script.
    I cannot see it in any of the listed "Script functions" or "Control Statement"

    Can you point me in the right direction please!

    Thanks
    Ian
  • 02-05-2009, 02:56 PM
    iancook

    Re: How do I check if file exists in the install folder

    Thank you VERY much!!

    It works well now!

    Ian
  • 02-05-2009, 02:06 AM
    linder

    Re: How do I check if file exists in the install folder

    Ian,

    Only one more If.. Statement and you are done

    See attached source code snippet and demo project.

    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
  • 02-04-2009, 03:41 PM
    iancook

    How do I check if file exists in the install folder

    Hi
    I am sorry if this has been asked before...

    I would like to ensure the user has selected the same folder that another program is located in.
    Ideally this would be done as part of the user interface so the user can go back and select the correct folder.

    For example, the install folder must contain "footytip.exe"
    If not, then setup cannot continue.

    I have attached a screen dump of my attempt to test this in the script but it is not working.

    Can anyone please tell me where I am going wrong?

    Thanks in advance

    Ian

Posting Permissions

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