Syntax Inno Setup - OR, AND

I need to modify the Inno Setup script. But I can’t compile it (every time I compile, I have to wait almost 1 hour to complete the build). I need to know how to write the following expression, which is in the C ++ pseudocode:

if ((A==B) || (A==C))
{
  // do something
}

The question is, how should I write this in the Inno Setup script, and if possible, do you know that this scripting language is specific to Inno Setup, or can I find the manual somewhere? On the official website it is very difficult to get what you want in a simple way, it is quite confusing, and I could not find simple examples with OR(examples are very simple).

+4
source share
1 answer

, Inno Setup, Pascal , , , Pascal. Inno Setup Pascal Script Delphi ( Inno Setup, .). , , :

if (A = B) or (A = C) then
begin
  { do something }
end;
+7

Source: https://habr.com/ru/post/1544889/


All Articles