Creating postinstall for SPSS Statistics 20 - cannot upload zipped file to KACE
I am trying to upload a zipped file containing the contents of the SPSS 20 dvd. The upload never completes; the error is "Upload file cannot be blank". Of course it's not, it's quite large, about 2 GB. Is it not possible to load such a large file? Should I use a bat file network install instead? Thank you.
0 Comments
[ + ] Show comments
Answers (1)
Please log in to answer
Posted by:
mpace
11 years ago
A batch file located on the network would work just fine. Just keep in mind the target system will need access to that share during the postinstall process.
There is a php limitation that prevents files 2GB+ from being attached. Here is the workaround:
- Create your postinstall task and attach a dummy file txt file (the filetype doesn't matter).
- Export the the task to the K2000 restore share via the Settings and Maintenance > Package Management tab.
- Navigate to \\k2000\restore and find the .PKG file. Open it with 7-zip and you should see another archive. Extract that and navigate through the folder structure until you find a directory called PAYLOAD. Swap the txt file for your large file (the SPSS zip file in your case).
- Save the changes to the archive, re-compress, and then import the PKG file back into the K2000 via the Package Management tab.