Reply to Thread

Post a reply to the thread: Getting error while compiling setupbuilder project from jenkins

Your Message

Click here to log in

What's the name of our main installation product (in uppercase letters), directly followed by the current year?

 

You may choose an icon for your message from this list

Additional Options

  • Will turn www.example.com into [URL]http://www.example.com[/URL].

Topic Review (Newest First)

  • 09-14-2020, 07:12 AM
    testuser

    Re: Getting error while compiling setupbuilder project from jenkins

    Thanks Friedrich!!
  • 09-14-2020, 04:51 AM
    linder

    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
  • 09-14-2020, 03:13 AM
    testuser

    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?

Posting Permissions

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