SMS: How to Deploy Outlook 98 to a Windows NT Client

Last reviewed: February 1, 1999
Article ID: Q188062


The information in this article applies to:
  • Microsoft Systems Management Server version 1.2

SUMMARY

This article describes a procedure to deploy Microsoft Outlook 98 through Systems Management Server to client computers running Microsoft Windows NT, when the user is not an administrator on the local computer.

Outlook 98 Setup requires Administrator rights to complete its installation on computers running Windows NT. The Systems Management Server Package Command Manager (PCM) service can deliver the first phase of the Outlook 98 installation and restart the client.

The problem is that after the client is restarted, Outlook 98 Setup continues running instructions from the RunOnce section of the registry. The processes running from the registry require Administrator rights to complete the installation.

MORE INFORMATION

To successfully use Systems Management Server to install Outlook 98, perform the steps listed under "Phase 1" below. Then the sequence of events listed under "Phase 2" and "Phase 3" will occur automatically. These steps involve using three Systems Management Server Installer scripts (Outlk1.ipf or Outlka.ipf, Outlk2.ipf, and Outlk3.ipf), and the Shutdown.exe file from the Windows NT Resource Kit.

CAUTION: Microsoft provides script, macro and other code examples for illustration only, without warranty either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose. This script is provided 'as is' and Microsoft does not guarantee that the following script, macro or code can be used in all situations. Microsoft does not support modifications of the script, macro or code to suit customer requirements for a particular purpose.

While Microsoft support engineers can help explain the functionality of a particular script function, macro or code example, they will not modify these examples to provide added functionality, nor will they help you construct scripts, macros or code to meet your specific needs. If you have limited programming experience, you may want to consult one of the Microsoft Solution Providers. Solution Providers offer a wide range of fee-based services, including creating custom scripts. For more information about Microsoft Solution Providers, call Microsoft Customer Information Service at (800) 426-9400.

NOTE: The procedures described below require that the Windows NT clients run the Systems Management Server Package Command Manager service. For additional information about installing the Package Command Manager service, please see the following article in the Microsoft Knowledge Base:

   Q167114 SMS: PCM Service Now Available for Windows NT Clients

Before beginning, you should obtain and run the Outlk98.exe file. This file contains the Outlk1.ipf, Outlka.ipf, Outlk2.ipf, Outlk3.ipf, and Shutdown.exe files. The Outlk1.exe (or Outlka.exe), the Outlk2.exe, and theOutlk3.exe executable files are generated when the Outlk1.ipf (or Outlka.ipf), the Outlk2.ipf, and the Outlk3.ipf scripts are compiled by Systems Management Server Installer.

The following file is available for download from the Microsoft Software Library:

~ Outlk98.exe (http://support.microsoft.com/download/support/mslfiles/Outlk98.exe)

For additional information about downloading files from the Microsoft Software Library, please see the following article in the Microsoft Knowledge Base:

   Q119591 How to Obtain Microsoft Support Files from Online Services


PHASE 1

  1. The Outlk1.ipf and Outlka.ipf files are sample scripts that modify the client registry to enable automatic logon to a Windows NT client with an Administrator account. Use Outlka.ipf with SMS Installer version 1.0.34.00 or lower. For Systems Management Server Installer version 1.0.35.00 and later, use Outlk1.ipf. The different versions reflect changes in the Parse String function behavior in Systems Management Server Installer. You must edit the appropriate file to use an Administrator account and password from your domain.

    For additional information about enabling automatic logon, please see the following article in the Microsoft Knowledge Base:

    Q97597 How to Enable Automatic Logon in Windows NT

  2. Use Systems Management Server Installer to compile Outlk1.ipf or Outlka.ipf, Outlk2.ipf, and Outlk3.ipf.

  3. Use a customized CD installation file set that is generated with the Outlook 98 Deployment Kit (ODK) to create a Systems Management Server package. Make sure the Silent Installation option, which allows Setup to run in "quiet" mode, is selected when generating the Outlook 98 files with the ODK. Include Outlk1.exe or Outlka.exe, Outlk2.exe, Outlk3.exe, and Shutdown.exe as source files of the package.

  4. Create a mandatory job to run Outlk1.exe or Outlka.exe as a background task. You can use the PDF file generated by the Systems Management Server Installer when Outlk1.ipf or Outlka.ipf was compiled. The Package Command Manager Service executes the job. Outlk1.exe performs the following tasks:

    a. Modifies the registry to enable automatic logon.

    b. Disables the keyboard and mouse services.

    c. Captures the UNC path to the Systems Management Server distribution server

          where the script is being executed from and the package ID.
    

    d. Adds Outlk2.exe to the RunOnce section of the registry.

    e. Adds the UNC path to the Systems Management Server distribution server and

          the Outlook setup command line to the RunOnce section of the registry.
    

    f. Calls Shutdown.exe to restart the client.

    g. Writes to the registry that the installation is on Phase 1.

PHASE 2

  1. The client restarts with automatic logon enabled, and with the keyboard and the mouse disabled. At this point, everything will be running under the context of the Administrator account.

  2. Internet Explorer 4.01 Setup starts from the registry in "quiet" mode.

  3. Outlk2.exe is started through the RunOnce section of the registry. It updates the registry to indicate that Setup is on Phase 2 and writes Outlk3.exe to the current user "load=" section of the registry.

  4. Outlook 98 Setup finishes the first phase of its installation and restarts the client computer.

PHASE 3

  1. Outlook 98 setup starts the Internet Explorer 4.0 installation.

  2. Outlk3.exe starts. It disables automatic logon, removes the Administrator account and password from the registry, and enables the keyboard and mouse services.

  3. Outlk3.exe deletes Outlk1.exe or Outlka.exe, Outlk2.exe, and itself, and then calls Shutdown.exe with a 60-second timer. After that, it deletes Shutdown.exe from the client. You may need to adjust the 60-second Shutdown.exe timer to allow enough time for Outlook 98 to finish its configuration. At this point, Outlook 98 is completely installed, but it is still configuring Internet Explorer 4.01 for the Administrator account that is running these procedures. You can adjust the Shutdown.exe timer by editing the line that calls Shutdown.exe in the Outlk3.ipf file. For more information on Shutdown.exe switches, type "shutdown /?" (without the quotation marks) from a command prompt.

  4. The client is restarted and is ready for the user to log on.


Additional query words: prodsms execute executes reboot reboots rebooted

Keywords : kbfile
Version : winnt:1.2
Platform : winnt
Issue type : kbhowto kbinfo


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: February 1, 1999
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.