August 31, 1999
Installing on Demand Under Windows 95 and Windows NT 4.0
With the new Microsoft Windows® Installer, you can save time and disk space by installing only shortcuts to Microsoft Office 2000 applications during your initial deployment. This feature, known as advertising an application or install on demand, allows users to complete the installation of an application the first time they select it from the Windows Start menu.
When an application is advertised, the core files remain on the CD -ROM or the installation point on the network until the user attempts to start the application. The first use triggers the installation of the application on the user's computer. Users always have immediate access to the full Office suite from the Windows Start menu, even if the applications are not yet installed on their computers.
Note Install-on-demand functionality also provides application-level resiliency. For example, if the program file for Microsoft Word 2000, Winword.exe, is accidentally deleted from the computer, the Windows Installer automatically replaces it when the user clicks the shortcut on the Start menu.
Although Windows Installer shortcuts are automatically supported on Windows 98 and Windows 2000, they are only supported on installations of Windows 95 and Window NT® 4.x that have an updated version of the Windows shell. This updated shell is included with later versions of Microsoft Internet Explorer, and it can be added to existing installations of the operating systems.
When you deploy Office 2000 with the Custom Installation Wizard, and you set one or more applications to Installed on First Use in the transform, you can install on computers that do not have the upgraded shell support. In this case, however, Windows Installer shortcuts are not created.
Instead, Setup installs the minimum files required for each application and creates a normal Windows shortcut on the Start menu. Although users always get the complete functionality of Office 2000, without the shell update they cannot defer installation of specific applications until first use—even if the installation state is set to Installed on First Use during Setup or in a transform.
Existing restart requirements for Office and the upgraded shell
The standard method of deploying Office 2000 with the upgraded shell is as follows:
- Install a supported version of Internet Explorer 4.0 or 5, and then restart the computer.
When the Internet Explorer installation is complete, the upgraded shell is active.
- Install Office 2000 on the same computer, and then restart the computer a second time.
Any advertised applications are correctly installed, and the Windows Installer shortcuts are written to the Start menu.
Note If you install Internet Explorer 5.0a and Office 2000 at the same time, the upgraded shell support is not automatically included. In this scenario, you must use the transforms (MST files) for Windows Installer shortcuts, which are described later in this document.
Updated solution for a single restart
To provide a single installation solution for all environments, and to allow the advertising of applications on all computers, Microsoft has upgraded the Custom Installation Wizard and supplied special transforms (MST files). These new tools, along with the updated shell, allow you to deploy Office 2000 with a single restart on any of the supported operating systems.
To prepare your computers to support advertised applications, you need the following components:
- Internet Explorer 4.01 Service Pack 1, or Internet Explorer 5.0a or later
- Office 2000 transforms (MST files) for Windows Installer shortcuts
O9WIS_1.mst covers the products on Office 2000 Disc 1; O9WIS_2.mst covers the products on Disc 2.
- Updated Custom Installation Wizard
For more information about the updated Custom Installation Wizard, see Enhancements to the Custom Installation Wizard in the Office Resource Kit Journal.
Toolbox The Office Resource Kit (orktools.exe) includes both the enhanced Custom Installation Wizard (version 1.00.00.3217) and the transforms for Windows Installer shortcuts. You can find this downloadable file on the Office 2000 Resource Kit Downloads page.
On computers running Windows 95 or Windows NT 4.x, you must install an updated version of Internet Explorer to get the necessary support for Windows Installer shortcuts. The following versions of Internet Explorer provide the functionality you need:
- Internet Explorer 4.01 Service Pack 1 or later with Active Desktop
You can turn off Active Desktop after the installation is complete, but you must install the files to get the necessary shell components.
- Internet Explorer 5.0a or later
If you install the standalone version of Internet Explorer 5 before you install Office 2000, you must customize it with the Internet Explorer Administration Kit 5.x (IEAK) to include the Windows Desktop Update. If you install Internet Explorer 5.0a with Office 2000, you do not need to customize it, but you must use the MST files for Windows Installer shortcuts.
Toolbox The Office Resource Kit includes the Microsoft Internet Explorer Administration Kit 5.x (IEAK), which you can run directly from the Custom Installation Wizard. The IEAK is installed as part of the Office Resource Kit (orktools.exe). You can find this downloadable file on the Office 2000 Resource Kit Downloads page.
Transforms for Windows Installer shortcuts
You must use the transforms O9WIS_1.mst and O9WIS_2.mst when you install Office. You can open and modify these transforms in the Custom Installation Wizard, just as you can any other transform. Because these MST files contain internal modifications, however, they cannot be created from scratch, and they can be opened and modified only with the updated Custom Installation Wizard (version 1.00.00.3217).
The transform O9WIS_1.mst covers all Office 2000 Disc 1 products, including Office 2000 Premium Disc 1, Office 2000 Professional Disc 1, Office 2000 Standard, and standalone versions such as Microsoft Word 2000 and Microsoft Outlook® 2000. You can use O9WIS_1.mst with the Data1.msi file for any of these products.
The other transform, O9WIS_2.mst, can be used only with the Microsoft Publisher 2000 edition that comes with Office 2000 Premium and Office 2000 Professional. Use this transform with the Data2.msi for Publisher.
These MST files contain modifications in three areas:
- Disable automatic minimum local installation of applications when Windows Installer shortcuts are not supported.
This modification allows the installation state of the application to be set to Installed on First Use, even though the corresponding shortcuts cannot be written to the Start menu. A subsequent reinstallation of Office to rewrite the shortcuts as Windows Installer shortcuts is necessary, and is described later in this article.
- Modify the internal command line by which Office starts Internet Explorer 5 Setup so that the Windows Desktop Update is installed.
- Allow the updated Custom Installation Wizard (version 1.00.00.3217) to open O9WIS_1.mst or O9WIS_2.mst when the appropriate MSI file has been opened for any of the associated products.
Updated Custom Installation Wizard
You must use the updated Custom Installation Wizard (version 1.00.00.3217) to modify the MST files for Windows Installer shortcuts. The original version of the Custom Installation Wizard does not allow you to make the necessary changes to these MST files.
Using MSI files with the MST files for Windows Installer shortcuts
You can use Windows Installer packages (MSI files) with the transforms for Windows Installer shortcuts and the updated Custom Installation Wizard in the same way you use them with the standard versions of these tools. By using the updated Custom Installation Wizard, you can open O9WIS_1.mst or O9WIS_2.mst with an associated MSI file and make the modifications you need.
After you save an MST file with the file name specified in Custom Installation Wizard, it becomes specifically associated with the MSI file also referenced in that session of the wizard. (This functionality is the same with all MST files in all versions of the Custom Installation Wizard.)
If you have an existing MST file that also installs Internet Explorer 5, you must create a new MST file with those same modifications based on O9WIS_1.mst or O9WIS_2.mst. However, for other Office products installed later – in either separate or chained installations – you might not need to recreate the MST file. For more information about using the updated wizard to chain installations, see Enhancements to the Custom Installation Wizard in the Office Resource Kit Journal.
Customizing Internet Explorer 5
You can run the Internet Explorer Administration Kit 5.x (IEAK) directly from the Custom Installation Wizard when you deploy Office. To set installation options for Internet Explorer, go to the Customize IE 5 Installation Options panel of the Custom Installation Wizard and select the option Upgrade to Internet Explorer 5. Then click the Customize button to start the Internet Explorer Customization Wizard.
Note If you customize Internet Explorer 5 with the standalone IEAK, some panels referenced in the following section might not be available. For example, the Corporate Install Options panel is available only when the IEAK is run with the customization code set for a corporate administrator. This code is set by default when you run the IEAK from the Custom Installation Wizard. For more information, see the IEAK Help.
Select a default browser
In the IEAK, you can specify a browser other than Internet Explorer 5 as the default browser. To set the default browser, go to the Corporate Install Options panel of the Internet Explorer Customization Wizard and select the appropriate option. You can set Internet Explorer as the default browser, allow for a different default browser, or give users the choice to select a default browser for themselves.
Note When you use the MST files for Windows Installer shortcuts and the updated Custom Installation Wizard, the default browser check box on the Customize IE 5 Installation Options panel is not functional. If you do not want Internet Explorer 5 as your default browser, you must set the appropriate option in the IEAK.
Disable Active Desktop and Channel Bar
When the Windows Desktop Update is installed with Internet Explorer 5, Active Desktop might be automatically enabled. Active Desktop is set automatically at the end of Setup under the following conditions:
- The operating system is Windows 95 or any version of Windows NT 4.0.
- Internet Explorer with Active Desktop has never been installed on the computer.
- Internet Explorer with Active Desktop was previously installed, and Active Desktop is still active.
To prevent Active Desktop from being automatically enabled, you can set a policy in the Internet Explorer Customization Wizard. On the System Policies and Restrictions panel, expand the Web Desktop branch of the Policy tree and then select the Desktop policy item. In the right pane of the window, select the Disable Active Desktop check box.
Note If a user has previously enabled Active Desktop, installing Internet Explorer 5 with this option turns it off, and the user cannot subsequently turn it back on.
Even if you disable Active Desktop, the Channel Bar might still be displayed in some configurations. You can disable the Channel Bar on the System Policies and Restrictions panel of the IEAK. Expand the Offline Pages branch and select the single item for Offline Pages. In the right pane of the window, select the Disable channel user interface completely check box.
Why do Active Desktop and Channel Bar remain activated?
In some cases, when you install the Windows Desktop Update and attempt to disable Active Desktop or the Channel Bar, these features might still be active when Setup is complete. This discrepancy can occur when you upgrade from certain configurations of Internet Explorer 4.x. Restarting the computer a second time typically disables the feature.
More information about disabling Active Desktop and the Channel Bar will be available soon on the Office Resource Kit Web site.
Replacing Setup.exe and Reinstalling Office
In order to create a single restart solution by using the updated Custom Installation Wizard and MST files for Windows Installer shortcuts, you must also replace the Setup.exe file that ships with Office 2000. The updated version of Setup allows a chained reinstallation of Office, which writes Windows Installer shortcuts to the Start menu when the computer is restarted.
Toolbox The Office Resource Kit Toolbox includes the updated version of the Office 2000 Setup program (Setup.exe version 9.0.3821). See the Office 2000 Setup program section in the Toolbox and download the file Setupsr1.exe. You can find this downloadable file on the Office 2000 Resource Kit Downloads page.
To advertise features by writing Windows Installer shortcuts to the Start menu, you must also reinstall Office in a mode that repairs the shortcuts. This reinstallation is very fast, and it can be called from the MST file, making the process seamless. As previously noted, the enhanced Setup.exe (version 9.0.2720) is necessary for this process to succeed.
Set the reinstallation mode
To reinstall Office, add the following command line in the Add Installations and Run Programs panel of the Custom Installation Wizard:
.\Setup.exe /fms data1.msi /chained
This relative path runs the same Setup again in a special reinstallation mode. Note that this example assumes that you are installing a product from Office 2000 Disc 1. If you are installing a product from Disc 2, the name of the MSI file is different.
Chain additional Windows Installer installations
If you want to chain multiple Office product installations, you must call the reinstallation for the first product installed from the MST file applied to the last product installed. For example, to install both Disc 1 and Disc 2:
- In the MST file created for Disc 1, include the /chained Setup command-line option to install Disc 2.
- In the MST file created for Disc 2, include the command line for reinstalling Disc 1.
In this scenario, the MST file created for Disc 2 does not need to be based on the modified transform for Disc 2 (O9WIS_2.mst). If the order is reversed, however, and you install Disc 2 first, then the new MST file is required for Disc 2, but not for Disc 1. In all cases, you must use the updated Custom Installation Wizard (version 1.00.00.3217) when adding the command line to ensure that it runs under Windows NT 4.x.
FAQs about Windows Installer and Office 2000
The following frequently asked questions address the limitations and conditions that apply to using the updated Custom Installation Wizard and the MST files for Windows Installer shortcuts to advertise Office 2000 features.
Can I modify the new MST files with the original version of the Custom Installation Wizard?
No. The transforms for Windows Installer shortcuts (O9WIS_1.mst and 09WIS_2.mst) can be modified only with the updated Custom Installation Wizard (version 1.00.00.3217). In addition, the reinstallation command line added to the Custom Installation Wizard might not work under Windows NT 4.x unless you use the updated version of the Custom Installation Wizard to make the change.
Must I reinstall Office 2000 during Setup to write the Windows Installer shortcuts?
If you install Office 2000 and Internet Explorer 5 at the same time, then you must include a reinstallation of Office to create the Start menu shortcuts.
In addition, if you install more than one product during a given Setup session by using the /chained command-line option, you must add the command line to reinstall the first product to the transform that is applied to the last product. In this scenario, you must use the updated version of the Custom Installation Wizard, even if you are not using O9WIS_1.mst or 09WIS_2.mst for the chained product.
Are Outlook Express shortcuts installed when Internet Explorer 5 is configured to be the default browser?
Yes. Installing the Outlook Express shortcuts is the default behavior of Internet Explorer 5 Setup. The configuration required to install the Windows Desktop Update with Office 2000 also installs the Outlook Express shortcuts.
More information about preventing installation of the Outlook Express shortcuts will be available soon on the Office Resource Kit Web site.
What if I have already installed Internet Explorer 5 without the Windows Desktop Update?
You can add the Windows Desktop Update without removing or reinstalling Internet Explorer 5 or Office 2000 by following these steps:
- Use the Internet Explorer Administration Kit 5.x (IEAK) to create a custom installation that adds the Windows Desktop Update.
This option is available on the Windows Desktop Update panel in the IEAK. The setting also enables the Active Desktop and the Channel Bar, but you can disable those features without affecting the shell update on the System Policies and Restrictions panel.
- Deploy your customized installation of Internet Explorer 5 on users' computers by running IE5Setup.exe from your customized build.
After the Setup program restarts, you might notice that Active Desktop is first enabled, and then immediately disabled.
- Run the following command line to reinstall Office 2000 and create the Windows Installer shortcuts:
<path>\setup.exe /fms data1.msi