Why is there a limit of 1,000 Extra Files in Patch My PC Cloud?
Last updated
Was this helpful?
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.
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.
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)"

If your scenario requires thousands of files (for example, a folder with ~3,000 files totaling a few GB), the recommended workaround is:
Create a ZIP archive of the extra files either manually or using the following PowerShell script.
Important
Ensure you keep the same folder structure that your installer expects. If the installer needs files “next to it” in the cache folder, make sure they end up in the same relative location after extraction.
Upload MyFolder.zip as an Extra File in your Custom App or Deployment.
Whilst deploying the app, use the Scripts configuration tool and configure this script as a pre-install script.
Important
Always test your scripts thoroughly outside of the Cloud Portal first.
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?
Was this helpful?
# Define the path to the folder you want to compress$sourceFolderPath = "C:\temp\MyFolder"
# Define the path where the zip archive should be created$zipFilePath = "C:\Temp\MyFolder.zip"
# Create the zip archiveCompress-Archive -Path $sourceFolderPath -DestinationPath $zipFilePath -Force -ErrorAction 'Stop'