/build/static/layout/Breadcrumb_cap_w.png
04/06/2017 1311 views
Every time I try to upload a 2.62 zip file as a post install task in Kace it fails out. I've tried this multiple times with no success. I would reaaaally like this piece in as a post install. I started looking around and found that this is a common problem. I followed this guide here as a workaround: http://www.itninja.com/blog/view/creating-a-large-post-installation-task-on-a-dell-kace-appliance

I did those steps EXACTLY as stated twice now and both times I never make it to the finish line when imaging a machine. The workaround does seems to work through. I go back into the post install tasks and I see the 2.62Gb zip attached in there. When I end up running an image though it fails out on me saying it can't find the files. I check the .../apps/InstallNumber folder on the local machine that's running the image to end up seeing that fake payload there. I'm not sure what I'm doing wrong or if that guide isn't relevant to 7.X. Any advice on getting this zip attached into a post install would be greatly appreciated.

EDIT: I read through the comments from the guide I posted above and user's were saying to add all the files unzipped in the content section of the exported .pkg file. I gave that a try and I've gotten a bit further. Now what is happening is that it will actually run through the install successfully but still fail at the end. I can resume execution and the image finishes fully. I feel like it's still looking for something that's not there.
1 Comment   [ + ] Show comment

Comments

  • What Is the error you are getting durring the task execution? Does the full file make it onto machine in the C:\KACE\TaskID folder?

    If the full file is not on the machine, you could run a mid task to copy the file from the \\K2Name\Petemp folder. It is mapped in the PE enviroment as T:. Just remember that Every individual RSA has a PEtemp folder and you would need to copy it to all RSA's.

    Mid Task could just be a batch with:
    xcopy "T:\YourFiles\*.*" "c:\KACE\Missing_Files\" /s /d /y
    • I'm not at work now but I can check tomorrow. For some reason I want to say it comes up with an "Unknown Error". Yes, the files move onto the machine good. It actually executes and installs everything great. it just now fails out after I did what I described in my edit above.
      • Ok. Is this a script? If so, your last Item may be producing a "Non 0" exit code. Just throw Exit /b 0 at the end (If Its a batch)
  • This content is currently hidden from public view.
    Reason: Removed by member request For more information, visit our FAQ's.

All Answers

0
Did you read this?

Here are the updated instructions that I generally use:
Creating a large post-install task

Most browser will not allow uploads of greater than 2GB. This limitation makes creating post-install tasks on the K2000 difficult if the zip file exceeds that limit. There is a way to get around this limitation, however. You will need 7-Zip installed on your computer to complete these tasks.

In this example I will be creating a large post-install task using Adobe Illustrator version 20.0.0 as my example. The same technique can be used for other applications but may require you to determine which files to exclude from the initial upload to the K2000.
1. Create a folder on your computer that contains all of the application files needed for the post-install task, e.g. c:\temp\Illustrator20.0.0.zip
2. Move large files from the folder to another location. In the case of Adobe CC apps the HD folder contains the bulk of the program files, so I generally move that folder to c:\temp\hd
3. Select the remaining files in the folder and compress them into a zip file by right clicking then selecting Send To, Compressed (zipped) folder. 
4. Name the zip file appropriately, e.g. Illustrator20.0.0.zip
5. On the K2000 create a new post-install task as you normally would and upload the zip file you just created.
6. On the K2000 click Settings, Package Management, Export Packages
7. Locate the post-install task that you just created in the list and check the box to select it
8. Click Choose Action, Export Selected
9. The page should refresh and the status of the K2000 in the upper right should show that the package is being exported

10. Once the status returns to Idle open window to \\kace2k\restore
11. There should be two files exported, a pkg and an xml. The names should begin with PO# where the # is the ID of the post-install task.
12. Copy the pkg file to your computer.
13. Right click on the pkg file and open it in 7-Zip 
14. You can browse the contents of the package file in the 7-Zip interface. The top level folder should be the name of the file, then a dot, then payload and finally contents.
15. Open a file explorer window and locate the folder you removed previously, e.g. c:\temp\hd
16. Drag the folder into the 7-Zip window
17. 7-Zip will confirm that you want to copy the files into the archive.

Click Yes
18. The contents folder should now include the folder you copied, e.g. HD
19. Close 7-Zip.
You should be prompted to update the contents of the archive.
20. Copy the package file back to the \\kace2k\restore share replacing the original file
21. On the K2000 delete the post-install task you created in step 5.
22. Click Settings, Package Management, Import K2000 Packages
23. Check the box next to the package that you updated and copied to the server
24. Click Choose Action, Import Selected
25. The page should refresh and the status of the K2000 in the upper right should show that the package is being exported

26. Once the status returns to Idle your package has been imported. 
27. Click Library, Post-Installation Tasks and verify that it is there.
NOTE: The file size listed for the task will not be updated and will reflect the size of the original file that was uploaded in step 5.


Answered 05/24/2017 by: TimHR
Orange Senior Belt