Snapin Pack: Unzipping Empty Folders
- 
 I have a snapin pack that contains a template for a directory structure; this template includes a bunch of empty folders. 
 During the unzipping process FOG will not create any of these empty folders; only the folders that have files actually inside them. Is this by design?Thanks 
- 
 @markbam Please download the updated Modules file including the fix mentioned below. Stop the FOGService in Windows Services console, rename C:\Program Files (x86)\FOG\Modules.dlland place the downloaded file as newModules.dllin that same directory. Now startFOGServiceagain or reboot the PC and see if your SnapinPack works as expected.
- 
 @markbam Seems like we don’t extract empty directories at the moment as it’s not the default behaviour of the ZIP library we use: https://github.com/FOGProject/fog-client/blob/master/Modules/SnapinClient/SnapinClient.cs#L155 I guess we could add fastzip.CreateEmptyDirectories = true;(ref)Will work on adding this and provide an updated Modules.dll for you in the next days. 
- 
 @markbam Please download the updated Modules file including the fix mentioned below. Stop the FOGService in Windows Services console, rename C:\Program Files (x86)\FOG\Modules.dlland place the downloaded file as newModules.dllin that same directory. Now startFOGServiceagain or reboot the PC and see if your SnapinPack works as expected.
- 
 @markbam Please test and report back! I won’t add this change to the official code otherwise. 
- 
 Thanks, I can confirm that this updated Module addresses my problem. The empty directories are now unzipping as expected. (Sorry for the late reply, my server’s RAID bombed) 
- 
 @markbam Thanks for testing und letting us know! I will add this to the official code und it will be in the new fog-client releases from then on. But I won’t update the official 0.11.16 version. Feel free to use that DLL provided.