Sooty
10-19-2004, 07:39 AM
i have three IF statements of which it is always the third Statement does not show the YES/NO dialog
All variables are read from an .ini which i know are correct as the first two Statements work correctly but never the thid IF Statement
%Patch_Softrel% = 009
%Installed_Softrel% = 004 or 016 (various numbers)
IF ("%Installed_Softver%" = 50r1 AND "%Installed_Softtyp%" = SR AND "%Installed_Softrel%" > "%Patch_Softrel%") =TRUE
Show Dialog
End IF
IF ("%Installed_Softver%" = 50r1 AND "%Installed_Softtyp%" = SR AND "%Installed_Softrel%" = "%Patch_Softrel%") =TRUE
Show YES/NO Dialog (Yesnoresults used in next Abort Screen)
End IF
IF ("%Installed_Softver%" = 50r1 AND "%Installed_Softtyp%" = SR AND "%Installed_Softrel%" < "%Patch_Softrel%") =TRUE
Show YES/NO Dialog (Yesnoresults1 used in next Abort Screen)
End IF
I assumed that if the first IF Statement is False that it proceed to next Statement which works but expected to proceed and excute the third IF Statement
I have tried moving the Third statement to the First and Again the First Two Statements work which leads me to beleive it is the layout of IF Statements
Any help is much apprieciated
Windows 2000 Server
SUF 6.0.1.4
All variables are read from an .ini which i know are correct as the first two Statements work correctly but never the thid IF Statement
%Patch_Softrel% = 009
%Installed_Softrel% = 004 or 016 (various numbers)
IF ("%Installed_Softver%" = 50r1 AND "%Installed_Softtyp%" = SR AND "%Installed_Softrel%" > "%Patch_Softrel%") =TRUE
Show Dialog
End IF
IF ("%Installed_Softver%" = 50r1 AND "%Installed_Softtyp%" = SR AND "%Installed_Softrel%" = "%Patch_Softrel%") =TRUE
Show YES/NO Dialog (Yesnoresults used in next Abort Screen)
End IF
IF ("%Installed_Softver%" = 50r1 AND "%Installed_Softtyp%" = SR AND "%Installed_Softrel%" < "%Patch_Softrel%") =TRUE
Show YES/NO Dialog (Yesnoresults1 used in next Abort Screen)
End IF
I assumed that if the first IF Statement is False that it proceed to next Statement which works but expected to proceed and excute the third IF Statement
I have tried moving the Third statement to the First and Again the First Two Statements work which leads me to beleive it is the layout of IF Statements
Any help is much apprieciated
Windows 2000 Server
SUF 6.0.1.4