Unable to install Intraweb Security System

Using Intraweb ultimate version 12.2.x, TMS Intraweb Security System (downloaded from TMS website today), Delphi XE3 Ultimate;

I have followed the instructions for installing the Intraweb Security System, but have encountered failures when attempting to build TSSCOREDXE3.dproj using MSBUILD:

D:\Tools\tmssoftware\tiwssreg>msbuild TSSCoreDXE2.dproj
Microsoft (R) Build Engine Version 3.5.30729.5420
[Microsoft .NET Framework, Version 2.0.50727.5472]
Copyright (C) Microsoft Corporation 2007. All rights reserved.

Build started 8/08/2013 11:25:33 PM.
Project "D:\Tools\tmssoftware\tiwssreg\TSSCoreDXE2.dproj" on node 0 (default ta
rgets).
  CodeGear Resource Compiler/Binder
  Version 1.2.2 Copyright (c) 2008-2012 Embarcadero Technologies Inc.

  Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0

  Copyright (C) Microsoft Corporation.  All rights reserved.


  Deleting file "TSSCoreDXE2.vrc".
_PasCoreCompile:
  Embarcadero Delphi for Win32 compiler version 24.0
  Copyright (c) 1983,2012 Embarcadero Technologies, Inc.
uFormPolicy.pas(433): error E2003: Undeclared identifier: 'VarArrayOf'
uFormPolicy.pas(433): error E2001: Ordinal type required
uFormPolicy.pas(433): error E2010: Incompatible types: 'Integer' and 'string'
uSecControl.pas(301): error F2063: Could not compile used unit 'uFormPolicy.pas
'
Done Building Project "D:\Tools\tmssoftware\tiwssreg\TSSCoreDXE2.dproj" (defaul
t targets) -- FAILED.


Build FAILED.

"D:\Tools\tmssoftware\tiwssreg\TSSCoreDXE2.dproj" (default target) (1) ->
(_PasCoreCompile target) ->
  uFormPolicy.pas(433): error E2003: Undeclared identifier: 'VarArrayOf'
  uFormPolicy.pas(433): error E2001: Ordinal type required
  uFormPolicy.pas(433): error E2010: Incompatible types: 'Integer' and 'string'
  uSecControl.pas(301): error F2063: Could not compile used unit 'uFormPolicy.p
as'

    0 Warning(s)
    4 Error(s)

Time Elapsed 00:00:00.48

You say you try to build TSSCoreDXE3.dproj and in your log file, it shows TSSCoreDXE2 ??

My apologies! 


I have run this again and checked my input says XE3.

Here is a complete transcript that shows completion of all steps until the error.

D:\Tools\tmssoftware\tiwssreg>"c:\Program Files (x86)\Embarcadero\RAD Studio\10.0\bin\rsvars.bat"
D:\Tools\tmssoftware\tiwssreg>msbuild TSSCoreDXE3.dproj
Microsoft (R) Build Engine Version 3.5.30729.5420
[Microsoft .NET Framework, Version 2.0.50727.5472]
Copyright (C) Microsoft Corporation 2007. All rights reserved.

Build started 9/08/2013 9:45:58 AM.
Project "D:\Tools\tmssoftware\tiwssreg\TSSCoreDXE3.dproj" on node 0 (default targets).
  Embarcadero Delphi for Win32 compiler version 24.0
  Copyright (c) 1983,2012 Embarcadero Technologies, Inc.
uFormPolicy.pas(433): error E2003: Undeclared identifier: 'VarArrayOf'
uFormPolicy.pas(433): error E2001: Ordinal type required
uFormPolicy.pas(433): error E2010: Incompatible types: 'Integer' and 'string'
uSecControl.pas(301): error F2063: Could not compile used unit 'uFormPolicy.pas
'
Done Building Project "D:\Tools\tmssoftware\tiwssreg\TSSCoreDXE3.dproj" (default targets) -- FAILED.


Build FAILED.

"D:\Tools\tmssoftware\tiwssreg\TSSCoreDXE3.dproj" (default target) (1) ->
(_PasCoreCompile target) ->
  uFormPolicy.pas(433): error E2003: Undeclared identifier: 'VarArrayOf'
  uFormPolicy.pas(433): error E2001: Ordinal type required
  uFormPolicy.pas(433): error E2010: Incompatible types: 'Integer' and 'string'
  uSecControl.pas(301): error F2063: Could not compile used unit 'uFormPolicy.pas'

    0 Warning(s)
    4 Error(s)

Time Elapsed 00:00:02.31

D:\Tools\tmssoftware\tiwssreg>




It would appear you do not have a correct TMSDEFS.INC file. Did you follow the steps in INSTALL.TXT for renaming the correct TMSDEFSxx.INC to TMSDEFS.INC

Yes. Following this instruction: IntraWeb 12.2.x: Rename TMSDEFS122.inc to TMSDEFS.INC


And here is the content of the TMSDEFS.INC file:
{$J+}
{$R-}
{$B-}
{$C+}

{$DEFINE TMSIW121}
{$DEFINE TMSIW11}
{$DEFINE TMSIW10}
{$DEFINE TMSIW9}
{$DEFINE TMSIW8}
{$DEFINE TMSIW72_NEW}
{$DEFINE TMSIW72}
{$DEFINE TMSIW71}
{$DEFINE TMSIW7}
{$DEFINE TMSIW6}
{$DEFINE TMSIW51}
{$DEFINE TMSIW5}

{$IFDEF LINUX}
{$DEFINE TMSCLX}
{$ENDIF} 

{$IFDEF VER90}
{$DEFINE DELPHI2_LVL}
{$DEFINE ISDELPHI}
{$ENDIF}

{$IFDEF VER93}
{$DEFINE DELPHI2_LVL}
{$ENDIF}

{$IFDEF VER100}
{$DEFINE DELPHI2_LVL}
{$DEFINE DELPHI3_LVL}
{$DEFINE ISDELPHI}
{$ENDIF}

{$IFDEF VER110}
{$DEFINE DELPHI2_LVL}
{$DEFINE DELPHI3_LVL}
{$ENDIF}

{$IFDEF VER120}
{$DEFINE DELPHI2_LVL}
{$DEFINE DELPHI3_LVL}
{$DEFINE DELPHI4_LVL}
{$DEFINE ISDELPHI}
{$ENDIF}

{$IFDEF VER125}
{$DEFINE DELPHI2_LVL}
{$DEFINE DELPHI3_LVL}
{$DEFINE DELPHI4_LVL}
{$ENDIF}

{$IFDEF VER130}
{$DEFINE DELPHI2_LVL}
{$DEFINE DELPHI3_LVL}
{$DEFINE DELPHI4_LVL}
{$DEFINE DELPHI5_LVL}
{$ENDIF}

{$IFDEF VER140}
{$DEFINE DELPHI2_LVL}
{$DEFINE DELPHI3_LVL}
{$DEFINE DELPHI4_LVL}
{$DEFINE DELPHI5_LVL}
{$DEFINE DELPHI6_LVL}
 {$IFNDEF BCB}
  {$DEFINE ISDELPHI}
 {$ENDIF}
{$ENDIF}

{$IFDEF VER150}
{$DEFINE DELPHI2_LVL}
{$DEFINE DELPHI3_LVL}
{$DEFINE DELPHI4_LVL}
{$DEFINE DELPHI5_LVL}
{$DEFINE DELPHI6_LVL}
{$DEFINE DELPHI7_LVL}
 {$IFNDEF BCB}
  {$DEFINE ISDELPHI}
 {$ENDIF}
{$ENDIF}

{$IFDEF VER170}
{$DEFINE DELPHI2_LVL}
{$DEFINE DELPHI3_LVL}
{$DEFINE DELPHI4_LVL}
{$DEFINE DELPHI5_LVL}
{$DEFINE DELPHI6_LVL}
{$DEFINE DELPHI7_LVL}
{$DEFINE DELPHI9_LVL}
 {$IFNDEF BCB}
  {$DEFINE ISDELPHI}
 {$ENDIF}
{$ENDIF}

{$IFDEF VER180}
{$DEFINE DELPHI2_LVL}
{$DEFINE DELPHI3_LVL}
{$DEFINE DELPHI4_LVL}
{$DEFINE DELPHI5_LVL}
{$DEFINE DELPHI6_LVL}
{$DEFINE DELPHI7_LVL}
{$DEFINE DELPHI9_LVL}
 {$IFNDEF BCB}
  {$DEFINE ISDELPHI}
 {$ENDIF}
{$ENDIF}

{$IFDEF VER200}
{$DEFINE DELPHI2_LVL}
{$DEFINE DELPHI3_LVL}
{$DEFINE DELPHI4_LVL}
{$DEFINE DELPHI5_LVL}
{$DEFINE DELPHI6_LVL}
{$DEFINE DELPHI7_LVL}
{$DEFINE DELPHI9_LVL}
{$DEFINE DELPHI_UNICODE}
 {$IFNDEF BCB}
  {$DEFINE ISDELPHI}
 {$ENDIF}
{$ENDIF}

{$IFDEF VER210}
{$DEFINE DELPHI2_LVL}
{$DEFINE DELPHI3_LVL}
{$DEFINE DELPHI4_LVL}
{$DEFINE DELPHI5_LVL}
{$DEFINE DELPHI6_LVL}
{$DEFINE DELPHI7_LVL}
{$DEFINE DELPHI9_LVL}
{$DEFINE DELPHI_UNICODE}
 {$IFNDEF BCB}
  {$DEFINE ISDELPHI}
 {$ENDIF}
{$ENDIF}

{$IFDEF VER220}
{$DEFINE DELPHI2_LVL}
{$DEFINE DELPHI3_LVL}
{$DEFINE DELPHI4_LVL}
{$DEFINE DELPHI5_LVL}
{$DEFINE DELPHI6_LVL}
{$DEFINE DELPHI7_LVL}
{$DEFINE DELPHI9_LVL}
{$DEFINE DELPHIXE_LVL}
{$DEFINE DELPHI_UNICODE}
 {$IFNDEF BCB}
  {$DEFINE ISDELPHI}
 {$ENDIF}
{$ENDIF}

{$IFDEF VER230}
{$DEFINE DELPHI2_LVL}
{$DEFINE DELPHI3_LVL}
{$DEFINE DELPHI4_LVL}
{$DEFINE DELPHI5_LVL}
{$DEFINE DELPHI6_LVL}
{$DEFINE DELPHI7_LVL}
{$DEFINE DELPHI9_LVL}
{$DEFINE DELPHIXE_LVL}
{$DEFINE DELPHIXE2_LVL}
{$DEFINE DELPHI_UNICODE}
 {$IFNDEF BCB}
  {$DEFINE ISDELPHI}
 {$ENDIF}
{$ENDIF}

{$IFDEF VER110}
 {$ObjExportAll On}
{$ENDIF}

{$IFDEF VER125}
 {$ObjExportAll On}
{$ENDIF}

{$IFDEF VER130}
 {$IFDEF BCB}
  {$ObjExportAll On}
 {$ELSE}
  {$DEFINE ISDELPHI}
 {$ENDIF}
{$ENDIF}

{$IFDEF ISDELPHI}
 {$IFDEF DELPHI3_LVL}
  {$DEFINE DELPHI_ONLY_LVL3}
 {$ENDIF}
{$ENDIF}

Hi,


Can you please try using the following as the content of your tmsdefs.inc file?

{$J+}
{$R-}
{$B-}
{$C+}

{$DEFINE TMSIW121}
{$DEFINE TMSIW11}
{$DEFINE TMSIW10}
{$DEFINE TMSIW9}
{$DEFINE TMSIW8}
{$DEFINE TMSIW72_NEW}
{$DEFINE TMSIW72}
{$DEFINE TMSIW71}
{$DEFINE TMSIW7}
{$DEFINE TMSIW6}
{$DEFINE TMSIW51}
{$DEFINE TMSIW5}

{$IFDEF LINUX}
{$DEFINE TMSCLX}
{$ENDIF} 

{$IFDEF VER90}
{$DEFINE DELPHI2_LVL}
{$DEFINE ISDELPHI}
{$ENDIF}

{$IFDEF VER93}
{$DEFINE DELPHI2_LVL}
{$ENDIF}

{$IFDEF VER100}
{$DEFINE DELPHI2_LVL}
{$DEFINE DELPHI3_LVL}
{$DEFINE ISDELPHI}
{$ENDIF}

{$IFDEF VER110}
{$DEFINE DELPHI2_LVL}
{$DEFINE DELPHI3_LVL}
{$ENDIF}

{$IFDEF VER120}
{$DEFINE DELPHI2_LVL}
{$DEFINE DELPHI3_LVL}
{$DEFINE DELPHI4_LVL}
{$DEFINE ISDELPHI}
{$ENDIF}

{$IFDEF VER125}
{$DEFINE DELPHI2_LVL}
{$DEFINE DELPHI3_LVL}
{$DEFINE DELPHI4_LVL}
{$ENDIF}

{$IFDEF VER130}
{$DEFINE DELPHI2_LVL}
{$DEFINE DELPHI3_LVL}
{$DEFINE DELPHI4_LVL}
{$DEFINE DELPHI5_LVL}
{$ENDIF}

{$IFDEF VER140}
{$DEFINE DELPHI2_LVL}
{$DEFINE DELPHI3_LVL}
{$DEFINE DELPHI4_LVL}
{$DEFINE DELPHI5_LVL}
{$DEFINE DELPHI6_LVL}
 {$IFNDEF BCB}
  {$DEFINE ISDELPHI}
 {$ENDIF}
{$ENDIF}

{$IFDEF VER150}
{$DEFINE DELPHI2_LVL}
{$DEFINE DELPHI3_LVL}
{$DEFINE DELPHI4_LVL}
{$DEFINE DELPHI5_LVL}
{$DEFINE DELPHI6_LVL}
{$DEFINE DELPHI7_LVL}
 {$IFNDEF BCB}
  {$DEFINE ISDELPHI}
 {$ENDIF}
{$ENDIF}

{$IFDEF VER170}
{$DEFINE DELPHI2_LVL}
{$DEFINE DELPHI3_LVL}
{$DEFINE DELPHI4_LVL}
{$DEFINE DELPHI5_LVL}
{$DEFINE DELPHI6_LVL}
{$DEFINE DELPHI7_LVL}
{$DEFINE DELPHI9_LVL}
 {$IFNDEF BCB}
  {$DEFINE ISDELPHI}
 {$ENDIF}
{$ENDIF}

{$IFDEF VER180}
{$DEFINE DELPHI2_LVL}
{$DEFINE DELPHI3_LVL}
{$DEFINE DELPHI4_LVL}
{$DEFINE DELPHI5_LVL}
{$DEFINE DELPHI6_LVL}
{$DEFINE DELPHI7_LVL}
{$DEFINE DELPHI9_LVL}
 {$IFNDEF BCB}
  {$DEFINE ISDELPHI}
 {$ENDIF}
{$ENDIF}

{$IFDEF VER200}
{$DEFINE DELPHI2_LVL}
{$DEFINE DELPHI3_LVL}
{$DEFINE DELPHI4_LVL}
{$DEFINE DELPHI5_LVL}
{$DEFINE DELPHI6_LVL}
{$DEFINE DELPHI7_LVL}
{$DEFINE DELPHI9_LVL}
{$DEFINE DELPHI_UNICODE}
 {$IFNDEF BCB}
  {$DEFINE ISDELPHI}
 {$ENDIF}
{$ENDIF}

{$IFDEF VER210}
{$DEFINE DELPHI2_LVL}
{$DEFINE DELPHI3_LVL}
{$DEFINE DELPHI4_LVL}
{$DEFINE DELPHI5_LVL}
{$DEFINE DELPHI6_LVL}
{$DEFINE DELPHI7_LVL}
{$DEFINE DELPHI9_LVL}
{$DEFINE DELPHI_UNICODE}
 {$IFNDEF BCB}
  {$DEFINE ISDELPHI}
 {$ENDIF}
{$ENDIF}

{$IFDEF VER220}
{$DEFINE DELPHI2_LVL}
{$DEFINE DELPHI3_LVL}
{$DEFINE DELPHI4_LVL}
{$DEFINE DELPHI5_LVL}
{$DEFINE DELPHI6_LVL}
{$DEFINE DELPHI7_LVL}
{$DEFINE DELPHI9_LVL}
{$DEFINE DELPHIXE_LVL}
{$DEFINE DELPHI_UNICODE}
 {$IFNDEF BCB}
  {$DEFINE ISDELPHI}
 {$ENDIF}
{$ENDIF}

{$IFDEF VER230}
{$DEFINE DELPHI2_LVL}
{$DEFINE DELPHI3_LVL}
{$DEFINE DELPHI4_LVL}
{$DEFINE DELPHI5_LVL}
{$DEFINE DELPHI6_LVL}
{$DEFINE DELPHI7_LVL}
{$DEFINE DELPHI9_LVL}
{$DEFINE DELPHIXE_LVL}
{$DEFINE DELPHIXE2_LVL}
{$DEFINE DELPHI_UNICODE}
 {$IFNDEF BCB}
  {$DEFINE ISDELPHI}
 {$ENDIF}
{$ENDIF}

{$IFDEF VER240}
{$DEFINE DELPHI2_LVL}
{$DEFINE DELPHI3_LVL}
{$DEFINE DELPHI4_LVL}
{$DEFINE DELPHI5_LVL}
{$DEFINE DELPHI6_LVL}
{$DEFINE DELPHI7_LVL}
{$DEFINE DELPHI9_LVL}
{$DEFINE DELPHIXE_LVL}
{$DEFINE DELPHIXE2_LVL}
{$DEFINE DELPHIXE3_LVL}
{$DEFINE DELPHI_UNICODE}
 {$IFNDEF BCB}
  {$DEFINE ISDELPHI}
 {$ENDIF}
{$ENDIF}

{$IFDEF VER250}
  {$DEFINE DELPHI2_LVL}
  {$DEFINE DELPHI3_LVL}
  {$DEFINE DELPHI4_LVL}
  {$DEFINE DELPHI5_LVL}
  {$DEFINE DELPHI6_LVL}
  {$DEFINE DELPHI7_LVL}
  {$DEFINE DELPHI9_LVL}
  {$DEFINE DELPHIXE_LVL}
  {$DEFINE DELPHIXE2_LVL}
  {$DEFINE DELPHIXE3_LVL}
  {$DEFINE DELPHIXE4_LVL}
  {$DEFINE DELPHI_TOUCH}
  {$DEFINE DELPHI_UNICODE}
  {$IFNDEF BCB}
    {$DEFINE ISDELPHI}
  {$ENDIF}
{$ENDIF}

{$IFDEF VER110}
 {$ObjExportAll On}
{$ENDIF}

{$IFDEF VER125}
 {$ObjExportAll On}
{$ENDIF}

{$IFDEF VER130}
 {$IFDEF BCB}
  {$ObjExportAll On}
 {$ELSE}
  {$DEFINE ISDELPHI}
 {$ENDIF}
{$ENDIF}

{$IFDEF ISDELPHI}
 {$IFDEF DELPHI3_LVL}
  {$DEFINE DELPHI_ONLY_LVL3}
 {$ENDIF}
{$ENDIF}