testuser
09-14-2020, 03:13 AM
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\TestAp p\TestApp.sbp" /LX "${project.source.path}\SetupBuilderProjects\TestAp p" /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?
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\TestAp p\TestApp.sbp" /LX "${project.source.path}\SetupBuilderProjects\TestAp p" /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?