How do I deploy old applications in Windows 2000 via ZAP files?

A. New applications in Windows 2000 have .MSI files which are used to deploy them via Group Policies however your older applications will not have MSI files.

In 'How do I create a MSI file from a legacy application?' we saw how to create an MSI file from a legacy application however there is a large amount of work involved with this and an alternative method is available via ZAP files however I should stress MSI is the approach to take where possible.

ZAP files are just text files that provide instructions for deploying older applications however there are some restrictions:

  • Applications cannot be assigned to users or computers, they can only be published
  • Applications do not automatically repair themselves
  • Normally require user intervention
  • Do not install with elevated privileges, users require the privilege to install software

The ZAP file consists of two sections, the \[Application\] and \[Ext\] sections.

The application section contains the name of the setup command, a version to display, a friendly name and a URL, for example:

\[Application\]<br>
FriendlyName = WinInfo Version 2.2<br>
SetupCommand = setup.exe /unattend<br>
DisplayVersion =2.2<br>
Publisher = SavillTech<br>
URL = http://www.savilltech.com/wininfo.html

The file extension section just lists extensions which should be associated with the new application, e.g.

\[Ext\]<br>
SAV=

To publish a ZAP file perform the following:

  1. Start the Group Policy editor and open a group policy
  2. Select the 'User Configuration' branch
  3. Expand 'Software Settings'
  4. Right click on 'Software installation' and select New - Package
  5. Select the File type "ZAW Down-level application packages (*.zap)" and select the created ZAP file. Click Open
  6. Select 'Published' from the deployment method and click OK
  7. It will now be displayed as a published application

Click here to view image


Discuss this Article 2

Othni,Othni (not verified)
on Oct 19, 2006
I found a problem when the setupcommand path contains a space. Example: "\\server\our programs\calc.exe" Even with the double quotes the command does not get past the space. Any suggestions?

Please or Register to post comments.

IT/Dev Connections

Las Vegas
September 30th - October 4th

Paul ThurottYou'll have the opportunity to experience:
• The Microsoft
Technology Roadmap
• Office 365 Implementation
• Hyper-V Optimizing
• Windows 8 Deployment
and much more!

Come See Paul Thurrott & Rod Trent in Person!

Early Registration Now Open

Upcoming Training

Mastering SharePoint 2013: Succeeding, Not Just Surviving

Building on the success of the “Mastering SharePoint 2010” seminars, the presenters have updated the content to cover the latest and greatest SharePoint product: SharePoint 2013. While SharePoint 2013 is relatively new on the marketplace, the presenters have been working with SharePoint 2013 for well over a year, and have implemented it with a number of clients in production environments.

Register Now

Current Issue

May 2013 - The NameTranslate object is useful when you need to translate Active Directory object names between different formats, but it's awkward to use from PowerShell. Here's a PowerShell script that eliminates the awkwardness.

CURRENT ISSUE / ARCHIVE / SUBSCRIBE

Windows Forums

Get answers to questions, share tips, and engage with the Windows Community in our Forums.