Delphi Berlin compiler problem

Hello:

We updated our FinalBuilder (FB) to Version: 8.0.02116 that has Delphi Seatle, Berlin and Tokyo compilers.

We use Delphi for our projects and recently we upgraded to Delphi 10.1 Berlin Update 2.

We compile with FB one of our proyects and when we run the EXE file, we get the following error message:

“The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe tool for more detail.”

Can you please help me to solve this problem?

If we compile our projects directly with the Delphi installed in the machine, it works properly without any problems.

I’m attaching the FB compiler node information in case you may need it:

action.delphi.build
    begin
      allowimplicitimport = true
      alwaysuseconditionalsfromdof = false
      autoincbuild = false
      autoupdatefileversion = true
      autoupdateproductversion = true
      buildall = true
      buildversion = 513
      codepage = 1252
      compileprojectresources = false
      compileridl = true
      configname = "Release EO"
      debugversionnumbers = false
      delphiversion = Delphi10Berlin
      description = "Compile Launcher.dpr"
      eurekalogverboselogging = false
      extracommandline = -RGraphics
      frameworktype = VCL
      hintsaserror = false
      iconfile = S:\\Aki\\Launcher\\Graphics\\eodesign.ico
      id = {45E493E6-DD69-40B9-9A8E-BC37AD4809B6}
      includecompiledate = true
      includemanifest = true
      includeverinfo = true
      isdebug = false
      isdll = false
      isprerelease = false
      isprivate = false
      isspecial = false
      keepcfg = false
      linkproductversiontofileversion = true
      locale = 11274
      majorversion = 17
      manifestfile = "C:\\Program Files\\Embarcadero\\Studio\\18.0\\bin\\default_app.manifest"
      minorversion = 0
      platform = Win32
      projectfile = S:\\Aki\\Launcher\\Launcher.dpr
      regenerateresource = true
      releaseversion = 4
      resourcecompilertype = rcBorland
      startingdir = S:\\Aki\\Launcher\\
      updatedoffile = false
      updatepackagesource = false
      updateversioninfokeys = false
      useeurekalogcompiler = false
      useprojectsettings = [usPackages]
      usepropertyset = true
      useversionfromdof = false
      versioninfokeys = "CompanyName\=Sierra Technology Group S.A." +
                        "FileDescription\=EO Launcher" +
                        "LegalCopyright\=Copyright © Sierra Technology Group SA, 2017. All Rights Reserved" +
                        "LegalTrademarks\=Embroidery Office ® is a trademark of Sierra Technology Group S.A." +
                        "ProductName\=Embroidery Office ® EO Launcher" +
                        ""
      versioninfopropertysetname = VersionInfoBase
      warningsaserror = true
      workaroundd5bug = false
      delphi.compileroptions
      begin
        alwaysuseconditionalsfromdof = false
        alwaysusedelphilibrarypath = true
        alwaysusedofsearchpath = true
        assertions = false
        assignableconst = false
        booleval = false
        compilerwarnings = "-w-SYMBOL_LIBRARY\=0" +
                           "-w-SYMBOL_PLATFORM\=0" +
                           "-w-UNIT_LIBRARY\=0" +
                           "-w-UNIT_PLATFORM\=0" +
                           ""
        conditionals = RELEASE;_NO_CHOOSE_LOCALE_DLG_;_EMBROIDERY_OFFICE_;_DISABLE_PROT_THEMIDA_
        consoleapp = false
        debuginfo = false
        definitionsonly = false
        emitruntimetypeinformation = false
        exportallsymbols = false
        extendedsyntax = true
        externaltd32 = true
        frameworktype = VCL
        generatedocumentation = false
        generatehpp = false
        hugestrings = true
        imagebase = 4194304
        includenamespaces = false
        includeremotesymbols = false
        includetd32 = false
        inlining = inOn
        iochecking = false
        librarypath = "C:\\Program Files\\Winsoft\\IOPort\\DelphiXE8;C:\\Program Files\\Winsoft\\ComPort\\DelphiXE8;$(BDSLIB)\\$(Platform)\\release;$(BDSUSERDIR)\\Imports;$(BDS)\\Imports;$(BDSCOMMONDIR)\\Dcp;$(BDS)\\include;C:\\Program Files\\DevExpress VCL\\Library\\RS22;C:\\Program Files\\Raize\\CS5\\Lib\\RS-XE8\\Win32;C:\\Users\\buildbot\\Documents\\tmssoftware\\TMS Cloud Pack\\;C:\\Users\\buildbot\\Documents\\tmssoftware\\TMS Cloud Pack\\DelphiXE8\\Win32\\Debug;C:\\Program Files\\Devart\\UniDAC for RAD Studio XE8\\Lib\\Win32;C:\\Program Files\\Devart\\UniDAC for RAD Studio XE8\\Bin\\Win32;C:\\Program Files\\DevExpress VCL\\ExpressCore Library\\Sources_x;C:\\Program Files\\DevExpress VCL\\XP Theme Manager\\Sources_x;C:\\Program Files\\DevExpress VCL\\ExpressGDI\+ Library\\Sources_x;C:\\Program Files\\DevExpress VCL\\ExpressCommon Library\\Sources;C:\\Program Files\\DevExpress VCL\\ExpressLibrary\\Sources;C:\\Program Files\\DevExpress VCL\\ExpressPageControl\\Sources;C:\\Program Files\\DevExpress VCL\\ExpressDataController\\Sources_x;C:\\Program Files\\DevExpress VCL\\ExpressEditors Library\\Sources_x;C:\\Program Files\\DevExpress VCL\\ExpressWizard Control\\Sources_x;C:\\Program Files\\DevExpress VCL\\ExpressBars\\Sources_x;C:\\Program Files\\DevExpress VCL\\ExpressDocking Library\\Sources_x;C:\\Program Files\\DevExpress VCL\\ExpressExport Library\\Sources_x;C:\\Program Files\\DevExpress VCL\\ExpressLayout Control\\Sources_x;C:\\Program Files\\DevExpress VCL\\ExpressScheduler\\Sources_x;C:\\Program Files\\DevExpress VCL\\ExpressQuantumTreeList\\Sources;C:\\Program Files\\DevExpress VCL\\ExpressQuantumGrid\\Sources;C:\\Program Files\\DevExpress VCL\\ExpressVerticalGrid\\Sources_x;C:\\Program Files\\DevExpress VCL\\ExpressMemData\\Sources_x;C:\\Program Files\\DevExpress VCL\\ExpressSpellChecker\\Sources_x;C:\\Program Files\\DevExpress VCL\\ExpressSpreadSheet (deprecated)\\Sources_x;C:\\Program Files\\DevExpress VCL\\ExpressTile Control\\Sources_x;C:\\Program Files\\DevExpress VCL\\ExpressNavBar\\Sources;C:\\Program Files\\DevExpress VCL\\ExpressSkins Library\\Sources;C:\\Program Files\\DevExpress VCL\\ExpressPrinting System\\Sources;C:\\Program Files\\DevExpress VCL\\ExpressPivotGrid\\Sources_x;C:\\Program Files\\DevExpress VCL\\ExpressDBTree Suite\\Sources_x;C:\\Program Files\\DevExpress VCL\\ExpressOrgChart\\Sources_x;C:\\Program Files\\DevExpress VCL\\ExpressFlowChart\\Sources_x;C:\\Program Files\\DevExpress VCL\\ExpressMap Control\\Sources_x;C:\\Program Files\\DevExpress VCL\\ExpressSpreadSheet\\Sources_x;C:\\Program Files\\DevExpress VCL\\ExpressRichEdit Control\\Sources_x;C:\\Program Files\\DevExpress VCL\\C:\\Program Files\\DevExpress VCL\\ExpressGauge Control\\Sources_x_x;C:\\Program Files\\Winsoft\\ComPort\\Source;C:\\Program Files\\RemObjects Software\\Pascal Script for Delphi XE8\\Dcu\\D22\\Win32;C:\\Program Files\\Embarcadero\\Studio\\16.0\\Quickrep506;C:\\Program Files\\Addict4\\Source\\D22;C:\\Program Files\\LEAD Technologies\\LEADTOOLS 14.5\\Uses;S:\\(Third party)\\DSPack\\src\\DirectX9_;S:\\(Third party)\\DSPack\\src\\DSPack_;S:\\(Third party)\\DelphiX\\Source;S:\\(Third party)\\SoftGems\\VTV_6.1\\Source;S:\\(Third party)\\TMS;S:\\(Third party)\\Sisulizer;S:\\(Third party)\\LockBox\\source;S:\\(Third party)\\Developer Express.VCL\\ExpressBars\\Sources;S:\\(Third Party)\\TPSysTools\\Source;S:\\(Third party)\\SynEdit\\Source;S:\\(Third party)\\KHexEditor\\source;S:\\Bin;S:\\Compression\\Interfaces;S:\\ThreadFabric\\Interfaces;S:\\Common\\Components;S:\\Common\\Components\\SDataBaseControls;S:\\Common\\Components\\SLeadImage;S:\\Common\\CPP;S:\\Common\\Forms;S:\\Common\\Units;S:\\Common\\Units\\DocView;S:\\Common\\Units\\Stream;S:\\Common\\Components\\DevExpressInherited;S:\\Common\\Units\\Lists"
        linkeroutput = 0
        localsymbols = false
        mapfile = 3
        maxstacksize = 1048576
        minstacksize = 16384
        namespaceprefixes = System;Xml;Data;Datasnap;Web;Soap;Winapi;System.Win;Data.Win;Web.Win;Soap.Win;Bde;Vcl;Vcl.Imaging;Vcl.Touch;Vcl.Samples;Vcl.Shell;
        openstrings = true
        optimisation = true
        outputdir = S:\\bin
        overflowchecking = true
        rangechecking = true
        recordfieldalign = fa8
        referenceinfo = false
        safedivide = false
        showhints = true
        showwarnings = true
        stackframes = false
        stringchecks = true
        typedpointers = false
        unitaliases = WinTypes\=Windows;WinProcs\=Windows;DbiTypes\=BDE;DbiProcs\=BDE;DbiErrs\=BDE
        unitoutputdir = Dcu
        usedebugdcu = false
        usepackages = false
        varstringchecks = true
      end
    end

Regards,
Angel

Hi

The problem is that Embarcadero changed the default manifest file to be a template. It is full of variables that the Rad Studio IDE fills in at compile time. The information it uses is not exposed anywhere that we can access.

The solution is to use your own custom manifest file, which you really should do anyway, as it’s source code, it should be in your version control system. There are plenty of examples out there on the net to get you going.

Thank you very much, Vincent!