JInstall 7400 Manual
JInstall 7400 Manual
J/Install
Reference and Using
User Guide
Confidentiality undertaking
Copyright © Wincor Nixdorf International GmbH 2005 -2018
The contents of this document may not be reproduced, exploited or published, whether in whole or in
part, without the prior written permission of Wincor Nixdorf International GmbH.
The copyright applies to all forms of storage and reproduction in which this information is incorporated
including, but not limited to, magnetic memory, computer printouts and visual displays.
Offenders will be prosecuted and liable for all cost and damages incurred by the breach.
All rights, including rights created by patent grant or registration of a utility model or design, are
reserved. Right of any technical modifications reserved..
Comments, Findings
In case there is something you want to tell us about this document please inform us via our iSupport
interface.
There you can open an incident to inform us regarding comments or findings related to this document:
External: [Link]
Internal: [Link]
If you do not have access to iSupport and there is nobody known having an account, please login to the
Diebold Nixdorf
Learning Suite ([Link] and complete the iSupport Web-based training
(WBT) to receive access to iSupport.
J/Install
About this document
Target group
This manual describes J/Install. J/Install is a framework that processes a set of
commands specified in a control file.
General knowledge on Windows and XML are preconditions for using J/Install.
Notational conventions
Notation Application Example
Italics External cross references "...further information is available in
the manual XYZ for the product
ABC..."
Names of interactive elements "...in the field Routingcode..."
Emphasized italics Internal cross references "...see page 23..."
provide page numbers
Bold For emphasis "...the module ABC is..."
Buttons, name enclosed in [ Sav e]
square brackets
Accessible screen elements "...click on the appropriate I D to...."
Menu items "Select Fi l e - Sav e to…"
Non-proportional Source texts <head>
<title>XYZ</title>
</head>
Directory and file names The customer clicks on this link and
the file [Link] is opened.
Note
Notes providing additional explanation and tips on how to use the product
more effectively are shown in this format.
Caution
Information critical to operation of the product and the avoidance of faults,
misoperation, and so on is shown in this format.
J/Install
Trademark rights .............................................................................................................. ii
Confidentiality undertaking .............................................................................................. ii
Names and other data ..................................................................................................... ii
Comments, Findings ........................................................................................................ ii
About this document ....................................................................................................... iii
J/Launch 1-24
Logging 1-28
Variables 2-45
J/Install
Using patterns ...............................................................................................2-172
Data access paths .........................................................................................2-174
Error handling ................................................................................................2-181
Encoding 3-185
The Variables section ....................................................................................3-185
The Sequence section ..................................................................................3-185
Index A-215
J/Install
1 Installing with J/Install
Running J/Install 10
J/Install files 13
Processing of packages 21
J/Launch 24
Logging 28
Installing J/Install
J/Install is a framework that processes a set of commands specified in a
control file.
J/Install is located on the CD in the \install\jinstall\<Version>
directory.
[Link]
Use the [Link] installer only if you have a Java Runtime
Environment (JRE) 1.8 already installed on the target machine. This
JRE's folder name must be present in the Registry parameter:
[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime
Environment\1.8], for example:
If you install on a 64-bit system then the above parameter must be set in
the Registry area designed for 32-bit applications ([Link] is a 32-
bit application):
Instead of setting the above Registry parameter you can also set the
environment variable JAVA_HOME:
JAVA_HOME=C:\my-jre8
J/Install
Windows 7
If Windows 7 is running with activated UAC, an installation from a drive
mounted by subst or net use is not possible since this mounted drive is not
available for users with expanded installation rights.
Installation steps
Product installation started from the installation CD consists of two steps:
1 Installation of J/Install.
Source: <CD>:\Install\JInstall\<version>
Target: C:\JInstall
Installation engine: install4j
Log file: C:\Users\<user>\AppData\Local\Temp\
setup_JInstall.log
2 Installation of the product.
Source: <CD>:\Setup\<product>\version
Target(s): depends on the product to be installed.
Installation engine: J/Install installed with step 1
Log file: C:\JInstall\[Link] (for more details, see "Logging"
on page 1-28)
• Accept the current selection or select another directory. Click on [ Nex t >] .
J/Install
In addition, logging information can be written to the Windows event log (check
box Windows Event Log), and already existing log files can be backed-up
before being overwritten by storing them in subfolder history using the
filename pattern YYYYMMDD_HHMMSS_jinstall.log (check box Log file
history).
• Accept the current selection or select another directory. Click on [ Nex t >] .
The setup wizard then displays the gathered information.
While J/Install is running, the setup program is waiting in the background until
J/Install has finished:
After finishing the installation and the optional call of J/Install, the dialog
indicating the completion of the entire setup procedure, is displayed:
J/Install
• Click on [ F i n i s h ] to finally complete the installation.
or
[Link] -q -varfile <response file> [-V<Variable>=<value>]
Call parameters -q
Installation without user interaction.
-varfile <response file>
Response file for the unattended installation procedure. With each
manual (attended) installation, this file is created automatically in
subdirectory .install4j using filename [Link].
-V<Variable>=<Value>
Optional parameter.
Overwriting one of the following user-specific variables of the <response
file>:
Variable Meaning
[Link] overwrites the installation directory
[Link]$Boolean defines whether a passed control file shall be executed
('true') or not ('false')
[Link] overwrites the control file
[Link]$Boolean specifies whether the logging information will be written
additionally into the Windows event log ('true') or not
('false')
Variable Meaning
[Link]$Boolean specifies that an already existing log file [Link] is being
copied into folder ../history using the filename pattern
YYYYMMDD_HHMMSS_jinstall.log ('true') or not ('false)
or
[Link] –q –varfile c:\[Link] -[Link]=c:\jinstall -
[Link]=c:\[Link]
Updating J/Install
During execution of the setup program, J/Install can be updated as follows:
• a file with name [Link] exists in the setup directory of J/Install
besides the setup files [Link] or [Link], respectively,
• a file with name [Link] exists in the same directory where the
control XML or PAR files are located.
The file [Link] is a ZIP archive that will be unpacked to directory
%JINSTALL_ROOT%. Files to be deleted can be specified within file
[Link] that is located in the root of file [Link]. Each file
that shall be deleted, is specified relative to folder %JINSTALL_ROOT% in a
separate line.
After installation
The Windows Registry
The J/Install settings in the Registry are located in the Registry directory
HKEY_LOCAL_MACHINE\SOFTWARE\Wincor Nixdorf\JInstall\
CurrentVersion.
Parameters Description
Build internal release representation with structure x.y.z.b
EventLog Logging to Windows event log ("True", "False")
Root Installation folder
Release external release representation with structure Vx.y/zz
(Build bbbbbb)
J/Install
The environment variables
Running J/Install
The parameters with which %JINSTALL_ROOT%\bin\[Link] can be
started are described below:
Call parameters --[Link]
Definition of value of format ’Type|File|Path|Value’ that is written in cas
of a reboot (optional). The reboot is not carried out, but has to be started
by another (external) process after evaluating the written value.
More information about the value parts Type, File, Path and Value is
provided in section "The command ModifyValue" on page 2-142.
--[Link]
Definition of value of format ’Type|File|Path|Value’ that is written in case
of no reboot (optional).
More information about the value parts Type, File, Path and Value is
provided in section "The command ModifyValue" on page 2-142.
--[Link]
Definition of value of format ’Type|File|Path|Value’ that is written instead
of a reboot (optional). The reboot is not carried out, but has to be started
by another (external) process after evaluating the written value.
More information about the value parts Type, File, Path and Value is
provided in section "The command ModifyValue" on page 2-142.
--[Link]
Definition of value of format ’Type|File|Path|Value’ that is written in case
of no relogon (optional). Nähere Informationen zu den
More information about the value parts Type, File, Path and Value is
provided in section "The command ModifyValue" on page 2-142.
-f, --file <filename>
Specification of PAR or XML file incl. path or package folder.
For more detailed information about the structure and on using PAR or
XML files, see section "The file [Link]" on page 1-14 and in section
"The file [Link]" on page 1-13.
-h, --help
Lists the call parameter (optional).
--nocancel
Supresses displaying of button [ Can c el ] (optional).
--optimize
Optimization of entry PendingFileRenameOperations of Windows
Registry database. While considering additional version information,
multiple entries will be deleted (optional).
--[Link]
Specification of a run for checking packages that shall be processed
(optional).
J/Install
--[Link]
Suppresses deletion of successful processed packages (optional)
--[Link]
Specification of a package run (optional).
-q, --quit
Starting of a unattended installation without console output (optional)
--[Link]
Initiation of specified restarts at the end of installation (optional).
--shortversion
For a ProClassic installation software release numbers will be displayed
shortened if the minor release number is '00' (optional).
-s, --source <directory name>
Specification of the CurrentSource directory (optional).
-t, --test
Requesting command confirmations for testing purposes (optional).
-u, --unattend
Definition of an unattended installation (optional).
-v, --variable <name>=<value>
Definition of one or more user-specific variables (optional).
Note
When using the call parameter -q or --quiet, the call parameter -u or --
unattend is not being evaluated.
Administrative rights
Since for the most system or software modifications administrative rights are
required, J/Install should be run under an account that has been granted
administrative rights. If the user that is currently logged in does not have
these rights, J/Install can be started using the identity of an administrator via
the PCRunAs tool (see "Running programs under a different user" on
page 1-26).
J/Install
J/Install files
In this section you will find the files that are written, required and evaluated by
J/Install.
Attribute version of root element JInstall specifies the version of J/Install that is
required for processing this control file. The version representation is expected
in internal formatting (x[.y[.z[.b]]]).
The elements in the various sections use user-specific variables and control
the execution of J/Install.
These sections and their elements are described in chapter "J/Install
reference" on page 2-1.
Standard entities Some characters are not permitted within elements of XML documents but
must be replaced by specific entity sequences that are called entity references.
An entity reference starts with an '&' character (ampersand) followed by a
specific code and is closed with a semicolon.
The five most often used standard entity references in XML are:
All of these characters have a specific meaning within the syntax of XML code:
the characters ’<’ and ’>’ enclose tag names; the values of attributes are often
given using quotation marks or are enclosed using apostrophes; and the
character ‚&’ is used to identifiy entity references.
J/Install
Job name Type Value Description
[Link] boolean true Do not delete successful processed
packages
false Delete successful processed
packages
[Link] boolean true Package run
false no package run
quiet boolean true unattended processing without
console output
false processing with console output
[Link] boolean true Initiation of specified restarts at the
end of installation
false Initiation of specified restarts at
time of request
shortversion boolean true shortened display of software
release number for a ProClassic
installation
false no shortened display of software
release number for a ProClassic
installation
source string any Specification of the CurrentSource
directory
unattend boolean true unattended procedure
false manual procedure
test boolean true command confirmation for test
purposes
false Normal flow
variable.<name> string any Definition of a user-specific variable
version string any Version in internal representation
J/Install
Job name Type Value Description
logfile string any log file ([Link])
nexttask string any Task that is being processed
immediately after restart
optimize boolean true Optimization of entry
PendingFileRenameOperatio
ns of Windows Registry
database.
false Optimization of entry
PendingFileRenameOperatio
ns of Windows Registry
database.
[Link] boolean true Check run of packages to be
executed.
false no check run of packages to
be executed
[Link] string any Folder with unpacked
package content
[Link] string any File name
[Link] string any Package name (filename
without extension)
[Link] boolean true Package run
false no package run
[Link] string any Folder with packages
[Link] integer 0,2,3,6,7 or >100 0 - no error
2 - processed with error
3 - processed with error but
successful fallback
6 - not yet processed
7 - processing
>100 - finished with project-
specific exit
prosetup boolean true Call via ProSetup
false Normal flow
quiet boolean true unattended processing
without console output
false processing with console
output
[Link] boolean true Initiation of specified restarts
at the end of installation
false Initiation of specified restarts
at time of request
J/Install
Job name Type Value Description
shortversion boolean true shortened display of software
release number for a
ProClassic installation
false no shortened display of
software release number for
a ProClassic installation
status string END J/Install finished
END_REBOOT terminates J/Install and
reboots the system
REBOOT reboot within J/Install process
END_RELOGON terminates J/Install and
reboots the system and
relogon
RELOGON relogon within J/Install
process
test boolean true command confirmation for
test purposes
false Normal flow
unattend boolean true unattended procedure
false manual procedure
variable.<name> string any Definition of a user-specific
variable
version string any Version in internal
representation
versionfile string any version file
([Link])
[Link] integer 0,1 current Windows setting of
AutoAdminLogon
[Link] string any current Windows setting of
DefaultDomain
[Link] string any current Windows setting of
DefaultPassword
[Link] string any current Windows setting of
DefaultUsername
[Link] integer 0,1 current Windows setting of
ForceAutoLogon
[Link] string any current Windows setting for
DefaultPassword within the
secret area
J/Install
Processing of packages
Besides using control files in XML to run installations, J/Intall provides a
package mode that analyzes packages and processes them if they are located
within a specific folder.
A package is a ZIP file that contains a control file [Link] in its root.
Optionally this ZIP file can contain additional files that are referred by the
control file [Link]. A package or the commands specified in main
area Sequence, respectively, are carried out if the specified conditions in main
area Requirement are met.
<Status>
<Write type="INI" file="c:\[Link]" path="[{I:[Link]}]File"
value="{I:[Link]}" />
<Write type="INI" file="c:\[Link]" path="[{I:[Link]}]Status"
value="{I:[Link]}" />
<Write type="INI" file="c:\[Link]" path="[{I:[Link]}]Date"
value="{I:currentdate}" />
<Write type="INI" file="c:\[Link]" path="[{I:[Link]}]Time"
value="{I:currenttime}" />
</Status>
<Requirement>
<Condition>
<UserIsAdmin/>
<StringCheck name="{J:[Link]}" expression="Windows XP" />
</Condition>
</Requirement>
<Sequence>
<Decompress>
<Source>{I:[Link]}\[Link]</Source>
<Destination>c:\</Destination>
<Type>ALWAYS</Type>
</Decompress>
</Sequence>
</JInstall>
A return code of '6' indicates that at least on package exists for which the
specified preconditions are met.
The package run is started with the following call and does not require a
previous check:
or
In both calls, the packages in the package folder are being analyzed in
alphabetical order. As soon as a package mets the specified preconditions, the
processing is stopped when using call parameter ’--[Link]’ or the
package is executed if using call parameter ’--[Link]’.
After successful processing, the package is going to be deleted as default
whereas it is being moved into folder <Package folder>\error if an error
occurred.
When using the call parameter '--[Link]' , the successful processed
package is not deleted but moved to folder <Package folder>\keep.
Then all remaining packages will be analyzed again in alphabetical order. This
procedure is repeated until no more packages are found or no remaining
package meets the specified preconditions.
When running a package its content is unpacked into a temporary folder and
the following variables will be provided:
A return code of '0' indicates a successful run of all packages found; a return
code of '2' indicates that at least for one package an error occurred.
The state of a single package is indicated in a properties file with filename
<package folder>\status\<Package filename>-<package
status> and the following content:
File=<Filename of package>
Name=<Name of package>
Status=<Status of package>
Date=<Date of status change>
Time=<Time of status change>
State Meaning
0 no error occurred
J/Install
State Meaning
2 processing errors
3 processing errors with sucessful fallback
6 not yet processed
7 currently being processed
>100 finished with project-specific exit
Using the main area Status, additional actions can be defined that are being
called with each status change of the corresponding package.
Note that a terminal should be taken out of service if packages to be processed
exist for this terminal. The terminal should be taken in service again only if no
errors occur while processing these packages.
Example 1-13 Sample script for package installation with prepending check
ECHO OFF
ECHO Checking packages
jinstall --[Link] --file "%JINSTALL_ROOT%\example\package" --unattend
IF NOT "%ERRORLEVEL%"=="6" GOTO END
ECHO Stopping application
<Stopping application>
ECHO Running packages
jinstall --[Link] --file "%JINSTALL_ROOT%\example\package" --unattend
IF NOT "%ERRORLEVEL%"=="0" GOTO END
ECHO Starting application
<Starting application>
:END
J/Launch
J/Launch is used to perform an automatic installation controled by a predefined
J/Install script file.
Call You will find the file [Link] in directory %JINSTALL_ROOT%\BIN. The
executable requires a configuration file [Link] in the same
directory as file [Link].
Configuration The [Link] program configuration is created in the
parameters [Link] file.
Entry Meaning
Program specifies which program is to be started
Parameters spezifies call parameters of the program configured
with Program
Parameter.<.Selection> specifies calling parameter for the application specified
with program for a specific <Selection>
NoWaitDlg 0 - displays the wait dialog
1 - no display of the wait dialog
WaitDlgMessage referred text, that is displayed until the specified
program has started or a dialog of the specified title has
appeared (optional)
WaitDlgTerminatingWindowCaption refers title or part of title of a dialog that is required to
proceed the installation procedure (optional)
For the entries Program and Parameter, placeholders can be used. The
placeholders {RootSource} and {ExeSource} are available:
Program={RootSource}\install\jinstall\30.00\[Link]
Parameter=-q –varfile {ExeSource}\[Link] [Link]={RootSource}
–[Link]={ExeSource}
NoWaitDlg=1
J/Install
Example 1-15 [Link] of Example 1-14
Program={RootSource}\install\jinstall\30.00\[Link]
[Link]=-q -varfile {ExeSource}\[Link] -
[Link]={RootSource} -[Link]={ExeSource}
Return values Return values of the called program are being forwarded by J/Launch. For
J/Launch error codes the range 10000 to 10006 is being used.
Administrative rights
Since for the most system or software modifications administrative rights are
required, J/Launch should be run under an account that has been granted
administrative rights. If the user that is currently logged in does not have
these rights, J/Launch can be started using the identity of an administrator
via the PCRunAs tool (see "Running programs under a different user" on
page 1-26).
Return values Return values of the called application are being forwarded by PCRunAs. For
PCRunAs error codes the range 10000 to 10004 are being used.
J/Install
Return value Description
0 successful calling and processing
10000 Application could not be started
10001 Unknown error
10002 Malformed call parameter
10003 Specification of user or password is missing
10004 Specification of application is missing
Logging
Logging is carried out using the library log4j, that differentiates messages as
DEBUG, INFO, WARN, ERROR or FATAL.
The configration of log4j is stored in folder %JINSTALL_ROOT%\LIB in file
[Link].
In the configuration file a level (message scope) and one or more appender
(output medium) can be assigned to a logger.
For a level it is differentiated by order of importance (falling number of
messages) between ALL, TRACE, DEBUG, INFO, WARN, ERROR, FATAL
and OFF. In each level all messages of the specified level and all more
messages of more important levels are being logged.
For each appender a layout (output format) can be specified that formats the
message.
After running an installation with activated Windows event logging, the file
[Link] has the following content:
[Link]=[Link]
[Link]=${jinstallRoot}
[Link]=true
[Link]=[Link]
[Link]=%d{HH:mm:ss} %-5p %m%n
#[Link]=%d{ISO8601} %-5p %C [%M,%L] %m%n
[Link]=[Link]
[Link]=[Link]
[Link]=%m\n
For logger rootLogger the level INFO and the appender File and Eventlog are
specified, whereas both appender use the PatternLayout to format the
messages. Appender Eventlog provides no more additional configuration
where as appender File provides the following options:
J/Install
With using option ConversionPattern of PatternLayouts the output format can
be specified using patterns similar to the C function printf, using the
following abbreviations:
Abbrevi
ation Description
C class name;
the output can be limited by using a decimal constant within curly brackets. With a
set limitation the number of components starting from the right are printed.
Example: The class [Link] is printed as SomeClass using pattern
%C{1}.
d date;
the date format can be specified in culry brackets, ad default the format as specified
with ISO8601 is being used.
The format is applied similar to the Pattern string of the SimpleDateFormats:
y - years
m - months
d - days
h - hours
m - minutes
s - seconds
S - milliseconds
Example: The date 15.09.2011 [Link] is printed as 2011-09-15 11:55 using the
specified pattern %d{yyyy-MM-dd HH:mm}.
L line number
m Message
M MethodName
n carriage return
p Level
% percentage sign
%-[Link]
A minus sign ('-') following the percentage sign indicates a text alignment of the
right. Then a minimum length is specified. If the output is shorter than it is filled
with spaces.
Starting with a dot ('.') a maximum length can be specified. Longer outputs are
being cut down to the maximum.
Examples:
Note
To downtrack problems it is recommended to remove the comment signs for
lines markes as comment in the provided [Link] and to mark
the previous line as comment in order to log extensive information.
In the configuraton file, all appender that are provided for log4j can be used, for
example FileAppender, RollingFileAppender, and all layouts, for example
XMLLayout, HTMLLayout can be used.
J/Install
2 J/Install reference
Element identification
The highlighted elements are mandatory elements. Default values are
displayed in bold.
The column V describes the J/Install version until or from which version the
respective element or command is supported. „ –1.3“ means, that the
element is supported by all versions up to the displayed version; “1.4+”
means the element is supported by the displayed version and all later
versions.
In this chapter you will find information about the following topics:
Changes regarding previous releases 33
Variables 45
J/Install
Changes regarding previous releases
V2.x -> V3.0 Compared to previous releases, the following incompatible changes have
been made with J/Install 3.0:
• The section ProSetup is no longer used.
• The command SetVariable was renamed to GetValue.
• The commands Reboot and Relogon have been merged to command
Restart.
• For command Execute, the elements <CopyRoot>, <AltTagFile>,
<AltTagFileContent>, <AltTagLabelContent>, <AltText>, <AltProgram>,
<AltVariable>, <AltUnattend>, <AltCopyRoot> and <AltParameter> are
omitted.
• For command Condition the elements <TrueBranch> and <FalseBranch>
have been renamed to <True> and <False>.
• The elements <SuccessCode>, <SuccessFile>, <ErrorCode>, <ErrorFile>
and <WaitFile> can only be used once per command. Multiple appliance
can be achieved by using the delimiter ‘|’ (pipe symbol).
• The property identifiers in file [Link] and thus, the
identifiers of internal J/Install variables have been changed.
V3.0 -> V3.1 Changes/Extensions:
• new command Definition
• new command Fallback
V3.1 -> V3.1/50 Changes/Extensions:
• replaced jRegistryKey and xFunction with JniWrapper
• now supporting Windows Registry types REG_MULTI_SZ and
REG_BINARY
V3.1/50 -> V3.2 Changes/Extensions:
• New call parameter -n/--nohistory
• New condition UserIsAdmin
V3.2/00 -> V3.2/10 Changes/Extensions:
• New properties in file [Link] ([Link],
[Link])
V3.2/10 -> V3.2/20 Changes/Extensions:
• changing directory structure of ProClassic CD; when using a product type
the directory structure below INSTALL\<Produkt> and INSTALL\
PRODUCTS\<Product> changes to <Type>\R<Version>
• extending ProClassic [Link] with unpacking of any update
archives
V3.2/20 -> V3.3 Changes/Extensions:
• New commands: CreateDir, GetToken, ModifyEnvironmentVariable,
ModifyString, ModifyToken, Script
• New conditions: ChecksumCheck, IsFalse, IsTrue, TokenExists,
VersionCheck
J/Install
• For the commands ConfAutologon, ConfNonAdmin and Restart the
password can be provided as plain text.
• The command Extern supports the submission of values during runtime
while running the task SetVariable.
• The command DeviceHandler is not supported any longer.
• The definitions FallbackValue and ImportFallbackInf are not supported any
longer.
• New definitions Variable and ProClassic
• Extending definitions Keep and KeepValue with attribute merge
• Extending definitions KeepValue by types PROPERTY, PCE and PARAC
• Extension of definition Fallback by the types ZIP and DECOMPRESS as
well as by the attributes root and prefix
• New commandline parameter --fallback
• Extending the command Fallback with element Reboot
• New condition VariableExists
V3.4/00 -> V3.4/01 Changes/Extensions:
• Extending the command Exit with element Text
V3.4/01 -> V3.5/00 Changes/Extensions
• Command ProClassic does not supports InstallShield scripts anymore.
• Extending the command InstJre with element File
• If an error occurs, an ERROR file is created containing an error description
and the ExitCode.
• In the dialog of command GetSource, an icon is provided to update the
folder structure.
• The command Execute can now run attended batch files using the program
[Link].
• Extending command Restart with mode YES
• During an unattended installation, mode ASK of command Restart is
treated similar to NO.
V3.5/00 -> V3.6/00 Changes/Extensions
• Extending the command Decompress with element PreserveDate
• Extending command CopyFile with elements PreserveDate and
PreserveAttribute
• Extending command GetSource with elements PreserveDate and
PreserveAttribute
• The default optimization of entry PendingFileRenameOperations of the
Windows registry at the end of J/Install has been removed. It can be now
activated by either the call parameters -o and --optimize or the entry
optimize in file [Link].
V3.6/00 -> V3.7/00 Changes/Extensions
• The element Variable of command ModifyVariable was renamed to Name.
J/Install
• Extending command WriteLog with elements Encoding and
AddLogFileContentEncoding
• Extending command Execute with elements LogFileEncoding,
ErrorLogFileContentToAddEncoding and LogFileContentToAddEncoding
• Extending command Restart with elements ExternTrue and ExternFalse
• Extending element Mode of command ModifyTextFile with entries
AddFileBegin, AddFileEnd, AddFileBefore and AddFileAfter
• new condition RestartCheck
• new main area Requirement
• new return codes 4, 5 and 6
• removed J/Install call parameters -o and --nohistory
• additional J/Install call parameter --[Link], --[Link],
--[Link], --[Link], --[Link],
--[Link] and --[Link]
• additional J/Install call parameter [Link], [Link],
[Link], [Link], [Link], [Link]
and [Link] in file [Link]
• Extending element Mode of commands ModifyValue, ModifyToken and
ModifyEnvironmentVariable with attributes TokenRemoveBegin,
TokenRemoveEnd, TokenRemoveAfter and TokenRemoveBefore
• Extending file [Link] of command ProClassic with
parameter version
V4.0/00 - > V4.1/00 Changes/Extensions
• Extending command ModifyTextFile with elements AddTextBegin,
AddTextEnd, AddTextBefore and AddTextAfter
• Command Script now allows use of commands Definition, Fallback, Keep
and ProClassic.
• The state of single J/Install packages is indicated in folder <Pacakge
folder>\status abgebildet.
• additional J/Install call parameter -q and --quiet
• Extending command Execute with elements TailFile,TailFileEncoding and
Output
• Extending commands Compress, CopyFile, CreateDir, CreateShortcut,
Decompress, Delete, GetSource, ModifyTextFile, ModifyValue,
OsBootLogo, WriteLog and WriteVersion with attribute fallback
• Extending command CreateList with elements Type and Name
• New commands GetTextFile, Loop, LoopEnd and Exception
• New loops Endless, Counter, FileExists and TextFile
V4.1/00 - > V4.2/00 Changes/Extensions
• Command InstJre removed
• New commands Jre and ModifyPendingFile
• Extending command Execute with element PendingFileHandling
J/Install
– PROFLEX4_UI (successor of PCE/FLEX_UI component)
– PROFLEX4_TOOLING (successor of PCE/FLEX_TOOLING
component)
– PROFLEX4_RCM (successor of PCE/FLEX_RC_MANAGER
component)
– PROFLEX4_NDC (successor of PROFLEX_NDC component)
• ProClassic task: List of products based on ProTopas/Base extended; the
list PROCASH/IFX, PROCASH/TDC, PROFLEX/NDC,
PROTOPAS/CASHBOX, PROTOPAS/DEVSUITE, PROTOPAS/SHOP,
PROTOPAS/SLIMCASH, PROTOPAS/SUITE (a dummy product that was
introduced to simplify the customizing), SLIMCASH/TDC was extended by
three new products:
– PROFLEX4-OP,
– PROFLEX4-SDK,
– PROFLEX4-NDC
V6.5->V6.6 Changes/Extensions
• Extensions in command Fallback: introducing new property OmitRegistry
• Processing the ProClassic compoment XFS_ADDON:
– New parameters in [Link]:
proclassic.XFS_ADDON.DETECTION_PREFER (in addition to the
existing proclassic.XFS_ADDON.PREFERRED_LOGICALNAMES) and
proclassic.XFS_ADDON.DETECTION_IGNORE.
• Bug fix: logging information about ‘virtual’ products (e.g. PROFLEX4_ATM,
PROFLEX4_KIOSK) changed to avoid confusion in its interpretation
• Refactoring
• Task ProClassic: extending the format of [Link] files with the
capability to license more than one component version
V6.6->V6.7 Changes/Extensions
Tasks 'ConfAutoLogon' and 'ConfNonAdmin', attribute 'Private': Default value
changed to TRUE.
V6.7->V6.8 Changes/Extensions
• Tool [Link] updated to release 1.1/04.
• Declaration <Definition> / <Feedback> enhanced by type REG.
• Task 'Fallback': attribute 'OmitRegistry' removed
• Added new ProClassic components: PROFLEX4_DDC and
PROFLEX4_PCE.
• Task 'ProClassic': implemented support for cashout dispenser CDMV7
V6.8 -> V6.9/00 Changes/Extensions
• New feature: New condition <IsValidPassword>
• Improvement: New ProClassic component PROFLEX4_ISO8583
J/Install
cannot be processed by [Link] when the user is a standard
user.
– File Windows_DesktopIcons_Remove.reg inserted to
%JINSTALL_HOME%\template\tuneos\all. It writes in the regkey
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\
Explorer and thus removes desktop icons for ALL users on the machine.
HINT: this file is deployed in the template folder. It doesn't belong to
the default reg file set processed by J/Install. To activate the file the
customizer has to create an own [Link] file and insert
Windows_DesktopIcons_Remove.reg in there.
– File Windows_RecycleBinIconOnDesktop_Remove.reg inserted
again to %JINSTALL_HOME%\bin\tuneos\all and
%JINSTALL_HOME%\template\tuneos\all. It belongs to the
default set of reg files processed by J/Install, step 'TuneOs'.
V7.0/00 Changes/Extensions
• Installation precondition. When installing with [Link] then the JRE
that must already be installed on the target machine must have version 1.8
(previously: 1.6-1.7).
• Oracle JRE 1.8.0_112 integrated into [Link] installer. .
• Condition ’OsCheck’: Window 10 detection implemented.
• Task ’ModifyTextFile’: Parameter HideDetails inserted.
• New feature: PCI DSS compliance: Logging of the value of the [Link]
parameter [Link] removed. Affected files: [Link],
[Link]. Instead password, the information [Password
masked due to PCI DSS requirements] is logged.
• New feature: File DISKID from the CD's root folder is copied to the
J/Install's installation folder C:\JInstall.
• Improvement: Task ’TuneOS’: the default set of REG files processed by the
task was extended by the file
Windows_VSS_FilesNotToSnapshot.reg. This file, when processed
on Windows 7, inserts the following parameter to the Windows registry:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\
BackupRestore\FilesNotToSnapshot]
"dieboldnixdorf-exclude-cccmos-files"=hex(7):...
The parameter name is irrelevant. What's most important is the parameter
value. It saves a list of files which should be excluded from creating shadow
copies done by Windows Volume Shadow Copy service (VSS).
• The value of the REG_MULTI_SZ parameter
dieboldnixdorf-exclude-cccmos-files is:
%PROTOPAS_ROOT%\work\[Link]
%PROTOPAS_ROOT%\work\[Link]
• Improvement: Task ’TuneOS’: registry parameters are written to Windows
using [Link] (instead of [Link]) to be able to log the changes
made in the Windows registry. Logging modifications is a PCI DSS
requirement.
J/Install
• New Feature: TuneOs for Windows 10: Enable Task Manager's 'Always On
Top' option for non-admin user.
• Improvement: J/Install: Use latest CCCommon ([Link]).
• Bug-fix: ProCash and ProFlex4 product installations: Wrong handling of
J/Install parameter provided in '[Link]' in [Link].
V7.2/01 Changes/Extensions
• Improvement: Update 3rd-party dependencies to their newest versions.
• Improvement: Optimize J/Install condition 'IsValidPassword'.
V7.3/00 Changes/Extentions
• Improvement: Extend <Jre> task to support OpenJDK JRE installations
• [Link] installer: OpenJDK JRE version 8u151 integrated
(replaces previously used Oracle JRE).
V7.3/10 Changes/Extensions
• Manual extended.
• Improvement: [Link] installer: OpenJDK JRE version 8u161
integrated (replaces 8u151).
• Bug-fix: Null-pointer exception in J/Install's install4j script.
V7.3/20 Changes/Extensions
• Improvement: Task <ShowMessage>. Evaluate user feedback ([ OK ] or
[ C an c el ] button clicked in dialog).
• Improvement: Tasks <ProClassic> and <ConfNonAdmin>. Implemented
support for ProBase 1.4.
– Search in ..\Diebold Nixdorf\ProBase\... Registry section for
keys which were stored in older ProBase versions under ..\Wincor
Nixdorf\CSC-W32\... section.
– Add parameter Products in Registry in case it does not exist
• Improvement: Task <ProClassic>. For installations on WN machines, insert
new valid CashOut type: ’AFD’
• Improvement: Inserted [Link]'s new version 2.1.0 (proper
autologon configuration on 64-bit Windows systems).
• Improvement: Removed deprecated tool [Link] from J/Install
installation package.
V7.3/30 Changes/Extensions
• Improvement: Task <ProClassic>. New component PROFLEX4_ISO20022.
• Improvement: [Link] updated to the new version 1.2.0 supporting
ProBase 1.4.
• Improvement: [Link] updated to the new version [Link].
• Improvement: Task <ProClassic>. Support for ProBase 1.4 with new
Registry location in Diebold Nixdorf Registry key. Support for ProBase 1.4
on NSL hardware.
• Improvement: [Link] installer: OpenJDK JRE version 8u181
integrated.
V7.4/00 Changes/Extensions
• Incompatible improvement: Usage of ’[Link]’ parameters in
[Link] customizing file changed. Parameter value must be
surrounded by double quotation marks.
• New Feature: TuneOs: Disable Internet Explorer Pinch-Zoom.
• Improvement: Rebranding in J/Install GUI. Legacy company name 'Wincor
Nixdorf' was replaced by 'Diebold Nixdorf'.
J/Install
Variables
Elements and attributs in the various main areas can contain variables using
the syntax {<Variable type>:<Variable name>}. These variable will be resolved
during runtime.
These variable types exist:
Type Meaning
E Environment variable
J Java System Property
I Internal variable
With internal variables you can access the corresponding entry in file
[Link]. In addition, the internal variables currentdate and currenttime
provide the current date and current time using the format YYYY-MM-DD or
HH:MM, respectively.
V User-specific variables
These variables can be defined in section Variables of file [Link] (see "The
main area "Variables"" on page 2-46) and can be set or modified using the
commands SetVariable and ModifyVariable. In addition, the format to be used by
variables currentdate and currenttime can be set using the user-specific
variables [Link] and [Link], respectively. J/Install uses
the SimpleDateFormat as provided by the JRE. A complete description can be
found here: [Link] class
[Link].
J/Install
The main area "Status"
This area defines one or more actions, that will be processed if a J/Install
package status has changed.
The defined actions are going to be processed in the order they are defined in
section Status.
Element Meaning V
Write changes the parameter value of a file or in the Windows Registry; 5.0+
see "The action Write" on page 2-47
J/Install
The main area "Requirement"
This area specifies one or more conditions that have to be meet in order to
process the main area Sequence.
All commands except commands Definition, Exit, Fallback, Keep, ProClassic
and Restart, can be used. All commands will be processed in the order given
by section Requirement.
The processing of specified commands is stopped if one condition was not
met.
J/Install
Command Meaning Parameters V
Extern processes externally specified see "The command Extern" 3.0+
J/Install commands on page 2-114
Fallback saves and restores Fallback see "The command Fallback" 3.1+
information on page 2-117
GetSource requests a data medium see "The command 1.0+
GetSource" on page 2-119
GetTextFile reads a line from a text file and see "The command 4.1+
assigns it to a user-specific GetTextFile" on page 2-121
variable
GetToken reads a token from a token list see "The command 3.3+
and assigns this token a GetToken" on page 2-122
user-specific variable
GetValue reads a parameter value from see "The command 3.0+
file or Windows Registry GetValue" on page 2-123
Import imports Registry or INF files see "The command Import" 3.0+
on page 2-125
Jre installs or updates a JRE see "The command Jre" on 4.2+
version page 2-126
Keep stores information for restoring see "The command Keep" on 3.0+
page 2-128
Loop carries out commands in a loop see "The command Loop" on 4.1+
page 2-129
LoopEnd finishs a complete loop or a see "The command LoopEnd" 4.1+
single loop run on page 2-132
ModifyEnvironment changes a system-specific or see "The command 3.3+
Variable user-specific environment ModifyEnvironmentVariable"
variable on page 2-133
ModifyPendingFile changes Registry entry see "The command 4.2+
PendingFileRenameOperations ModifyPendingFile" on
page 2-135
ModifyString modifies a string see "The command 3.3+
ModifyString" on page 2-136
ModifyTextFile changes texts in files see "The command 2.1+
ModifyTextFile" on
page 2-137
ModifyToken modifies a token list see "The command 3.3+
ModifyToken" on page 2-140
ModifyValue sets a parameter value in file or see "The command 2.0+
Windows Registry ModifyValue" on page 2-142
ModifyVariable changes or sets a user-specific see "The command 2.2+
variable ModifyVariable" on
page 2-145
OsBootLogo replaces the boot image of the see "The command 3.0+
operating system OsBootLogo" on page 2-147
ProClassic installs ProClassic applications see "The command 3.0+
ProClassic" on page 2-148
Register registers OCX files, DLLs or see "The command Register" 3.7+
fonts with the system on page 2-159
J/Install
The command AskUser
The command AskUser is used to provide a user input. It opens a dialog box
provideing three buttons for user interaction:
• Yes
• No
• Cancel
The response as selected by the user („Yes“, „No“ or „Cancel“) is stored with
the internal J/Install variable [Link] and can be evaluated with the
file [Link] after the AskUser was called.
Attribute definitions
Name Type Value Description V
Element definitions
Name Type Value Meaning V
Name string any Text mit der Frage, die an den 6.9+
Benutzer gerichtet ist.
Caption string any Text für den Titel des Dialogfeldes. 6.9+
If the command AskUser from the example above is being processed, the
following dialog will pop up:
J/Install
The command CheckPassword
This task checks given password for compliance with the current password
policy configured on the machine.
Tool [Link]
A new tool for checking password for compliance with configured password
policy was integrated into J/Install. It’s saved in the folder C:\jinstall\
bin.
Attribute definitions
Name Type Value Description V
Element definitions
Name Type Value Meaning V
Password string any Encrypted or plain password of user 6.5+
Username.
The encrypted password can be
created using the
%JINSTALL_ROOT%\BIN\
[Link] tool.
The password will be then checked
for compliance with the Windows
password policy configured on the
target machine.
Hint
As of V6.9 J/install provides the condition <IsValidPassword> which allows
even more control when checking user passwords for validity.
Related information:
"The condition IsValidPassword" on page 2-66
Attribute definitions
Name Type Value Description V
Element definitions
Name Type Value Meaning V
Source string any Files to be compressed (including 1.0+
path); by using the wildcards '?' for
any single character or '*' for any
strings, more than one file can be
addressed.
Destination string any ZIP archive including path 1.0+
Folder string any Folder within the ZIP archive that 3.8+
shall contain the files to be added
Type string ALWAYS Files are always added. 3.8+
MODSEG Files are only added if the MODSEG
is higher than the files that already
exist. If both files have no MODSEG,
the date and time are being
compared. If only one file has a
MODSEG, this file is regarded
always as most current one.
NEWER Files are only added if they are
newer than the files that already
exist.
NOTEXISTS Files are added only if they not yet
exist in the target location.
VERSION Files are only added if the version
number is higher than the version
number of the files that already exist.
If both files have no version
information, the date and time are
being compared. If only one file has
a version information, this file is
regarded always as most current
one.
J/Install
Name Type Value Meaning V
Password string any Encrypted or plain password 3.8+
The encrypted password can be
created using the
%JINSTALL_ROOT%\BIN\
[Link] tool.
Recursive boolean TRUE Processing will include subfolders. 1.0+
FALSE Processing excludes subfolders.
Overwrite boolean TRUE File is re-created 1.0+
FALSE An existing file is extended
<Compress>
<Source>c:\frm\reg\*.*</Source>
<Destination>c:\productizing\hw\firmware\[Link]</Destination>
<Folder>reg</Folder>
<Type>NEWER</Type>
</Compress>
Element Meaning V
ChecksumCheck checking for the checksum of a file; see"The condition 3.3+
ChecksumCheck" on page 2-60
DateTimeCheck checking for date or time; see "The condition DateTimeCheck" 3.7+
on page 2-61
DriveCheck checking for size, free memory, type and label of a drive; see 3.7+
"The condition DriveCheck" on page 2-62
FileExists checking for availability of file or directory; see "The condition 1.5+
FileExists" on page 2-63
IsFalse checking if a 'False' representation value is part of a string; see 3.3+
"The condition IsFalse" on page 2-64
IsTrue checking if a 'True' representation value is part of a string; see 3.3+
"The condition IsTrue" on page 2-65
IsValidPassword Check for password compliance with regard to a password 6.9+
policy; siehe "The condition IsValidPassword" on page 2-66
MemoryCheck checking for available physical memory; see "The condition 3.0+
MemoryCheck" on page 2-68
ModSegCheck checking for a MODESG of a file; see"The condition 3.0+
ModSegCheck" on page 2-69
OsCheck checking for operating system; see "The condition OsCheck" 5.0+
on page 2-70
J/Install
Element Meaning V
RegistryKeyExists checking for specific Registry Keys in general; see "The 6.9+
condition RegistryKeyExists" on page 2-71
RestartCheck checking for existing Registry entry 4.0+
PendingFileRenameOperations; see "The condition
RestartCheck" on page 2-72
StringCheck checking of a string; see "The condition StringCheck" on 2.0+
page 2-73
TextFileCheck checking for existing text lines in a text file; see "The condition 6.2+
TextFileCheck" on page 2-74
TokenExists checking of existence of a token within a token list; see "The 3.3+
condition TokenExists" on page 2-75
UserIsAdmin Checking of administrative rights; see "The condition 3.2+
UserIsAdmin" on page 2-76
ValueCheck checking of a parameter value; see "The condition 2.0+
ValueCheck" on page 2-77
ValueExists checking of a parameter; see "The condition ValueExists" on 2.0+
page 2-79
VariableExists checking of a variable; see "The condition VariableExists" on 3.4+
page 2-81
VersionCheck checking for Windows vrsion of a file; see"The condition 3.3+
VersionCheck" on page 2-82
J/Install
The condition DateTimeCheck
This condition is used tor check for a specific date or time.
Attribute definitions
Name Type Value Meaning V
type stríng DATE Date using format YYYY-MM-DD 3.7+
TIME Time using format HH:MM
expression string RegularExp or any Counter value for comparison 3.7+
evaluate string MustBeMet RegularExp must be fulfilled 3.7+
MustNotBeMet RegularExp may not be met
Less or LSS Less than
LessEqual or LEQ Less than or equal
greater or GTR Ggreater than
GreaterEqual or GEQ Greater than or equal
Equal or EQU Equal
NotEqual or NEQ Not equal
J/Install
The condition FileExists
This condition checks, whether a file or directory exists.
Attribute definitions
Name Type Value Meaning V
name string any File or directory; the use of the 1.5+
Windows-specific wildcard characters * and ?
for character strings and individual characters
is supported
Extended syntax (V6.9+):
Comma-separated list of file names or folder
names that shall be checked for existence.
Attribute 'operator' specifies whether all
(AND) or at least one (OR) specified
files/folders have to exist.
evaluate string MustBeMet File or directory must exist 1.5+
MustNotBeMet File or directory must not exist
operator string AND Evaluated only if attribute ’name’ contains 6.9+
more than one name
OR
type string FILE Check of file 3.3+
DIR Check of directory
J/Install
The condition IsTrue
This condition checks if a string contains a substring representing the boolean
TRUE value. The boolean value can be represented by one of the strings
’TRUE’, ’T’, ’YES’, ’Y’ or ’1’ . This check is not case-sensitive.
Attribute definitions
Name Type Value Meaning V
expression string any String to be checked 3.3+
evaluate string MustBeMet String must be a valid TRUE 3.3+
value
MustNotBeMet String must not be a valid
TRUE value
J/Install
<!--
[Link] = {AskEncr} in [Link]:
If the password was entered by the user (internal variable 'IsCommonPasswordAsk'
is set) then offer him another chance to enter a valid password.
[Link] = E631167D35989486 in [Link]:
If the password was entered in [Link] file and it's not compliant with the
password policy then cancel the installation!
-->
<Condition
operator="AND"
description="Was the password entered interactively or does it come
directly from [Link]?">
<VariableExists name="IsCommonPasswordAsk" type="I"/>
<StringCheck
name="{I:IsCommonPasswordAsk}"
expression="true"
evaluate="MustBeMet"/>
<True>
<ShowMessage>
<Text>Non-admin user's password verification failed! Enter another
password.</Text>
</ShowMessage>
</True>
<False>
<Exit>
<Code>19</Code>
<Text>Non-admin user's password verification failed!</Text>
</Exit>
</False>
</Condition>
</False>
</Condition>
</True>
<False>
<WriteLog description=" Password doesn't have to be checked. Write dummy
tag file to break the loop and continue processing.">
<File>{E:TEMP}\[Link]</File>
<Entry>dummy2</Entry>
</WriteLog>
</False>
</Condition>
</Do>
</Loop>
<Delete description="Delete the dummy tag file.">
<Type>FILE</Type>
<Name>{E:TEMP}\[Link]</Name>
</Delete>
J/Install
The condition ModSegCheck
This condition checks the MODSEG of a file.
Attribute definitions
Name Type Value Meaning V
file string any File name 3.0+
expression string RegularExp or any Counter value for comparison 3.0+
evaluate string MustBeMet RegularExp must be fulfilled 3.0+
MustNotBeMet RegularExp may not be met
Less or LSS Less than
LessEqual or LEQ Less than or equal
greater or GTR Greater than
GreaterEqual or GEQ Greater than or equal
Equal or EQU Equal
NotEqual or NEQ Not equal
J/Install
The condition RegistryKeyExists
The condition RegistryKeyExists checks if one or more Registry keys are pres-
ent.
Attribute definitionen
Name Typ Wert Bedeutung V
name string beliebig Simple syntax: 6.9+
Name of Registry Key to be
checked for presence.
Extended syntax:
Comma-separated list of Registry
keys to be checked for presence.
Attribute 'operator' defines whether
all (AND) or at least one (OR) of
these keys have to be present.
J/Install
The condition StringCheck
This condition compares the content of a character string to a specified
expression.
Attribute definitions
Name Type Value Meaning V
name string any Character string 2.0+
expression string RegularExp or any Counter value for comparison 2.0+
casesensitive boolean TRUE Case-sensitive check 3.3+
FALSE No case-sensitive check
evaluate string MustBeMet RegularExp must be fulfilled 2.0+
MustNotBeMet RegularExp may not be met
Less or LSS Less than
LessEqual or LEQ Less than or equal
greater or GTR Greater than
GreaterEqual or GEQ Greater than or equal
Equal or EQU Equal
NotEqual or NEQ Not equal
J/Install
The condition TokenExists
This condition checks whether a token is part of a list of several tokens.
Attribute definitions
Name Type Value Meaning V
input string any List of token 3.3+
delimiter string any Delimiter for token list 3.3+
token string RegularExp Token to be searched for; 3.3+
alternatively a token can be
addressed directly via
{TokenPos}<Position>,
whereas the token list starts
with 1
evaluate string MustBeMet RegularExp must be fulfilled 2.0+
MustNotBeMet RegularExp may not be met
casesensitive boolean TRUE Case-sensitive check 3.3+
FALSE No case-sensitive check
J/Install
The condition ValueCheck
This condition checks, whether an entry in a file or in the Windows registry
matches the specified expression. The checked entries are addressed via file
paths. For a description od the different addressing procedures see section
"Data access paths" on page 2-174. You can use reqular expressions to
specify the counter value the variable content is compared with. The section
"Using regular expressions" on page 2-171 describes the different possibilities.
Attribute definitions
Name Type Value Meaning V
type string INI INI file 2.0+
REG Registry
PROPERTY Properties file
PCE PC/E file
XML XML files 4.0+
file string any File name 2.0+
HKCR or HKEY_CLASSES_ROOT
HKEY_CLASSES_ROOT
HKCU or HKEY_CURRENT_USER
HKEY_CURRENT_USER
HKLM or HKEY_LOCAL_MACHINE
HKEY_LOCAL_MACHINE
HKCC or HKEY_CURRENT_CONFIG
HKEY_CURRENT_CONFIG
HKU or HKEY_USERS HKEY_USERS
path string <IniPath> Reference to INI file 2.0+
<RegPath> Refers to registry
<Property> Property in property file
<PcePath> Reference to PC/E file
<XmlPath> Reference to XML file 4.0+
expression string RegularExp or any Counter value for comparison 2.0+
casesensitive boolean TRUE Case-sensitive check 3.3+
FALSE No case-sensitive check
delimiter string any Delimiter for token list 3.3+
J/Install
The condition ValueExists
This condition checks, whether an entry exists in a file or in the Windows
registry. The condition does not check the value of the entry. The checked
entries are addressed via file paths. For a description od the different
addressing procedures see section "Data access paths" on page 2-174.
Attribute definitions
Name Type Value Meaning V
type string INI INI file 2.0+
REG Registry
PROPERTY Properties file
PCE PC/E file
XML XML files 4.0+
file string any File name 2.0+
HKCR or HKEY_CLASSES_ROOT
HKEY_CLASSES_ROOT
HKCU or HKEY_CURRENT_USER
HKEY_CURRENT_USER
HKLM or HKEY_LOCAL_MACHINE
HKEY_LOCAL_MACHINE
HKCC or HKEY_CURRENT_CONFIG
HKEY_CURRENT_CONFIG
HKU or HKEY_USERS HKEY_USERS
path string <IniPath> Reference to INI file 2.0+
<RegPath> Refers to registry
<Property> Property in property file
<PcePath> Reference to PC/E file
<XmlPath> Reference to XML file 4.0+
casesensitive boolean TRUE Case-sensitive check 3.3+
FALSE No case-sensitive check
delimiter string any Delimiter for token list 3.3+
evaluate string MustBeMet Value must exist 2.0+
MustNotBeMet Value must not exist
token string RegularExp Token to be searched for; 3.3+
alternatively a token can be
addressed directly via
{TokenPos}<Position>,
whereas the token list starts
with 1
J/Install
The condition VariableExists
This condition checks the presence of a variable.
Attribute definitions
Name Type Value Meaning V
name string RegularExp Value for comparison 3.4+
Extended syntax (V6.9+):
Comma-separated list of
variable names to be checked
for presence.
evaluate string MustBeMet Variable must exist 3.4+
MustNotBeMet Variable must not exist
operator string AND Evaluated only if attribute 6.9+
’name’ contains more than one
OR name
type string E Environment variable 3.4+
J Java system property
I Internal variable
V User variable
J/Install
The command ConfAutologon
This command configures the Autologon feature of the Windows operating
system.
Attribute definitions
Name Type Value Description V
Element definitions
Name Type Value Meaning V
Username string any User name that shall be used for automatic 3.0+
logon
Password string any Encrypted or plain password of user 3.0+
Username.
The encrypted password can be created
using the %JINSTALL_ROOT%\BIN\
[Link] tool.
Domain string any Domain 3.0+
ForceAutologon boolean TRUE Automatic logon 3.0+
FALSE No automatic logon
Private boolean TRUE Secret storing of password (starting with 3.9+
Windows XP SP2)
FALSE No secret storing of password
Element definitions
Name Type Value Meaning V
Group string any Name of an already existing or of a 3.0+
new to be created group
Source string any Directory of the PRC files to be 3.0+
processed
Default: c:\install\prc
Username string any Name of an already existing or new to 3.0+
be created users that is to added to
group Group
Password string any Encrypted or plain password of user 3.0+
Username.
The encrypted password can be
created using the
%JINSTALL_ROOT%\BIN\[Link]
tool.
The password must be set and must
be compliant to the Windows password
policies.
Autologon boolean TRUE Automatic logon of the user. Entering 3.0+
Username as well as Password is
required. A logon using a different user
account is possible by pressing the
SHIFT key during the start-up of the
operating system.
FALSE No automatic logon of the user.
ForceAutologon boolean TRUE Automatic logon after logout. Requires 3.0+
Autologon parameter.
FALSE No automatic logon.
Attributes string Bit structure Configuration of user properties via a 3.0+
bit structure (0=off,1=on):
Bit 1: user must change password with
next login
Bit 2: user cannot change password
Bit 3: password never expires
Bit 4: account deactivated
Default: 0010 (password never
expires)
J/Install
Name Type Value Meaning V
Private boolean TRUE Secret storing of password (starting 3.9+
with Windows XP SP2)
FALSE No secret storing of password
SetUserShell boolean TRUE Enables setting shell application for the 7.1+
non-admin user.
FALSE Disables setting shell application for
the non-admin user.
UserShell string any Command line starting a process 7.1+
acting as the shell application of the
non-admin user. This parameter is
evaluated only if attribute SetUserShell
was set to ’TRUE’.
Element definitions
Name Type Value Meaning V
Source string any Specification of the source 1.0+
directory as a filemask with
directory names; the use of the
Windows-specific wildcard
characters * and ? for character
strings and individual characters is
supported. A text file with a list of
Source entries can be provided
with prefix {List}.
Destination string any Target directory 1.0+
Backup boolean TRUE Existing target file will be saved 3.7+
with extension '.bak'
FALSE Existing target file will be
overwritten without backup
Recursive boolean TRUE Sub-directories will be handled 1.0+
FALSE Sub-directories will not be handled
Name string any Name of a single file in the target 3.0+
directory Destination to copy a
single file with a different name.
PendingFileHandling boolean TRUE If a file is being accessed by other 3.4+
applications, it will be replaced
during the restart of the Windows
system.
FALSE If a file cannot be overwritten
because it is used by other
applications, an error occurs.
J/Install
Name Type Value Meaning V
PreserveDate boolean TRUE Applying date/time of source file 3.6+
FALSE Date/time of source file will be
changed to current system time for
target file
PreserveAttribute boolean TRUE Applying file attributes of source 3.6+
file on target file
FALSE Source file attributes will not be
used; Archive attribute will be set
Type string ALWAYS Files are always copied. 1.0+
MODSEG Files are only added if the 3.3+
MODSEG is higher than the files
that already exist. If both files have
no MODSEG, the date and time
are being compared. If only one
file has a MODSEG, this file is
regarded always as most current
one.
NEWER Files are only added if they are 1.0+
newer than the files that already
exits.
NOTEXISTS Files are copied only if they not yet 3.3+
exist in the target location.
VERSION Files are only added if the version 3.3+
to be copied is is higher than the
version of the file that already
exist. If both files have no version
information, the date and time are
being compared. If only one file
has a version information, this file
is regarded always as most
current one.
<CopyFile>
<Source>{List}\install\[Link]</Source>
<Destination>c:\productizing\hw\current</Destination>
</CopyFile>
Element definitions
Name Type Value Meaning V
Name string any Directory to be created 3.3+
J/Install
The command CreateList
This command creates a text file containing a list of filenames or directories
that can be used by other commands when applying the parameter {List}.
Attribute definitions
Name Type Value Description V
Element definitions
Name Type Value Meaning V
Source string any Specification of the source directory as a 3.7+
filemask with directory names; the use of
the Windows-specific wildcard characters *
and ? for character strings and individual
characters is supported
ResultFile string any Text file with list of files 3.7+
Recursive boolean TRUE Sub-directories will be handled 3.7+
FALSE Sub-directories will not be handled
Type string FILE Applies on files 4.1+
DIR Applies on directories
Name boolean TRUE Return of name without leading path 4.1+
FALSE Return of name including leading path
Element definitions
Name Type Value Meaning V
Shortcut string any Name of shortcut file 3.4+
Target string any Name of file the shortcut refers to 3.4+
Parameters string any Call parameters 3.4+
Folder string any Working folder 3.4+
Style string NORMAL Normal execution 3.4+
MIN Minimized execution
MAX Maximized execution
J/Install
The command Decompress
This command decompresses ZIP or JAR archives in the specified target
directory.
Attribute definitions
Name Type Value Description V
Element definitions
Name Type Value Meaning V
Source string any Name of ZIP archive including 3.0+
path; by using the wildcards ‘?’ for
any single character and ‘*’ for any
strings, multiple files can be
addressed, that will then
uncompressed in their alphabetical
order.
Decompressing archives
referenced in a text file:
If the content of the referenced file
starts with the prefix ’{List}’, all
archives listed behind this prefix
will be decompressed.
Destination string any Target directory 1.0+
J/Install
Name Type Value Meaning V
PreserveAttribute boolean TRUE Applying file attributes of source file 3.8-
on target file 5.0
FALSE Source file attributes will not be
used; Archive attribute will be set
PreserveAttribute boolean TRUE Applying file attributes of source file 6.0+
on target file
FALSE Source file attributes will not be
used; Archive attribute will be set
ResultFile string any Text file, that will contain a list of 3.7+
archives which have been
processed during the
uncompressing.
Name Description V
Fallback "The definition Fallback" on page 2-96 3.1+
FallbackExecuteRestorePost "The definition FallbackExecuteRestorePost" on 3.1+
page 2-95
FallbackExecuteRestorePre "The definition FallbackExecuteRestorePre" on 3.1+
page 2-95
FallbackExecuteSavePost "The definition FallbackExecuteSavePost" on page 2-95 3.1+
FallbackExecuteSavePre "The definition FallbackExecuteSavePre" on page 2-95 3.1+
Keep "The definition Keep" on page 2-97 3.1+
KeepValue "The definition KeepValue" on page 2-98 3.1+
ProClassic "The definition ProClassic" on page 2-98 3.4+
Variable "The definition Variable" on page 2-100 3.4+
J/Install
The definition FallbackExecuteRestorePost
This definition specifies programs that shall be executed after restoring the
Fallback information finishs.
The attribute definitions are similar to the element definitions (in small letters)
of command <Execute> (see "The command Execute" on page 2-110).
Required rights
If J/Install is running without administrative rights, it has to be ensured that
the user who is running the installation has been granted full access rights to
the affected registry keys.
Attribute definitions
Name Type Value Meaning V
name string any File or directory name; with FILE and 3.1+
ZIP the wildcard '?' for any single
character or the wildcard '*' for any
strings can be applied.
If the type attributis set to ’REG’, this
attribute holds the name of the
registry key. Note that only registry
keys or hive
HKEY_LOCAL_MACHINE can be
stored. Wildcards are not permitted
with type =REG.
type string FILE Only filenames of the current 3.1+
directory are affected.
DIR Directories including the contained
files are affected.
ZIP Files in ZIP archives are affected 3.4+
DECOMPRESS All files referred in a properties file 3.4+
and contained in ZIP archives, are
affected
REG The registry key specified with the 6.8+
name attribute will be stored.
J/Install
Name Type Value Meaning V
recursive boolean TRUE Sub-directories are affected with DIR 3.1+
FALSE Sub-directories are not affected with
DIR
root string any Target directory for unzipping file 3.4+
prefix string any Consideration of ZIP files referred in 3.4+
the properties file and that begin with
this prefix
Example 2-42 Specification of a Fallback definition for a directory to be saved including sub-directories
<Definition>
...
<Fallback type="DIR" name=”C:\PACKAGE” recursive=”true” />
<Fallback type="FILE" name="C:\[Link]"/>
<Fallback type="ZIP" name="C:\[Link]" root="c:\"/>
<Fallback type="DECOMPRESS" name="C:\[Link]"
prefix="decompress"/>
<Fallback type="REG" name="SOFTWARE\Wincor Nixdorf" />
...
</Definition>
Example 2-43 Specification of a Keep definition for a directory to be saved including sub-directories
<Definition>
...
<Keep type="DIR" name=”C:\PACKAGE” recursive=”true” />
...
</Definition>
J/Install
Example 2-45 Specification of a ProClassic definition
<Definition>
...
<ProClassic/>
...
</Definition>
J/Install
The command Delete
This command deletes one or more files or directories.
Attribute definitions
Name Type Value Description V
Element definitions
Name Type Value Meaning V
Type string FILE Deletes files. 3.0+
DIR Deletes directories.
Name string any File or directory to be deleted; for 3.0+
type FILE wildcards ‚?’ for single
characters or ‚*’ for any strings can
be used; for type DIR no wildcards
are allowed.
A text file with a list of Name entries
can be provided with prefix {List}.
Extended syntax (V6.9+):
Comma-separated list of filenames
or folder names that shall be deleted.
Backup boolean TRUE The file to be deleted will be saved 3.7+
with '.bak' extension before deletion.
FALSE File will be removed without backup.
PendingFileHan boolean TRUE If a file is being accessed by other 3.4+
dling applications, it will be deleted during
the restart of the Windows system.
FALSE If a file cannot be deleted because it
is used by other applications, an
error occurs.
Element definitionen
Name Type Value Meaning V
Name string any Simple syntax: 6.9+
Name of Registry key to be deleted.
Extended syntax:
Comma-separated list of Registry
keys to be deleted.
Example 2-49 Deleting more than one Registry keys with command DeleteRegistryKey
<DeleteRegistryKey description="Delete all unnecessary registry keys.">
<Name>{V:[Link]}</Name>
</DeleteRegistryKey>
where
<Variable description="List of registry keys which MAY NOT exist before
installation.">
<Name>[Link]</Name>
<Value>HKLM\SOFTWARE\Wincor Nixdorf\ParacNT,HKLM\SOFTWARE\Wincor Nixdorf\
ProInstall,HKLM\SOFTWARE\Wincor Nixdorf\ProTopas</Value>
</Variable>
J/Install
The command Dialog
This command interprets a dialog file.
Attribute definitions
Name Type Value Description V
Element definitions
Name Type Value Meaning V
Type string INI INI file (ProInstall) 3.0+
File string any Filename of dialog file 3.0+
1.<x> within the keyword represents the incrementing number of keyword CHAIN
[DIALOG1]
...
You can use the keywords below to enter numeric and alphanumeric values.
The value is appended on the parameter to be entered. Bold keywords must
be used, all others are optional.
If the dialog represents a dropdown list box, use the keywords below. The
value is appended on the parameter to be entered. Bold keywords must be
used, all others are optional.
J/Install
Keyword Value Meaning
SECTION<x> <Section> Section in which the parameter is to be written; this
keyword may not be given if the file has properties
format.
IDENT<x> <Keyword> Key of the parameter to be written.
CHAIN xx Number of dialog elements
FIELD<x> <String> Selectable text to be displayed; max. 10 values for
selection can be provided; <x> within the keyword
represents the increasing number from keyword
CHAIN.
ON_VALUE<x> <String> Assigns the selection FIELD <x> the value that is to be
written
#LINK# New dialog that shall be called if this option was
selected
LINK<x> <Section> Specification of the dialog that is to be called with entry
#LINK#
EXIT Ends dialog
STEP <Section> Jumps to another dialog or section.
Important
Note that using LINK requires a dialog area that is composed of the name of
the current dialog and the LINK entry. If, for example, a link to DSPL is set in
area DIALOG1, an area with the name DIALOG1DSPL is expected.
The dialog of ProInstall is cancelled if the jump label does not exist.
Sample dialogs
The following two dialog examples should give an idea of how dialogs are
structured and keywords can be used.
The first example includes two dialogs:
• an interface card has to be selected
• an X.25 call number must be entered.
In order to comprehend the examples better dialogs, the individual lines are
numbered and commented at the end of the dialog.
Example 2-52 Coding and comments for the first dialog sample
1) [DIALOG]
2) CHAIN = 2
3) [DIALOG1]
4) TEXT = Please choose Rocket Board Card Type
5) TYPE = OPTFIX
6) CHAIN = 2
7) FIELD1 = Rocket PCI
8) FIELD2 = Rocket ISA
9) ON_VALUE1 = RocketPCIP2.nt4
10)ON_VALUE2 = RocketISAP2.nt4
11)FILE = C:\INSTALL\CUSTOM\[Link]
12)SECTION = STRICT_INSTALL_OEM
13)IDENT = PACKAGE3
14)[DIALOG1]
15)TEXT = own_X.25-Nummer
16)DEFAULT = 026411525011170
17)TYPE = NUMVAR
18)LENGTH = 15
19)FILE = C:\INSTALL\CUSTOM\[Link]
20)SECTION = X25
21)IDENT = LOCALADR
Comments
Line 1: Start of dialog
Line 2: Number of dialogs to be executed
Line 3: Dialog designation
Line 4: Assign text to be displayed
Line 5: Specify type of selection (dialog box - either/or decision)
Line 6: Number of selection options
Line 7: Text to be displayed for the first selection option
Line 8: Text to be displayed for the second selection option
Line 9: Value assigment of the first selection (internal)
Line 10: Value assignment of the second selection (internal)
Line 11: Address of file to be changed
Line 12: Section in file to be changed
Line 13: Parameter within the file to be changed to which the value should be
assigned
Line 14: Dialog designation
Line 15: Assign text to be displayed
Line 16: Input field (default value is preset)
Line 17: Define input type
Line 18: Restriction of input length
Line 19: Address of file to be changed
Line 20: Section in file to be changed
Line 21: Parameter within the file to be changed to which the value should be
assigned
The second example is more extensive. The STEP and LINK keywords are
used here. The specified dialog is used to configure a display and a keyboard,
and assign a value.
J/Install
Example 2-53 Coding and comments for the second dialog sample
1) [DIALOG]
2) CHAIN = 1
3) [DIALOG1]
4) TEXT = Please choose configuration type
5) TYPE = OPTFIX
6) CHAIN = 3
7) FIELD1 = Configure Display
8) FIELD2 = Configure Keyboard
9) FIELD3 = Exit
10)ON_VALUE1 = #LINK#
11)ON_VALUE2 = #LINK#
12)ON_VALUE3 = #LINK#
13)LINK1 = DSPL
14)LINK2 = KBD
15)LINK3 = EXIT
16)FILE = NONE
17)SECTION = NONE
18) IDENT = NONE
19)[DIALOG1DSPL]
20)TEXT = Display Configuration
21)TYPE = WRITEPARAM
22)FILE = C:\INSTALL\CUSTOM\[Link]
23)SECTION = HARDWARE
24)IDENT = DISPLAY
25)VALUE = xxxxxxx
26)LINK = DRIVER_DSPL
27)[DIALOG1DRIVER_DSPL]
28)TEXT = Driver for Display
29)TYPE = WRITEPARAM
30)FILE = C:\INSTALL\CUSTOM\[Link]
31)SECTION = DRIVER_DSPL
32)IDENT = DRIVER
33)VALUE = xxxxxxx
34)STEP = DIALOG1
35)[DIALOG1KBD]
36)TEXT = Keyboard Configuration
37)TYPE = WRITEPARAM
38)FILE = C:\INSTALL\CUSTOM\[Link]
39)SECTION = HARDWARE
40)IDENT = KEYBOARD
41)VALUE = xxxxxxx
42)STEP = DIALOG1
J/Install
The command Exception
This command stops the processing of the control file and generates an error
message. Use this command, for example to simulate a runtime error.
Attribute definitions
Name Type Value Description V
Element definitions
Name Type Value Description V
Text string any Error message to be displayed 4.1+
Attribute definitions
Name Type Value Description V
Element definitions
Name Type Value Meaning V
Program string any Name and path of the 1.0+
program to be executed
Access string WOW32 Accessing the 32 bit area of 5.0+
the file system
WOW64 Accessing the 64 bit area of
the filesystem
ErrorCode integer any numerical Expected return values in -2.2
value case of execution errors; 3.0+
multiple values are separated
using the pipe symbol ('|')
ErrorFile string any The existence of such a file -2.2
indicates that the processing 3.0+
results in errors; multiple
values are separated using
the pipe symbol ('|')
ErrorLogFileContent string any Directory and file name of a 1.4+
ToAdd log file; the contents of the log
file are added to the file
specified by the element <
LogFile> .
ErrorLogFileContent string any Character set, for example 4.0+
ToAddEncoding ISO-8859-1, UTF-8, UTF-16
Folder string any Specification of a working 3.0+
directory
LogFile string any Complete path to log file 1.4+
(inclusding filename); if this
element is empty or missing
the default
JINSTALL_ROOT%\
[Link] is used
LogFileEncoding string any Character set, for example 4.0+
ISO-8859-1, UTF-8, UTF-16
J/Install
Name Type Value Meaning V
LogFileContentToAd string any Directory and file name of a 1.4+
d log file; the contents of the log
file are added to the file
specified by the
element<LogFile>
LogFileContentToAd string any Character set, for example 4.0+
dEncoding ISO-8859-1, UTF-8, UTF-16
Parameters string any Call parameters 1.0+
Output boolean TRUE Console output of STDOUT, 4.1+
STDERR and Trail
FALSE No console output of
STDOUT, STDERR and Trail
PendingFileHandling boolean TRUE An existing Regsitry entry 4.2+
PendingFileRenameOperatio
ns is going to be removed
before carrying out the
command and restored after
running the command.
FALSE No manipulation of Registry
entry
PendingFileRenameOperatio
ns atall.
SuccessCode integer any numerical Expected return values in -2.2,
value case of a successful run; 3.0+
multiple values are separated
using the pipe symbol ('|')
SuccessFile string any The existence of such a file -2.2
indicates that the processing 3.0+
ends sucessfully; multiple
values are separated using
the pipe symbol ('|')
TailFile string any Directory and file name of a 4.1+
Tail file; the contant of that Tail
file is being appended to the
file specified with element
<LogFile>
TailFileEncoding string any Character set, for example 4.1+
ISO-8859-1, UTF-8, UTF-16
UnattendParameter string any valid call Call parameter for unattended 1.0+
parameter execution;
The parameter specified here
is used instead of the
parameter specified with the
<Parameter> element when
J/Install is executed with the
unattend calling parameter.
Variable string any Name of a user-specific 3.0+
variable that contains the
program exitcode
Note that the batch file must end with command exit!
J/Install
The command Exit
This command ends the processing of the control file.
Attribute definitions
Name Type Value Description V
Element definitions
Name Type Value Meaning V
Code integer 0 The value '0' indicates the successful 3.0+
processing of the control file.
<>0 A value <>0 indicates the processing
stop after errors occur.
Text string any Error text to be displayed 3.4+
Element definitions
Name Type Value Meaning V
File string any Filename of property file 3.0+
Prefix string any Significance if properties that start 3.0+
with this prefix
Task string Compress Command to be executed 3.0+
ConfAutologon
ConfNonAdmin
CopyFile
CreateDir
CreateList
CreateShortcut
Decompress
Definition
Delete
Execute
GetValue
Import
ModifyEnvironm
entVariable
ModifyTextFile
ModifyValue
Register
Script
SetVariable
WriteLog
WriteVersion
J/Install
Example 2-58 Sample of an external J/Install definition file (single occurence)
[Link] = unpack [Link]
[Link] = c:\install\custom\[Link]
[Link] = c:\
Example 2-59 Sample of an external J/Install definition file (more than one occurrence of the command)
[Link] = unpack [Link]
[Link] = c:\install\custom\[Link]
[Link] = c:\
#
[Link] = unpack [Link]
[Link] = c:\install\custom\[Link]
[Link] = c:\
[Link] = {Ask:WN}
Numeric counter
Numeric counters must not have leading zeros.
J/Install
The command Fallback
This command saves information that have been specified with the command
Definition and its elements FallbackValue, Fallback and
FallbackExecute<xxx>, and restores these information in case of errors or if
required for the installation.
Note
In addition, information that have been specified with command Definition
and its elements KeepValue and Keep, are being stored.
Attribute definitions
Name Type Value Description V
Element definitions
Name Type Value Meaning V
Type string SAVE Saves the Fallback information 3.1+
RESTORE Restores the saved Falback
information
Folder string any Directory that shall be used to store 3.1+
the saved Fallback information for
type ='SAVE' (Default:
%JINSTALL_ROOT%\fallback)
OmitRegistry boolean TRUE Backup of Registry is omitted. 6.6+
FALSE Backup of Registry will be carried -6.8
out. For more information see below. 6.9+
Reboot boolean TRUE Automatic reboot after restoring of 3.4+
Fallback information
FALSE No automatic reboot after restoring
of Fallback information
Registry-Backup
If the Windows Registry shall be saved during processing the <Fallback>
command (element OmitRegistry is not present or set to ’FALSE’), the backup
processing is controlled by the <Fallback> entries of the <Definition>
command.
Complete backup of If no <Fallback> entries of type ’REG’ are present with the <Definition>
Registry command, the entire Registry will be saved. Saving is being carried out using
the [Link] tool. Note that administrative rights are required for a
complete Registry backup!
This scenarion has been supported by J/Install for several releases.
Partial backup of If there are any <Fallback> entries of type ’REG’ for the <Definition>
Registry command, only Registry keys specified there will be saved. Note that only
Registry keys of hive HKEY_LOCAL_MACHINE can be saved. The backup is
being carried out using the Windows tool [Link]. No administrative rights
are required for this type of backup. Therefor it is recommended for use cases
when J/Install is running with default user rights.
Related information:
"The command Definition" on page 2-94
Example 2-64 Example for the use of command Fallback for type SAVE
<Fallback>
<Type>SAVE</Type>
<Folder>c:\jinstall\fallback</Folder>
<Reboot>TRUE</Reboot>
</Fallback>
Note
If, in case of an J/Install error or exception, Fallback information exist, that
were created by calling this command with type SAVE, these information will
be restored automatically by J/Install.
J/Install
The command GetSource
This command is used to request data media.
Attribute definitions
Name Type Value Description V
Element definitions
Name Type Value Meaning V
Text string any Request text for the data medium 1.0+
Variable string <Variable> User variable that saves the selected 2.0+
directory;
before the selection window is
opened, a check is performed to
determine whether the directory
stored in this variable meets the
requirements for the GetSource
command. If these requirements are
met, no data medium is selected.
Otherwise you can select the data
medium/directory in a dialog.
CopyDestination string any Target directory for the files to be 1.0+
copied;
the <CopySource> element must be
available
CopyRecursive boolean TRUE Sub-directories are copied 1.0+
FALSE Sub-directories are not copied;
the <CopySource> and
<CopyDestination> elements must
be available
Using placeholders
You can use the wildcard "{CurrentSource}", to access the data
medium/directory that the GetSource command has called last. The
placeholder is preset with the value from the JInstallCurrentSource
property in the [Link] file whenJ/Install is started.
J/Install
The command GetTextFile
Use this command to read a text line from a text file and assign it to a
user-spcific variable.
Attribute definitions
Name Type Value Description V
Elementdefinitionen
Name Type Value Description V
File string any Filename 4.1+
Line integer 1-x Line number 4.1+
Variable string any Variable name 4.1+
Default string any Default value 4.1+
Encoding string any Character set (for example 4.1+
ISO-8859-1, UTF-8, UTF-16)
Trim boolean TRUE Removes leading and trailing 4.1+
whitespace characters from the
line
FALSE No remove of whitespaces at all
Element definitions
Name Type Value Meaning V
Input string any List of token 3.3+
Variable string any Variable name 3.3+
Token integer any Token to be searched for; 3.3+
alternatively a token can be
addressed directly via
{TokenPos}<Position>, whereas
the token list starts with 1
Delimiter string any Delimiter for token list 3.3+
CaseSensitive boolean TRUE Case-sensitive check 3.3+
FALSE No case-sensitive check
J/Install
The command GetValue
This command reads a parameter value from a file or the Windows Registry
and assigns it to a user-specific variable. The checked entries are addressed
via file paths. For a description of the different addressing procedures see
section "Data access paths" on page 2-174.
Attribute definitions
Name Type Value Description V
Element definitions
Name Type Value Meaning V
Type string INI INI file 2.0+
REG Registry
PROPERTY Properties file
PCE PC/E file
XML XML files 4.0+
File string any File name 2.0+
HKCR or HKEY_CLASSES_ROOT
HKEY_CLASSES_ROOT
HKCU or HKEY_CURRENT_USER
HKEY_CURRENT_USER
HKLM or HKEY_LOCAL_MACHINE
HKEY_LOCAL_MACHINE
HKCC or HKEY_CURRENT_CONFIG
HKEY_CURRENT_CONFIG
HKU or HKEY_USERS HKEY_USERS
Path string <IniPath> Reference to INI file 2.0+
<RegPath> Refers to registry
<Property> Property in property file
<PcePath> Reference to PC/E file
<XmlPath> Reference to XML file 4.0+
Variable string any Variable name 2.0+
default string any Default value 2.0+
<GetValue>
<Type>INI</Type>
<File>c:\hw\hw_conf.ini</File>
<Path>[{Value}^[Link]]FILE1</Path>
<Variable>MyVar</Variable>
</GetValue>
<GetValue>
<Type>INI</Type>
<File>c:\hw\hw_conf.ini</File>
<Path>[{Value}^[Link]]</Path>
<Variable>MyVar</Variable>
</GetValue>
<GetValue>
<Type>PROPERTY</Type>
<File>c:\[Link]</File>
<Path>[Link]</Path>
<Variable>MyVar</Variable>
</GetValue>
<GetValue>
<Type>XML</Type>
<File>c:\[Link]</File>
<Path>/Custom/Variables/Variable[@name='Umlaute']</Path>
<Variable>MyVar</Variable>
<Default>default</Default>
</GetValue>
J/Install
The command Import
This command imports Windws INF or Registry (Reg) files.
Attribute definitions
Name Type Value Description V
Element definitions
Name Type Value Meaning V
Type string INF INF files 3.0+
REG REG files
File string any Filename; by using wildcards more 3.0+
than one file can be processed
Access string WOW32 Accessing the 32 bit area of the file 5.0+
system
WOW64 Accessing the 64 bit area of the
filesystem
PostAction string NOTHING File will not be changed after 3.0+
importing.
DELETE File will be deleted after importing.
RENAME After importing the file will be
renamed as follows:
*.<Extension> -> *.P<Extension>
Element definitions
Name Type Value Meaning V
Folder string any Folder where the JRE to be installed 4.2+
is located; more than one filename
can be set by using the pipe symbol
('|'); filename of the setup must follow
the structure
jre-<version>-windows-<type>.exe,
for example
[Link].
Version string any or NONE Version of JRE to be installed; the 4.2+
version must be provided this way: 7.3+
<Family>u<Update>, for example
7u9; the keyword NONE suppresses
the JRE installation
As of version 7.3 J/Install supports
installation of Diebold Nixdorf
OpenJDK JRE. In this case the value
of Version must follow this format:
<Family>u<Update>dn.<Build>, for
example ’8u151dn.0’.
Please note usage of element
Destination below!
Variable string any Environment variable holding the 4.2+
installation folder for the JRE version
Destination string any Target destination where the JRE is 7.3+
to be installed.
This parameter is mandatory for
Diebold Nixdorf OpenJDK JRE
installations!
For Oracle JRE installations this
parameter is ignored.
Static boolean TRUE Static installation 4.2+
FALSE Patch-In-Place installation
Type string I586 x86 installation (32 bit) 4.2+
X64 x64 installation (64 bit)
J/Install
Example 2-70 Example for the use of command Jre with Oracle JRE installtion
with Oracle JRE installa
<Jre>
<Folder>{V:PROCLASSIC}\INSTALL\JRE</Folder>
<Version>7u9</Version>
<Variable>APPLICATION_JAVAHOME</Variable>
<Type>i586</Type>
<Static>false</Static>
</Jre>
Example 2-71 Example for the use of command Jre in ProFlex4 product installer
<Jre description="Installing JRE either from customizing disk or from CD.">
<!--
JRE must be provieded on one of the 3 sites:
1. Customizing disk, root folder.
2. Installation CD, folder 'Install\Jre'.
3. Customizing disk, folder 'Jre' (backward compatibility).
The first found JRE is installed.
-->
<Folder>{V:CUSTOM_FOLDER}|{V:PROCLASSIC}\INSTALL\JRE|{V:CUSTOM_FOLDER}\
JRE</Folder>
<Version>{V:[Link]}</Version>
<!-- Only for DN's OpenJDK JRE installations: JRE target installation folder. -->
<Destination>{E:ProgramFiles}\Java\jre1.{V:[Link]}</Destination>
<Variable>APPLICATION_JAVAHOME</Variable>
<Type>{V:[Link]}</Type>
<Static>{V:[Link]}</Static>
</Jre>
Element definitions
Name Type Value Meaning V
Type string SAVE Storing the Keep information 3.0+
RESTORE Restores the saved Keep information
Folder string any Directory that shall be used to store 3.0+
the saved Keep information for type
SAVE (Default:
%JINSTALL_ROOT%\keep)
J/Install
The command Loop
This command is processing all commands within element Do in a loop.
Attribute definitions
Name Type Value Description V
Element Meaning V
Counter Executing a defined number of loop runs; see "The Counter loop" on 4.1+
page 2-130
Endless Endless execution; see "The Endless loop" on page 2-130 4.1+
FileExists Execution if a file or directory exists; see "The FileExists loop" on 4.1+
page 2-130
TextFile Linewise execution of a text file; see "The TextFile loop" on page 2-131 4.1+
TokenString Execution of a loop according to the number of tokens in a provided 6.3+
token list; see "The condition TokenExists" on page 2-75
Name Meaning
LoopCounter Loop counter starts with ’1’.
LoopValue Loop value regarding of the loop type, for example the current token if loop
type is ’TokenString’
J/Install
The TextFile loop
This loop is being executed according to the lines of a text file.
Attribute definitions
Name Type Value Meaning V
file string any Filename 4.1+
empty boolean TRUE Empty lines are being considered as 4.1+
lines
FALSE Empty lines are not being considered
encoding string any Character set (for example ISO-8859-1, 4.1+
UTF-8, UTF-16)
resolve boolean TRUE Resolving of J/Install variables 4.1+
FALSE No resolving of J/Install variables
trim boolean TRUE Removing of leading and trailing 4.1+
whitespaces
FALSE No removing of whitespaces at all
Element definitions
Name Type Value Description V
Type string BREAK Stops the complete loop 4.1+
CONTINUE Stops the current loop run
J/Install
The command ModifyEnvironmentVariable
This command is used to change the value of environment variables.
Attribute definitions
Name Type Value Description V
Element definitions
Name Type Value Meaning V
J/Install
The command ModifyPendingFile
This command is used to change the Registry entry
PendingFileRenameOperations.
Attribute definitions
Name Type Value Description V
Element definitionens
Name Type Value Description V
Attribute definitions
Name Type Value Description V
Element definitions
Name Type Value Description V
Input string any Character string 3.3+
Search string RegularExp Regular expression of value to be searched 3.3+
Value string any Value to be set; using the string {RegEx} the 3.3+
result of the regular expression of element
"Search" can be addressed
Occurrence string First Limitation of first value found 3.3+
Every Considers all found values
Variable string any Variable name 3.3+
CaseSensitive boolean TRUE Case-sensitive check 3.3+
FALSE No case-sensitive check
J/Install
The command ModifyTextFile
This command is used to change text files. Use the element Mode to control
the command operation. Depending of the selected mode you can add, delete
or exchange text lines. You can also replace or delete portions of text in a line.
You can use regular expressions for the text you want to change. The section
"Using regular expressions" on page 2-171 describes the different possibilities.
Attribute definitions
Name Type Value Description V
Element definitions
Name Type Value Meaning V
Line string Regular Expr' The value that the line must 2.1+
contain so that it is found
J/Install
Add a line at the beginning of various files:
<ModifyTextFile>
<File>{List}c:\list_files.txt</File>
<Mode>AddLineBegin</Mode>
<Value>Comment</Value>
</ModifyTextFile>
Attribute definitions
Name Type Value Description V
Element definitions
Name Type Value Description V
Input string any List of token 3.3+
Delimiter string any Separator 3.3+
Mode string TokenRemove Deletes a token from list 3.3+
TokenRemoveBegin Removes token at the beginning of 4.0+
list
TokenRemoveEnd Removes token at the end of list
TokenRemoveBefore Removes a token before another
token
TokenRemoveAfter Removes a token behind another
token
TokenSetBegin Puts token at the beginning of list 3.3+
TokenSetEnd Puts token at the end of list
TokenSetBefore Inserts token before position
"Token"
TokenSetAfter Inserts token after position "Token"
TokenSet Puts token in position "Token"
Variable string any Variable name 3.3+
Token string RegularExp Token to be searched; alternatively 3.3+
a token can be addressed directly
via {TokenPos}<Position>, whereas
the token list starts with 1
Value string any the value that must be set 3.3+
CaseSensitive boolean TRUE Case-sensitive check 3.3+
FALSE No case-sensitive check
Occurrence string First Limitation of first value found 3.3+
Every Considers all found values
J/Install
Example 2-84 Example for the use of the command ModifyToken
<ModifyToken>
<Input>Jxfs30,JDevice,Common</Input>
<Delimiter>,</Delimiter>
<Mode>TokenSetAfter</Mode>
<Token>(?i)jxfs.*</Token>
<Value>Custom</Value>
<Variable>MyVar</Variable>
</ModifyToken>
Element definitions
Name Type Value Meaning V
J/Install
Name Type Value Meaning V
J/Install
The command ModifyVariable
This command changes the value of a variable or assigns a new value to a
variable. You can use patterns for the value you want to change. The section
"Using patterns" on page 2-172 describes the different possibilities. Use the
element Mode to control the command operation.
Attribute definitions
Name Type Value Description V
Element definitions
Name Type Value Meaning V
Pattern string any Pattern that is used to represent a numeric value 2.2+
or a date.
Default settings:
for DATE: ’yyyy/MM/dd HH:mm’
for INT: ####################
A description of the patterns can be found in the
section "Using patterns" on page 2-172.
Assigning string:
<ModifyVariable>
<Name>MyVar</Name>
<Type>STRING</Type>
<Value>Dies ist ein Test.</Value>
<Mode>=</Mode>
</ModifyVariable>
Changing string:
<ModifyVariable>
<Name>MyVar</Name>
<Type>STRING</Type>
<Value>x</Value>
<Mode>=</Mode>
<Index>16,16</Index>
</ModifyVariable>
J/Install
The command OsBootLogo
This command changes the boot logo of the operating system.
Attribute definitions
Name Type Value Description V
Element definitions
Name Type Value Meaning V
File string any Source directory and filename of graphics file 3.0+
(file format for Windows XP: BMP, 640x480, 16
Farben)
Element definitions
Name Type Value Meaning V
Type string CHECK Check of fulfillment of 3.0+
installation requirements
INSTALL Installation
SOURCECORRECTION Installing
SourceCorrections
LICENCE Installing permanent
licences
CONFIG Reconfiguration of 7.0+
ProTopas Repository
Manager.
J/Install provides a
ready-to-use script using
this task mode:
%JINSTALL_ROOT%\bin\
proclassic\config\
[Link]
File string any Filename of property file 3.0+
Prefix string any Significance if properties 3.0+
that start with this
’<Prefix>.’
RegFolder string any Directory of RegKey files 3.0+
<Prefix>.<Product>.<Property> = <Value>
J/Install
Example 2-89 Sample of properties file for ProClassic installation
[Link]/[Link] = 20
[Link]/[Link] = NVISION
[Link]/[Link] =
add2,shop_base,shop_postalpf,shop_postalst
[Link]/[Link] = YES
[Link]/[Link] = WN_WHITE_BLUE
[Link] = 33a
[Link].HW_DETECTION = NO
[Link].HW_REG = [Link]
proclassic.PROTOPAS_BASE.VERSION = 12a
[Link] = 00a
Directory structure
On CD the directory Install is located that contains all components that are
required for the installation of the product. For each product different releases
can be provided. For some products an additional differentiation of various
product variants is possible.
A product differentiation is being made using the terms version and release.
The release identifies the scope of work of the product whereas the version
contains also the patch level of the product in addition to the scope of work.
The terms Version and Release are illustrated with the product ProChip/EMV
21.01 in the sample below:
J/Install
Licenced registration keys:
[SECURITY]
INITIALMASTER =498815095
Demo registration keys:
[SECURITY]
INITIALMASTER =499815681
TOPICAL=180
%JINSTALL_ROOT%\[Link]
%JINSTALL_ROOT%\bin\proclassic\demo\[Link]
This batch file requires the directory where the licenced registration keys are
stored. Only those demo registration keys will be replaced where name and
version match the name and version of the corresponding registration key.
If all demo registration keys are replaced by licenced registration keys, the file
[Link] is being deleted and the demo registration key procedure
will be deactivated.
The unattended installation of licenced registration keys (for example remote)
can be carried out with the following commands:
File integrity
The file REG_KEY.INI is protected and may not be modified. Each
modification causes an invalidating of this file, and thus, this file cannot be
processed anymore.
The last two digits (patch level) are determined by the customizing. If
necessary, this part of the version identifier might be changed by the system
integrator.
J/Install
The product registration key procedure
The product registration key procedure has been introduced to enhance the
flexibility in supplying software products. For this procedure the following
requirements must be met:
• REG_KEY.INI (REG_KEY.001, REG_KEY.001, …..); below only the name
REG_KEY.INI is used
• [Link]; this file is located on the ProInstall CD, and it is secured
similar to the REG_KEY.INI file
• Customizing
With this procedure the release identifier of the product is set in the
REG_KEY.INI. The last two digits (patch level) of the version are specified by
the customizing. For example, the product ProCash/NDC emulation version
1.5/00 is specified by the entry '15' in file REG_KEY.INI and entry '00' in file
[Link].
The component versions of product ProCash/NDC emulation is defined with
file [Link]. Here you find the complete version identifier of this
component, for example, ProTopas 41.35. The patch level of the release can
again be overwritten by the customizing.
The figure below illustrates the version determination. In this example a
ProCsh/NDC emulation of version 15.00 will be installed. Among others, this
product contains the component ProTopas version 41.35 in its default scope of
delivery. With customizing this version is overwritten, ProTopas 41.40 will be
installed instead.
Figure 2-4 Version determination using the product registration key procedure
J/Install
Figure 2-5 Determination of installation components case 1: Common method / overloading
component version
Figure 2-7 Determination of installation components case 3: Extended method / full component
version
J/Install
Figure 2-9 Determination of installation components case 5: Extended method / Default component
version
SourceCorrections
If a file [Link] is located in directory <cdrom>\<product>\
<version>\SRCCORR or <cdrom>\<product>\<type>\<version>\
SRCCORR, resp., this file will be unpacked into the root directory of drive C:
after the product installation has been carried out.
In parallel to a ZIP file, a SourceCorrection with the same name and format
can be stored in folder SRCCORR, that is decompressed into the target folder of
the origin ZIP file after decompressing all product archives and before
configuring the product, after the origin ZIP file has been processed.
SourceCorrections might not only located in sub-directory SRCCORR, but also
on the customizing medium in sub-directory SRCCORR. In order to process
those SourceCorrections, the file [Link] has to be extended
accordingly.
Prefix Description
jre JRE settings
definition Specification for command Definition
root Directory Definition
version Alternative version representation that is being displayed in the
overview and that is stored with file [Link].
Example: version=23.00
General parameters
Parameters Description
version Alternative version representation that is being
displayed in the overview and that is stored with file
[Link].
Example: version=23.00
Directory Definition Specification of directory, referred by the ZIP file's content. By using the
wildcards '?' for any single character or '*' for any strings, more than one file
can be addressed.
J/Install
The command Register
This command register existing files (OCX, DLLs) or fonts with the operating
system.
Attribute definitions
Name Type Value Description V
Element definitions
Name Type Value Meaning V
File string any Filename; by using wildcards more than one file 3.7+
can be processed
Access string WOW32 Accessing the 32 bit area of the file system 5.0+
WOW64 Accessing the 64 bit area of the filesystem
Element definitions
Name Type Value Meaning V
J/Install
Name Type Value Meaning V
ExternTrue string Type|File|Path|Value Value that is written instead of 4.0+
reboot/relogon. For more detailed
information about value parts, see the
section "The command ModifyValue"
on page 2-142.
ExternFalse string Type|File|Path|Value Value that is written instead of no 4.0+
reboot/relogon. For more detailed
information about value parts, see the
section "The command ModifyValue"
on page 2-142.
Attribute definitions
Name Type Value Description V
Element definitions
Name Type Value Meaning V
File string any Filename of J/Install file 3.3+
Return boolean TRUE Modfications of variables will affect the calling 3.7+
script
FALSE Modifications of variables will be effective in the
called script only
J/Install
The command SetVariable
This command assigns a value to a user-specific variable.
Attribute definitions
Name Type Value Description V
Element definitions
Name Type Value Meaning V
Name string any Name of variable 3.0+
Value string any Value of variable 3.0+
Attribute definitions
Name Type Value Description V
Element definitions
Name Type Value Meaning V
Text string any Text to be displayed 3.0+
The Message box displayed by the task can be closed by clicking either [ OK ]
button (alternatively press ENTER key on the keyboard) or by [ X] button
(alternatively press ESC key on the keyboard).
Which option was selected is stored in the internal J/Install variable
[Link]. Possible values are either ’OK’ or ’Cancel’. This
variable can be evaluated later in the [Link] script that is running the
<ShowMessage> task.
J/Install
The command ShowTextFile
This command displays the content of a text file.
Attribute definitions
Name Type Value Description V
Element definitions
Name Type Value Meaning V
File string any File name 3.0+
Encoding string any Character set, for example ISO-8859-1, UTF-8, 4.0+
UTF-16
CancelButton boolean TRUE Displays the additional button [Cancel]. Clicking 3.0+
the [Cancel] button results in a error situation.
FALSE Only the button [OK] is being displayed. Clicking
the [OK] button will continue the installation
procedure with the next command.
Element definitions
Name Type Value Meaning V
File string any Name of a ZIP file, that contains an alternative 3.0+
structure that is being processed instead of the
directory %JINSTALL_ROOT%\bin\tuneos.
All files with extension .cmd, .reg, .reg64, .inf and .inf64 will be run,
that are located in sub-directory %JINSTALL_ROOT%\bin\tuneos.
General settings are located in sub-directory \all and are being installed with
J/Install.
User-specific configurations are located in directory \user and will be
processed with the first user logon by calling the batch file
%JINSTALL_ROOT%\bin\tuneos\[Link].
This script is created automatically by J/Install while its run. Changes made by
the script are logged in the file C:\JINSTALL\bin\tuneos\
[Link].
J/Install
REM Reboot or Logoff
%JINSTALL_ROOT%\BIN\[Link] T:5
REM %JINSTALL_ROOT%\BIN\[Link] T:5
PAUSE
REM
:AFTER_USERCONFIG
...
File execution
Files with extesions .cmd64, .reg64 and .inf64 will be run on 64 bit
operating systems in the 64 bit area whereas they will be ignored on a 32 bit
operating system.
All other files with extesion .cmd, .reg and .inf will be run on a 64 bit
operating system in the 32 bit area and without restrictions on a 32 bit
operating system.
Element definitions
Name Type Value Meaning V
J/Install
The command WriteLog
This command adds a log entry to an existing log file.
Attribute definitions
Name Type Value Description V
Element definitions
Name Type Value Meaning V
Entry string any Log entry 1.0+
File string any Full log file details (including path); 1.0+
if this element is not being used, the log
entries will be written into file
%JINSTALL_ROOT%\[Link].
Encoding string any Character set, for example ISO-8859-1, 4.0+
UTF-8, UTF-16
AddLogFileContent string any Directory and file name of a log file; the 1.0+
contents of the log file are added to the
J/Install log File
AddLogFileContent string any Character set, for example ISO-8859-1, 4.0+
Encoding UTF-8, UTF-16
AddVariables boolean TRUE The internal and user-specific variables 3.3+
are written to the log file File
FALSE No logging of internal and user-specific
variables
Attribute definitions
Name Type Value Description V
Element definitions
Name Type Value Meaning V
Name string any Name of software 1.0+
Value string any Version of software -3.6
Value string any Version of software; a previous entry will be 3.7+
removed if no value is provided
File string any Full details of the version file (including path); 1.0+
if the element is not used, the version is written
into file %JINSTALL_ROOT%\[Link].
J/Install
Values and addressing of data
In some commands you can use regular expressions in attibutes or elements
to extend comparisons to a certain section. Using these expressions you can
describe characters or character strings by patterns. This can be compared to
the use of the wildcards '?' and '*' for file name specifications like, for example,
in file selection dialogs. You can use regular expressions to define more
precise constraints. For more informagtion on using regular expressions see
section: "Using regular expressions" on page 2-171.
J/Install can process different file formats. All files are accessed via paths.
J/Instal encapsulates the file access. You only need to know the type of the
configuration file and the entry in this file to access this entry. The section
"Data access paths" on page 2-174 describes the different possibilities.
Using patterns
numbers, percentages and currencies
For pattern strings, the system uses the formatting definitions offered by JRE
version 1.4.2 and higher. A detailed description can be found on the Internet
([Link] Klasse
[Link]).
J/Install
Formatting definition Meaning
; Separator on the left side positive numbers are represented,
whereas on the right negative numbers are represented
- the default sign used as negative prefix
% The number is multiplied by 100 and represented as
percentage value.
%% Similar to ‚%’ but represents per mill.
X All other signs (symbol X) can be used as usually.
Formatting dates
For pattern strings, the system uses the formatting definitions offered by JRE
version 1.4.2 and higher. A detailed description can be found on the Internet
([Link] class
[Link]).
Format: Meaning
y year
M month in year (1 to 12)
MM month in year (01 to 12)
MMM short month in year (Jan, Feb, … Dec)
MMMM long month in year (January, February, … December)
d day in month
h hour (1 to 12)
H hour in day (0 to 23)
m minute in hour
s second in minute
S millisecond
E day in week short (Mo, Tu, … Su)
EEEE day in week long (Monday, Tuesday, … Sunday)
D day in year
F day of week in month
w week in year (calendar week)
W week in month
a AM and PM text
k hour in day (1 to 24)
C hour (0 to 11)
Element or attribute
The file type, the file name and the access path is specified in conditions via
attribute definitions. In commands the file types, file names and access
paths are specified as elements.
Addressing a section: Sections are addressed by the section name in square brackets. [<Section>].
Addressing an entry Parameter-value entries in INI files are accessed by extending the path by the
parameter name: [<Bereich>]<Name>.
J/Install
owner/section are similar, but not identical to property files and must be treated
differently. For this reason you cannot access these files via the type
PROPERTY, but only via the type PCE .
New configuration sections in PC/E configuration files with an owner/section
structure are marked by the line @ Config . The entries Owner = <Owner>
and Section = <Section> define the name of the section.
Parameters in a configuration section are sepecified as follows:
<parameter name>.Value = “parameter value“
<parameter name>.Default = “default parameter value“
<parameter name>.Description = “parameter description“
<parameter name>.ID = “parameter ID that is unique in the PC/E system“
Note
The term "parameter" has different meanings within PC/E and the
customizing. In PC/E a "parameter" is the representation of <parameter
name>. In J/Install a "parameter" is the entire key (as in a property file) =>
<parameter name>.value.
Example 2-106 Section from PC/E configuration file with owner/section structure
Sample PC/E configuration file with owner/section structure
@ Config
Owner = "[Link]"
Section = "DEFAULT_SECTION"
Description = "Complete set of startup parameters. Some of them may be redefined
by the configuration of the server."
Id = "1123735270794"
Version = "1.0"
AccessMode = "Hidden"
[Link] = "wn/html/Init_Develop.html"
[Link] = "wn/html/Init_Develop.html"
[Link] = "First remote html page"
[Link] = "1120163308039"
[Link] = "15"
[Link] = "15"
[Link] = "Time in seconds,in which a
server must establish a connection for a client. Otherwise a lost connection is
assumed. This parameter is reset on reinitialize."
[Link] = "1121752084699"
...
Paths are specified by the owner, the section (section name) and the
parameter name.
Addressing a section Sections are addressed using the section name in square brackets:
[<Owner>:<Section>].
Addressing a section Use the following pattern to select a parameter, whose value fulfils a certain
parameter using condition: [<owner>:<section>]<name>[<condition>]. The formulation of the
conditions condition must conform to the common J/Install rules. For information about
J/Install rules see section "Addressing rules" on page 2-177.
Example 2-107 Section from a PC/E configuration file with no owner/section structure
Variables = ./[Link], [Link]
Variant = {Variant}
[Link].0 = [Link]
[Link].14 = [Link]
[Link].15 = [Link]
[Link].16 = [Link]
[Link].17 = [Link]
[Link].18 = [Link]
[Link].26 = [Link]
[Link].0 = [Link]
[Link].4 = {JDeviceHome}/params/[Link]
[Link].5 = {JDeviceHome}/params/[Link]
[Link].5 = {JDeviceHome}/params/[Link]
[Link].7 = {JDeviceHome}/params/[Link]
[Link].8 = {JDeviceHome}/params/[Link]
[Link].9 = {JDeviceHome}/params/[Link]
[Link].10 = {JDeviceHome}/params/[Link]
[Link].11 = {JDeviceHome}/params/[Link]
[Link].12 = {JDeviceHome}/params/[Link]
[Link].13 = {JDeviceHome}/params/[Link]
[Link].18 = [Link]
[Link].19 = {JDeviceHome}/params/[Link]
[Link].20 = {JDeviceHome}/params/[Link]
[Link].21 = {JDeviceHome}/params/[Link]
[Link].22 = {JDeviceHome}/params/[Link]
[Link].23 = {JDeviceHome}/params/[Link]
[Link].24 = {JDeviceHome}/params/[Link]
[Link].25 = {JDeviceHome}/params/[Link]
[Link].26 = [Link]
...
The parameter [Link].0 in the Example 2-107 file is, for example,
addressed by the path “[Link].0“.
Addressing an entry Use the following pattern to select a parameter, whose value fulfils a certain
using conditions condition: <name>[<condition>].
The formulation of the condition must conform to the common J/Install rules.
For information about J/Install rules see section "Addressing rules" on
page 2-177.
J/Install
If, for example, you want to address the parameter [Link].0 in the
Example 2-107 file, when ist value contains the string {JDeviceHome}, use
the following path: [Link].0[='.*{JDeviceHome}.*'].
Addressing a list entry Multiple entries (versions) of a parameter are marked by the addition
using conditions <number>. In this enumeration numbers may be missing. A condition must be
used to access these parameters independent from their numbers. Use the
following pattern to address these parameters: <name>.#[<condition>].
The statement of a condition has to follow these rules:
Addressing rules
Condition Meaning Example
='<Regular Expr>' Regular Expression must be met ='.*[Link]
$'
!='<Regular Expr>' Regular Expression may not be met !='.*[Link]
p$'
<<Value> less than <value> <20
<=<Value> less than <value> or equal <value> <=20
><Value> greater than <value> >20
>=<Value> greater than <value> or equal >=20
<value>
=<Value> equal to <Value> =20
!=<Value> unequal to <Value> !=20
Apart from the key you need no further data to address properties.
Key:
HKEY_LOCAL_MACHINE\SOFTWARE\Wincor Nixdorf\CSC-W32\CurrentVersion\CSCCNG
Entry:
CURRENCIES (type: REG_SZ, Wert: 1)
Addessing keys: Keys are addressed via the name of the registry key (without main key) in
square brackets: [<Key>].
In the Example 2-109 the key is accessed via “HKLM“ and “[SOFTWARE\
Wincor Nixdorf\CSC-W32\CurrentVersion\CSCCNG]“.
Addressing entries: Entries (parameters) under a key can be accessed by extending the key
address by the parameter name: [<Key>]<Name>.
Addressing standard Each key has a default value. This default value can be accessed in the form:
entries [<Key>](Default).
J/Install
Addressing an entry and In general, a type specification is only required if the entry does not yet exist in
its type definition the Registry or the entry shall be written using a different type. These types are
supported: REG_SZ, REG_EXPAND_SZ, REG_MULTI_SZ, REG_DWORD,
and REG_BINARY. If an entry of type REG_EXPAND_SZ shall be read without
resolving its value automatically, the type REG_EXPAND_SZ must be
provided. Otherwise all placeholders will be resolved.
Addressing a key and an An access definition for a key is required only if with a 64 bit operating system
access definition a 64 bit Registry area shall be addressed .
Otherwise the access by the 32 bit application J/Install is performed within the
32 bit Registry area in a 64 bit operating system (HKEY_LOCAL_MACHINE\
SOFTWARE\Wow6432Node).
Note
A detailed description of this topic is provided with this URL:
[Link]
Access Description
WOW32 Accessing the 32 bit area of the Registry (default)
WOW64 Accessing the 64 bit area of the Registry
Expression Meaning
/ root node
// any structure depth
@ Attribute
* Wildcard
Rating One or more rating expressions optional restrict the node amount.
Ratings are always embedded with brackets and evaluated from the left to the
right.
Operators XPath provides a variety of operators that can be used to compare values,
carry out calculations or evaluate expressions.
Operator Meaning
+ Addition
- Subtraction
* Multiplication
div Division
mod Modulo
= equal
!= not equal
< less than
> greater than
<= less than or equal
J/Install
Operator Meaning
>= greater than or equal
and logical conjunction
or logical disjunction
Error handling
Return codes
A returncode of '0' indicates a successful processing whereas a returncode
unequal '0' indicates the occurrence of errors.
Usually the returncodes '1' and '2' are used:
Returncode Meaning
0 no error
1 call parameter invalid
2 errors during processing
3 errors during processing and successful Fallback
4 Reboot
5 Relogon
6 Package exists
For own projects (for example 'Exit') returncodes higher than '100' should be
used.
Task ID
To enable restarts (see "The command Restart" on page 2-160) and to ease
the error analysis, each command in the J/Install file [Link] is being
assigned a unique ID that is written within brackets in the log file:
All commands of a level will get an ID in numeric ascending order starting with
'001'. For a condition the string 'T_' (true) or 'F_' (false) is being added to the
ID. The numeric order of subsequent commands within the according tree (true
or false) is then started with '001' and is being appended to the already
assigned ID.
Conditions within a condition processing will have a numeric ID, too. However,
this ID has only two digits and is prefixed with 'C'. The example below
illustrates the ID assignation using a sample command sequence:
J/Install
3 Sample installation with J/Install
Encoding 185
The problem
The creation of the file [Link] is determined by specific installation
requirements. If it is required that the latest versions of the operating system
and of Internet Explorer (IE) are available on the system, these components
can be ignored.
The Variables and Sequence sections of the [Link] file are
explained below.
The Variables section The following variables should be defined for the necessary scope of the
PC/E-SmartClient installation:
• CUSTOM
• EPP
• HW
• JBOS
• PCE
The parameters are declared in the variables section.
The Sequence section The individual installation steps are specified in this section.
J/Install
Encoding
<Variables>
<Variable>
<Name>CUSTOM</Name>
<Value/>
</Variable>
<Variable>
<Name>HW</Name>
<Value/>
</Variable>
<Variable>
<Name>PCE</Name>
<Value/>
</Variable>
<Variable>
<Name>EPP</Name>
<Value/>
</Variable>
<Variable>
<Name>JBOS</Name>
<Value/>
</Variable>
</Variables>
In the next step the PC/E installation CD is requested and the Java Runtime
Environment is installed.
The self-extracting archive containing the firmware is then called and saved to
the target system in a separate directory.
The requirements for installing J/Bos have now been met. Installation is
performed in the following steps:
<Reboot>
<Type>ASK</Type>
</Reboot>
...
J/Install
4 Installing ProClassic with J/Install
Using J/Install 3.0 and higher ProClassic can be installed with J/Install. In this
chapter you will find information about the following topics:
In this chapter you will find information about the following topics:
Installation media 188
Installation media
ProClassic CD
The structure of a ProClassic CD is illustrated with the figure below:
Customizing Disk
File Description
[Link] J/Install Customizing file (see "The file [Link]" on page 4-
190)
J/Install
File Description
[Link] PARAC parameters; optional
[Link] PARAC parameters; optional
[Link] Dialog control; optional
[Link] Operating system configuration; this file is used to overwrite the
default settings of the operating system and user configuration;
optional
JRE\*.exe JRE files, optional
PRE\*.ZIP Update archives; the files will be unpacked relative to drive C:;
POST\*.ZIP optional
END\*.ZIP
PRE\*.REG REG files; optional
POST\*.REG
END\*.REG
PRE\*.INF INF files; optional
POST\*.INF
END\*.INF
PRE\[Link] J/Install files; optional
POST\[Link]
END\[Link]
SRCCORR\*.ZIP SourceCorrection; optional (see "SourceCorrections" on page 2-
157)
*.ISS Response files for ProAgent, etc.; by using these files the settings in
the *.ISS files of the corresponding product directories will be
overwritten; optional
Prefix Description
autologon Autologon configuration (processing with setting
’[Link]=true’)
common General settings (see "General settings" on page 4-191)
[Link] Update archives that will be processed right before the J/
Install program sequence is completed
[Link] Update archives, that are called after the installation of the
application
[Link] Update archives, that are called before the installation of the
application
definition Specification of Fallback and Keep information
[Link] Programs that will be run right before the J/Install program
sequence is completed
[Link] Programs, that are called after the installation of the
application finishs
[Link] Programs, that are called prior the installation of the
application starts
nonadmin NonAdmin configuration (processing with setting
’[Link]=true’)
proclassic Specific settings for a ProClassic application installation
To specify ProClassic-specific settings, the format below has
to be used:
proclassic.<artifact-name>.<setting-name>
with:
<artifact-name> - name of ProClassic product or component,
for example PROFLEX4-SDK (produkc), PROFLEX4_BASE
(component), PARACNT (component)
<setting-name> - name of product or component parameter,
for example VERSION, TYPE, USER_ROLE
The parameter VERSION can be used with the two formats
below:
(1) ZZ
(2) [Link] (starting with J/Install, release 6.6/00) with:
ZZ - patch version
X - major version
Y - m inor version
Examples:
proclassic.PROFLEX4_BASE.VERSION = 10
proclassic.PROFLEX4_UI.VERSION = 11.20
product.<Product>.VERSION Version definitions of add-on products; the add-on product is
not being installed if the value NONE is set instead of a
version
J/Install
Prefix Description
[Link] Setting of software versions
J/Install
Settings name Value Description
[Link] <width>x<height> Screen resolution;
Example: 1024x768
Default: screen resolution during installation
The supported resolutions depend on the
installed application.
Sets the following registry parameter:
[HKLM\SOFTWARE\Wincor Nixdorf]
ApplicationScreenResolution
For ProFlex4 applications:
Registry parameter
ApplicationScreenResolution is read by the
application's [Link] script to provide a
correct resolution for the [Link] call inside
the script.
[Link] true Automatic start of application using entry
HKLM\SOFTWARE\Microsoft\Windows\Current
Version\Run
false No automatic start of application
[Link] true Terminal installation
Sets the following registry parameter:
[HKLM\SOFTWARE\Wincor Nixdorf]
ApplicationRuntime
false Developer installation
[Link] true If set to 'true', the global 'shell' parameter in
Windows Registry is changed:
false - Removed: [Link]
- Inserted: Command starting [Link] script.
Available with ProFlex4 product installations,
version R4.2/00 or later.
[Link] true Update
false Initial installation
[Link] any Application user
Sets the following registry parameter:
[HKLM\SOFTWARE\Wincor Nixdorf]
ApplicationStartUser
[Link] true Operating system configuration
false No operating system configuration
[Link] WN, NCR, Vendor name
DIEBOLD, KEBA,
OLIVETTI,
DELARUE,
FUJITSU,
NAUTILUS
JRE settings
Parameters Description
[Link] Version of the JRE to be installed; the version must be
submitted using the pattern <Family>u<Update>, for
example 7u9; the keyword NONE suppresses
installation of an JRE
Example 4-1 Example (<> are used here as delimiters to visualize the issue)
When parsing the line
<[Link] = my test user > (one leading and two trailing blanks
in value)
J/Install processes the following:
<[Link] =my test user>
Parameter value is <my test user>.
J/Install
Example 4-2 Example for file [Link]
#
[Link] = WN
[Link] = LAN
[Link] = Wincor
[Link] = 500
[Link] = Primary
[Link] = ASK
[Link] = 48AF8F955A456A8215AE3CF21ADA7AF0
[Link] = {E:COMPUTERNAME}
[Link] = true
[Link] = false
[Link] = true
[Link] = true
[Link] = true
[Link] = true
[Link] = true
[Link] = c:\install\custom\[Link]
[Link] = c:\install\custom\[Link]
[Link] = true
[Link] = c:\save\fallback
[Link] = true
[Link] = true
[Link] = c:\save\keep
[Link] = 1024x768
[Link] = 32
#
[Link] = 10.10
[Link] = 7u9
[Link] = 10.60
[Link] = 39.20
#
[Link]/[Link] = 00
proclassic.XFS_ADDON.VERSION = 00
proclassic.XFS_ADDON.VENDORNAME = {V:[Link]}
proclassic.XFS_ADDON.SYN = YES
proclassic.XFS_ADDON.SMI = 30
[Link] = 35
[Link]/[Link] = 00
[Link] = 20
[Link] = 11
[Link] = CRSNDC
[Link]/[Link] = 80
[Link]/[Link] = CRSNDC
[Link]/EMV-D/[Link] = 00
[Link]/EMV-D/[Link] = ADDON
[Link]/[Link] = 01
[Link] = 37
#
# [Link] =
# [Link] =
# [Link] =
# [Link] =
#
# [Link] =
# [Link] =
# [Link] =
# [Link] =
#
# [Link] =
# [Link] =
# [Link] =
# [Link] =
#
# [Link] =
# [Link] =
# [Link] =
# [Link] =
#
# [Link] =
# [Link] =
# [Link] =
# [Link] =
#
# [Link] =
# [Link] =
# [Link] =
# [Link] =
#
[Link] = WNUsers0
[Link] = {V:[Link]}
[Link] = {V:[Link]}
[Link] = 0010
#
[Link] = {V:[Link]}
[Link] = {V:[Link]}
[Link] = {V:[Link]}
[Link] = true
#
[Link] = INI
[Link] = c:\[Link]
[Link] = [boot loader]timeout
[Link] = DIR
[Link] = c:\package
[Link] = true
[Link] = REG
[Link] = HKLM
[Link] = [SOFTWARE\Wincor Nixdorf\Custom]
[Link] = DIR
[Link] = c:\custom
[Link] = true
[Link] = c:\install\custom\[Link]
#
[Link] = [Link]/NDC-EMULATION
[Link] = 3.0/00
If for entries with prefix 'common' for a <Value> the string {Ask} or
{Ask:<Default>} is set, the value is going to be requested during runtime.
Whereas for the value {Ask:<Default>} the string <Default> is preset in the
input field, the input field is empty if using the value {Ask}.
Example
[Link] = {Ask:WN}
[Link] = {Ask}
J/Install
Running ProClassic installations
ProClassis can be installed using several ways:
• dialog-guided installation (with user interaction)
• unattended installation, with ProSetup
• unattended installation, without ProSetup
Installing dialog-guided
• On the ProClassic CD, go to the directory
\setup\<Produkt>\R<Version> and run the file [Link].
By using the information stored in file [Link] all required data media
will be requested:
file={J:[Link]}\[Link]
#unattend=true
#test=true
#[Link]={J:[Link]}\custom
#variable.CUSTOM_COPY=false
#[Link]={J:[Link]}\reg
#[Link]={J:[Link]}\update
#[Link]={J:[Link]}\hw
#[Link]=b:\
file={J:[Link]}/[Link]
unattend=true
[Link]={E:PROSETUP_HW}
[Link]={E:PROSETUP_CUSTOM}
#variable.CUSTOM_COPY=false
[Link]={E:PROSETUP_REG}
[Link]={E:PROSETUP_UPDATE}
[Link]={E:PROSETUP_PROCLASSIC}
[Link] = %PROSETUP_PROCLASSIC%/setup/<Produkt>/R<Version>/
[Link]
[Link].instcmd_params = -par:prosetup
file={J:[Link]}/[Link]
unattend=true
[Link]=c:\disks\hw
[Link]=c:\disks\custom
#variable.CUSTOM_COPY=false
[Link]=c:\disks\reg
[Link]=c:\disks\update
[Link]=c:\disks\proclassic
Windows 7
If Windows 7 is running with activated UAC, an installation from a drive
mounted by subst or net use is not possible since this mounted drive is not
available for users with expanded installation rights.
J/Install
Procedure of a ProClassic installation
Action Installation Update
Deleting directory C:\INSTALL\CUSTOM X X
Deleting directory C:\INSTALL\REG X X
Deleting directory C:\INSTALL\HW X X
Requesting a customizing disc and copying it to X X
C:\INSTALL\CUSTOM
Processing an existing dialog control file X X
C:\INSTALL\CUSTOM\[Link]
Reading of settings with prefix 'common' from the X X
customizing file [Link]
Reading of settings with prefix 'product' from the X X
customizing file [Link]
Requesting one or more Registration Key discs and X X
copying them to C:\INSTALL\REG if customizing setting is
'[Link]=true'
Requesting a Hardware disc and copying them to X X
C:\INSTALL\HW if customizing setting is
'[Link]=true'
Checking system requirements (operating system/physical X X
memory)
Checking platform requirements (in case of Wincor Nixdorf X X
systems)
Requesting the ProClassic CD X X
Checking registration keys and components on the X X
ProClassic CD
Specifying the KEEP and FALLBACK information - X
Creating the FALLBACK information - X
Creating the KEEP information - X
Saving all PARAC parameters of file C:\PARAC\[Link] - X
Saving all PARAC parameters of file
C:\INSTALL\CUSTOM\[Link], if no file
[Link] exists
Saving all PARAC parameters of file - X
C:\PARAC\[Link], if no file [Link] or
[Link] exists
Saving all dynamic PARAC parameters, if no files - X
[Link] or [Link] or [Link] exist
Saving all dynamic PARAC parameters, if no files - X
[Link] or [Link] or [Link] exist
Installing JREs required for ProClassic components X X
J/Install
Action Installation Update
Running the programs that are specified in [Link] X X
with prefix '[Link]'
Running the J/Install file [Link] of directory X X
C:\INSTALL\CUSTOM\POST.
Importing REG files from directory C:\PARAC\REG X X
Importing INF files from directory C:\PARAC\REG X X
Processing file C:\PARAC\[Link], that has been X X
created during the ProClassic installation, using PARAC
Restoring the KEEP information - X
Processing file C:\INSTALL\CUSTOM\[Link] X X
using PARAC
Processing file C:\INSTALL\CUSTOM\[Link] X X
using PARAC
Configuring a boot logo, if the customizing entry X X
'[Link]' and the specified file exist
Configuring the operating system if the customizing setting X X
is '[Link]=true'
Configuring the Autologon mode if the customizing setting X X
is '[Link]=true'
Configuring the NonAdmin mode if the customizing setting X X
is '[Link]=true'
Copying a template file [Link] to X X
C:\PROTOPAS\BIN
Setting RUN entry in Registry X X
Unpacking the update archives specified with prefix X X
'[Link]’ in file [Link].
Unpacking ZIP files in alphabetical order from directory X X
C:\INSTALL\CUSTOM\END to directory C:\.
Unpacking REG files in alphabetical order from directory X X
C:\INSTALL\CUSTOM\END
Unpacking INF files in alphabetical order from directory X X
C:\INSTALL\CUSTOM\END
Running the programs that are specified in [Link] X X
using prefix '[Link]'
Running the J/Install file [Link] of directory X X
C:\INSTALL\CUSTOM\END.
Writing the version information set with the customizing X X
option prefix '[Link]'
Displaying a ReadMe file, if the customizing entry X X
'[Link]' and the specified file exist
J/Install
Sequence of a ProClassic start
The ProClassic application is started automatically via the batch file
%PROTOPAS_ROOT%\BIN\[Link] that is referred with the Registry
entry [HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run]ProCash.
Step Action
1 Checking for application user ’[Link]’
2 Displaying of image %PROTOPAS_ROOT%\BIN\[Link] in foreground
3 Applying the screen resolution of setting ’[Link]’
4 Applying the color quality as set with ’[Link]’
5 One-time configuration of application user and reboot
6 Calling of [Link]
7 Calling batch file %PROTOPAS_ROOT%\CONF\[Link]
8 Calling batch file %PROTOPAS_ROOT%\BIN\[Link] for project-
specific actions
9 Calling batch file C:\PARAC\[Link] for PARAC actions
10 Calling batch file %PROTOPAS_ROOT%\BIN\[Link] in order to
start the ProClassic application
J/Install
Keyword Values Meaning
PREFERRED_LOGICALNAMES <list> List of preferred device names with
format <device name>[,<device
name,...]
Can be used in conjunction with
DETECTION_PREFER. If both
keywords are used, the corresponding
values will be merged.
SMI NO Installation without SMI service
20 Installation with SMI 2.0
30 Installation with SMI 3.0
SYN NO Installation without SYN service
YES Installation with SYN service
SYSTEMNAME <Job name> Multivendor system name, optional
[Link] setting is ignored for NCR systems since corresponding hardware is being detected automatically.
System informationen
To remain compatible, with previous installations with ProInstall the information
below are provided:
• Hardware equipment
• Physical and logical XFS services, and CCBase information
• Mappings between hardware and logical services
Hardware equipment
The available hardware configuration is provided in the registry under the
branch:
HKEY_LOCAL_MACHINE\SOFTWARE\Wincor Nixdorf\ProInstall\Hardware
J/Install
Entry Values Description
CardReaderTypeOrg ID_4060, Card reader CSC-W32 identification
ID_4058,
HYBRID,
MANUAL,
SWIPE, ICM300,
ICM330, V2X,
V2XU, V2A,
V2CU, MCT,
ICT3S5
CashCycleManagementProcess DISABLED, XFS customizing parameter
ENHANCED, [Link]
SIMPLE
CashIn yes, no Cash recycler available
CashInP6Data SIGNATURE, Recognition method either signature or
NUMBER serial number
CashInCompareDLL <File name> List of Compare DLLs
CashInInterface V24, USB Cash recycler interface
CashInType CRS, CCDM, Cash-in type
CCDM2, RM2,
RM3, WBA
CashOut yes, no Cash-out module available
CashOutInterface V24, USB Cash-out module interface
CashOutType Vx, NG, CRS, Cash-out module type
RM2, RM3, SCP,
CDMV5, CDMV7
ChequeDeposit yes,no Cheque deposit available
ChequeDepositInterface V24, USB Cheque deposit interface
ChequeDepositType CCDM Cheque deposit type
CoinIn yes, no Coin-in module available
CoinInInterface V24, USB Coin-in module interface
CoinInType REIS, Coin-in module type
NOVOTECH
CoinInTypeOrg R, N Coin-in module CSC-W32 identification
CoinOut yes, no Coin-out module available
CoinOutInterface V24, USB Coin-out module interface
CoinOutType Reis, Azkoyen, Coin-out type
WN, Hess
CoinOutTypeOrg R, A, C, T, O Coin-out module CSC-W32
identification
ContactlessCardReader yes, no Contactless card reader available
ContactlessCardReaderInterface V24, USB Contactless card reader interface
J/Install
Entry Values Description
OperatorPanelType OP01, OP02, Operator panel type
V24_GRAPHIC_
OPL,
USB_GRAPHIC_
OPL,
USB_GRAPHICA
L_OPL,
PROPRINT_LCD
OperatorPanelTypeOrg OP01, OP02, Operator panel CSC-W32 identification
OP03, OP04,
OP05,
PROPRINT_LCD
PassbookPrinter yes, no Passbook printer available
PassbookPrinterGDI yes, no Passbook printer installed as GDI
printer
PassbookPrinterInterface LPT, V24, USB Passbook printer interface
PassbookPrinterLogunit PASSBOOK1 - Passbook printer logical unit name
PASSBOOK16
PassbookPrinterName ND05, HPEM, Passbook printer description
PUH
PassbookPrinterWindowsName Passbook printer Windows printer name
PINpad yes, no PINpad / EPP available
PINpadInterface V24, USB PINpad / EPP interface
PINpadType PINPAD, PINpad / EPP type
EPP_V4,
EPP_V4+,
EPP_V5,
EPP_V6,
PINPAD_SEL,
PINPAD_CIT
PrintingCassette yes, no Printing cassette available
PrintingCassetteGDI yes, no Printing cassette installed as GDI
printer
PrintingCassetteHeight 1,2 Printing cassette height
PrintingCassetteInterface LPT, USB Printing cassette interface
PrintingCassetteName TH50, TH60 Printing cassette description
PrintingCassetteWindowsName Printing cassette Windows name
ReceiptPrinter yes, no Receipt printer available
ReceiptPrinterGDI yes, no Receipt printer installed as GDI printer
ReceiptPrinterInterface LPT, V24, USB Receipt printer interface
ReceiptPrinterLogunit BON1 - BON16 Receipt printer logical unit name
J/Install
It is not possible to assume that all the entries exist For example only the
highlighted information are available. For this reason the entries should be
accessed in the following way:
PCCfgReg /r <Key> <Name> <Default>
HKEY_LOCAL_MACHINE\SOFTWARE\Wincor Nixdorf\ProInstall\Wosassp
Entry Description
Services List of all physical services separated by blanks
Service#<x> Individual physical service
LogServices List of all logical services separated by blanks
LogService#<x> Individual logical service
VendorName Vendor name
CCBase Program call for the PARAC parameter [START_APPLICATION]
CCBASE_SET
CCBaseAddOn Call parameter for the PARAC parameter [START_APPLICATION]
CCBASE_SET
CCBaseCtrl Program call for the PARAC parameter [START_APPLICATION]
CCBASE_CONTROL
CCBaseCtrlAddOn Call parameter for the PARAC parameter [START_APPLICATION]
CCBASE_CONTROL
LOGICAL_OPEN_NAME Mapping of the logical service names
_REPLACEMENT
HKEY_LOCAL_MACHINE\SOFTWARE\Wincor Nixdorf\ProInstall\Wosassp
Entry Description
HW_<Hardware> <logical service>
Softkeys
The allocation and position of softkeys are provided in the Windows registry
using the following registry entry:
HKEY_LOCAL_MACHINE\SOFTWARE\Wincor Nixdorf\ProInstall\Wosassp
Entry Description
FuncKeys Usage of softkey with format <specification FDK1> <specification FDK2>
… <specification FDK8>
FuncKeysPos Position of softkey with format <X position of FDK1>,<Y position of
FDK1>:…:<X position of FDK8>,<Y position of FDK8>
J/Install
Updating the Java Runtime Environment
JreUpdate is a command line tool that can be used to install a Java Runtime
Environment. The executable file [Link] is located in folder
%JINSTALL_ROOT%\BIN. This tool is updating all references of the updated
environment automatically. As an option, this can be carried out also for
ProBase/C and J/Install.
Call parameters /f[older] "<directory>"
Specification of a folder where the JRE setup file with the filename in
notation jre-<version>-windows-<type>.exe is located.
/v[ersion] <version>
Specification of the JRE release that is to be installed or used in notation
<family>u<update>.
With a patch-in-place installation a JRE release is being installed only if
no or a previous JRE release of the same family is already installed.
With a static installation the JRE is being installed if neither a
corresponding family release nor the same static version has been
already installed.
/s[tatic] 0|1
Specification of installation type (optional)
0 - patch-in-place installation (one folder for each family) (default)
1 - static installation (different folder for each release)
/t[ype] i586|x64
Specification of installation type (optional)
i586 - 32 bit (default)
x64 - 64 bit
/j[install] 0|1
Specification of the JRE to be used by J/Install (optional)
0 - no change (default)
1 - change
/p[robase] 0|1
Specification of JRE to be used by ProBase (optional)
0 - no change (default)
1 - change
/r[eboot] 0|1
Specification if a reboot has to be carried out after update (optional)
0 - no reboot (default)
1 - reboot
Return values
Return value Meaning
0 Successful calling and processing
1 Invalid call parameter
2 JRE setup (jre-<version>-windows-<type>.exe) does not exist
3 Failed JRE installation
4 Error while copying the J/Install JRE
5 File %PCE_HOME%\bin\[Link] does not exist
6 Error while writing file %PCE_HOME%\bin\[Link]
7 Error while writing file %PCE_HOME%\bin\[Link]
J/Install
Index Symbols optional 2-119
{CurrentSource}, placeholder 2-120 attributes, J/Install commands 2-53, 2-55, 2-56, 2-
*.properties, J/Install 1-16, 1-20 86, 2-91, 2-110, 2-121, 2-122, 2-123, 2-133, 2-135, 2-
%JINSTALL_JAVAHOME% 1-9 136, 2-137, 2-140, 2-142, 2-145, 2-147, 2-159, 2-160, 2-
%JINSTALL_ROOT% 1-9 162, 2-163, 2-164, 2-165, 2-166, 2-168, 2-169, 2-170
Autologon, set for Windows 2-83
A automatic installation 1-2–1-7
addressing
ini files 2-174 B
PARAC files 2-174 Boot logo, changing 2-147
PC/E files 2-174
properties 2-177 C
registry data 2-178 call, J/Install 1-10
XML files 2-179 cecking conditions
addressing rules 2-177 ChecksumCheck 2-60
administration rights, checking of 2-76 DateTimeCheck 2-61
AskUser, parameters 2-53 DriveCheck 2-62
Attribute FileExists 2-63
description 2-109 IsFalse 2-64
ignoreerror 2-109 IsTrue 2-65
attribute, KeepDefine file TokenExists 2-74
name 2-97 UserIsAdmin 2-76
recursive 2-97 ValueCheck 2-77
attribute, KeepValue ValueExists 2-79
file 2-98 VariableExists 2-81
merge 2-98 checking conditions
path 2-98 IsValidPassword 2-66
type 2-98 MemoryCheck 2-68
attributes RegistryKeyExists 2-71
description 2-53, 2-55, 2-56, 2-58, 2-83, 2-84, 2- RestartCheck 2-72
86, 2-88, 2-89, 2-90, 2-91, 2-94, 2-101, 2- StringCheck 2-73
102, 2-103, 2-110, 2-113, 2-114, 2-117, 2- TextFileCheck 2-73
119, 2-121, 2-122, 2-123, 2-125, 2-126, 2- checking values see ValueCheck, checking condi-
128, 2-129, 2-132, 2-133, 2-135, 2-136, 2- tions 2-77
137, 2-140, 2-142, 2-145, 2-147, 2-148, 2- checksum checking for conditional execution of
159, 2-160, 2-162, 2-163, 2-164, 2-165, 2- commands 2-60
166, 2-168, 2-169, 2-170 ChecksumCheck, checking conditions 2-60
fallback 2-56, 2-86, 2-88, 2-90, 2-91, 2-101, 2-119, command definition, extern 2-114
2-137, 2-142, 2-147, 2-169, 2-170 Command execution (conditional), with J/Install 2-
ignoreerror 2-53, 2-55, 2-56, 2-58, 2-83, 2-84, 2- 58
86, 2-88, 2-89, 2-90, 2-91, 2-94, 2-101, 2- Compress, parameters 2-56
102, 2-103, 2-110, 2-113, 2-114, 2-117, 2- Condition, parameters 2-58
119, 2-121, 2-122, 2-123, 2-125, 2-126, 2- Conditional connection. 2-58
128, 2-129, 2-132, 2-133, 2-135, 2-136, 2- Conditional execution of commands, checking
137, 2-140, 2-142, 2-145, 2-147, 2-148, 2- conditions 2-58
159, 2-160, 2-162, 2-163, 2-164, 2-165, 2- ConfAutologon, parameters, 2-83
166, 2-168, 2-169, 2-170 configuration, J/Launch installation 1-24
operator 2-58 ConfNonAdmin, parameters 2-84
J/Install
ignoreerror 2-53, 2-55, 2-56, 2-86, 2-91, 2- Script 2-162
110, 2-121, 2-122, 2-123, 2-133, 2- SetVariable 2-163
135, 2-136, 2-137, 2-140, 2-142, 2- ShowMessage 2-164
145, 2-147, 2-159, 2-160, 2-162, 2- ShowTextFile 2-165
163, 2-164, 2-165, 2-166, 2-168, 2- TuneOs 2-166
169, 2-170 Wait 2-168
parameters 1-16, 1-20 WriteLog 2-169
process control 2-50 WriteVersion 2-170
variable definition 2-46 J/Install scripts, running 2-162
J/Install command J/Install, logging 1-28
AskUser 2-53 J/Launch installation 1-24
CheckPassword 2-55 JAR files
Compress 2-56 compressing see compressing files, with J/In-
Condition 2-58 stall
ConfAutologon 2-83 decompressing see decompressing files, with
ConfNonAdmin 2-84 J/Install
CopyFile 2-86 [Link] 1-14
CreateDir 2-88 [Link] 1-16
CreateList 2-89 [Link] see configuration, J/Launch in-
CreateShortcut 2-90 stallation
Decompress 2-91 JRE, installation types 2-126
Definition 2-94 Jre, parameters 2-126
Delete 2-101 JRE, settings for installation 4-193
DeleteRegistryKey 2-102 JRE, updating 4-213
Dialog 2-103
Exception 2-109 K
Execute 2-110 Keep, parameters 2-128
Exit 2-113 keeping data, specify 2-94
Extern 2-114
Fallback 2-117 L
GetSource 2-119 logging installation see writing installation log en-
GetTextFile 2-121 tries, with J/Install
GetValue 2-123 logging, installation 1-14
Import 2-125 loop types 2-129
Jre 2-126 Loop, parameters 2-129
Keep 2-128 LoopEnd, parameters 2-132
Loop 2-129 loops
LoopEnd 2-132 conditional 2-129
ModifyEnvironmentVariable 2-133 elements 2-129
ModifyPendingFile 2-135 ending 2-132
ModifyString 2-136 endless 2-129
ModifyTextFile 2-137 linewise 2-129
ModifyToken 2-140 specified times 2-129
ModifyValue 2-142 starting 2-129
ModifyVariable 2-145 token list 2-129
OsBootLogo 2-147
ProClassic 2-148
Restart 2-159, 2-160
M
memory, checking availability 2-68
J/Install
UnattendParameter 2-111 GetValue 2-123
Username 2-160 Import 2-125
Value 2-46 Jre 2-126
Value (starting from version 3.7) 2-170 Keep 2-128
Value (up to version 3.6) 2-170 LoopEnd 2-132
Variable 2-111, 2-119, 2-126 ModifyEnvironmentVariable 2-133
Version 2-126 ModifyPendingFile 2-135
Wait 2-112 ModifyString 2-136
WaitFile 2-112 ModifyTextFile 2-137
parameters, J/Launch ModifyToken 2-140
NoWaitDlg 1-24 ModifyValue 2-142
Parameter 1-24 ModifyVariable 2-145
Parameter. 1-24 OsBootLogo 2-147
Program 1-24 ProClassic 2-148
WaitDlgMessage 1-24 Register 2-159
WaitDlgTerminatingWindowCaption 1-24 Restart 2-160
password, checking against policy 2-66 Script 2-162
Patch files, with J/Install 2-56 SetVariable 2-163
pattern, apply for 2-172 ShowMessage 2-164
Patterns, for regular expressions 2-171 ShowTextFile 2-165
PC/E file, value change with J/Install 2-142 TuneOs 2-166
PCRunAs, chaning user 1-26 Wait 2-168
Popup dialog, displaying 2-164 WriteLog 2-169
Process control, command WriteVersion 2-170
GetTextFile 2-121 processing, stopping with forced error message 2-
Loop 2-129 109
Process control, commands 2-50 ProClassic, installing applications 2-148
AskUser 2-53 product version settings, for J/Install 1-20
CheckPassword 2-55 properties for [Link] 1-16
Compress 2-56 properties for [Link] 1-20
Condition 2-58 Property file, value change with J/Install 2-142
ConfAutologon 2-83
ConfNonAdmin 2-84 R
CopyFile 2-86 Recognition of patterns 2-171
CreateDir 2-88 Register, parameters 2-159
CreateList 2-89 Registry data, addressing 2-174
CreateShortcut 2-90 Registry files, import 2-125
Decompress 2-91 Registry Keys, deleting 2-102
Definition 2-94 Registry, value change with J/Install 2-142
Delete 2-101 RegistryKeyExists, checking condition 2-71
DeleteRegistryKey 2-102 Regular expression see Expression, regular
Dialog 2-103 Restart, parameters 2-160
Exception 2-109 RestartCheck, checking condition 2-72
Execute 2-110
Exit 2-113 S
Extern 2-114 search patterns, using 2-172
Fallback 2-117 Starting programs, with J/Install 2-110
GetSource 2-119 StringCheck, checking conditions 2-73
Strings, compare 2-64, 2-65, 2-73, 2-136 writing installation log entries, with J/Install 2-169
substrings, assigning as values 2-163 writing version entries, with J/Install 2-170
system logon, with J/Install 2-160
X
T XML files, accessing 2-179
text file, displaying 2-165 XPath 2-179
text line, reading 2-121
text lines, check for existence 2-73 Z
text, changing with J/Install 2-137 ZIP files
TextFileCheck, checking conditions 2-73 compressing see compressing files, with J/In-
time check, for conditional execution of com- stall
mands 2-61 decompressing see decompressing files, with
timeout, with J/Install 2-168 J/Install
TokenExists, checking conditions 2-74
tool, JreUpdate 4-213
TuneOS, parameters, 2-166
U
update, JRE 4-213
user settings, perform 2-166
user, changing with PCRunAs 1-26
UserIsAdmin, checking conditions 2-76
V
Value change, for configuration parameters 2-142
Value change, for variables 2-145
Value, check existence 2-74, 2-79
ValueCheck, checking conditions 2-77
ValueExists, checking conditions 2-79
variable types 2-46
Variable, check existence 2-81
variable, internal, J/Install 2-46
Variable, set 2-123, 2-163
VariableExists, checking conditions 2-81
variables
access 2-46
control file 2-46
variables, internal 1-16
version formatting, J/Install 1-13
version settings, J/Install 1-20
version, internal formatting 1-13
[Link] 1-20
W
Wait, Parameter 2-168
wildcards, using 2-91
WriteLog, parameter 2-169
WriteVersion, parameter 2-170