SnapinClient ERROR: Compressed size mismatch between central header and local header
-
Trying to push one snapin-pack to a dozen PCs. Its a single zip file with a single EXE inside.
Looking at the client’s FOG log, this is the error I pulled:
------------------------------------------------------------------------------ ---------------------------------SnapinClient--------------------------------- ------------------------------------------------------------------------------ 8/31/2018 2:27 PM Client-Info Client Version: 0.11.9 8/31/2018 2:27 PM Client-Info Client OS: Windows 8/31/2018 2:27 PM Client-Info Server Version: 1.3.4 8/31/2018 2:27 PM Middleware::Response Success 8/31/2018 2:27 PM SnapinClient Snapin Found: 8/31/2018 2:27 PM SnapinClient ID: 72 8/31/2018 2:27 PM SnapinClient Name: Argus 8/31/2018 2:27 PM SnapinClient Created: 2018-08-31 14:23:51 8/31/2018 2:27 PM SnapinClient Action: 8/31/2018 2:27 PM SnapinClient Pack: True 8/31/2018 2:27 PM SnapinClient Hide: False 8/31/2018 2:27 PM SnapinClient Server: 8/31/2018 2:27 PM SnapinClient TimeOut: 0 8/31/2018 2:27 PM SnapinClient SnapinPack File: [FOG_SNAPIN_PATH]\AE_Setup.exe 8/31/2018 2:27 PM SnapinClient SnapinPack Args: 8/31/2018 2:27 PM SnapinClient File: AE_Setup.zip 8/31/2018 2:27 PM Middleware::Communication Download: http://10.2.17.6/fog/service/snapins.file.php?mac=10:60:4B:8C:0A:AE&taskid=72 8/31/2018 2:29 PM SnapinClient C:\Program Files (x86)\FOG\tmp\AE_Setup.zip 8/31/2018 2:29 PM SnapinClient Processing SnapinPack AE_Setup.zip 8/31/2018 2:29 PM SnapinClient Extracting SnapinPack 8/31/2018 2:29 PM SnapinClient ERROR: Compressed size mismatch between central header(434631532) and local header(0) 8/31/2018 2:29 PM Middleware::Communication URL: http://10.2.17.6/fog/service/snapins.checkin.php?taskid=72&exitcode=-1&mac=10:60:4B:8C:0A:AE&newService&json ------------------------------------------------------------------------------
Yes I know I am running an old version of the FOG server and of the FOG Client, but that is because on 1.5.4 the snapins broke completely; I couldn’t even upload snapin-packs anymore so I reverted back to my previous working build.
Regardless, does anyone know what this means?
I found only one previous thread in relation to this error but it didn’t really relate to my specific issue as it seemed the guy was mainly having issues with some custom script he had written; located here: https://forums.fogproject.org/topic/10091/snapin-and-batch-script
-
@pietroaretino said:
... SnapinClient Pack: True
You sure you want to use SnapinPack in this case?? The filename
AE_Setup.exe
sounds like this is a simple installer EXE and not a SnapinPack archive. Read up on Packs here: https://wiki.fogproject.org/wiki/index.php?title=SnapinPacks -
@Sebastian-Roth The reason I chose the Snapin-Pack vs. the Normal Snapin was because only the Snapin-Pack offers an .EXE “template”. The Normal Snapin, only offers
-MSI
-Batch Script
-Bash Script
-VB Script
-Powershell
-MonoI’m not really sure what ‘Mono’ is, or how the ‘template’ affects the snapin installation and I had checked that Wiki page previously, but there is no information on what ‘mono’ is or what template is best to choose.
Looking here: https://wiki.fogproject.org/wiki/index.php?title=Snapin_Examples
It sorta goes into it? It’s not the best wiki in the world; they also do not touch on ‘templates’ in that wiki article either.
I will attempt the same snapin via ‘normal snapin’ type and see how it turns out.
Thanks for the tip.
-
@pietroaretino said in SnapinClient ERROR: Compressed size mismatch between central header and local header:
It’s not the best wiki in the world; they also do not touch on ‘templates’ in that wiki article either.
I know, you are absolutely right. We are missing quite some information in the wiki. Would be great if you find the time to help us here. I am fairly sure you can figure out that stuff. Then just write it down so we can put it into the wiki.