For the complete documentation index, see llms.txt. This page is also available as Markdown.

Why is there a limit of 1,000 Extra Files in Patch My PC Cloud?

Applies to: Patch My PC Cloud

The Patch My PC (PMPC) Cloud Portal enforces a limit of 1,000 files per Custom App or Deployment with Extra Files. As this limit includes the primary installer, it is effectively 999 Extra Files + the installer. This limit exists to protect browser stability and prevent crashes during upload.

Why is there a 1,000-file limit?

When you upload files using the Cloud Portal, the browser must perform client-side processing for each file before and during upload. In particular, the Portal creates a hashing worker for each file to compute its hash.

With very large selections, too many workers can run in parallel, causing memory usage spikes, and the browser can hit an out-of-memory condition and crash.

To avoid this, the Cloud Portal blocks uploads beyond the limit and shows a clear validation message instead of letting the browser freeze or crash.

What You Will See

If you try to select more than 1,000 files, the upload is blocked and you will see an error similar to:

"You have selected too many files (available: 1000)"

'You have selected too many files (available: 1000)'

Workaround: ZIP the folder and extract during deployment

If your scenario requires thousands of files (for example, a folder with ~3,000 files totaling a few GB), the recommended workaround is:

Step 1: Compress the folder into a single ZIP file

Create a ZIP archive of the extra files either manually or using the following PowerShell script.

Step 2: Upload the ZIP as an Extra File

Upload MyFolder.zip as an Extra File in your Custom App or Deployment.

Step 3: Extract the ZIP during deployment using a Pre-Install script

Whilst deploying the app, use the Scripts configuration tool and configure this script as a pre-install script.

Notes and Considerations

By following this approach, you are exchanging many small files for one ZIP + extraction at install time. This is typically much more reliable for browsers and upload flows.

Last updated

Was this helpful?