TrickerZ Posted July 13, 2005 Posted July 13, 2005 I need to install a bunch of engineering software on multiple machines. Was wondering if anyone's delt with MATLAB, Multisim, PSpice, or MathCAD. Says unrecognized installer using ussf, is there anything else I can try?
jfmartel Posted July 14, 2005 Posted July 14, 2005 I need to install a bunch of engineering software on multiple machines. Was wondering if anyone's delt with MATLAB, Multisim, PSpice, or MathCAD. Says unrecognized installer using ussf, is there anything else I can try?<{POST_SNAPBACK}>I know that you can easily deploy Matlab using some config file. Read the doc located on the CD. I can't provide you more information on this, since i got a new job and i'm not working anymore with Matlab. But i know you can automate itGood Luck.
Grake Posted July 17, 2005 Posted July 17, 2005 (edited) Matlab 6.5 WPI switchprog[pn]=['Matlab 6.5']uid[pn]=['MATLAB65']desc[pn]=['Matlab 6.5']cmd1[pn]=['"%CDROM%\\Software\\Matlab6.5\\setup.exe" -if %CDROM%\\Software\\Matlab6.5\\installer.ini']cat[pn]=['Applications']pn++installer.ini################################################################## # # Name: installer.ini # # Purpose: Input file used by the PC Silent Installer for # setting specific parameters required by the # installer at runtime. # # $Revision: 1.6 $ # # Instructions for running in Silent mode # # To run the installer in silent mode use: # setup.exe -if <input file> # # where: # -if <input file> specifies the name of the installer initialization # file required for silent mode. This file provides the installer# with required input without using the GUI. # # Note: # This file (installer.ini) should be used as a template for your input file. # Please ensure that required fields have all been defined. # # # The MathWorks, Inc. # 3 Apple Hill Drive # Natick Mass. 01760-1500 # All Rights Reserved # # ################################################################## # # START INPUT FIELDS ## SPECIFY YOUR FINAL INSTALLATION PATH; Required # For example: destination=C:\matlabR13#destination=C:\MATLAB6.5# SPECIFY PLP; Required # For example: plp=13-xxxxx-xxxxx-xxxxx-xxxxx.....# plp=13-xxxxx-xxxxx-xxxxx-xxxxx-xxxxx-xxxxx-xxxxx-xxxxx-xxxxx-xxxxx-xxxxx-xxxxx-xxxxx-xxxxx# SPECIFY USER NAME; Required # For example: name=John Q. MATLABuser# name=# SPECIFY YOUR COMPANY NAME; Required#company=# SPECIFY OUTPUT LOG NAME; Optional # This file records the results of the installation. # For example: output=C:\temp\installer.log#outlog=# SPECIFY PATH TO LICENSE FILE; Required for concurrent licenses only # For example: license_path=C:\TEMP\license.dat# license_path=# INSTALL LICENSE MANAGER FILES; Required for concurrent licenses only # Installs license manager files to disk in $MATLAB\flexlm. # NOTE: You only need to install the license manager files # on your license server. # Set to true or false; default is false.# lmgr_files=false# INSTALL LICENSE MANAGER AS A SERVICE; Required for concurrent licenses only # Installs license manager as a service on Windows NT and 2000. # Note: The lmgr_files option (set in previous step) must also be set to true. # Set to true or false (Default: false).# lmgr_service=false# INSTALL HELP FILES; Optional # Set to true or false to install Help files in English (Default: true).# help=# INSTALL JAPANESE HELP; Optional # Set to true or false to install Help files in Japanese (Default: false).# If you set this to true, both English AND Japanese help files will be installed.#jhelp=# INSTALL HELP ONLY; Optional # Set to true or false to install only the help files (Default: false).# helponly=# SPECIFY HELP SOURCE PATH; Optional# This is the directory to install the help files **FROM**.# For example: N:\mynetwork\doc_directory #helppath=# SET TIME OUT (in milliseconds) FOR DISPLAYING DIALOGS; Required # By default, the dialog boxes display on the screen for one second.#timeout=1000# INSTALL ALL FILES WITH READ-ONLY PERMISSION; Optional # Set to true or false (Default: false).# readonly=false# CHECK FOR NEW AND UPDATED PRODUCTS; Optional # The installer can check www.mathworks.com <http://www.mathworks.com/> for new and # updated products that have been released after this CD was produced.# Set to true or false (Default: true). #update_check=true# REBOOT SYSTEM WHEN RECOMMENDED; Optional # Set to true or false (Default: false).# reboot=false# SPECIFY PRODUCTS YOU WANT TO INSTALL; Required # By default, when product=all, the installer installs all the products/help for# which you are licensed. # To install specific products: # 1. Comment out the product=all line by putting a pound sign (#) character # at the beginning of the line. # 2. Uncomment the product= line for the product(s) you want to install.#product=all#product=MATLAB#product=Simulink#product=Aerospace Blockset#product=CDMA Reference Blockset#product=Communications Blockset#product=Communications Toolbox#product=Control System Toolbox#product=Curve Fitting Toolbox#product=Data Acquisition Toolbox#product=Database Toolbox#product=Datafeed Toolbox#product=Dials and Gauges Blockset#product=DSP Blockset#product=Embedded Target for Motorola MPC555#product=Embedded Target for TI C6000 DSP#product=Excel Link#product=Extended Symbolic Math#product=Filter Design Toolbox#product=Financial Derivatives Toolbox#product=Financial Time Series Toolbox#product=Financial Toolbox#product=Fixed-Point Blockset#product=Fuzzy Logic Toolbox#product=Garch Toolbox#product=Image Processing Toolbox#product=Instrument Control Toolbox#product=LMI Control Toolbox#product=Mapping Toolbox#product=MATLAB COM Builder#product=MATLAB Compiler#product=MATLAB Excel Builder#product=MATLAB Link for Code Composer Studio#product=MATLAB Report Generator#product=MATLAB Runtime Server#product=MATLAB Web Server#product=Model-Based Calibration Toolbox#product=Model Predictive Control Toolbox#product=Mu-Analysis and Synthesis Toolbox#product=Neural Network Toolbox#product=Nonlinear Control Design Blockset#product=Optimization Toolbox#product=Partial Differential Equation Toolbox#product=Real-Time Windows Target#product=Real-Time Workshop#product=Real-Time Workshop Embedded Coder#product=Requirements Management Interface#product=Robust Control Toolbox#product=SB2SL (converts models to Simulink)#product=Signal Processing Toolbox#product=SimMechanics#product=SimPowerSystems#product=Simulink Performance Tools#product=Simulink Report Generator#product=Spline Toolbox#product=Stateflow#product=Stateflow Coder#product=Statistics Toolbox#product=Symbolic Math Toolbox#product=System Identification Toolbox#product=Virtual Reality Toolbox#product=Wavelet Toolbox#product=xPC Target#product=xPC Target Embedded Option Edited July 17, 2005 by Grake
TWILL Posted July 17, 2005 Posted July 17, 2005 Last time I checked with EWB, Multisim does not support unattended installation.
TrickerZ Posted October 1, 2005 Author Posted October 1, 2005 I got MATLAB working fine, but I'm having a little trouble with MathCAD. The problem is that the start /wait doesn't work. I guess it's because it changes over to a bunch of msiexecs. I was wondering if it's possible to monitor the process list for msiexec and when it's gone, exit the script. Any ideas? I was thinking something like this but can't figure out how to make it work::TEST tasklist | FIND /i "msiexec"IF **msiexec not found** GOTO DONEGOTO TEST:DONE
TrickerZ Posted October 4, 2005 Author Posted October 4, 2005 I figured it out:cmdow @ /HID@echo offREM -----------------------------------------------------------------------REM Running this batch file will silently (without user interaction) installREM Mathcad 12. By editing this file, you can customize a Mathcad installationREM for deployment across your enterprise.REMREM In the section below, set the specified variables to customize yourREM installation by supplying a value within the appropriate set of quotationREM marks. These values are used to build a command-line instruction to run theREM install without user interaction.REMREM If variables left undefined (""), the install will use default values. AllREM variables are OPTIONAL, except for the Product Code; the Product Code isREM unique to each CD, and is required for the installation to proceed.REMREM -----------------------------------------------------------------------REM Specify values for the variables below for the installation program.REM Variables left as an empty string will use the default value, indicatedREM for each variable.REM Supply your Product Code. The Product Code is a unique string of 22REM characters that identifies the particular product you purchased, locatedREM on the CD envelope. There is NO default value.set PRODUCT_CODE=\"**removed**\"REM Specify the directory to where you would like to install Mathcad.REM The default value is C:\Program Files\Mathsoft\Mathcad 12\set INSTALLDIR=\"\"REM Specify the FLEXlm server specification or license file path. If noREM server or file is specified, Mathcad will prompt for one on start-up.set LICENSEPATH=\"%PROGRAMFILES%\Mathsoft\Mathcad 12\mcad12.dat\"REM Specify the default file format. The available choices are Mcd12,REM XML12 (default), and XMLZ12. This setting is CASE-SENSITIVE.set DEFAULTFILEFORMAT=\"\"REM Specify the location of the Mathcad Resources. The default value is theREM QSHEET directory of your Mathcad installation.set HBKLOCATION=\"\"REM Specify the location for the Quicksheets, Tutorials, and Reference TablesREM TOCs. These are subsets of the Mathcad Resources targeting specificREM audiences of users. Quicksheets focus on solving problems by using MathcadREM functionality. The Tutorials target new Mathcad users, demonstrating how toREM use and apply Mathcad. The Reference Tables contain constants and formulaeREM that users might otherwise need to find in books. When you access one ofREM these resources from either the Help menu or the Resources toolbar, MathcadREM will look in the specified location. The default value for each is theREM QSHEET directory of your Mathcad installation.set QUICKSHEETSTOC=\"\"set TUTORIALSTOC=\"\"set REFERENCETABLESTOC=\"\"REM Specify the location of your workgroup repository, if you use one, as eitherREM a file path or a URL.set MYSITEDESTINATION=\"\"REM Specify the destination page when you click the Home button on the ResourceREM Window toolbar. The default value isREM C:\Program Files\Mathsoft\Mathcad 12\qsheet\map.mcdset HOMEPAGE=\"\"REM NOTE TO USER - DO NOT MAKE ANY CHANGES BELOWREM ---------------------------------------------------------------------------REM This section converts the variables defined above into a command-lineREM instruction. Editing this section may cause the installation to fail. echo.echo Running silent install of Mathcad 12 with the following parameters:echo PRODUCT_CODE: %PRODUCT_CODE% echo INSTALLDIR: %INSTALLDIR% echo LICENSEPATH: %LICENSEPATH% echo HBKLOCATION: %HBKLOCATION% echo QUICKSHEETSTOC: %QUICKSHEETSTOC% echo TUTORIALSTOC: %TUTORIALSTOC% echo REFERENCETABLESTOC: %REFERENCETABLESTOC% echo MYSITEDESTINATION: %MYSITEDESTINATION% echo HOMEPAGE: %HOMEPAGE% echo. D:\install\apps\mathcad12\mathcad\Setup.exe /s /v" /L* "Mcad12_install_log.txt" /qn PRODUCTTYPE="ENT" PRODUCT_CODE=%PRODUCT_CODE% INSTALLDIR=%INSTALLDIR% LICENSEPATH=%LICENSEPATH% HBKLOCATION=%HBKLOCATION% QUICKSHEETSTOC=%QUICKSHEETSTOC% TUTORIALSTOC=%TUTORIALSTOC% REFERENCETABLESTOC=%REFERENCETABLESTOC% MYSITEDESTINATION=%MYSITEDESTINATION% HOMEPAGE=%HOMEPAGE% ":TEST tasklist | FIND /i "msiexec"IF ERRORLEVEL 1 GOTO DONEsleep 60GOTO TEST:DONExcopy /Y "%cdrom%\install\apps\mathcad12\license\mcad12.dat" "%PROGRAMFILES%\Mathsoft\Mathcad 12\"
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now