Running the TalendStudio-20160704_1411-V6.2.1-windows-installer.exe in silent mode

Talend Version          6.2.1

Summary

Running the TalendStudio-20160704_1411-V6.2.1-windows-installer.exe in silent mode.
Additional Versions  
Product  
Component Studio installer
Article Type Installation
Problem Description

When running the TalendStudio-20160704_1411-V6.2.1-windows-installer.exe with a configuration file that contains this install option:

TalendStudio-20160704_1411-V6.2.1-windows-installer.exe --optionfile configurationFile.txt

you may see this error message in the windows terminal:

There has been an error. Invalid license
Problem root cause It seems that JAVA_HOME was not set correctly in the TalendStudio-20160704_1411-V6.2.1-windows-installer.exe to read the license.
Solution or Workaround

There are two workarounds for the Studio install without manual interaction.

First workaround

Use the Talend-Installer-20160704_1411-V6.2.1-windows-installer.exe and the dist file with the optionfile that has the following options:

mode=unattended
 unattendedmodeui=minimal
 licenseFile=/path/to/license
 installdir=/where/to/install
 installStyle=advanced
 installType=custom
 enable-components=studio
 disable-components=tac,logserv,mdm,dsc,cmdline,soa,runtime,svn,tdqp,serv,jobserver,esb,sap_rfc

Second workaround

Download Studio (in a Zip format) and a license to the folder, then create a script to unzip the Studio and copy the license to the Studio folder.

 

Example of the install script in Perl:

##################################
#!/usr/bin/perl
 use warnings;
 use strict;
 my $zipfile = 'Talend-Studio-20160704_1411-V6.2.1.zip';

# Unzip the Studio zip file
 my $rc = system( 'unzip', $zipfile ) or warn "$!\n"; 

 my $file1='C:/Talend621/license';
 my $file2='C:/Talend621/Talend-Studio-20160704_1411-V6.2.1/license';

# Copy license to the Studio folder. `cp $file1 $file2`; ##################################
JIRA ticket number  
Version history
Revision #:
3 of 3
Last update:
‎07-17-2017 11:04 AM
Updated by:
 
Labels (1)
Contributors