Jump to content

TrickerZ

Member
  • Posts

    3
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United States

About TrickerZ

TrickerZ's Achievements

0

Reputation

  1. I figured it out: cmdow @ /HID @echo off REM ----------------------------------------------------------------------- REM Running this batch file will silently (without user interaction) install REM Mathcad 12. By editing this file, you can customize a Mathcad installation REM for deployment across your enterprise. REM REM In the section below, set the specified variables to customize your REM installation by supplying a value within the appropriate set of quotation REM marks. These values are used to build a command-line instruction to run the REM install without user interaction. REM REM If variables left undefined (""), the install will use default values. All REM variables are OPTIONAL, except for the Product Code; the Product Code is REM unique to each CD, and is required for the installation to proceed. REM REM ----------------------------------------------------------------------- REM Specify values for the variables below for the installation program. REM Variables left as an empty string will use the default value, indicated REM for each variable. REM Supply your Product Code. The Product Code is a unique string of 22 REM characters that identifies the particular product you purchased, located REM 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 no REM 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 the REM QSHEET directory of your Mathcad installation. set HBKLOCATION=\"\" REM Specify the location for the Quicksheets, Tutorials, and Reference Tables REM TOCs. These are subsets of the Mathcad Resources targeting specific REM audiences of users. Quicksheets focus on solving problems by using Mathcad REM functionality. The Tutorials target new Mathcad users, demonstrating how to REM use and apply Mathcad. The Reference Tables contain constants and formulae REM that users might otherwise need to find in books. When you access one of REM these resources from either the Help menu or the Resources toolbar, Mathcad REM will look in the specified location. The default value for each is the REM 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 either REM a file path or a URL. set MYSITEDESTINATION=\"\" REM Specify the destination page when you click the Home button on the Resource REM Window toolbar. The default value is REM C:\Program Files\Mathsoft\Mathcad 12\qsheet\map.mcd set HOMEPAGE=\"\" REM NOTE TO USER - DO NOT MAKE ANY CHANGES BELOW REM --------------------------------------------------------------------------- REM This section converts the variables defined above into a command-line REM 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 DONE sleep 60 GOTO TEST :DONE xcopy /Y "%cdrom%\install\apps\mathcad12\license\mcad12.dat" "%PROGRAMFILES%\Mathsoft\Mathcad 12\"
  2. 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 DONE GOTO TEST :DONE
  3. 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?
×
×
  • Create New...