<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://calidusassist.adcservices.apteancloud.com/calidus-assist/OBS/index.php?action=history&amp;feed=atom&amp;title=Browserless_Application_Creation</id>
	<title>Browserless Application Creation - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://calidusassist.adcservices.apteancloud.com/calidus-assist/OBS/index.php?action=history&amp;feed=atom&amp;title=Browserless_Application_Creation"/>
	<link rel="alternate" type="text/html" href="https://calidusassist.adcservices.apteancloud.com/calidus-assist/OBS/index.php?title=Browserless_Application_Creation&amp;action=history"/>
	<updated>2026-07-02T02:42:51Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.8</generator>
	<entry>
		<id>https://calidusassist.adcservices.apteancloud.com/calidus-assist/OBS/index.php?title=Browserless_Application_Creation&amp;diff=15063&amp;oldid=prev</id>
		<title>Anw: Anw moved page Browserless Appliction Creation to Browserless Application Creation: Speeling erorr</title>
		<link rel="alternate" type="text/html" href="https://calidusassist.adcservices.apteancloud.com/calidus-assist/OBS/index.php?title=Browserless_Application_Creation&amp;diff=15063&amp;oldid=prev"/>
		<updated>2025-12-11T09:01:18Z</updated>

		<summary type="html">&lt;p&gt;Anw moved page &lt;a href=&quot;/calidus-assist/OBS/index.php/Browserless_Appliction_Creation&quot; class=&quot;mw-redirect&quot; title=&quot;Browserless Appliction Creation&quot;&gt;Browserless Appliction Creation&lt;/a&gt; to &lt;a href=&quot;/calidus-assist/OBS/index.php/Browserless_Application_Creation&quot; title=&quot;Browserless Application Creation&quot;&gt;Browserless Application Creation&lt;/a&gt;: Speeling erorr&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en-GB&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 11:01, 11 December 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en-GB&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Anw</name></author>
	</entry>
	<entry>
		<id>https://calidusassist.adcservices.apteancloud.com/calidus-assist/OBS/index.php?title=Browserless_Application_Creation&amp;diff=11716&amp;oldid=prev</id>
		<title>Anw: Imported from CTMS Assist</title>
		<link rel="alternate" type="text/html" href="https://calidusassist.adcservices.apteancloud.com/calidus-assist/OBS/index.php?title=Browserless_Application_Creation&amp;diff=11716&amp;oldid=prev"/>
		<updated>2025-04-11T07:58:41Z</updated>

		<summary type="html">&lt;p&gt;Imported from CTMS Assist&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Note}} &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;'''For internal use only'''&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
All of the code to generate Browserless Oracle installers is located here:&lt;br /&gt;
[https://apteanonline.sharepoint.com/:f:/r/teams/RDCALIDUS/Shared%20Documents/CALIDUS%20TMS/BrowserlessOracle?csf=1&amp;amp;web=1&amp;amp;e=vQZ5Qi Browserless Oracle on Sharepoint]&lt;br /&gt;
&lt;br /&gt;
== Folder Contents ==&lt;br /&gt;
&lt;br /&gt;
{{Note}} Folders in &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;red&amp;lt;/span&amp;gt; below are working directories and should '''not''' be accessed/maintained when creating builds.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;'''Builds'''&amp;lt;/span&amp;gt; &lt;br /&gt;
&lt;br /&gt;
:This directory contains a temporary folder for each client/version built and is generated during the browserless oracle build for each client&lt;br /&gt;
&lt;br /&gt;
* '''Config'''&lt;br /&gt;
&lt;br /&gt;
:This directory contains batch files which are used for configuring each individual client. See the Creating an installer package for details.&lt;br /&gt;
&lt;br /&gt;
* '''Documents''' &lt;br /&gt;
&lt;br /&gt;
:Documentation relating to the process&lt;br /&gt;
&lt;br /&gt;
* '''Installers''' &lt;br /&gt;
&lt;br /&gt;
:This directory contains the built executable installers for release to the client. there will be a folder for each client/version built&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;'''Java'''&amp;lt;/span&amp;gt; &lt;br /&gt;
&lt;br /&gt;
:This directory contains the java versions which will be build into the installer packages&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;'''Resource'''&amp;lt;/span&amp;gt; &lt;br /&gt;
&lt;br /&gt;
:This directory contains the scripts, sources and configuration files used in the build&lt;br /&gt;
&lt;br /&gt;
* '''Setup''' &lt;br /&gt;
&lt;br /&gt;
:This directory contains the software which must be installed on the users PC prior to running the installer creation process.&lt;br /&gt;
:{{Note}} These are for CREATING installer packages, and are NOT required on the final users machines.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Creating an Installer package ==&lt;br /&gt;
&lt;br /&gt;
*Pre-Requisites&lt;br /&gt;
&lt;br /&gt;
:InnoSetup and Launch4J must be installed before an installer can be created. Run the installers from the Setup directory and accept all defaults during the process.&lt;br /&gt;
&lt;br /&gt;
*Creation process&lt;br /&gt;
&lt;br /&gt;
The batch script to create an installer is in the main Browserless Oracle directory:&lt;br /&gt;
&lt;br /&gt;
  createNewBuild.bat&lt;br /&gt;
&lt;br /&gt;
Before this is executed, a Config script is required. These are stored in the Config directory.&lt;br /&gt;
&lt;br /&gt;
The scripts should be named by client. To create a new script for a new client, copy an existing one, rename and then amend it.&lt;br /&gt;
&lt;br /&gt;
A client script should look like this:&lt;br /&gt;
&lt;br /&gt;
 set WMSTMS=&lt;br /&gt;
 set BUILD=&lt;br /&gt;
 set PREFIX=&lt;br /&gt;
 set PROD=&lt;br /&gt;
 set TEST=&lt;br /&gt;
 set QA=&lt;br /&gt;
 set JAVA_VER=&lt;br /&gt;
 REM **** USE _GENERATE GUI.bat to generate a unique GUID for each client - ONLY DO THIS ONCE PER CLIENT!!!&lt;br /&gt;
 set GUID=&lt;br /&gt;
&lt;br /&gt;
*WMSTMS - Should be either TMS or WMS dependent on the system&lt;br /&gt;
*BUILD - the build version of the installer e.g. 1.0&lt;br /&gt;
*PREFIX - the clients &amp;quot;short&amp;quot; code (usually the first part of the database name before tst or prd) e.g. psdt, lfst, schw etc.&lt;br /&gt;
*PROD - the Production URL for the client&lt;br /&gt;
*TEST - the Production URL for the client&lt;br /&gt;
*QA - the Production URL for the client. Leave blank (but do not remove the line) if no QA/UAT system exists.&lt;br /&gt;
*GUID - a unique identifier for the client which is used to identify the install in the registry.&lt;br /&gt;
:If this is a new client script, run '''_GENERATE GUI.bat''' to generate a new GUID:&lt;br /&gt;
&lt;br /&gt;
 Generated GUI:&lt;br /&gt;
 bcc4b78c-11c7-4bf0-840d-275b5bc729be&lt;br /&gt;
 This has been pasted into the clipboard - Paste this into the &amp;quot;&amp;lt;client&amp;gt;&amp;quot;.bat file on the line GUID=xxx&lt;br /&gt;
 Press any key to continue . . .&lt;br /&gt;
&lt;br /&gt;
:Paste this value onto the GUID line&lt;br /&gt;
&lt;br /&gt;
:{{Note}} Once generated, these GUID values should not be changed for the client&lt;br /&gt;
&lt;br /&gt;
Once the client script has been created, the '''createNewBuild.bat''' can be executed.&lt;br /&gt;
&lt;br /&gt;
This will prompt for a client ID, which should match the name of the client script.&lt;br /&gt;
&lt;br /&gt;
Once executed, the process will generate all of the files needed for the installer, sign them, and package them into an exe.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
 Client: Polar Speed&lt;br /&gt;
 Polar Speed Browserless Oracle Build 15/02/2024 11:35:45.14&lt;br /&gt;
 Create calidus_info.txt&lt;br /&gt;
 launch4j&lt;br /&gt;
 signtool - EXE&lt;br /&gt;
 Inno Setup USER&lt;br /&gt;
 Inno Setup ADMIN&lt;br /&gt;
 signtool - Installer&lt;br /&gt;
 Press any key to continue . . .&lt;br /&gt;
&lt;br /&gt;
The above run would create 2 installers (User/Admin) in the Installers directory within Aptean Calidus-TMS or WMS and then a client/version directory:&lt;br /&gt;
&lt;br /&gt;
 Aptean Calidus-TMS-Polar Speed_ADMIN.exe&lt;br /&gt;
 Aptean Calidus-TMS-Polar Speed_USER.exe&lt;br /&gt;
&lt;br /&gt;
These are the signed executable installers which should be issued to the client. {{Note}} '''These installers should be tested on your own PC before issue to the client'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Additional Technical Details ==&lt;br /&gt;
&lt;br /&gt;
*'''Java'''&lt;br /&gt;
&lt;br /&gt;
New Java JRE packages should be downloaded from the [https://adoptium.net/en-GB/temurin/releases/?variant=openjdk17&amp;amp;os=windows&amp;amp;arch=x64&amp;amp;package=jre Eclipse Temurin] site and placed in the Java directory as jdk-xxx&lt;br /&gt;
{{Note}} This may change if we start using Oracle Java packages.&lt;br /&gt;
&lt;br /&gt;
Once this is done, you should edit '''createJavaJRE.bat''' and change the set JAVA=xxx to match the folder above.&lt;br /&gt;
&lt;br /&gt;
Run '''createJavaJRE.bat''' to create a java-xxx directory which has a cut down version of Java with only the required files to run browserless oracle.&lt;br /&gt;
&lt;br /&gt;
The java-xxx should then be added to the JAVA_VER parameter inside the required Config script for the client.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*'''frmsal'''&lt;br /&gt;
&lt;br /&gt;
The frmsal jar files are located in Resource\frmsal&lt;br /&gt;
&lt;br /&gt;
The build process will try to locate a frmsal file which matches the exe being produced e.g. psdttst.frmsal.jar.&lt;br /&gt;
If it finds a specific frmsal for the build it will use this, and if not, it will use the generic frmsal.jar&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*'''Signing Certificate'''&lt;br /&gt;
&lt;br /&gt;
The certificate is located in Resource\Aptean. If updated, the following lines will need amending in Resouce\core.bat:&lt;br /&gt;
&lt;br /&gt;
 set CERT=..\..\Resource\Aptean\Aptean_Inc.pfx&lt;br /&gt;
 set CERTPASS=A23cDez37Fx&lt;br /&gt;
 set CEREX=29/03/2025&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*'''Additional Info File'''&lt;br /&gt;
&lt;br /&gt;
The file \Resource\calidus_info_generic.txt will be pulled into the calidus_info.txt file built into the installer exe.&lt;br /&gt;
&lt;br /&gt;
Any '''non-client''' specific info which is required can be added to this file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:General]]&lt;br /&gt;
[[Category:Technical Guides]]&lt;/div&gt;</summary>
		<author><name>Anw</name></author>
	</entry>
</feed>