Announcement

Collapse
No announcement yet.

The idea is to die young as late as possible.

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

  • The idea is to die young as late as possible.

    ...more people worry themselves to death than bleed to death.


    Could someone provide a snippet for IF condition:

    IF "file exist" at ""programfiles"\sub folder\sub folder\file.exe" do not download file.exe.

    I am Using (and it's not working) the following:

    IF (%ProgramFiles%\\ssbyjess\\register.exe = 0)

    Copy Files C:\register.exe-> %ProgramFiles%\ssbyjess)

    END IF

    1. C:\register.exe does exist

    2. C:\Program Files\ssbyjess does exist

    3. C:\Program Files\ssbyjess\register.exe does not exist

    Please save me from my present state of mind! STRESSSSSSSS!

  • #2
    Re: The idea is to die young as late as possible.

    Sorry but I dont think you explained that too well, or you may have left out some info.


    I have a similar type of IF statement in the setup I am currently working on, although I use the search for file action. If the search comes back NOT_FOUND, then the file that is needed is installed.

    From what I see, you just have the condition set to check for a value, but nothing to actually check for the file and set that value. You may want to have a search for file action in there, then have that result return a value for the IF statement.

    Sorry if I got this wrong.

    Comment

    Working...
    X
    😀
    🥰
    🤢
    😎
    😡
    👍
    👎