Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

Error with silent install

1 visualizzazione (ultimi 30 giorni)
Quentin
Quentin il 13 Nov 2012
Hi,
I want to intall matlab with the silent install. How do you do this silent install ? I fail because I have a problem with license. I don't register Matlab during this installation. I enclosed the .log of the fail installation :
(nov. 13, 2012 15:13:54) ##################################################################
(nov. 13, 2012 15:13:54) #
(nov. 13, 2012 15:13:54) # Today's Date:
(nov. 13, 2012 15:13:54) Tue Nov 13 15:13:54 CET 2012
(nov. 13, 2012 15:13:54)
(nov. 13, 2012 15:13:54) System Info
(nov. 13, 2012 15:13:54) OS: Windows 7 6.1
(nov. 13, 2012 15:13:54) Arch: amd64
(nov. 13, 2012 15:13:54) Data Model: 64
(nov. 13, 2012 15:13:54) Language: fr
(nov. 13, 2012 15:13:54) Java Vendor: Sun Microsystems Inc.
(nov. 13, 2012 15:13:54) Java Home: C:\Windows\SoftwareDistribution\Download\Install\sys\java\jre\win64\jre
(nov. 13, 2012 15:13:54) Java Version: 1.6.0_17
(nov. 13, 2012 15:13:54) Java VM Name: Java HotSpot(TM) 64-Bit Server VM
(nov. 13, 2012 15:13:54) Java Class Path:
(nov. 13, 2012 15:13:54) User Name: Administrateur
(nov. 13, 2012 15:13:54) Current Directory: C:\Windows\SoftwareDistribution\Download\Install
(nov. 13, 2012 15:13:54) Input arguments:
(nov. 13, 2012 15:13:54) inputFile installer_input.txt
(nov. 13, 2012 15:13:54) root C:\Windows\SoftwareDistribution\Download\Install
(nov. 13, 2012 15:13:54) tmpdir C:\Windows\SoftwareDistribution\Download\Install
(nov. 13, 2012 15:13:54) standalone true
(nov. 13, 2012 15:13:54) Input file:
##################################################################
##
## Use this file to specify parameters required by the installer at runtime.
##
## Instructions for using this file.
##
## 1. Create a copy of this template file and fill in the required
## information.
##
## 2. Uncomment only those lines that start with a single '#'
## and set the desired values. All allowed values for the
## parameters are defined in the comments section for each
## parameter.
##
## 3. Launch the installer from the command line, using the -inputFile option
## to specify the name of your installer initialization file.
##
## (Windows) setup.exe -inputFile
## (Mac/Unix) install -inputFile
##
## NOTE:
## If you want to run the activation application in silent
## mode immediately after the installer completes, you must create
## an activation initialization file and specify its name as the
## value of the activationPropertiesFile= option. You can also
## pass the name of the activation initialization file to the
## installer using the -activationPropertiesFile command line
## option.
##
##################################################################
##
##
## SPECIFY INSTALLATION FOLDER
##
## Example:
## (Windows) destinationFolder=C:\Program Files\MATLAB\RXXXX
## (Unix) destinationFolder=/usr/local/RXXXX
## (Mac) destinationFolder=/Applications
##
## Set the desired value for destinationFolder and
## uncomment the line.
destinationFolder=C:\Program Files\MATLAB\R2012b
##
## SPECIFY FILE INSTALLATION KEY
##
## Example: fileInstallationKey=xxxxx-xxxxx-xxxxx-xxxxx.....
##
## Set the desired value for fileInstallationKey and
## uncomment the line.
##
# fileInstallationKey=
##
## ACCEPT LICENSE AGREEMENT
##
## You must agree to the license agreement to install MathWorks products.
## The license agreement can be found in the license.txt file at the
## root level of the installation DVD.
##
## Example: agreeToLicense=yes
##
## Set agreeToLicense value to yes or no and
## uncomment the line.
agreeToLicense=yes
##
## SPECIFY OUTPUT LOG
##
## Specify full path of file into which you want the results of the
## installation to be recorded.
##
## Example:
## (Windows) outputFile=C:\TEMP\mathworks_.log
## (Unix/Mac) outputFile=/tmp/mathworks_.log
##
## Set the desired value for outputFile and
## uncomment the line.
outputFile=C:\TEMP\mathworks_silent.log
## SPECIFY INSTALLER MODE
##
## interactive: Run the installer GUI, waiting for user input on all
## dialog boxes.
##
## silent: Run the installer without displaying the GUI.
##
## automated: Run the installer GUI, displaying all dialog boxes, but only
## waiting for user input on dialogs that are missing required
## input.
##
## Set mode value to either interactive, silent, or automated and
## uncomment the line.
mode=silent
## SPECIFY LENGTH OF TIME DIALOG BOXES ARE DISPLAYED
##
## Specify how long the installer dialog boxes are displayed, in milliseconds.
##
## NOTE: Use this value only if you set the installer mode to automated.
##
## By default, the dialog boxes display on the screen for one second.
##
## Example: (To specify a value of 1 second.) automatedModeTimeout=1000
##
## Set the desired value for automatedModeTimeout and
## uncomment the line.
# automatedModeTimeout=
## SPECIFY ACTIVATION PROPERTIES FILE (For non-network license types only)
##
## Enter the path to an existing file that contains properties to configure
## the activation process.
# activationPropertiesFile=
########## Begin: Options for Network License Types #########
##
## SPECIFY PATH TO LICENSE FILE (Required for network license types only)
##
## This value is required when installing either the License Manager or when
## installing as a Network End-User
## Example:
## (Windows) licensePath=C:\TEMP\license.dat
## (Unix) licensePath=/tmp/license.dat
## Set the desired value for licensePath and
## uncomment the line.
# licensePath=C:\license.dat
## CHOOSE TO INSTALL LICENSE MANAGER (For network license types only)
##
## Installs license manager files to disk.
##
## NOTE: You only need to install the license manager files
## on your license server.
##
## Set lmgrFiles value to true or false and
## uncomment the line.
# lmgrFiles=
## INSTALL LICENSE MANAGER AS A SERVICE (For network license types only)
##
## Configure the license manager as a service on Windows.
##
## NOTE: Not applicable for Unix or Mac.
##
## NOTE: The lmgr_files option (set in previous step) must also be set to true.
##
## Set lmgrService value to true or false and
## uncomment the line.
# lmgrService=
########## End: Options for Network License Types #########
################# Begin - Windows Only Options ################
##
## CHOOSE TO SET FILE ASSOCIATIONS
##
## Set to true if you want the installer to associate file types used by MathWorks
## products to this version of MATLAB, or false if you do not want the installer to
## associate MathWorks file types with this version of MATLAB.
##
## Default value is true.
##
## Set setFileAssoc value to true or false and
## uncomment the line.
setFileAssoc=true
##
## CHOOSE TO CREATE WINDOWS DESKTOP SHORTCUT
##
## Set to true if you would like the installer to create a desktop shortcut icon
## when MATLAB is installed or false if you don't want the shortcut created.
##
## Set desktopShortcut value to true or false and
## uncomment the line.
desktopShortcut=true
## CHOOSE TO ADD SHORTCUT TO WINDOWS START MENU
##
## Set to true if you would like the installer to create a Start Menu shortcut
## icon when MATLAB is installed or false if you don't want the shortcut created.
##
## Set startMenuShortcut value to true or false and
## uncomment the line.
startMenuShortcut=true
## CREATE a MATLAB Startup Accelerator task
##
## The MATLAB Startup Accelerator installer creates a
## system task to preload MATLAB into the system’s cache
## for faster startup.
##
## NOTE: By default, a MATLAB Startup Accelerator task will
## automatically be created.
##
## If you want a MATLAB Startup Accelerator task to be created,
## do not edit this section.
##
## Set createAccelTask value to false if you do not want to
## create an Accelerator task and uncomment the line.
# createAccelTask=
################ End - Windows Only Options ################
## SPECIFY PRODUCTS YOU WANT TO INSTALL
##
## By default, the installer installs all the products and
## documentation for which you are licensed. Products you are not licensed for
## are not installed, even if they are listed here.
##
## Note:
## 1. To automatically install all your licensed products, do not edit
## any lines in this section.
##
## 2. To install a specific product or a subset of products for
## which you are licensed, uncomment the line for the product(s) you want
## to install.
#product.Aerospace_Blockset
#product.Aerospace_Toolbox
#product.Bioinformatics_Toolbox
#product.Communications_System_Toolbox
#product.Computer_Vision_System_Toolbox
#product.Control_System_Toolbox
#product.Curve_Fitting_Toolbox
#product.DO_Qualification_Kit
#product.DSP_System_Toolbox
#product.Data_Acquisition_Toolbox
#product.Database_Toolbox
#product.Datafeed_Toolbox
#product.Econometrics_Toolbox
#product.Embedded_Coder
#product.Filter_Design_HDL_Coder
#product.Financial_Instruments_Toolbox
#product.Financial_Toolbox
#product.Fixed_Point_Toolbox
#product.Fuzzy_Logic_Toolbox
#product.Gauges_Blockset
#product.Global_Optimization_Toolbox
#product.HDL_Coder
#product.HDL_Verifier
#product.IEC_Certification_Kit
#product.Image_Acquisition_Toolbox
#product.Image_Processing_Toolbox
#product.Instrument_Control_Toolbox
#product.MATLAB
#product.MATLAB_Builder_EX
#product.MATLAB_Builder_JA
#product.MATLAB_Builder_NE
#product.MATLAB_Coder
#product.MATLAB_Compiler
#product.MATLAB_Distributed_Computing_Server
#product.MATLAB_Production_Server
#product.MATLAB_Report_Generator
#product.Mapping_Toolbox
#product.Model_Predictive_Control_Toolbox
#product.Model_Based_Calibration_Toolbox
#product.Neural_Network_Toolbox
#product.OPC_Toolbox
#product.Optimization_Toolbox
#product.Parallel_Computing_Toolbox
#product.Partial_Differential_Equation_Toolbox
#product.Phased_Array_System_Toolbox
#product.RF_Toolbox
#product.Real_Time_Windows_Target
#product.Robust_Control_Toolbox
#product.Signal_Processing_Toolbox
#product.SimBiology
#product.SimDriveline
#product.SimElectronics
#product.SimEvents
#product.SimHydraulics
#product.SimMechanics
#product.SimPowerSystems
#product.SimRF
#product.Simscape
#product.Simulink
#product.Simulink_3D_Animation
#product.Simulink_Code_Inspector
#product.Simulink_Coder
#product.Simulink_Control_Design
#product.Simulink_Design_Optimization
#product.Simulink_Design_Verifier
#product.Simulink_Fixed_Point
#product.Simulink_PLC_Coder
#product.Simulink_Report_Generator
#product.Simulink_Verification_and_Validation
#product.Spreadsheet_Link_EX
#product.Stateflow
#product.Statistics_Toolbox
#product.Symbolic_Math_Toolbox
#product.System_Identification_Toolbox
#product.SystemTest
#product.Vehicle_Network_Toolbox
#product.Wavelet_Toolbox
#product.xPC_Target
#product.xPC_Target_Embedded_Option
(nov. 13, 2012 15:13:57) Starting local product/component search
(nov. 13, 2012 15:13:57) When running the installer with an input file, you must provide a File Installation Key using the fileInstallationKey option.
(nov. 13, 2012 15:13:57) Exiting with status -1
(nov. 13, 2012 15:13:57) End - Unsuccessful
Thank to help me. Friendly, Quentin Vallin.
PS : Sorry for my bad english, I'm French
  1 Commento
Daniel Shub
Daniel Shub il 16 Nov 2012
I am closing this question for two reasons. First, it looks like you have posted a minimally changed piece of copyrighted MATLAB material. Second, installation questions are best addressed by TMW. Please contact them directly.

Risposte (3)

C.J. Harris
C.J. Harris il 13 Nov 2012
You left the file installation key section blank. You therefore need to add you key and uncomment the line (by removing the # symbol). From your code:
##
## SPECIFY FILE INSTALLATION KEY
##
## Example: fileInstallationKey=xxxxx-xxxxx-xxxxx-xxxxx.....
##
## Set the desired value for fileInstallationKey and
## uncomment the line.
##
# fileInstallationKey=
  1 Commento
Jan
Jan il 13 Nov 2012
In other words: No file installation key, no installation.

Quentin
Quentin il 14 Nov 2012
Hello,
I haven't a key like xxxx-xxxx-xxxx-xxxx. I use the network activation with the .dat license file.
Friendly,
Quentin Vallin
  2 Commenti
Jan
Jan il 16 Nov 2012
As far as I remember, the File-Installation-Key and the network activation are different fields. And usually the shipped licence file is accompanied by the FIK. If not, contact your local Matlab distributor and ask for help. Even the technical support of TMW answers questions about the installation reliably.
Daniel Shub
Daniel Shub il 16 Nov 2012
@Jan there are now silent install and silent activation scripts so that you can install but not activate. It seems like Quentin is prepared to activate but not install.

Quentin
Quentin il 16 Nov 2012
No one have the soluce ?
  1 Commento
Jan
Jan il 16 Nov 2012
Please do not post comments in the Answers section. The Comment sections are thought for this kind of messages. Thanks.

Prodotti

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by