breakの使用方法が誤っています。
DEFINE
{
const string ExeVersion = "7.1";
const string FileVersion = "7.1";
string stMsgText;
}
MAIN
{
if (ExeVersion == FileVersion )
if (AIT_FileExists("#setup.exe") == 0)
stMsgText = "Setup(Japanese) " + InstallerName + " Not Found";
AIT_LogMessage(stMsgText);
break; // breakステートメントがifステートメント内にあります
endif;
endif;
}
DEFINE
{
const string ExeVersion = "7.1";
const string FileVersion = "7.1";
string stMsgText;
}
MAIN
{
if (ExeVersion == FileVersion)
if (AIT_FileExists("#setup.exe") == 0)
stMsgText = "Setup(Japanese) " + InstallerName + " Not Found";
AIT_LogMessage(stMsgText);
endif;
endif;
}