Professional Documents
Culture Documents
DYNSIM Silent Install Guide
DYNSIM Silent Install Guide
aveva.com
© 2022 AVEVA Group plc and its subsidiaries. All rights reserved.
No part of this documentation shall be reproduced, stored in a retrieval system, or transmitted by any means,
electronic, mechanical, photocopying, recording, or otherwise, without the prior written permission of AVEVA.
No liability is assumed with respect to the use of the information contained herein.
Although precaution has been taken in the preparation of this documentation, AVEVA assumes no responsibility
for errors or omissions. The information in this documentation is subject to change without notice and does not
represent a commitment on the part of AVEVA. The software described in this documentation is furnished under
a license agreement. This software may be used or copied only in accordance with the terms of such license
agreement.
ArchestrA, Avantis, Citect, DYNSIM, eDNA, EYESIM, InBatch, InduSoft, InStep, IntelaTrac, InTouch, OASyS,
PIPEPHASE, PRiSM, PRO/II, PROVISION, ROMeo, SIM4ME, SimCentral, SimSci, Skelta, SmartGlance, Spiral
Software, WindowMaker, WindowViewer, and Wonderware are trademarks of AVEVA and/or its subsidiaries. An
extensive listing of AVEVA trademarks can be found at: https://sw.aveva.com/legal. All other brands may be
trademarks of their respective owners.
Publication date: Friday, March 25, 2022
Contact Information
AVEVA Group plc
High Cross
Madingley Road
Cambridge
CB3 0HB. UK
https://sw.aveva.com/
For information on how to contact sales and customer training, see https://sw.aveva.com/contact.
For information on how to contact technical support, see https://sw.aveva.com/support.
To access the AVEVA Knowledge and Support center, visit https://softwaresupport.aveva.com.
Contents
Version 2022
© 2022 AVEVA Group plc and its subsidiaries. All rights reserved. Page 3
AVEVA Dynamic Simulation 2022 Silent
Install
The AVEVA™ Dynamic Simulation 2022 silent install does not install its dependencies. Ensure that these
dependencies are installed before using the silent install of AVEVA Dynamic Simulation 2022. The commands
below show how to install the AVEVA Dynamic Simulation 2022 dependencies and AVEVA Dynamic Simulation
2022 silently. Note that the [AVEVA Dynamic Simulation 2022 setup folder] below is where the AVEVA Dynamic
Simulation 2022 install setup.exe is copied, and that the whole path has to be surrounded by double quotes if it
contains a space.
NOTE: The command prompt should be opened in the Administrator mode for the commands to execute
without prompting the user for any action.
The whole silent install process is divided into two different scripts and should be run in sequence. After running
the AVEVA Dynamic Simulation pre requisite script, the system has to reboot to take effect of necessary pre
requisite installation. The AVEVA Dynamic Simulation install script should be run after rebooting the system.
o AVEVA Dynamic Simulation Pre requisite script
o AVEVA Dynamic Simulation Install script
Please refer the sample install scripts text files kept in install kit under the name of "Sample_dynsim_install"and
"Sample_dynsim_prerequisite" .
You can modify these files and save it to ".bat" and execute on command line as an Administrator.
Version 2022
© 2022 AVEVA Group plc and its subsidiaries. All rights reserved. Page 4
AVEVA™ Dynamic Simulation Silent Install Guide
AVEVA Dynamic Simulation 2022 Silent Install
Version 2022
© 2022 AVEVA Group plc and its subsidiaries. All rights reserved. Page 5
AVEVA™ Dynamic Simulation Silent Install Guide
AVEVA Dynamic Simulation 2022 Silent Install
7. MULTIINSTALL - to specify whether AVEVA Dynamic Simulation 2022 can be run on single machine or
multiple machine. By default, the Multi Box option is No - Simulation can be run on a single machine only. To
install AVEVA Dynamic Simulation 2022 on single box, use REMOVE=NamingSVC MULTIINSTALL="False"
MULTIINSTALLSTATE="First". To install AVEVA Dynamic Simulation 2022 on multi-box, use
MULTIINSTALL="True" MULTIINSTALLSTATE="First".
NOTE: From AVEVA Dynamic Simulation 2022 default file extension for new and migrated simulation files is
"Js4m". If there is no need to migrate existing "s4m" format to "Js4m" then SQL server 2014 need not be
installed. If you do not want to install SQL 2014 while installing AVEVA Dynamic Simulation 2022 silently, you
must comment the above-mentioned scripts.
Version 2022
© 2022 AVEVA Group plc and its subsidiaries. All rights reserved. Page 6
AVEVA™ Dynamic Simulation Silent Install Guide
AVEVA Dynamic Simulation 2022 Silent Install
rem Please modify the location of Install kit where you copied.
set INSTALLKITLOCATION="C:\Installs\X64"
set KITPATH=%INSTALLKITLOCATION:"=%
pushd %KITPATH%
Version 2022
© 2022 AVEVA Group plc and its subsidiaries. All rights reserved. Page 7
AVEVA™ Dynamic Simulation Silent Install Guide
AVEVA Dynamic Simulation 2022 Silent Install
rem USB driver 7.6.8 (Conditional). Note that this is needed only if you are going to run DYNSIM
using USB for security.
rem start /wait"%INSTALLKITLOCATION%\Sentinel USB Driver 7.6.8\Sentinel Protection Installer
7.6.8.exe" /qn
popd
shutdown -r -t 10
Version 2022
© 2022 AVEVA Group plc and its subsidiaries. All rights reserved. Page 8
AVEVA™ Dynamic Simulation Silent Install Guide
AVEVA Dynamic Simulation 2022 Silent Install
pushd %KITPATH%
popd
@echo off
rem IF %PROCESSOR_ARCHITECTURE%==x86 (
rem reg query "HKLM\SOFTWARE\Microsoft\Microsoft SQL Server\Instance Names\SQL" /v SSI_DSS63
> NUL 2>&1
rem ) else (
reg query "HKLM\SOFTWARE\Wow6432Node\Microsoft\Microsoft SQL Server\Instance Names\SQL" /v
SSI_DSS63 > NUL 2>&1
rem )
Version 2022
© 2022 AVEVA Group plc and its subsidiaries. All rights reserved. Page 9
AVEVA™ Dynamic Simulation Silent Install Guide
AVEVA Dynamic Simulation 2022 Silent Install
EXEROOT - AVEVA Dynamic Simulation 2022 install location for executables (default: C:\Program
files (x86)\SIMSCI). Use double quotes around the path if it contains a space. Example:
EXEROOT=”c:\simsci”
rem PROGDATAROOT - AVEVA Dynamic Simulation 2022 install location for program data (default:
C:\Program files(x86)\SIMSCI). Use double quotes around the path if it contains a space. Example:
PROGDATAROOT=”c:\simsci”
rem USERDATAROOT - AVEVA Dynamic Simulation 2022 install location for user data (default:
C:\Program files(x86)\SIMSCI). Use double quotes around the path if it contains a space. Example:
USERDATAROOT=”c:\simsci”
rem SECURITY_TYPE - AVEVA Dynamic Simulation 2022 security type, such as FNP1116,TOKEN1116
(default: FNP1116). Example: SECURITY_TYPE=FNP1116
rem IPASSI_LICENSE_FILE - FLEXlm/TOKEN license manager (default: none). No need to specify
this if you are going to use USB for security. Example:
IPASSI_LICENSE_LICENSE_FILE=@FLEXlmServer
rem ADDLOCAL – to specify what AVEVA Dynamic Simulation 2022 features to install. If this option
is not used in the AVEVA Dynamic Simulation 2022 silent install, the program will install
MSDE2000Feature, UserFiles, UAS, PDTS, and PFE_Editor. Features that can be specified include
MSDE2000Feature, ABSimGUI, AMG, Dynsim, Dynsim_ALL, Dynsim_Checkout, Translator_Server,
Dynsim_Lite, Dynsim_Power, ETS, OLGAInterfaceEngine, Excel_Engine_Link, OPC_Server_Engine,
BulkConfigurator, ChangeManagement, SHM, UAM, OpcUaServer. Note that unless ADDLOCAL=ALL is
used, feature MSDE2000Feature must always be included in the list when using the ADDLOCAL option.
Examples: To install all features, use ADDLOCAL=ALL. To install just the AVEVA Dynamic Simulation
engine in multibox ADDLOCAL=MSDE2000Feature,Dynsim,NamingSVC. To install just the AVEVA Dynamic
Simulation engine in singlebox ADDLOCAL=MSDE2000Feature,Dynsim,
rem for single box install REMOVE=NamingSVC MULTIINSTALL="False" MULTIINSTALLSTATE="First"
rem for multibox install MULTIINSTALL="True" MULTIINSTALLSTATE="First"
:INSTALLDYNSIM
set INSTALLFOLDER="C:\SIMSCI"
set VAR1=%INSTALLFOLDER:"=%
SET REGCMD=0
SET ARG1=0
IF %PROCESSOR_ARCHITECTURE%==x86 (
SET ARG1="%CommonProgramFiles%\SIMSCI"
) else (
SET ARG1="%CommonProgramFiles(x86)%\SIMSCI"
)
Version 2022
© 2022 AVEVA Group plc and its subsidiaries. All rights reserved. Page 10
AVEVA™ Dynamic Simulation Silent Install Guide
AVEVA Dynamic Simulation 2022 Silent Install
pushd %KITPATH%
msiexec.exe /i "MSI\AVEVADynamicSimulation2022.msi" /qn EXEROOT="%VAR1%" PROGDATAROOT="%VAR1%"
USERDATAROOT="%VAR1%" SECURITY_TYPE=FNP1116 IPASSI_LICENSE_FILE=@FNPServer ADDLOCAL=ALL
REMOVE=NamingSVC SETFOLDERPERMISSIONS=NO SHAREDDIR=%ARG1% MULTIINSTALL="False"
MULTIINSTALLSTATE="First"
popd
:DONE
@echo on
:UNINSTALLDYNSIM
@echo on
pushd %KITPATH%
msiexec.exe /x "MSI\AVEVADynamicSimulation2022.msi" /qn /forcerestart
Version 2022
© 2022 AVEVA Group plc and its subsidiaries. All rights reserved. Page 11
AVEVA™ Dynamic Simulation Silent Install Guide
AVEVA Dynamic Simulation 2022 Silent Install
popd
:DONE
@echo on
Log Files
The AVEVA Dynamic Simulation install logs are written to the temporary folder
"C:\Users\usernamexxx\AppData\Local\Temp." The file name usually starts with MSI~.LOG.
The SQL Server installation logs are usually available at "C:\Program Files\Microsoft SQL Server\100\Setup
Bootstrap\Log".
Version 2022
© 2022 AVEVA Group plc and its subsidiaries. All rights reserved. Page 12