式内でラベルの使用方法が誤っています。
DEFINE
{
integer sloop_max = 0;
}
MAIN
{
ErrorLabel:
if (ErrorLabel) // if構造体内でラベル名が使用されています
AIT_LogMessage("Setup(Japanese)For Windows-Start");
if (AIT_FileExists("#setup.exe") == 0)
goto ErrorLabel;
sloop_max = 0;
endif;
endif;
}
DEFINE
{
integer sloop_max = 0;
string stMsgText;
}
MAIN
{
if(1) // ラベルを式から削除しました
if (AIT_FileExists("#setup.exe") == 0)
goto ErrorLabel;
sloop_max = 0;
endif;
ErrorLabel:
stMsgText = "Setup(Japanese) " + InstallerName + " Not Found";
AIT_LogMessage(stMsgText);
endif;
}