Scripting Automated Solutions for Siemens PLM Software

Slides:



Advertisements
Similar presentations
Planning Server Deployments
Advertisements

MCITP Guide to Microsoft Windows Server 2008, Server Administration (Exam #70-646) Chapter 2 Installing Windows Server 2008.
Installation and Deployment in Microsoft Dynamics CRM 4.0
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 9: Implementing and Using Group Policy.
Chapter 9 Chapter 9: Managing Groups, Folders, Files, and Object Security.
14.1 © 2004 Pearson Education, Inc. Exam Planning, Implementing, and Maintaining a Microsoft Windows Server 2003 Active Directory Infrastructure.
11.1 © 2004 Pearson Education, Inc. Exam Planning, Implementing, and Maintaining a Microsoft Windows Server 2003 Active Directory Infrastructure.
Hands-On Microsoft Windows Server 2003 Administration Chapter 4 Managing Group Policy.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 10: Server Administration.
Exchange server Mail system Four components Mail user agent (MUA) to read and compose mail Mail transport agent (MTA) route messages Delivery agent.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 9: Implementing and Using Group Policy.
Hands-On Microsoft Windows Server 2003 Chapter 2 Installing Windows Server 2003, Standard Edition.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 8: Implementing and Managing Printers.
How Clients and Servers Work Together. Objectives Learn about the interaction of clients and servers Explore the features and functions of Web servers.
Module 6 Windows 2000 Professional 6.1 Installation 6.2 Administration/User Interface 6.3 User Accounts 6.4 Managing the File System 6.5 Services.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 10: Server Administration.
Lesson 18: Configuring Application Restriction Policies
Guide to Linux Installation and Administration, 2e1 Chapter 6 Using the Shell and Text Files.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 8: Implementing and Managing Printers.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 8: Implementing and Managing Printers.
MCDST : Supporting Users and Troubleshooting a Microsoft Windows XP Operating System Chapter 5: User Environment and Multiple Languages.
Cambodia-India Entrepreneurship Development Centre - : :.... :-:-
1 Chapter Overview Installing New Hardware Installing Updates Managing Client Access Licenses Troubleshooting Boot Problems.
Installing software on personal computer
Module 2: Planning to Install SQL Server. Overview Hardware Installation Considerations SQL Server 2000 Editions Software Installation Considerations.
National Instruments Confidential Deployment Techniques for LabVIEW ™ Applications Kennon Cotton LabVIEW R&D Group Manager.
Windows XP Language Interface Packs (LIPs) - Localized OSs for the Masses Russ Rolfe Program Manager.
WIN-B331 Get a consistent, personal Windows experience that matches your unique work style Easy for IT to deliver personal, user-defined experiences.
11 MAINTAINING THE OPERATING SYSTEM Chapter 5. Chapter 5: MAINTAINING THE OPERATING SYSTEM2 CHAPTER OVERVIEW Understand the difference between service.
OnBase Module Deployment
Office Deployment – Notes from the Field Richard Smith Solution Architect – Services Client Solutions Microsoft Corporation OSP340.
16.1 © 2004 Pearson Education, Inc. Exam Managing and Maintaining a Microsoft® Windows® Server 2003 Environment Lesson 16: Examining Software Update.
11 MAINTAINING THE OPERATING SYSTEM Chapter 5. Chapter 5: MAINTAINING THE OPERATING SYSTEM2 CHAPTER OVERVIEW  Understand the difference between service.
Guide to MCSE , Enhanced 1 Activity 10-1: Restarting Windows Server 2003 Objective: to restart Windows Server 2003 Start  Shut Down  Restart Configure.
Guide to MCSE , Second Edition, Enhanced 1 Objectives Understand and use the Control Panel applets Describe the versatility of the Microsoft Management.
Hands-On Microsoft Windows Server 2008 Chapter 1 Introduction to Windows Server 2008.
Migration XenDesktop 7. © 2013 Citrix | Confidential – Do Not Distribute Migration prerequisites Set up a XenDesktop 7 Site, including the site database.
Introduction to HP LoadRunner Getting Familiar with LoadRunner >>>>>>>>>>>>>>>>>>>>>>
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 9: Implementing and Using Group Policy.
MCTS Guide to Microsoft Windows Server 2008 Applications Infrastructure Configuration (Exam # ) Chapter Two Deploying Windows Servers.
70-294: MCSE Guide to Microsoft Windows Server 2003 Active Directory Chapter 12: Deploying and Managing Software with Group Policy.
IT 211 Project Integration and Deployment Lab #11.
Section 10: Assigning and Publishing Software Packages Using MSI Packages to Distribute Software Using Group Policy as a Software Deployment Method Deploying.
Installation Overview of ArcGIS Pro. The ArcGIS Pro Setup: some basics ArcGIS Pro is independent of ArcGIS for Desktop. The ArcGIS Pro setup is supported.
Appendix A Starting Out with Windows PowerShell™ 2.0.
11 MANAGING AND DISTRIBUTING SOFTWARE BY USING GROUP POLICY Chapter 5.
By Rashid Khan Lesson 10-From Here to There: Remote Installation of the Windows XP Professional Client.
Chapter 13 Users, Groups Profiles and Policies. Learning Objectives Understand Windows XP Professional user accounts Understand the different types of.
Deploying Windows 7 Lesson 3. Objectives Understand enterprise deployments Capture an image file Modify an image file Deploy an image file.
1 Using Silent Install Scripts to Deploy Software to MS Windows PCs. Larry Carpenter, P.E. CAx Administrator / FE Analyst Siemens Healthcare Molecular.
MCTS Guide to Microsoft Windows Server 2008 Applications Infrastructure Configuration (Exam # ) Chapter Four Windows Server 2008 Remote Desktop Services,
Computer Emergency Notification System (CENS)
WINDOWS XP PROFESSIONAL AUTOMATING THE WINDOWS XP INSTALLATION Bilal Munir Mughal Chapter-2 1.
Section 11: Implementing Software Restriction Policies and AppLocker What Is a Software Restriction Policy? Creating a Software Restriction Policy Using.
1 Managing Multiple Teamcenter Engineering Client Versions on One System By: Daniel Cortez J et Propulsion Laboratory, California Institute of Technology.
Module 8: Managing Software Distribution. Collections Packages Programs Advertisements Collections Packages Programs Advertisements How Software.
WCL303 Business Desktop Deployment (BDD) 2007: Part 2, Deploying the 2007 Office system Michael Niehaus Systems Design Engineer Microsoft
Deploying Software with Group Policy Chapter Twelve.
ASP-2-1 SERVER AND CLIENT SIDE SCRITPING Colorado Technical University IT420 Tim Peterson.
Microsoft ® Official Course Module 6 Managing Software Distribution and Deployment by Using Packages and Programs.
Automating Installations by Using the Microsoft Windows 2000 Setup Manager Create setup scripts simply and easily. Create and modify answer files and UDFs.
Managing Servers Lesson 10. Skills Matrix Technology SkillObjective DomainObjective # Using Remote DesktopPlan server management strategies 2.1 Delegating.
Unit 9 ITT TECHNICAL INSTITUTE NT1330 Client-Server Networking II Date: 2/17/2016 Instructor: Williams Obinkyereh.
Planning Server Deployments Chapter 1. Server Deployment When planning a server deployment for a large enterprise network, the operating system edition.
CACI Proprietary Information | Date 1 PD² v4.2 Increment 2 SR13 and FPDS Engine v3.5 Database Upgrade Name: Semarria Rosemond Title: Systems Analyst, Lead.
What type of project? I tried three type of project and the only one I managed to obtain the results I wanted was this one. It is more flexible and much.
Create setup scripts simply and easily.
Deploying Clients via Batch Scripting Larry Carpenter, P. E
Unit 9 NT1330 Client-Server Networking II Date: 8/9/2016
Preparing for the Windows 8.1 MCSA
Presentation transcript:

Scripting Automated Solutions for Siemens PLM Software By: Daniel Cortez Jet Propulsion Laboratory, California Institute of Technology

Intro AUTOMATION – noun The technique, method, or system of operating or controlling a process by highly automatic means, as by electronic devices, reducing human intervention to a minimum.

JPL Product Management The Mechanical CAE Group at JPL manages configuration for 180+ workstations with various SIEMENS products (NX, Teamcenter Engineering, Nastran, Ideas, etc…) MCAE has automated the installation of all SIEMENS products via web links and small installation programs. Cost Saving with the automated installation was 90% reduction in installation times, per single installation.

Automating Installations, Why? Allow user to download and run installation On Demand Scripted installation identifies all necessary parameters. Install only licensed modules Standardize workstation installations

JPL Typical Design Installation Package: CAD/CAM Design Engineers installation package for Design Engineering: NX Base NX Translators (pre NX5) NX Maintenance Release Update NX Maintenance Pack Update JPL Custom Configuration Files Teamcenter Engineering Base Teamcenter Engineering Portal Client Teamcenter Engineering Portalviewer (JT, CGM,..) Teamcenter Engineering Base Update Teamcenter Engineering Portal Client Update Teamcenter Engineering Portalviewer Update

Knowledge Required This session will require user to be experienced and knowledgeable in the following. Command Shell / Windows Batch Scripting (.BAT, .CMD) Windows Registry Editing Application Installation NX Teamcenter Engineering Client Nastran FEMAP, etc… 6 6

Scripting Languages Batch Scripting Windows Batch file scripting - useful for running a sequence of executables automatically Scripting Concepts and Technologies VBScripting - easy-to-use scripting language that enables you to create powerful tools for managing computers. WSH - is a powerful multi-language scripting environment ideal for automating system administration tasks WMI - primary management technology for Microsoft Windows OS. It enables consistent and uniform management, control, and monitoring of systems throughout your enterprise.

Identifying Install executables Most product installation come packaged in either ‘.MSI’ or ‘.EXE’ format. Each format has methods which can be used to perform silent or unattended installations. MSI The Windows Installer (aka Microsoft Installer) is an engine for the installation, maintenance, and removal of software on Windows systems. The installation information, and often the files themselves, are packaged in installation packages The package files have a .msi extension, and you manipulate them using the msiexec utility. EXE The InstallShield setup.exe allows for a response file (.iss) to be used for unattended installations (silent installation) Note: not all installation will are capable of using scripted file. 8 8

Example: NX NX can be deployed in one of two methods SETUP.EXE UGS NX 4.0.msi SETUP.EXE This is Manual installation. The installation will run with full windows dialog interaction, requires input for all fields. Allows for manual or scripted installation. If parameters are not provided it defaults to manual mode installation.

Automated Installation Options Reference: “NX Installation Guide” The unattended installation is controlled by the Windows system component, msiexec.exe. In order to install silently you must pass switches and NX specific configurable properties to msiexec.exe on the command line. The msiexec.exe program has several command line switches. For full documentation on these switches, see the Microsoft help documentation “Help and Support” for msiexec

MSIEXEC Line Switches msiexec.exe /i “UGS NX 4.0.msi” /I - specifies the input .msi file to be used msiexec.exe /i “UGS NX 4.0.msi” /q - specifies the UI level. /qn+ specifies no dialogs except for the ending “install done” dialog {recommended}. /qn specifies a silent installation with no dialogs. no indication when the install completes /L – specifies a log file to be created msiexec /L*v “logfile” /x - specifies the msi file use for uninstallation. msiexec.exe /x “UGS NX 4.0.msi”

NX MSI Installation Parameters The configurable properties for the NX install are: ADDLOCAL – This property selects the features to be installed. ”ALL” same as a typical installation. SETUPTYPE - matches the addlocal parameter SETUPTYPE=typical. LICENSESERVER This property sets the value of the NX license server. Set the environment variable UGII_LICENSE_FILE LANGUAGE User interface language for NX. INSTALLDIR This property sets the directory where NX will be installed.

MSI Example Installation: NX 4 Product: NX 4 Note: The msiexec.exe examples below may appear on multiple lines because of document formatting but they must be entered on your computer as one line. msiexec /qn+ /i "NX 4.msi" ADDLOCAL="all” INSTALLDIR=“C:\UGS\NX30“ LICENSESERVER=27000@hostname msiexec /qn+ /i "NX 4.msi" ADDLOCAL="all” INSTALLDIR=“C:\UGS\NX30“ LICENSESERVER=27000@hostname

Example: FEMAP FEMAP can be deployed in one of two methods Setup.exe Setup.exe (with response file) Reponse file: filename.iss SETUP.EXE This is Manual installation. The installation will run with full windows dialog interaction, requires input for all fields. A response file can be used to pass all the parameters. Admin install must be performed first to create the response.

Generate the ISS Response File InstallScript Installations (EXE) For an InstallScript-based installer, The user performs a complete installation inputting all the necessary values. Instead of directly passing the values of variables to the installer, Perform the following steps: 1. On a test system, run the installation in record mode (/r), which generates a response file (filename.iss) 2. On an end user's system, run the installation in silent mode, using the data from the response file.

Example: Generate Response File To generate the response file, you run the InstallScript setup.exe with the /r switch. This displays the installer's dialog boxes, and additionally records the data you enter in the dialog boxes. A response file uses the .iss (for "InstallShield silent") file name extension; you can specify the name and location of the response file using the /f1 switch. setup /r /f1"C:\sample\setup.iss"

InstallShield Example: FEMAP 9.3.1 Product: FEMAP 9.3.1 Note: The msiexec.exe examples below may appear on multiple lines because of document formatting but they must be entered on your computer as one line. Setup.exe /s /f1”FEMAP931_Setup.iss"

Batch File: Create automatic Create a windows batch file ‘.bat’ to capture all the parameters to automate an installation. Use notepad to create a new text file with the extension ‘.bat’ The first line in the batch file @ECHO OFF

Example Batch File: FEMAP FILE: SETUP_FEMAP.bat @echo off Setup.exe /s /f1”FEMAP931_Setup.iss"

Example Batch File: NX FILE: INSTALL_NX4.bat @echo off msiexec /qn+ /i "NX 4.msi" ADDLOCAL="all” INSTALLDIR=“C:\UGS\NX30“ LICENSESERVER=27000@hostname

References Online Microsoft Scripting Guide: Microsft Script Center http://www.microsoft.com/technet/scriptcenter/guide Microsft Script Center http://www.microsoft.com/technet/scriptcenter Books MSDN Forums Free downloads Activestate Microsoft powershell 21 21

Questions Daniel Cortez decortez@jpl.nasa.gov