Packager (wpkg) setup to copy/unzip large number of files

Problem Description : 

A package set up in WPKG to copy or unzip lots of files to the local C: drive does not work.

 

 

 Resolution : 

 

Whenever the packager (wpkg) tries to copy or unzip a larger number of files to the local C: drive, the install/upgrade command must call a new cmd.exe and run the batch file to do the copy/unzip.

 

For example, the ecompasspool_spr2012.bat file on w:\new machine setups\wininstall\installers needs to add over 1,000 files the C: drive. The entry in packages.xml to run the batch file is:

<install cmd='c:\windows\system32\cmd.exe /c \\casper\wininstall\installers\ecompasspool_spr2012.bat' /> 

 

The c:\windows\system32\cmd.exe /c causes a new command processor to open and execute the batch file. If it isn't used, the batch file will not process correctly.

 

 

 

 

 Revision Date : 6/21/2012