Software Installation and Maintenance |
The main task of the targeting or scope-of-management phase is to determine the software needs of your users. During the preparation phase, you analyzed the groups to whom you need to deploy software. In the Distribution Phase, you established the software distribution points where the software is going to be located. (You need to know where the software files are located in order to complete the targeting phase.) In this phase, you do the following:
By using the Software Installation
As Figure 23.2 illustrates, in a Group Policy object, you can manage software for computers by selecting the Computer Configuration node or you can manage software for users by selecting the User Configuration node.
Figure 23.2 Software Installation User and Computer Configuration
Computer Configuration Contains software settings that apply to the computer and therefore all users who log on to the computer.
User Configuration Contains software settings that apply to users regardless of which computer they log on to.
The Software Installation
Given that software can be either assigned or published and targeted to users or computers, you can establish a workable combination to meet your software management goals. Table 23.7 details the different approaches.
Table 23.7 Assigning or Publishing Software
Scenario | Publish | Assign (User) | Assign (Computer) |
---|---|---|---|
When the administrator deploys the software, it is available for installation after: | The next user logs on. | The next user, to whom this application's Group Policy applies, logs on. | The next time that the computer is started. |
The software is fully installed: | By the user from Add/Remove Programs in Control Panel. | By the user from the Start menu or a desktop shortcut. | Automatically when the computer is started. |
If the software is not installed and the user opens a file associated with the software, is the software installed? | Yes, if Auto-Install is selected. | Yes. | Does not apply. The software is already installed. |
Can the user remove the software by using Add/Remove Programs? | Yes, and they can choose to install it again by using Add/Remove Programs. | Yes, and the software is available for installation again from the typical installation points. | No. Only the local administrator can remove the software. However, the user can repair the software. |
Supported installation files: | Windows Installer packages and .zap files. | Windows Installer packages. | Windows Installer packages. |
When you publish software for a user, there is no evidence of the software on the user's desktop. That is, published software does not appear to be installed on the user's computer. There is no Windows Installer advertisement information about the software on the computer either in the registry or as shortcuts on the desktop or the Start menu. The user can install the published software by using Add/Remove Programs in Control Panel.
When a users clicks Add/Remove Programs and selects Add New Programs, a list appears of all of the categories for the available software and, within their specific categories, the software that is published for them. Users can install only software that you have determined they need to perform their jobs.
If there is a large amount of software available, users can quickly locate the software that they need based on the categories that you have predefined. For example, a user might see software sorted by Administration, Everyone, Finance, Sales, and Shipping categories. If the user is a member of the sales team, he or she installs applications from the Everyone and Sales categories. The user would not be able to see or to install applications from the Administration, Finance, or Shipping categories because he or she is not a member of these organizational units. For information about creating categories, see "Categorizing Applications" later in this chapter.
Figure 23.3 shows the installation process for published applications.
Figure 23.3 Typical Installation of Published Applications
After the user installs a published application, it behaves like an assigned application until the user removes the application by using Add/Remove Programs or until you remove the application.
You can assign software to either users or computers.
User assignment is most powerful for software that users require to perform their jobs. Software that is assigned to the user appears to be installed on any computer to which the user logs on. When called by WinLogon, the Application Management extension to Group Policy advertises the application in the local computer's registry and as an item on the Start menu or a shortcut on the desktop. The user installs the assigned application by selecting the application from the Start menu.
Figure 23.4 shows the installation process for user-assigned applications.
Figure 23.4 Typical Installation of User Assigned Software
You can also assign an application to a computer. In this case, the application is installed for all of the users who use the computer the next time that the computer restarts, which is the next time that the Group Policy for the computer is applied.
Note
If several users use one computer, and everyone who uses the computer uses a particular application, that application might be a candidate for assignment to the computer.
Assigned software is resilient. For example, if a user removes the application by using Add/Remove Programs, the advertisement information is reapplied to the user or to the computer, and therefore, it is reinstalled the next time it is selected or the computer is restarted.
Windows 2000 software installation and maintenance's scope of management is defined by Group Policy, which uses Active Directory. A Group Policy object can contain several settings that affect how an application is installed, managed, and removed. By using the Software Installation
For each application, there are several settings that can be managed in any application's properties dialog box on the Deployment tab. Figure 23.5 shows the Deployment tab for Microsoft® Outlook® 2000.
Figure 23.5 Application Deployment Properties
Table 23.8 describes the options that are available on the Deployment tab of an application's properties dialog box.
Table 23.8 Application Deployment Properties
Area | Option | Function |
---|---|---|
Deployment type | Assigned or Published | Select to assign or publish the application. This has no immediate effect on users who have already installed the application, but it might affect them in the future. For example, if an application is changed from assigned to published, that application is no longer re-advertised if a user removes it. |
Deployment options | Auto-install this application by file name extension activation | Select this option so that a published application is installed automatically when a user double-clicks an associated file name extension and software associated with that extension is not already installed on the computer. |
Deployment options | Uninstall this application when it falls out of the scope of management | Select this option so that when the Group Policy object that deployed an application no longer applies to a particular user or group of users, the application is removed. |
Deployment options | Do not display this package in Add/Remove Programs in Control Panel | Select this option to prevent the application from appearing in Add/Remove Programs. If a user double-clicks an associated file name extension or gains access to an advertised shortcut, the application is installed. This option assists you in running a pilot with new software. |
Installation user interface options | Basic or Maximum | Select one of these options to determine how much information the user sees during installation of the application. Basic provides only error messages and progress bars. Maximum shows the user any information about the installation that the creator of the package provides. |
Advanced button | Ignore Language
Remove previous installations of this product Advanced diagnostic information |
Select to ignore language when assigning or publishing a package. Select to remove previous installations of this product for users if software installation and maintenance finds the software installed by any means other than Group Policy–based Software Installation.
This button also displays diagnostic information including product code, deployment count, and script name. |
On the Deployment tab, as displayed in Figure 23.5, you can choose to Auto-install an application by file name extension activation. Without regard to whether an application is assigned or published, users can force an application to be installed by invoking a document or file that is associated with the application.
It is common for users to receive documents as attachments
Figure 23.6 shows the process of software being installed by document invocation.
Figure 23.6 Installing Software by Document Invocation
A user double-clicks an unknown document or attachment to open it
If there is an assigned application advertised on the user's computer, but the application has not yet been installed, Windows Installer installs the application and opens the document.
If there is no application for that document type either installed or advertised on the computer, Windows 2000 Professional looks in Active Directory for the published application that is associated with the attachment file name extension.
If the application is published, Windows Installer uses the advertisement script for the application in Active Directory to install the application and then opens the document for the user.
Important
If you have more then one application assigned for the same file name extension the last one installed on the local computer is the application that opens the file.
In the Group Policy object, you can select a file name extension and configure a priority for installing on -demand applications. An application is installed on demand when a user selects a file with a file name extension for a published application that is not already installed on the local computer. Configure the file name extension priority so that users who are managed by this Group Policy object always install the correct published application when the file name extension is selected. The first application that is listed in the Software Installation
To configure the file name extension priority
Note
File name extension associations are managed on a per-Group Policy object basis. Changing the priority order in a Group Policy object affects only those users who have that Group Policy object applied to them.
You can also use the Software Installation
Figure 23.7 Software Installation Properties Dialog Box
Table 23.9 describes the options available on the General tab of the Software Installation Properties dialog box. You can use the General tab to define the default software distribution point where packages are stored and to determine how you want to deploy the new packages.
Table 23.9 Software Installation Properties
Area | Option | Function |
---|---|---|
Default package location | Defines the default software distribution point. | |
New packages | Display the Deploy Software dialog box | Displays the Deploy Software dialog box for each new package so that you can choose to either assign, publish, or set advanced assign and publish properties for each package. |
Publish | Select this option to add several packages when all of the packages are to be published. | |
Assign | Select this option to add several packages when all of the packages are to be assigned. | |
Advanced published or assigned | Select this option to add transforms and modifications to the package. | |
Installation user interface options | Basic or Maximum | Select one of these options to determine how much information the user sees during installation of the application. Basic provides only error messages and progress bars. Maximum shows the user any information about the installation that the creator of the package provides. |
Uninstall the applications when they fall out of the scope of management | Removes the applications when the user is removed from the scope of management by this Group Policy Object. |
The Advanced published or assigned option might be the most common selection because it allows you the most control over the package properties.
Note
It is recommended that you begin by deploying and testing one application at a time in a pilot environment.
Important
Use the Uninstall applications when they fall out of scope of management option carefully. If you assign an application to computers in a Group Policy object associated with an Active Directory site and select this option, a mobile user whose computer is managed by the Group Policy object might lose applications when the user moves to a new site. For example, if a user with Microsoft® Office assigned to his or her computer travels to another site for business and Office is not assigned to computers in the new site, the application is removed when the user starts his or her computer in the new site.
You can organize assigned and published applications into logical categories to make it easier for users to locate the appropriate application in Add/Remove Programs.
Windows 2000 does not have predefined categories. In the Software Installation
Note
When you are assigning or publishing software, and you associate an existing category with the Windows Installer package that is being either assigned or published, you are working on a per-Group Policy object basis.
If you have a large amount of software to manage, define categories so that it is easy for your users to recognize their applications. Create categories that reflect your organizational structure, as when users in a department use a common set of applications. For example, a category named Finance might have Microsoft® Excel and other accounting applications. You can also have categories that reflect job functions. For example, a category named Project Managers might include Microsoft® Project, Excel, and other project management applications. Or you might decide to classify all applications by the type of software. For example, a category named Presentation Tools might include Microsoft® Publisher, PowerPoint, and other graphics programs that supported by your organization. You can also define broad categories like line-of-business tools, site-licensed applications, and beta applications.
You can determine some of the application properties, such as modifications, only when the software is first deployed, and you can change some of the properties, such as whether or not the software is visible in Add/Remove Programs, later by modifying the package properties.
For more information about updating software by using patches and upgrades, see "Updating Software by Using Patches and Upgrades" later in this chapter.
Multinational corporations share information and collaborate on a worldwide basis. Up to this point, the operating system support and the files that you generated by using an application in one language were not necessarily compatible with a file that was created by using the same application in a different language.
Windows 2000 Server makes the process of deploying and supporting Windows 2000 across national and language boundaries easier and more flexible. The multilanguage version of Windows 2000 was designed with a single worldwide executable file that supports most European and East Asian languages, as well as languages such as Arabic and Hebrew, which are read right-to-left. Instead of deploying a different localized version of Windows for each language that your organization needs, you can deploy Windows 2000 with the MultiLanguage Pack to all international users. The worldwide executable file makes multilanguage setups much easier because there are few differences in setup routines, registry settings, and component configurations. The single worldwide executable file also streamlines the development and deployment of customized solutions.
Note
Windows 2000 supports many languages. Before managing software, verify that your applications run on an operating system that is running in a native language mode.
Although a Windows 2000 Professional–based computer has many different locale and language settings, for the purposes of software installation and maintenance, only the system locale matters. The system locale affects the code page that is installed, and code page availability, more than any other factor, affects how a language-specific or multilanguage application behaves. For additional information about locale and language settings, see the Locales and Language link on the Web Resources page at http://windows.microsoft.com/windows2000/reskit/webresources.
Applications typically support one language. This supported language, or the product language, is expressed in the Windows Installer package for the application.
To determine whether or not to install an application on a Windows 2000–based computer, software installation and maintenance checks to see the following:
Important
Users roaming between computers with different locales might produce unexpected results.
Use caution when deploying two versions of an application with different product languages (for example, an English and a German version of the same application) in the same Group Policy object if the two applications have the same product code. If the two applications have the same product code, only one of them is installed for users or computers. If you need to make the same application available to users in multiple languages, the different language versions of the application have to have different product codes.