I am new at this. So please bear with me....
Using SUF6..
I want to check for the operating system NT4 or W2K and perform the action of closing a program or executing a program from the %TempLaunchDir% depending on the OS. I am using the following statements in the "Screen Properties 'After'" tab of the Welcome screen:-
IF (%IsWIN2000% = TRUE)
Close Program (Program "pnrimport70.exe",Force termination)
Close Program (Program "eclipse.exe",Prompt user)
END IF
IF (%IsWINNT4% = TRUE)
Execute %TempLaunchDir%\kill.exe
Close Program (Program "eclipse.exe",Prompt user)
END IF
In both cases when installing on the relevant OS. According to the logfile the OS variable =TRUE, but none of the commands following the IF statement run.
Am I missing something basic?
Using SUF6..
I want to check for the operating system NT4 or W2K and perform the action of closing a program or executing a program from the %TempLaunchDir% depending on the OS. I am using the following statements in the "Screen Properties 'After'" tab of the Welcome screen:-
IF (%IsWIN2000% = TRUE)
Close Program (Program "pnrimport70.exe",Force termination)
Close Program (Program "eclipse.exe",Prompt user)
END IF
IF (%IsWINNT4% = TRUE)
Execute %TempLaunchDir%\kill.exe
Close Program (Program "eclipse.exe",Prompt user)
END IF
In both cases when installing on the relevant OS. According to the logfile the OS variable =TRUE, but none of the commands following the IF statement run.
Am I missing something basic?
Comment