PDA

View Full Version : Use SB project in Clarion 9.1



NewsArchive
08-15-2014, 02:47 AM
Hi all!

When i finish a specific compile in Clarion 9.1, it would be nice to
have the resulting .exe code signed immideately - Then I do not
forget.

Meaning, that it should run a setypbuilder script as a part of the
solution.

Can I do that, and if 'Yes', how to?

Ideally, it should generate the .exe, run the script and then start
the .exe

Best regards

Edvard Korsbęk

NewsArchive
08-15-2014, 11:22 AM
You can make a batch file that executes code signing upon successful
build event in a CW project.

If you have a SB script do the code signing, then you could launch a
batch file that runs a script (or more than one) as follows (salt to taste):

"D:\Program Files\Lindersoft\SetupBuilder 8 Developer\sb8.exe" /C
"C:\SetupBuilder Projects\FullInstall.sb8" /LX "D:\ProductName\Installs"

--

Russ Eggen
RADFusion International, LLC

NewsArchive
08-15-2014, 11:22 AM
Note: This applies to C7 and newer.

--

Russ Eggen
RADFusion International, LLC

NewsArchive
08-16-2014, 04:27 AM
Hi Edvard,

> When i finish a specific compile in Clarion 9.1, it would be nice to
> have the resulting .exe code signed immideately - Then I do not
> forget.
>
> Meaning, that it should run a setypbuilder script as a part of the
> solution.
>
> Can I do that, and if 'Yes', how to?

You can do that in the C9 project settings in the "Build Events" tab -
Post Build command line. Right click on the project in 9.1 solution
explorer and select Properties, then go to the build events tab.

What I would do is use a SB and BA script. Create a script in SB that
code signs the program. Create a script in BA that runs the SB script
and then runs the program. Call the BA script with /E parameter from
the C9.1 build event command line. See
http://www.buildautomator.com/onlinemanual/command_line_parameters.htm
and http://www.buildautomator.com/onlinemanual/create_shortcut.htm for
how to run BA projects from the command line or create an execute shortcut.

Best regards,

--
Arnor Baldvinsson - Icetips Alta LLC