Custom Install

  • Upload
    mcemce

  • View
    221

  • Download
    0

Embed Size (px)

DESCRIPTION

Custom install

Citation preview

  • Custom Installations Merak 2007.1 Suite

    December, 2007

  • COPYRIGHT Copyright 2007 Schlumberger. All rights reserved.

    The information in this document is subject to change without notice. The software described in this document is furnished under a license agreement. This software may be used or copied only in accordance with the terms of such agreement. It is against the law to copy the software on any medium except as specifically allowed in the license agreement. No part of this document may be reproduced or transmitted in any form, or by any means, electronic or mechanical, including photocopying and recording, for any purpose without the express written permission of Schlumberger.

    Merak is a trademark of Schlumberger.

    Merak Peep is a registered trademark of Schlumberger.

    Merak PetroDesk, Merak Portfolio, Merak Decision Tool Kit, Merak VOLTS, Merak Budget, Merak Capital Planning, Merak DBTools, and FieldView are trademarks of Schlumberger.

    Microsoft is a registered trademark of Microsoft Corporation.

    BackOffice, Internet Explorer, Windows, Windows 98, Windows NT, Windows 2000, MS-DOS, Word, Excel, ActiveX, ODBC, OLE, COM, Terminal Server, Microsoft Access, Visual C++, and Microsoft SQL Server are registered trademarks of Microsoft Corporation.

    Oracle is a registered trademark of Oracle Corporation.

    Crystal Reports is a trademark of Crystal Decisions.

    All other names and trademarks are the property of their respective owners.

    Released in December, 2007

  • Contents

    Custom Installations......................................................................................................... 1 About custom installations.............................................................................................................. 1 General tips for custom installations .............................................................................................. 1 Distribution via a Microsoft System Management Server (SMS Server) ....................................... 1 Repackaging the installation with a third party tool ........................................................................ 2 Manually placing files on user's system (not recommended)......................................................... 3

    Registering Files ........................................................................................................................................3

    How to reach us ................................................................................................................5

  • Custom Installations Merak 2007.1 Suite

    www.sis.slb.com 1

    Custom Installations

    About custom installations Custom installations are any installation where the client does not use the installation routine as provided on the distribution DVD. There are four methods of customizing the installation: creating a silent installation package; distributing the installation via a Microsoft System Management Server; repackaging the installation with a third party tool such as ZenWorks or Wise; and, manually registering/placing the files on a users system (not recommended).

    General tips for custom installations The Merak Suite installation is composed of several distinct components. These components include: Microsoft .NET Framework 1.1.x; Microsoft .NET Framework 2.0.x InstallShield Scripting Engine 11.5; MDAC 2.8 (or 2.7); Adobe Acrobat Reader 8.x. When you use the Standalone, Terminal Server/Citrix, or Network/Workstation installations provided on the DVD, the installation routine prompts you to install these items if they are not already present on the machine. If you attempt to customize the Merak Suite installation, you must install these items separately from the Merak Suite DVD. In other words, before you distribute the Merak Suite (whether repackaging the installation or manually transferring the files), all of the above items must be in place on a user's system. Most clients who have their own distribution mechanism will have already created packages for most of the components the Merak Suite relies on. If you need to repackage these items in your custom installation, they are available on the Merak Suite DVD for your convenience. You can find the installation routines at the following locations: Microsoft .NET Framework (\Resource\Microsoft .NET Framework 1.1\INSTALL.EXE); InstallShield Scripting Engine 11.5 (\Resource\ISScript1050.MSI); MDAC 2.8 (\MDAC 2.8\MDAC_TYP.EXE); Adobe Acrobat Reader (\Resource\Adobe Acrobat\AR500ENU.EXE). To create the Response File once the pre-requisites are installed: 1. Run the command SETUP.EXE /R, Normally, this runs the installation with a maximized user

    interface. All of the inputs entered into the dialog boxes saved in a Response File (SETUP.ISS). By default, this file is stored in the Windows directory.

    2. Use the /f1 switch If you want to have this file saved in a different location, you can do so with the /f1 switch. For example, if you want to store the Response file in a C:\Temp directory, you would execute the command SETUP.EXE /R /f1"C:\Temp\Setup.ISS.

    Distribution via a Microsoft System Management Server (SMS Server) A Package Definition File (PDF) is included in the INSTALL directory of the Merak Value & Risk Suite DVD, which can be used with the latest versions of the SMS Server. Because the Merak Value & Risk

  • Custom Installations Merak 2007.1 Suite

    www.sis.slb.com 2

    Suite installation uses InstallShields InstallScript, you must use this PDF file with SMS and you cannot attach the MSI file to your SMS Server.

    Repackaging the installation with a third party tool Repackaging the Merak Value & Risk Suite installation is a relatively straightforward process, but to be successful, there are steps that you must complete in the proper order. To capture the Merak Value & Risk Suite installation, you must capture and distribute the following components of the installation separately: Microsoft .NET Framework (located on the installation DVD at \Microsoft .NET Framework

    1.1\INSTALL.EXE)' InstallShield Scripting Engine 10.5 (located on the installation DVD at \Install\ISScript1050.MSI); MDAC 2.8 (located on the installation DVD at \MDAC 2.8\MDAC_TYP.EXE); Adobe Acrobat Reader (located on the installation DVD at \Resource\Adobe

    Acrobat\AR500ENU.EXE). Many users will already have the Microsoft .NET Framework and MDAC 2.7 or 2.8 scripted. In these cases, you do not need to script them again, and can skip the steps that mention capturing those two items.

    To repackage the Merak Suite, complete the following steps: 1. Capture the Microsoft .NET Framework 1.1 installation with your repackaging tool. The installation

    routine for the Microsoft .NET Framework can be found on the installation DVD at \Microsoft .NET Framework 1.1\INSTALL.EXE.

    2. Capture the InstallShield Scripting Engine 10.5 installation with your repackaging tool. The installation routine for the Scripting Engine can be found on the installation DVD at \Install\ISScript1050.MSI.

    3. Capture the MDAC 2.8 installation with your repackaging tool. The installation routine for MDAC 2.8 can be found on the installation DVD at \MDAC 2.8\MDAC_TYP.EXE.

    4. If your users do not already have Adobe Acrobat Reader 5.0 or better on their systems, you can retrieve this installation from www.adobe.com.

    Note: Before capturing the Merak Value & Risk Suite, ensure that the Microsoft .NET Framework 1.1, MDAC 2.7 or 2.8, and the InstallShield Scripting Engine 10.5 are loaded on the system on which you are going to perform the capture. This is essential; if these packages are not in place the Merak Value & Risk Suite Installation will attempt to install them which will create problems with the capture. If the above components are not installed, please install them using your distribution packages.

    5. Capture the Merak Suite. One important item during the capture would be to ensure that you do not choose to install the sample databases.

    Note: When you deploy the Merak Suite package, the installation relies on local administrative rights during deployment. Therefore, during deployment, you must temporarily increase the users rights to those of local administrator. Most deployment packages allow the user to temporarily increase their system rights. You can then return the users rights to normal once the installation is completed.

  • Custom Installations Merak 2007.1 Suite

    www.sis.slb.com 3

    Manually placing files on user's system (not recommended) The last customization method available to you is where you copy the required files onto your system and register the required components. To assist with this process, file lists have been provided on the installation DVD in a File Lists subdirectory. These file lists contain a list of all of the files required by the individual Merak Suite applications. This location does not actually contain the files, merely the file lists. The files themselves are stored uncompressed in the INSTALL directory on the installation DVD. To locate the files for a particular application or location, please refer to the following table.

    Program/Destination Location on installation DVD

    Capital Planning Release CD Content\Install\Merak\DISK1\program files\Schlumberger\Merak

    System Release CD Content\Install\Merak\DISK1 Global Assembly Cache Release CD Content\Install\GlobalAssemblyCache

    Decision Tool Kit Release CD Content\\Install\Merak\DISK1\program files\Schlumberger\Merak

    MAC Release CD Content\\Install\Merak\DISK1\program files\Schlumberger\Merak

    Peep Release CD Content\\Install\Merak\DISK1\program files\Schlumberger\Merak

    PetroDesk Release CD Content\\Install\Merak\DISK1\program files\Schlumberger\Merak

    VOLTS Release CD Content\\Install\Merak\DISK1\program files\Schlumberger\Merak

    See the File Lists document included on the Merak Value & Risk Suite DVD. As with the other custom installation options, you must load the required third-party components manually. These include: Microsoft .NET Framework (installation routine located on the installation DVD at \Microsoft .NET

    Framework 1.1\INSTALL.EXE); MDAC 2.7 or 2.8 (2.8 installation routine located on the installation DVD at \MDAC

    2.8\MDAC_TYP.EXE).

    Note: If you manually copy the files to your system, you are not required to install the InstallShield Scripting Engine 10.5 as it is only required by the installation routine.

    Registering Files Perhaps the most important part of manually copying the files to your system is registering the files. In the file list, there is a column titled Registered?. This column informs you whether you need to manually register a particular file. There are three methods for registering files: the REGSVR32 executable; the REGASM executable; or, the command line switch /REGSERVER. Each file that needs to be registered can only use one of these methods to register. To determine how to register a file in question, please refer to the following chart for each file that needs to be registered:

  • Custom Installations Merak 2007.1 Suite

    www.sis.slb.com 4

    File referenced in File Name column

    Contents of Development Environment column

    Registration Method

    .DLL or .OCX C++ REGSVR32.EXE

    .DLL or .OCX C# REGASM.EXE

    .EXE N/A /REGSERVER The easiest way to register .DLL or .OCX files is to copy the REGASM.EXE or REGSVR32.EXE files into the same directory that contains the file you wish to register. Then, in Windows Explorer simply drag the file you wish to register over the correct executable. You can find the REGSVR32 executable in the Windows System Directory (typically C:\Winnt\System32 or C:\Windows\System32) and the REGASM executable can be found in the C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322 directory. You must use the REGASM executable from this directory. You may have a REGASM executable in a C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705 directory, but this version will not work with the Merak Value & Risk Suite files. When registering multiple files, you can drag/drop multiple files over REGSVR32 executable. However, you cannot drag/drop multiple files over the REGASM, as you must register these files one at a time. When registering an executable, it can be done from the Run item on the Start Menu, but it is highly recommended that you register the executable from the command line.

    To register a file using the command line: 1. Open the Command Prompt. 2. Locate the directory with the executable you want to register. 3. Register the file (e.g. MPENITY.EXE /REGSERVER).

  • Custom Installations Merak 2007.1 Suite

    www.sis.slb.com 5

    How to reach us

    United States

    E-mail: [email protected]

    Houston Tel.: +1 713-621-1165

    Canada

    E-mail: [email protected]

    Calgary Tel.: +1-888-986-4357 (toll-free)

    Europe and Africa

    E-mail: [email protected]

    London Tel.: +44 (0)207 517 2626

    Russia and Caspian

    E-mail: [email protected]

    Moscow Tel.: 7 495 935 8200 Ext. 1218

    South America

    E-mail: [email protected]

    Mexico Tel.: 001 866 326 0174

    Argentina Tel.: 0 800 444 0919

    Brazil Tel.: 000811 005 9068

    Colombia Tel.: 980912 3029

    Venezuela Tel.: 0800 1 00 3588

    Middle East

    E-mail: [email protected]

    Asia and Australia

    E-mail: [email protected]

    Malaysia Tel.: +60-3-21694266

    Indonesia Tel.: +62-21-5229343

    Australia Tel.: +61-1800001112

    Thailand Tel.: +66-2-9371300

    International Offices

    China Tel.: +86-10-64746699 Ext. 2816

    Schlumberger supplements the standard maintenance agreement by offering extended on-site support worldwide. This enhanced level of support includes on-site assistance, installation, troubleshooting, and maintenance services of licensed Schlumberger software. Merak is a product line of Schlumberger Information Solutions (SIS). For more information about SIS, please go to our Web site at http://www.sis.slb.com.