zap files learn and love them

Discussion, tips and tricks for the different Windows flavors

zap files learn and love them

Postby goat » Wed May 03, 2006 2:41 pm

This is a straight cut and paste from the MS knowledge Base.

Zap files are used when you don't have msi file to deploy apps through domian policies......

The information in this article applies to:
Microsoft Windows 2000 Server
Microsoft Windows 2000 Advanced Server
Microsoft Windows 2000 Professional
Microsoft Windows 2003 Servers

HOW TO: Publish non-MSI Programs with .zap Files
View products that this article applies to.
This article was previously published under Q231747
IN THIS TASK
SUMMARY

Creating the .Zap File
Publishing the Program
REFERENCES
SUMMARY
This step-by-step article describes how to publish programs that are not installed with Microsoft Installer (MSI). 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: Code:

[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.



Enjoy the knowledge
Goater
goat
 
Posts: 17
Joined: Wed May 03, 2006 12:12 pm

Return to Windows

Who is online

Users browsing this forum: No registered users and 1 guest

cron