How to publish non-MSI programs with .zap files
- 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.
Creating the .Zap FileCreate 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.; REQUIREDFriendlyName = "Microsoft Excel 97"; SetupCommand is the command line used to ; run the program's Setup. With Windows Server 2003 ; and later you must specify the fully qualified ; path containing the setup program. ; Long file name paths need to be quoted. For example: ; SetupCommand = "\\server\share\long _ ; folder\setup.exe" /unattend ; REQUIRED SetupCommand = "\\server\share\setup.exe"; Version of the program that will appear ; in the software installation snap-in and the ; Add/Remove Programs tool. ; OPTIONALDisplayVersion = 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.
Article ID: 231747 - Last Review: 12/05/2015 14:29:53 - Revision: 4.5
- kbnosurvey kbarchive kbhowto kbhowtomaster kbsetup KB231747