+ Reply to Thread
Results 1 to 3 of 3

Thread: Getting error while compiling setupbuilder project from jenkins

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Aug 2020
    Location
    Pune, India
    Posts
    49

    Default Getting error while compiling setupbuilder project from jenkins

    Hello,

    I want create exe from Jenkins pipeline for that I am using command line options to compile the setup builder project and create exe. I have created target in build script of Jenkis to execute command to compile the sbp. Jenkins should have SB10.exe so that I have copied all files (except Learning SetupBuilder Part I.chm,sbuilder.pdf, SQLEXPR_x64_ENU.exe, vc_redist.x64.exe) from "C:\Program Files (x86)\Lindersoft\SetupBuilder 10 Developer" to my solution(pushed to git branch) and then running SB10.exe from the solution. On my machine when I run SB10.exe from my solution then exe gets generated however If I do the same from Jenkins Pipeline then exe is not getting generated, and below error is there in compiler.txt file.

    Command Line:
    /C "${project.source.path}\SetupBuilderProjects\TestA pp\TestApp.sbp" /LX "${project.source.path}\SetupBuilderProjects\TestA pp" /CV FILES_SOURCE_PATH "${project.source.path}"

    ${project.source.path}- will be the repo path checked out by Jenkins from GIT.
    using ${project.source.path}\buildtools\SetupBuilder\SB1 0.EXE for compilation.



    Error:

    ------ Build started: Project: TestApp.sbp, Configuration: Release Win32 ------
    ------ Date/Time: 09/14/2020 -- 02:58:42PM

    ------ SetupBuilder (tm) Project Script Compiler and Linker for Windows
    ------ Copyright (c) 1997-2020 Lindersoft
    ------ SetupScript (tm) Installation Script Language
    ------ Copyright (c) 2003-2020 Lindersoft
    ------ Installigence & SetupBuilder Remote Deploy Technology
    ------ Copyright (c) 1994-2020 Lindersoft
    ------ All rights reserved.

    ------ Developer Edition 2019.6 Version 10.0.6531
    ------ SetupBuilder (SB/EXE) Compiler Version 10.0.6531
    ------ Maintenance and Support Plan Status: Invalid (-1)

    Waiting for SKU Management configuration information...
    OK
    Fatal Compiler Error GEN1091: Runtime mismatch error.

    --------------------------------------- Done ---------------------------------------

    TestApp.sbp - 1 error(s), 0 warning(s), 0 file(s) code-signed

    Compilation Time: 0.15 sec.
    Date/Time: 09/14/2020 -- 02:58:42PM

    ------------------------------- Compilation aborted -------------------------------

    LSPack library closed




    Do we need to install SB on Jenkins machine as well?

  2. #2
    Join Date
    Mar 2004
    Posts
    4,307

    Default Re: Getting error while compiling setupbuilder project from jenkins

    Hello,

    "Runtime mismatch error" means that one of the .lib files in your \BIN32 folder is not correct. sbkernel.lib or 0000.lib seems to be incorrect on the machine with your "Jenkins" machine.

    Friedrich

  3. #3
    Join Date
    Aug 2020
    Location
    Pune, India
    Posts
    49

    Default Re: Getting error while compiling setupbuilder project from jenkins

    Thanks Friedrich!!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts
  •