PDA

View Full Version : Small problem with if statements


Sooty
11-12-2004, 08:58 AM
Setup Factory 6.0.1.4

i have 3 If Statements
%Installed_Softrel%= 009 (Various Numbers)
%Patch_Softrel%=009 (Various Numbers)

Now the End Statement never works, both the First two statements but last one does not

But if i move the last statement first it then works ?? so i know the statement is correct i think i'a missing something in the layout ??


"%Installed_Softrel%" < "%Patch_Softrel%"
Show dialog
Goto Exit
End IF

"%Installed_Softrel%" > "%Patch_Softrel%"
Show dialog
Goto Exit
End IF

"%Installed_Softrel%" = "%Patch_Softrel%"
Show dialog
Goto Exit
End IF


Exit
End If

Adam
03-18-2005, 09:47 AM
Sooty,

Do you have the "IF" part in there? From your example it does not look like it.

Adam Kapilik