J-Link Installer

From SEGGER Wiki
Revision as of 11:50, 2 August 2019 by Fabian (talk | contribs) (Created page with "The J-Link installer is an NSIS installer which installs the [https://www.segger.com/downloads/jlink/#J-LinkSoftwareAndDocumentationPack J-Link Software and Documentation Pack...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The J-Link installer is an NSIS installer which installs the J-Link Software and Documentation Pack.

Installation options

Install USB Driver for J-Link

Requires admin rights. Installs the USB driver for J-Link devices. Is selected by default. Cannot be set when Install for this user only is selected.

Create entry in start menu

Creates a start menu entry. Is selected by default.

Add shortcuts to desktop

Creates desktop shortcuts for J-Link Commander and J-Flash Is selected by default.

Update DLL in other applications

Requires admin rights. Starts the DLL Updater after installation. Is selected by default. Cannot be set when Install for this user only is selected.

Update existing installation OR Install a new instance

By default, "Update existing installation" is selected. Uninstalls the J-Link version found in the Install directory.

Install for all users OR Install for this user only

By default, "Install for all users" is selected.

Destination Folder

Cannot be set when Install for this user only is selected. It can only be chosen whether the folder ends with _<Version> or not, by switching between Update existing and Install a new instance.
For defaults, refer to Command line options notes, (**).

Command line parameters

The J-Link Installer supports command line usage since version 6.48b. All options selectable in the GUI version of the installer can also be set by command line.

Available command line options

Command line Meaning Default Syntax
-AllUsers Install for all users 1(*) -AllUsers=<1/0>
-StartmenuEntry Create a start menu entry 1 -StartmenuEntry=<1/0>
-ShortCut Create a desktop shortcut 1 -ShortCut=<1/0>
-UpdateEx Will uninstall the existing J-Link version in install directory prior to installation 1 -UpdateEx=<1/0>
-Silent Start installer silent. Note: DLL updater wont be called if set to 1 0 -Silent=<1/0>
The following command lines are ignored, if "-AllUsers=0" is set(*)
-InstUSB Install USB drivers 1 -InstUSB=<1/0>
-UpDlls Start DLL Updater after installation 1 -UpDlls=<1/0>
-InstDir Set the install directory (**) -InstDir=<Path>

Notes: Command line options

(*) Requires admin rights.
(**) There are 4 defaults for the install path:

Presets Default
-AllUsers=1 -UpdateEx=1 %ProgramFiles(x86)%\SEGGER\JLink
-AllUsers=1 -UpdateEx=0 %ProgramFiles(x86)%\SEGGER\JLink_<Version>
-AllUsers=0 -UpdateEx=1 %UserProfile%\SEGGER\JLink
-AllUsers=0 -UpdateEx=0 %UserProfile%\SEGGER\JLink_<Version>