How to Publish non-MSI Programs with .zap Files
ID: Q231747
|
The information in this article applies to:
-
Microsoft Windows 2000 Advanced Server
-
Microsoft Windows 2000 Server
-
Microsoft Windows 2000 Datacenter Server
-
Microsoft Windows 2000 Professional
SUMMARY
This article describes how to publish programs that are not installed with Microsoft Installer (MSI).
MORE INFORMATION
Non-MSI program can be published only to users, and are installed using their existing Setup programs. Because non-MSI programs use their existing Setup programs, these programs cannot:
- Take advantage of elevated privileges for installation.
- Be installed on the first use of the software.
- Install a feature on the first use of the feature.
- Roll back an unsuccessful operation (install, modify, repair, or removal), or take advantage of other features of MSI.
To publish a non-MSI program, you need to first create a .zap file for the program.
Creating the .zap File
Create a .zap file for the program based on the following sample file:
[Application]
; Only FriendlyName and SetupCommand are required,
; everything else is optional.
; FriendlyName is the name of the program that
; will appear in the software installation snap-in
; and the Add/Remove Programs tool.
; REQUIRED
FriendlyName = "Microsoft Excel 97"
; SetupCommand is the command line used to
; Run the program's Setup. If it is a relative
; path, it is assumed to be relative to the
; location of the .zap file.
; Long file name paths need to be quoted. For example:
; SetupCommand = "long folder\setup.exe" /unattend
; or
; SetupCommand = "\\server\share\long _
; folder\setup.exe" /unattend
; REQUIRED
SetupCommand = setup.exe
; Version of the program that will appear
; in the software installation snap-in and the
; Add/Remove Programs tool.
; OPTIONAL
DisplayVersion = 8.0
; Version of the program that will appear
; in the software installation snap-in and the
; Add/Remove Programs tool.
; OPTIONAL
Publisher = Microsoft
Publishing the Program
- In User Configuration, right-click Software Installation, and then click New.
- Click Package.
- Type the path to the folder containing the .zap file.
- Click Open.
- In the Files of Type box, click ZAW Down-level applications package (*.zap).
- Click the .zap file, and then click Open.
- Click Publish, and then click OK.
Additional query words:
Keywords : kbsetup kbtool
Version : WINDOWS:2000
Platform : WINDOWS
Issue type : kbhowto
|