1 Using Silent Install Scripts to Deploy Software to MS Windows PCs. Larry Carpenter, P.E. CAx Administrator / FE Analyst Siemens Healthcare Molecular.

Slides:



Advertisements
Similar presentations
Installation/Setup creation tools Stuart Eggerton Canberra ADUG Meeting 12 April 2005.
Advertisements

ESafe Reporter V3.0 eSafe Learning and Certification Program February 2007.
Raymond R. Balise Health Research and Policy
System Center Configuration Manager Push Software By, Teresa Behm.
Scripting Automated Solutions for Siemens PLM Software
Installing SAS 9.3 Raymond R. Balise Health Research and Policy.
Installing SAS 9.3 Raymond R. Balise Health Research and Policy.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 9: Implementing and Using Group Policy.
Server-Side vs. Client-Side Scripting Languages
Installing Windows 7 Lesson 2.
11.1 © 2004 Pearson Education, Inc. Exam Planning, Implementing, and Maintaining a Microsoft Windows Server 2003 Active Directory Infrastructure.
A+ Guide to Software, 4e Chapter 4 Supporting Windows 2000/XP Users and Their Data.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 12: Managing and Implementing Backups and Disaster Recovery.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 9: Implementing and Using Group Policy.
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.
MCTS Guide to Microsoft Windows Server 2008 Network Infrastructure Configuration Chapter 8 Introduction to Printers in a Windows Server 2008 Network.
© Siemens Product Lifecycle Management Software Inc. All rights reserved Siemens PLM Software Solid Edge ST4 Training Revising assemblies.
Installing software on personal computer
A Tour of System Center Configuration Manager Adam Duffy Edina Public Schools.
Installing SAS 9.3 TS1M1 Raymond R. Balise Health Research and Policy.
How To Keep Up With Security Patches Eric Schultze Security Strategies Microsoft.
IT for the enterprise IT – Towards User Defined Services.
Basic Computer Maintenance Basic Computer Maintenance Clean and Cool Deleting Temporary Files Scandisk Backup Your Data How to.
1Confidential Restricted R E A L V I E W D I S T R I B U T O R M E E T I N G Keil ‘How to’ Guide September 2007.
Section 6.1 Explain the development of operating systems Differentiate between operating systems Section 6.2 Demonstrate knowledge of basic GUI components.
Lesson 4 Computer Software
Linux Operations and Administration
WebFOCUS Developer Studio Update Dimitris Poulos Technical Director September 3, 2015 Copyright 2009, Information Builders. Slide 1.
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.
Classroom User Training June 29, 2005 Presented by:
Windows XP Professional Windows XP Professional Overview Install and Upgrade Windows XP Pro Customize and Manage Windows XP Pro Troubleshoot Common Windows.
70-294: MCSE Guide to Microsoft Windows Server 2003 Active Directory Chapter 12: Deploying and Managing Software with Group Policy.
Basics of Web Databases With the advent of Web database technology, Web pages are no longer static, but dynamic with connection to a back-end database.
©Kwan Sai Kit, All Rights Reserved Windows Small Business Server 2003 Features.
1 Guide to Novell NetWare 6.0 Network Administration Chapter 12.
Nicholas A. Hay Technology Director Jefferson Schools KEY MANAGEMENT SERVICES.
CIM6400 CTNW (04/05) 1 CIM6400 CTNW Lesson 6 – More on Windows 2000.
Chapter Fourteen Windows XP Professional Fault Tolerance.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 12: Managing and Implementing Backups and Disaster Recovery.
In addition to Word, Excel, PowerPoint, and Access, Microsoft Office® 2013 includes additional applications, including Outlook, OneNote, and Office Web.
COLD FUSION Deepak Sethi. What is it…. Cold fusion is a complete web application server mainly used for developing e-business applications. It allows.
®® Microsoft Windows 7 for Power Users Tutorial 13 Using the Command-Line Environment.
Software.
IIS Security Sridurga Mavram. Contents -Introduction -Security Consideration -Creating a web page -Drawbacks -Security Tools -Conclusion -References.
Introduction to Microsoft Management Console (MMC) MMC is a common console framework for management applications. MMC provides a common environment for.
1 Chapter Overview Publishing Resources in Active Directory Service Redirecting Folders Using Group Policies Deploying Applications Using Group Policies.
30/10/2000 Software Installation and Maintenance at LAL - JLab 2000 Software Installation and Maintenance at LAL Michel Jouvin LAL, Orsay
1 Managing Multiple Teamcenter Engineering Client Versions on One System By: Daniel Cortez J et Propulsion Laboratory, California Institute of Technology.
Capt Froberg. Outline I have a computer, now what? How attackers get in your computer How to keep attackers out Computer Tools The Froberg Trifecta First.
VMWare Workstation Installation. Starting Vmware Workstation Go to the start menu and start the VMware Workstation program. *Note: The following instructions.
Java Programming, Second Edition Appendix A Working with Java SDK 1.4.
Deploying Software with Group Policy Chapter Twelve.
PC Maintenance: Preparing for A+ Certification Chapter 28: Working with Applications.
Open Solutions for a Changing World™ Copyright 2005, Data Access Worldwide June 6-9, 2005 Key Biscayne, Florida 1 Application Deployment Stephen W. Meeley.
Automating Installations by Using the Microsoft Windows 2000 Setup Manager Create setup scripts simply and easily. Create and modify answer files and UDFs.
Ahmadu Bello Computer Repair Training Course 6: Use of Software By Suprix Technology Nigeria ( A.B.U repair computer training.
CACI Proprietary Information | Date 1 PD² SR13 Client Upgrade Name: Semarria Rosemond Title: Systems Analyst, Lead Date: December 8, 2011.
Brian Drendel November 15, Ideas TDM (Engineering drawings) Beamssrv1 Z: drive Beamssrv1 Department Drive Indico Meeting Server Document Database.
Fixing Windows 10 Automatic Updates Install Problem
Instructor: Syed Shuja Hussain Chapter 4: Operating System Basics.
Installing Windows 7 Lesson 2.
SQA Incident Tracking System Overview
Create setup scripts simply and easily.
How to Fi
Introduction to Programming the WWW I
Introduction to Computers
Deploying Clients via Batch Scripting Larry Carpenter, P. E
Presentation transcript:

1 Using Silent Install Scripts to Deploy Software to MS Windows PCs. Larry Carpenter, P.E. CAx Administrator / FE Analyst Siemens Healthcare Molecular Imaging Division Hoffman Estates, IL (847) 304-SDRC (7372)

2 Topics  The Need For Install Scripts  Why Use Windows Batch Scripting?  Silent Install Methods  Usage & Syntax Examples  Complete Install Scripts

3 The Need for Install Scripts MManually installing various types of software on multiple PCs is: TTime consuming EError plone BBOOOOOORRRRRRIIIIIIIINNNNNGGGG!!! Error Prone

4 Why Use Batch Scripting?  Easy to learn and use  Been around since days of DOS  Doesn’t require any real programming knowledge  Only requires a text editor (Notepad)  Easy for others to follow if needed  Is capable of a lot of the same stuff as other languages  Uses same command line syntax as performing a silent install.

5 Silent Install Methods  InstallShield’s “setup.exe” method is used by:  I-DEAS 11 & earlier versions  Teamcenter Engineering & earlier versions  Older Java versions  Many other programs  Windows Installer (MSI) method is used by:  NX4+ & I-DEAS 12+  Teamcenter Engineering  TC Visualization  NX Nastran %

6 Silent Install Method - MSI  ‘msiexec’ syntax example: msiexec /i "%IDEAS_DIST%\Java\Java.msi" /quiet /passive INSTALLDIR=C:\j2sdk1.4.2_05 ALLUSERS=1 /l* %LOG%\%COMPUTERNAME%.log  More information can usually be found in the application’s install guide, related documentation, or simply enter “msiexec” at a command prompt to view general usage syntax.

7 Creating a Simple Install Script 1. Create a text file named with a.bat or.cmd extension and place the logic for the silent install(s) into the file. You can do consecutive installs from the same script. 2. Place the newly created batch file in a network location accessible by each client. 3. On every PC, double click the batch file to begin the install.

8 Things to Add to the Install Script  Log script progress  Remove old software  Check for success of install or uninstall  Configure OS settings (system variables, registry settings, etc.)  Create directory structures & set file permissions  Copy client customizations  Apply patches  Set it up for remote deployment (via SMS for example)

9 Log Example  Create a new batch file redirecting STDOUT to a file using the ‘>’ operand.  For example, the contents of this new batch file may contain the following:  The Install_NX5.bat is the actual install script. All output is sent to a log file in the local temp directory.

10 Check for Existing Program Example  Check for existence of Java 1.5.0_06 and route as necessary.

11 Remove Software Example  You can usually find the uninstall command string for your application within the Windows Registry.  Use ‘regedit’ to open the Registry and browse to:  HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall  Search for your app’s key and ‘UninstallString’ value.  Place this string value into the uninstall script.

12 Configure OS Settings Example  Create, or Edit Registry settings using ‘reg’ command. For help, type ‘reg /?’ at a command prompt.  reg add HKLM\Software\UGS /v LICENSESERVER /d  reg import NX5_defaults.reg  reg query  Set System Variable  Add ‘tools’ directory to system %PATH%  setx Path "%Path%;C:\CAxPLM\tools" -m ‘setx’ is a Windows Resource Tool Kit utility available for free from Microsoft’s website.

13 Check for Successful Install Example  Install NX5 and check to see if it was installed successfully before continuing.

14 Copy Customizations Example  You can perform client side customizations.

15 Create Directories and Set File Permissions Example  Create model file directory and set permissions on it to full control for CAD users and managers.

16 Create Scheduled Tasks Example  Create a Scheduled Task to execute a nightly maintenance routine such as defragmenting a hard drive or backing up local user files.

17 Preset Firewall Exceptions Example  Preset firewall exceptions to avoid the Block/Unblock dialog boxes and work around the I-DEAS 12 Orbix bug.

18 Apply Patches Example  Update NX5 with a Maintenance Release  Update Teamcenter Visualization to MP2

19 Putting It All Together  Install Scripts that I have available to share:  NX5, Patches, Documentation, & Prerequisites  NX I-DEAS 5, Help Library, SFAM, & Prerequisites  Teamcenter Visualization  NX Nastran 5.1 & Documentation  TCEng 2005SR1 2-Tier Client Install using TEM.  TCII5.0  To get copies of these script for your use, send me an . You’ll have to taylor these scripts for your own use.

20 Thank You! Contact Info: