Re: SMS Installer failure: "Check If File/Dir Exists"

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



It works just fine.. I made a few changes to the code.

item: Check Disk Space
end
item: Set Variable
Variable=JAVABEAN
Value=C:\Program Files\Java
end
item: Set Variable
Variable=JAVA
Value=%javaBean%\1.5.0_01\bin\java.exe
end
item: Check if File/Dir Exists
Pathname=%JAVA%
Flags=01000100
end
item: Set Variable
Variable=J1
Value=1
end
item: Else Statement
end
item: Set Variable
Variable=J1
Value=0
end
item: End Block
end
item: Set Variable
Variable=JAVA
Value=%javaBean%\1.5.0_06\bin\java.exe
end
item: Check if File/Dir Exists
Pathname=%JAVA%
Flags=01000100
end
item: Set Variable
Variable=J2
Value=1
end
item: Else Statement
end
item: Set Variable
Variable=J2
Value=0
end
item: End Block
end
item: Check if File/Dir Exists
Pathname=c:\NTDETECT.COM
Flags=01000100
end
item: Set Variable
Variable=J3
Value=1
end
item: Else Statement
end
item: Set Variable
Variable=J3
Value=0
end
item: End Block
end








"nickmo" <nickmo@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:78C05AA9-1B9D-4469-AF3A-495C96C5BD01@xxxxxxxxxxxxxxxx
It seems the action "Check If File/Dir Exists" does not function. Or
maybe I
am possibly using it incorrectly. When debugging the install by stepping
through the execution, it appears to process the below command but jumps
right to the next command. Which indicates to me that it cannot actually
parse the file system to evaluate the condidtion. Can anyone confirm or
deny
this?


item: Check Disk Space
end
item: Set Variable
Variable=JAVA
Value=C:\Program Files\Java
end
item: Check if File/Dir Exists
Pathname=%JAVA%\1.5.0_01\bin\java.exe
Flags=01000100
end
item: Set Variable
Variable=J1
Value=1
end
item: Check if File/Dir Exists
Pathname=%JAVA%\1.5.0_06\bin\java.exe
Flags=01000100
end
item: Set Variable
Variable=J2
Value=1
end
item: End Block
end
item: End Block
end


.



Relevant Pages

  • FC 3 Install Success! - NOT
    ... After completion of install, all looked good. ... Systat failed to start - no such file/dir ... The login prompt is presented, ... -bash: id: command not found ...
    (Fedora)
  • /proc file system
    ... Can anybody point me to a docu explaining the /proc file system? ... Even if the file/dir names sometimes are self-explaining, ... The FHS does not go into detail. ...
    (comp.os.linux.misc)
  • Re: [newbie]remove .svn directory
    ... = and execute the following command: ... = giving that command each file/dir name as it's found. ...
    (comp.unix.shell)