i really can tell you that it works because i have deployed hundreds of different packages.
I recommend that you create a test.cmd file (not a bat file)
content of the test.cmd should be
echo "hello world" >c:\testoutput\test.txt
This file should be zipped .. but remember to place the test.cmd in root level of the zip file .. No Folder below should be used for this example.
The zip file should be uploaded with the launch option.
in the launch command you should type in test.cmd
On the client you should create the folder c:\testoutput before deploying the package
After deployment you should have the test.txt in c:\testoutput with the content hello world
I think you are doing something wrong with the zipping ..just right click on the test.cmd ..send to zip. Do not zip the folder above your file.
Hi @Sokatra and thank you for your kind reply.
I can now confirm i had get things "partially" working by zipping the files i wish to deploy.
I tried several things, "store file" is working correctly; "Install MSI file" seems to work too.
the only thing I can't get to work is creating packages containing EXE files or MSU (win update) files.
whenever i create a zip package containing an exe/msu file, the package is created but the package size is zero.
trying to create a package containing an MSI file, the package size is correct and that package becomes full functional and deployable; the same thing happens also by loading a package with a generic .cmd or .xls file inside.
While with an .exe/msu file inside, the package is generated correctly, but the size is zero, and every time I try to deploy this package I always get an "EXIT_CODE_1" error.
The procedure used for zipping a file is always the same and always put the file i want to deploy in the root of the zip file.
My aim was to be able to distribute windows updates through ocs, as I wrote to you previously.
OCS does not allow me to insert packages containing exe files or msu files, whenever I do, the package is created but the size is zero and then the whole process crashes.
Can you tell me how to fix that?