Unattended Install of EMA OrCAD 16.6

@REM ************************************************************************** @REM ** install.zip ** @REM ** ** @REM ** Silently installs EMA OrCAD 16.6. ** @REM ** ** @REM ** Save this file to the root of your OrCAD installation files (at the ** @REM ** same level as setup.exe, Disk1, Disk2, etc). Modify the variable ** @REM ** below called "ORCAD_LICENSING" to reflect the port and name of your ** @REM ** EMA OrCAD licensing server. Open the file called ** @REM ** silentinstall-SPB.ini under Disk1\documents\ and modify it with the ** @REM ** appropriate settings for your environment as per the EMA's install ** @REM ** guide, or base it off my own file (http://goo.gl/gbng84). The ** @REM ** installer will copy the file to your local temp folder, run the ** @REM ** setup unattended (not silent!), and wait for installation to ** @REM ** Once the install completes the temporary copy of the silent install ** @REM ** file is removed, and licensing is configured via the @ECHO OFF @REM Change this to reflect your licensing environment SET ORCAD_LICENSING=5280@orcad @REM CP holds the directory where you ran install.zip from. SET CP=%~DP0 ECHO Installing OrCAD @REM Copy the silent install file locally so setup doesn't choke on path. COPY "%CP%Disk1\documents\silentinstall-SPB.ini" %TEMP% @REM The following line invokes setup.exe from a new command shell and instructs @REM InstallShield to wait (/w) for all cloned processes to complete (/clone_wait) @REM It also tells InstallShield to use the silent install file. @REM See http://helpnet.installshield.com/installshield18helplib/ihelpsetup_execmdline.htm cmd /c "%CP%\Disk1\Setup.exe" /w /clone_wait !quiet=%TEMP%/silentinstall-SPB.ini @REM Set the machine-level environment variable for the license server. SETX CDS_LIC_FILE "%ORCAD_LICENSING%" /M @REM Clean up, clean up, everybody, everywhere... DEL %TEMP%\silentinstall-SPB.ini EXIT 0
0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.